@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */

.hero-banner {
  width: 100%;
  background: linear-gradient(130deg, #1a3580 0%, var(--accent) 55%, #5da8da 100%);
  color: #fff;
  padding: 3.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.9);
}

.hero-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size:     1.2rem;
  line-height:   1.65;
  color:         rgba(255,255,255,0.82);
  font-weight:   300;
  max-width:     480px;
  padding:       0;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size:     1.1rem;
  font-style: italic;
  line-height:   1.65;
  color:         rgba(255,255,255,0.82);
  font-weight:   300;
  max-width:     480px;
  padding:       0;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-badge {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
}

.hero-illustration {
  flex-shrink: 0;
  width: clamp(140px, 20vw, 230px);
  animation: fadeUp 0.6s 0.15s ease both;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.2));
}

/* PAGE LAYOUT */

.page-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr) 265px;
  grid-template-areas: "left main right";
  gap: 1.75rem;
  max-width: 1160px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  align-items: start;
}

.side-panel--left {
  grid-area: left;
}

.page-layout main {
  grid-area: main;
}

.side-panel--right {
  grid-area: right;
}

main {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  width: 100%;
  padding: 2.25rem 2rem;
  animation: fadeUp 0.4s ease both;
}

.side-panel {
  position: sticky;
  top: 1.5rem;
  animation: fadeUp 0.45s ease both;
}

.side-panel--left {
  animation-delay: 0.05s;
}

.side-panel--right {
  animation-delay: 0.1s;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.side-card h2 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.side-card > p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  font-weight: 400;
}

.side-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.1rem 0;
}

.side-stat {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.side-stat__number {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.side-stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.side-fact {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: #f0f4ff;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.side-fact strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.side-fact p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

.page-layout.guide-active {
  grid-template-columns: minmax(0, 620px);
  grid-template-areas: "main";
  justify-content: center;
}

.page-layout.guide-active main {
  width: 100%;
}

/* START VIEW */

.main-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.main-intro {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

#start-row {
  justify-content: flex-start;
  padding: 0;
  margin-top: 1.75rem;
}

/* FOOTER */

.site-footer {
  padding:         2rem 1rem 2rem;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  gap:             0.75rem;
  text-align:      center;
}

#UU-footer {
  order: 1;
  max-width: 720px;
}

.UU-footer-text {
  font-size:     0.97rem;
  margin:      0;
  padding:     0;
  line-height: 1.3;
}

.UU-footer-text a {
  color: inherit;
  transition: color 0.2s ease;
}

.UU-footer-text a:hover {
  color: #5da8da;
  text-decoration: underline;
}

#css-validator {
  order: 2;
}

.validator-badge {
  border:  0;
  width:   88px;
  height:  31px;
  display: block;
}