/* Peak Result Announcement Portal — main stylesheet.
   Converted 1:1 from the original HTML/CSS/JS portal design:
   navy blue & golden, premium level, centered HD logo,
   zoom in / zoom out animation on the 'Check Your Exam' button. */

      :root {
        --navy: #132e63;
        --navy-deep: #081630;
        --navy-mid: #10254e;
        --navy-ink: #182642;
        --gold: #c9962a;
        --gold-deep: #a87c1f;
        --gold-bright: #e9bc55;
        --gold-pale: #f4d98c;
        --gold-soft: #f7ecd2;
        --paper: #faf7f0;
        --surface: #ffffff;
        --surface-2: #f3efe4;
        --line: #e2dac6;
        --line-soft: #ece5d2;
        --ink: #1c2438;
        --muted: #59637a;
        --green: #1e7a46;
        --green-bg: #e3f2e8;
        --shadow-card: 0 2px 6px rgba(11, 28, 64, 0.05), 0 16px 38px rgba(11, 28, 64, 0.09);
        --shadow-lift: 0 4px 10px rgba(11, 28, 64, 0.06), 0 26px 55px rgba(11, 28, 64, 0.16);
        --radius: 18px;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --navy: #9db9ef;
          --navy-deep: #060f22;
          --navy-mid: #0a1830;
          --navy-ink: #e9edf7;
          --gold: #e9bc55;
          --gold-deep: #c9962a;
          --gold-bright: #f4d98c;
          --gold-pale: #f7ecd2;
          --gold-soft: #382d13;
          --paper: #081120;
          --surface: #0e1c33;
          --surface-2: #13263f;
          --line: #24365a;
          --line-soft: #1b2c4a;
          --ink: #eef1f8;
          --muted: #a7b2c9;
          --green: #5cc98a;
          --green-bg: #10301f;
          --shadow-card: 0 2px 6px rgba(0, 0, 0, 0.3), 0 16px 38px rgba(0, 0, 0, 0.35);
          --shadow-lift: 0 4px 10px rgba(0, 0, 0, 0.35), 0 26px 55px rgba(0, 0, 0, 0.5);
        }
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
        background: var(--paper);
        color: var(--ink);
        line-height: 1.65;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
      }
      ::selection { background: var(--gold); color: #221806; }
      img { max-width: 100%; display: block; }
      a { color: inherit; }
      .wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
      }

      /* ---------- Top strip ---------- */
      .topstrip {
        background: linear-gradient(90deg, #060f22, var(--navy-deep) 40%, #0d2148);
        color: #c9d5ec;
        font-size: 0.82rem;
        border-bottom: 1px solid rgba(233, 188, 85, 0.25);
      }
      .topstrip .wrap {
        display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem;
        align-items: center; justify-content: space-between;
        padding-block: 0.55rem;
      }
      .topstrip a { color: var(--gold-bright); font-weight: 700; text-decoration: none; }
      .topstrip a:hover { text-decoration: underline; }
      .topstrip .l { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; }
      .topstrip svg { flex: none; }

      /* ---------- Announcement ticker ---------- */
      .ticker {
        background: linear-gradient(90deg, var(--gold-deep), var(--gold) 30%, var(--gold-bright) 50%, var(--gold) 70%, var(--gold-deep));
        color: #241a04;
        overflow: hidden;
        border-bottom: 1px solid rgba(0,0,0,0.18);
      }
      .ticker-track {
        display: flex; gap: 3.5rem; white-space: nowrap;
        padding-block: 0.5rem;
        font-weight: 800; font-size: 0.84rem; letter-spacing: 0.09em; text-transform: uppercase;
        animation: tick 30s linear infinite;
        width: max-content;
      }
      .ticker-track span { display: inline-flex; align-items: center; gap: 3.5rem; }
      @keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
      @media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

      /* ---------- Hero (deep navy, framed) ---------- */
      .hero {
        position: relative;
        background:
          radial-gradient(52rem 26rem at 88% -12%, rgba(233, 188, 85, 0.20), transparent 58%),
          radial-gradient(40rem 22rem at -8% 108%, rgba(35, 78, 158, 0.35), transparent 60%),
          linear-gradient(160deg, #0d2148 0%, var(--navy-deep) 55%, #060f22 100%);
        color: #e8edf8;
        overflow: hidden;
      }
      .hero::before {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background-image:
          linear-gradient(rgba(233, 188, 85, 0.05) 1px, transparent 1px),
          linear-gradient(90deg, rgba(233, 188, 85, 0.05) 1px, transparent 1px);
        background-size: 56px 56px;
        mask-image: radial-gradient(70% 90% at 50% 40%, black 30%, transparent 100%);
        -webkit-mask-image: radial-gradient(70% 90% at 50% 40%, black 30%, transparent 100%);
      }
      .hero::after {
        content: ""; position: absolute; inset: 14px; pointer-events: none;
        border: 1px solid rgba(233, 188, 85, 0.28);
        outline: 1px solid rgba(233, 188, 85, 0.12);
        outline-offset: 5px;
      }
      .hero .wrap {
        position: relative; z-index: 1;
        display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 3rem;
        align-items: center; padding-block: 3.6rem 4rem;
      }
      .hero-top {
        grid-column: 1 / -1;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 1rem; text-align: center;
      }
      .brand-logo {
        height: 148px; width: auto; flex: none; border-radius: 12px;
        background: #081630;
        border: 1px solid rgba(233, 188, 85, 0.55);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), 0 0 0 5px rgba(233, 188, 85, 0.10);
      }
      .final-logo { height: 196px; margin: 0 auto 1.5rem; }
      .foot-logo { height: 138px; margin-bottom: 1.1rem; box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(233, 188, 85, 0.10); }
      .live-badge {
        display: inline-flex; align-items: center; gap: 0.55rem;
        background: rgba(46, 160, 90, 0.14); color: #7fe0a8;
        font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
        padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid rgba(127, 224, 168, 0.45);
        backdrop-filter: blur(4px);
      }
      .live-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; animation: pulse 1.8s ease-in-out infinite; }
      @keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5);} 55% { box-shadow: 0 0 0 7px rgba(74,222,128,0);} }
      @media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
      .hero h1 {
        font-family: "Playfair Display", Georgia, serif;
        font-size: clamp(2.5rem, 5.4vw, 3.9rem);
        line-height: 1.06; margin: 1.25rem 0 0.4rem; color: #ffffff;
        font-weight: 800; letter-spacing: 0.005em;
      }
      .hero h1 .accent {
        font-style: italic; font-weight: 700;
        background: linear-gradient(100deg, var(--gold-pale) 0%, var(--gold-bright) 45%, var(--gold) 100%);
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent; color: transparent;
      }
      .hero .school {
        display: flex; align-items: center; gap: 0.8rem;
        font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
        font-size: 0.8rem; color: var(--gold-bright); margin-top: 1rem;
      }
      .hero .school::after { content: ""; height: 1px; width: 64px; background: linear-gradient(90deg, var(--gold-bright), transparent); }
      .hero p.lede { font-size: 1.09rem; color: #bfcde9; max-width: 34rem; margin: 0.75rem 0 0; }
      .hero p.lede strong { color: #ffffff; font-weight: 700; }

      .hero-art-wrap { position: relative; }
      .hero-art {
        position: relative;
        border-radius: 8px; overflow: hidden;
        border: 1px solid rgba(233, 188, 85, 0.55);
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(233, 188, 85, 0.10);
      }
      .hero-art::after {
        content: ""; position: absolute; inset: 10px; pointer-events: none;
        border: 1px solid rgba(255, 255, 255, 0.35);
      }
      .hero-art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.05; }
      .hero-badge-card {
        position: absolute; left: -1.1rem; bottom: 1.4rem;
        display: flex; align-items: center; gap: 0.75rem;
        background: rgba(10, 24, 52, 0.88); backdrop-filter: blur(8px);
        border: 1px solid rgba(233, 188, 85, 0.5); border-radius: 12px;
        padding: 0.8rem 1.05rem; color: #fff;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
      }
      .hero-badge-card .ic {
        width: 38px; height: 38px; flex: none; border-radius: 50%;
        display: grid; place-items: center;
        background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
        color: #241a04;
      }
      .hero-badge-card b { display: block; font-size: 0.92rem; line-height: 1.25; letter-spacing: 0.01em; }
      .hero-badge-card span { display: block; font-size: 0.78rem; color: #b9c8e4; line-height: 1.3; }

      /* ---------- CTA button (metallic gold + shine + zoom) ---------- */
      .cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 2rem; }
      .btn-exam {
        position: relative; overflow: hidden;
        display: inline-flex; align-items: center; gap: 0.7rem;
        background: linear-gradient(165deg, #f6d67c 0%, var(--gold-bright) 32%, var(--gold) 62%, var(--gold-deep) 100%);
        color: #241a04; text-decoration: none;
        font-weight: 800; font-size: 1.12rem; letter-spacing: 0.015em;
        padding: 1.05rem 2.1rem; border-radius: 12px;
        border: 1px solid #8a6416;
        box-shadow: 0 14px 32px rgba(201, 150, 42, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(90, 62, 8, 0.35);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        animation: btn-zoom 1.6s ease-in-out infinite;
        will-change: transform;
      }
      .btn-exam::after {
        content: ""; position: absolute; top: -20%; bottom: -20%; left: -30%; width: 36%;
        background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
        transform: skewX(-18deg);
        animation: shine 3.2s ease-in-out infinite;
      }
      @keyframes shine { 0%, 55% { left: -35%; } 90%, 100% { left: 115%; } }
      /* Zoom in / zoom out loop for the "Check Your Exam" button */
      @keyframes btn-zoom {
        0%, 100% {
          transform: scale(1);
          box-shadow: 0 14px 32px rgba(201,150,42,0.42), inset 0 1px 0 rgba(255,255,255,0.65), inset 0 -2px 0 rgba(90,62,8,0.35);
        }
        50% {
          transform: scale(1.07);
          box-shadow: 0 22px 46px rgba(201,150,42,0.6), inset 0 1px 0 rgba(255,255,255,0.65), inset 0 -2px 0 rgba(90,62,8,0.35);
        }
      }
      .btn-exam:hover, .btn-exam:focus-visible {
        animation: none;
        transform: scale(1.08) translateY(-2px);
        box-shadow: 0 22px 42px rgba(201,150,42,0.5), inset 0 1px 0 rgba(255,255,255,0.65), inset 0 -2px 0 rgba(90,62,8,0.35);
      }
      .btn-exam:active { animation: none; transform: scale(0.97); }
      @media (prefers-reduced-motion: reduce) {
        .btn-exam, .btn-exam::after { animation: none; }
        .btn-exam:hover, .btn-exam:focus-visible { transform: none; }
        .btn-exam:active { transform: none; }
      }
      .btn-exam:focus-visible, .btn-ghost:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
      .hero .btn-ghost {
        display: inline-flex; align-items: center; gap: 0.55rem;
        font-weight: 700; font-size: 1rem; color: #e8edf8;
        text-decoration: none; padding: 1rem 1.45rem; border-radius: 12px;
        border: 1.5px solid rgba(232, 237, 248, 0.35); background: rgba(255, 255, 255, 0.04);
        transition: border-color 0.15s ease, background 0.15s ease;
      }
      .hero .btn-ghost:hover { border-color: var(--gold-bright); background: rgba(255, 255, 255, 0.08); }
      .trust-row { display: flex; flex-wrap: wrap; gap: 0.55rem 1.4rem; margin-top: 1.5rem; }
      .trust-row span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 600; color: #c9d5ec; }
      .trust-row svg { flex: none; color: var(--gold-bright); }

      /* ---------- Stats strip ---------- */
      .stats { background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(11, 28, 64, 0.05); position: relative; z-index: 2; }
      .stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
      .stat { padding: 1.6rem 1rem 1.5rem; text-align: center; }
      .stat + .stat { border-left: 1px solid var(--line-soft); }
      .stat b {
        display: block; font-family: "Playfair Display", Georgia, serif; font-size: 1.9rem; line-height: 1.1;
        background: linear-gradient(120deg, var(--navy-ink) 55%, var(--gold-deep));
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--navy-ink);
      }
      @media (prefers-color-scheme: dark) {
        .stat b { background: linear-gradient(120deg, #ffffff 40%, var(--gold-bright)); -webkit-background-clip: text; background-clip: text; }
      }
      .stat span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

      /* ---------- Sections ---------- */
      section.block { padding-block: 3.8rem; }
      .sec-head { max-width: 46rem; margin-bottom: 2.2rem; }
      .sec-head.center { margin-inline: auto; text-align: center; }
      .sec-head h2 {
        font-family: "Playfair Display", Georgia, serif;
        font-size: clamp(1.85rem, 3.6vw, 2.5rem); line-height: 1.14; margin: 0 0 0.55rem; color: var(--navy-ink);
        font-weight: 700;
      }
      .sec-head p { color: var(--muted); margin: 0; font-size: 1.03rem; }
      .rule { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; }
      .sec-head.center .rule { justify-content: center; }
      .rule::before, .rule::after { content: ""; height: 2px; width: 34px; background: linear-gradient(90deg, transparent, var(--gold)); border-radius: 2px; }
      .rule::after { background: linear-gradient(90deg, var(--gold), transparent); }
      .rule i { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex: none; box-shadow: 0 0 0 3px var(--gold-soft); }

      /* Exam cards */
      .exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
      .exam-card {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 1.9rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem;
        position: relative; overflow: hidden;
        box-shadow: var(--shadow-card);
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
      }
      .exam-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
      @media (prefers-reduced-motion: reduce) { .exam-card:hover { transform: none; } }
      .exam-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep)); }
      .exam-card .medal {
        width: 52px; height: 52px; border-radius: 50%;
        display: grid; place-items: center; margin-bottom: 0.35rem;
        background: radial-gradient(circle at 32% 28%, #1c3a75, var(--navy-mid) 75%);
        color: var(--gold-bright);
        border: 1.5px solid var(--gold);
        box-shadow: 0 8px 20px rgba(11, 28, 64, 0.22), inset 0 0 0 3px rgba(233, 188, 85, 0.15);
      }
      .exam-card .tag {
        align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem;
        font-size: 0.71rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase;
        background: var(--green-bg); color: var(--green); padding: 0.3rem 0.7rem; border-radius: 999px;
      }
      .exam-card .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
      .exam-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 1.42rem; margin: 0.25rem 0 0; color: var(--navy-ink); line-height: 1.2; }
      .exam-card p { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }
      .exam-card .classes {
        font-weight: 700; color: var(--ink); font-size: 0.88rem;
        border-top: 1px dashed var(--line); padding-top: 0.75rem; margin-top: 0.35rem;
      }
      .exam-link {
        margin-top: 0.55rem; display: inline-flex; align-items: center; gap: 0.5rem;
        font-weight: 800; color: var(--navy); text-decoration: none; font-size: 0.99rem;
      }
      .exam-link:hover { color: var(--gold-deep); }
      .exam-link svg { transition: transform 0.15s ease; }
      .exam-link:hover svg { transform: translateX(3px); }

      /* Steps */
      .steps-bg {
        position: relative; overflow: hidden;
        background:
          radial-gradient(46rem 20rem at 100% 0%, rgba(233, 188, 85, 0.16), transparent 55%),
          linear-gradient(160deg, #0d2148, var(--navy-deep) 60%, #060f22);
        color: #e8edf8;
      }
      .steps-bg::before {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background-image:
          linear-gradient(rgba(233, 188, 85, 0.045) 1px, transparent 1px),
          linear-gradient(90deg, rgba(233, 188, 85, 0.045) 1px, transparent 1px);
        background-size: 56px 56px;
        mask-image: radial-gradient(75% 100% at 50% 0%, black 25%, transparent 100%);
        -webkit-mask-image: radial-gradient(75% 100% at 50% 0%, black 25%, transparent 100%);
      }
      .steps-bg .wrap { position: relative; z-index: 1; }
      .steps-bg .sec-head h2 { color: #ffffff; }
      .steps-bg .sec-head p { color: #b9c6de; }
      .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
      .steps::before {
        content: ""; position: absolute; top: 41px; left: 12%; right: 12%;
        border-top: 2px dashed rgba(233, 188, 85, 0.35);
      }
      .step {
        background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
        border: 1px solid rgba(255,255,255,0.16);
        border-radius: var(--radius); padding: 1.9rem 1.6rem;
        backdrop-filter: blur(4px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
        position: relative;
      }
      .step .num {
        width: 52px; height: 52px; border-radius: 50%; position: relative; z-index: 1;
        background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep)); color: #241a04;
        display: grid; place-items: center;
        font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 1.35rem;
        margin-bottom: 1.1rem;
        box-shadow: 0 0 0 5px rgba(233, 188, 85, 0.16), 0 10px 22px rgba(0, 0, 0, 0.35);
      }
      .step h3 { margin: 0 0 0.45rem; font-size: 1.14rem; color: #fff; }
      .step p { margin: 0; color: #b9c6de; font-size: 0.96rem; }
      .step code {
        background: rgba(255,255,255,0.12); padding: 0.1rem 0.45rem; border-radius: 6px;
        font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em; color: #ffd97a;
      }

      /* Notes + FAQ two column */
      .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem; align-items: start; }
      .note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
      .note-list li {
        display: flex; gap: 0.95rem; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: 0.97rem;
        box-shadow: var(--shadow-card);
      }
      .note-list .nic {
        width: 42px; height: 42px; flex: none; border-radius: 12px;
        display: grid; place-items: center;
        background: var(--gold-soft); color: var(--gold-deep);
        border: 1px solid var(--line);
      }
      @media (prefers-color-scheme: dark) { .note-list .nic { color: var(--gold-bright); } }
      .note-list b { color: var(--navy-ink); }

      details.faq {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        margin-bottom: 0.85rem; overflow: hidden;
        box-shadow: var(--shadow-card);
        transition: border-color 0.2s ease;
      }
      details.faq[open ] { border-color: var(--gold); }
      details.faq summary {
        cursor: pointer; list-style: none; font-weight: 700; padding: 1.1rem 1.25rem;
        display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--navy-ink);
      }
      details.faq summary::-webkit-details-marker { display: none; }
      details.faq summary .chev {
        flex: none; width: 30px; height: 30px; border-radius: 50%;
        display: grid; place-items: center;
        background: var(--gold-soft); color: var(--gold-deep);
        transition: transform 0.2s ease;
      }
      @media (prefers-color-scheme: dark) { details.faq summary .chev { color: var(--gold-bright); } }
      details.faq[open ] summary .chev { transform: rotate(180deg); }
      details.faq .ans { padding: 0 1.25rem 1.2rem; color: var(--muted); font-size: 0.96rem; }
      details.faq .ans p { margin: 0; }

      /* ---------- Final CTA band ---------- */
      .final-band {
        position: relative; overflow: hidden;
        background:
          radial-gradient(40rem 18rem at 50% -30%, rgba(233, 188, 85, 0.22), transparent 60%),
          linear-gradient(150deg, #0d2148, var(--navy-deep) 65%, #060f22);
        color: #fff; text-align: center;
      }
      .final-band::after {
        content: ""; position: absolute; inset: 14px; pointer-events: none;
        border: 1px solid rgba(233, 188, 85, 0.3);
        outline: 1px solid rgba(233, 188, 85, 0.12); outline-offset: 5px;
      }
      .final-band .wrap { position: relative; z-index: 1; }
      .final-band .rule { justify-content: center; }
      .final-band h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.95rem, 4.2vw, 2.8rem); margin: 0 0 0.65rem; font-weight: 800; }
      .final-band p { color: #c3d0e8; max-width: 37rem; margin: 0 auto 2rem; font-size: 1.04rem; }
      .final-band .btn-exam { font-size: 1.2rem; padding: 1.15rem 2.7rem; }
      .final-band .portal-url { display: block; margin-top: 1.15rem; font-size: 0.85rem; letter-spacing: 0.03em; color: #93a9d1; word-break: break-all; }

      /* ---------- Footer ---------- */
      footer { background: #060f22; color: #aebddb; position: relative; }
      footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-deep) 20%, var(--gold-bright) 50%, var(--gold-deep) 80%, transparent); }
      footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.25rem; padding-block: 2.9rem 1.7rem; }
      footer h4 { color: #fff; margin: 0 0 0.75rem; font-size: 0.95rem; letter-spacing: 0.09em; text-transform: uppercase; }
      footer h4::after { content: ""; display: block; width: 30px; height: 2px; background: var(--gold); margin-top: 0.5rem; border-radius: 2px; }
      footer p { margin: 0; font-size: 0.93rem; max-width: 26rem; }
      footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.93rem; }
      footer a { color: #dbe4f5; text-decoration: none; font-weight: 600; }
      footer a:hover { color: var(--gold-bright); text-decoration: underline; }
      .foot-bottom {
        border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.05rem;
        font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between;
      }

      /* ---------- Responsive ---------- */
      @media (max-width: 900px) {
        .hero .wrap { grid-template-columns: 1fr; padding-block: 2.6rem 3rem; gap: 2.4rem; }
        .hero-art img { aspect-ratio: 16 / 10; }
        .hero-badge-card { left: 0.8rem; bottom: 0.8rem; }
        .exam-grid, .steps { grid-template-columns: 1fr; }
        .steps::before { display: none; }
        .two-col { grid-template-columns: 1fr; gap: 2.25rem; }
        footer .wrap { grid-template-columns: 1fr; gap: 1.7rem; }
        .stats .wrap { grid-template-columns: repeat(2, 1fr); }
        .stat:nth-child(3) { border-left: none; }
        .stat { border-top: 1px solid var(--line-soft); }
        .stat:nth-child(-n+2) { border-top: none; }
      }
      @media (max-width: 480px) {
        .brand-logo { height: 118px; }
        .final-logo { height: 164px; }
        .foot-logo { height: 118px; }
        .btn-exam { width: 100%; justify-content: center; }
        .hero .btn-ghost { width: 100%; justify-content: center; }
        .topstrip .wrap { justify-content: center; text-align: center; }
        .hero::after, .final-band::after { inset: 8px; }
        .hero-badge-card { position: static; margin-top: 0.9rem; }
      }
    
