/*
  UXL Competition — static stylesheet.
  Ported from the design's own hand-authored CSS (source/app/globals.css),
  minus the Tailwind/shadcn build layer. Shared UI primitives (buttons,
  dialogs, accordions, tabs, radio groups) keep the original [data-slot=...]
  attribute hooks so this file's selectors match plain HTML elements
  one-for-one — no framework needed to use them, just add the attribute.
*/

/* ---------------------------------------------------------------- tokens */
:root {
  --background: #f8f8f8;
  --foreground: #10125a;
  --card: #fff;
  --card-foreground: #19223c;
  --primary: #10125a;
  --primary-foreground: #fff;
  --secondary: #eef0f4;
  --secondary-foreground: #19223c;
  --muted: #eef0f4;
  --muted-foreground: #627082;
  --accent: #e8edf1;
  --accent-foreground: #10125a;
  --destructive: #a7470b;
  --border: #dfe3e8;
  --input: #d9dfe6;
  --ring: #556987;
  --radius-sm: .4rem;
  --radius-md: .6rem;
  --radius-lg: .8rem;
  --radius-xl: 1rem;
  --font-sans: Poppins, Arial, sans-serif;
  --blue: #10125a;
  --ink: #19223c;
  --copper: #10125a;
  --tint: rgba(16, 18, 90, .08);
  --slate: #556987;
  --cta: #f47920;
  --cta-hover: #f47920;
}

/* Section colours: competitions = brown, quizzes & the platform itself = navy (one shade each — no separate blue) */
[data-section="competitions"] { --primary: #c05610; --copper: #c05610; --blue: #c05610; --accent: #f4ebe6; --accent-foreground: #a7470b; --tint: #f4ebe6; --hero-hi: #fff; --hero-sub: rgba(255, 255, 255, .88); --hero-glow: rgba(255, 255, 255, .12); }
[data-section="quizes"],
[data-section="platform"]     { --primary: #10125a; --copper: #10125a; --blue: #10125a; --accent: rgba(16, 18, 90, .08); --accent-foreground: #10125a; --tint: rgba(16, 18, 90, .08); --hero-hi: #f47920; --hero-sub: rgba(255, 255, 255, .82); --hero-glow: rgba(255, 255, 255, .1); }

.sec-competitions { --primary: #c05610; --copper: #c05610; --blue: #c05610; --accent: #f4ebe6; --accent-foreground: #a7470b; --tint: #f4ebe6; }
.sec-quizes       { --primary: #10125a; --copper: #10125a; --blue: #10125a; --accent: rgba(16, 18, 90, .08); --accent-foreground: #10125a; --tint: rgba(16, 18, 90, .08); }

@font-face { font-family: Poppins; src: url('../assets/poppins-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url('../assets/poppins-600.woff2') format('woff2'); font-weight: 500 800; font-display: swap; }

/* ------------------------------------------------------------------ base */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font-sans); background: var(--background); color: var(--ink); font-size: 16px; -webkit-font-smoothing: antialiased; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { transition: background .2s, color .2s, transform .2s, border-color .2s; }
button { cursor: pointer; font-family: inherit; }
button:disabled { cursor: default; }
a { text-decoration: none; color: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 50%, transparent); outline-offset: 5px; }
button svg, a svg { flex-shrink: 0; }
p { line-height: 1.8; color: #627082; margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
::selection { background: color-mix(in srgb, var(--primary) 20%, transparent); }
img { max-width: 100%; display: block; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
@media (max-width: 1100px) { .wrap { width: calc(100% - 64px); } }
@media (max-width: 760px) { .wrap { width: calc(100% - 40px); } }

/* ---------------------------------------------------------- UI primitives */
/* Generic look for elements the original design built on shadcn/ui.
   Keep the data-slot attribute on hand-written HTML to reuse this. */
[data-slot="button"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; line-height: 1;
  height: 44px; padding-inline: 19px;
  border: 1px solid transparent;
  background: var(--primary); color: var(--primary-foreground);
  transition: background .2s, color .2s, border-color .2s, transform .2s, filter .2s;
}
/* Every login/submit/register button on the site uses this one component, and it had no
   narrow-width reduction at all (unlike .hero-cta/.card-button below, which already do) -
   height, horizontal padding and text size all stayed fixed at any viewport. */
@media (max-width: 640px) {
  [data-slot="button"] { height: 40px; padding-inline: 16px; font-size: 13px; }
}
[data-slot="button"]:hover { filter: brightness(1.08); }
[data-slot="button"]:disabled,
[data-slot="button"][aria-disabled="true"] { opacity: .5; pointer-events: none; }
[data-slot="button"][data-variant="outline"] { background: transparent; border-color: var(--border); color: var(--ink); }
[data-slot="button"][data-variant="outline"]:hover { background: var(--accent); filter: none; }
[data-slot="button"][data-variant="ghost"] { background: transparent; color: inherit; }
[data-slot="button"][data-variant="ghost"]:hover { background: var(--accent); filter: none; }

[data-slot="input"] {
  display: block; width: 100%; height: 46px; border: 1px solid var(--input); border-radius: var(--radius-md);
  background: #fff; font-size: 14px; padding: 0 14px; color: var(--ink);
}
[data-slot="input"]:focus-visible { outline: 2px solid color-mix(in srgb, var(--ring) 50%, transparent); border-color: var(--ring); }

[data-slot="checkbox"] { width: 18px; height: 18px; accent-color: var(--copper); }

[data-slot="progress"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 99px; overflow: hidden; background: #e5e9f0; border: 0; }
[data-slot="progress"]::-webkit-progress-bar { background: #e5e9f0; }
[data-slot="progress"]::-webkit-progress-value { background: var(--blue); }
[data-slot="progress"]::-moz-progress-bar { background: var(--blue); }

[data-slot="accordion-item"] { border-bottom: 1px solid var(--border); }
[data-slot="accordion-trigger"] {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0; text-align: left; font-size: 15px; line-height: 1.6; padding: 20px 0; color: var(--ink);
}
[data-slot="accordion-trigger"] svg { transition: transform .2s; flex-shrink: 0; }
[data-slot="accordion-item"][data-state="open"] [data-slot="accordion-trigger"] svg { transform: rotate(180deg); }
[data-slot="accordion-content"] {
  font-size: 14px; color: #627082; line-height: 1.9; padding-bottom: 0;
  box-sizing: border-box; overflow: hidden; max-height: 0; transition: max-height .3s ease;
}
/* Padding only applies while open - max-height can shrink the text to 0,
   but it can't shrink fixed padding, so a closed item with always-on
   padding still renders a few visible pixels (and the text peeking
   through them) instead of collapsing flush. */
[data-slot="accordion-item"][data-state="open"] [data-slot="accordion-content"] { padding-bottom: 18px; }

[data-slot="tabs-list"] { display: flex; gap: 4px; }
[data-slot="tabs-trigger"] { background: none; border: 0; font-size: 14px; padding: 10px 16px; color: #627082; border-bottom: 2px solid transparent; }
[data-slot="tabs-trigger"][aria-selected="true"] { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

dialog[data-slot="dialog-content"] {
  border: 0; padding: 32px; border-radius: 14px; max-height: 90vh; overflow: auto;
  width: min(480px, calc(100vw - 48px)); background: #fff; color: var(--ink);
}
dialog[data-slot="dialog-content"]::backdrop { background: #1b2733cc; }
[data-slot="dialog-title"] { font-size: 26px; letter-spacing: -.035em; margin: 0 0 10px; }
[data-slot="dialog-description"] { line-height: 1.8; color: #627082; margin: 0 0 18px; }
[data-slot="dialog-close"] { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #8a97a8; }

.full-button { width: 100%; margin-top: 10px; }
.fine-print { font-size: 12px !important; color: #6b788a; line-height: 1.7; }

.demo-profile { display: flex; gap: 15px; align-items: center; padding: 20px; border: 1px solid var(--border); background: #edf0f5; border-radius: 8px; margin: 10px 0 20px; }
.demo-profile svg, .demo-profile .icon { color: var(--blue); width: 28px; height: 28px; }
.demo-profile strong { font-size: 14px; display: block; }
.demo-profile span { font-size: 12px; color: #627082; display: block; margin-top: 6px; }

/* ------------------------------------------------------------------ icons */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 30; background: transparent; backdrop-filter: none; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.header.scrolled { background: #fff; backdrop-filter: none; border-bottom-color: var(--border); }
.header.menu-open { background: #fff; backdrop-filter: none; border-bottom-color: var(--border); z-index: 60; }
.header.menu-open .header-inner { position: relative; z-index: 50; background: #fff; width: 100%; max-width: none; padding: 0 20px; margin: 0; }
.header-inner { width: min(1320px, calc(100% - 64px)); margin: auto; height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; align-items: center; gap: 23px; text-align: left; background: none; border: 0; }
.brand img { width: auto; height: 38px; max-height: none; object-fit: contain; }
.desktop-nav { display: flex; gap: 33px; align-items: center; }
.desktop-nav button, .desktop-nav a { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 6px; position: relative; color: #10125a; padding: 32px 0; background: none; border: 0; }
.desktop-nav button:hover, .desktop-nav .nav-active { color: var(--primary) !important; }
/* Scoped to .desktop-nav, not written as a bare global .nav-active:after - .desktop-nav
   a/button (line above) has position:relative so this underline anchors correctly to each
   link's own box. .mobile-nav a has no position of its own, so the same bare selector was
   anchoring to #mobile-nav (the nearest positioned ancestor) instead - a full-width 2px navy
   bar 20px above the WHOLE PANEL's bottom edge, not under whichever link was actually active.
   That's the "border" that kept surviving every border/shadow/outline removal attempt: it was
   never any of those, just this rule firing in the wrong context. The mobile dropdown already
   has its own active-state treatment (.mobile-nav .nav-active::before, the left-edge bar). */
.desktop-nav .nav-active:after { content: ''; height: 2px; position: absolute; bottom: 20px; left: 0; right: 0; background: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.login { border: 0 !important; padding: 12px 18px !important; height: 41px !important; background: #10125a !important; color: #fff !important; border-radius: 7px !important; }
.login:hover { background: #0c0d46 !important; filter: none !important; }
.login.is-avatar { padding: 0 !important; height: 41px !important; width: 41px !important; border-radius: 50% !important; background: transparent !important; overflow: hidden; }
.login.is-avatar:hover { filter: brightness(1.1) !important; background: transparent !important; }
.header-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--copper); }
.header-avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.header-avatar-fallback { font-size: 14px; font-weight: 600; }
.account-menu { position: relative; display: flex; }
.account-dropdown { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; width: 240px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; box-shadow: 0 18px 40px -16px #10125a47; display: flex; flex-direction: column; gap: 12px; }
.account-dropdown[hidden] { display: none; }
.account-dropdown-info { display: flex; align-items: center; gap: 10px; }
.account-dropdown-info .header-avatar { width: 38px; height: 38px; flex: none; }
.account-dropdown-text { display: flex; flex-direction: column; min-width: 0; }
.account-dropdown-text strong { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-dropdown-text span { font-size: 12px; color: #6b7785; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-dropdown-logout { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--border); background: none; color: var(--ink); font-size: 13px; font-weight: 500; padding: 9px; border-radius: 7px; }
.account-dropdown-logout:hover { background: var(--accent); }
.account-dropdown-logout .icon { transform: rotate(135deg); width: 14px; height: 14px; }
.mobile-menu { display: none; background: none; border: 0; color: var(--ink); }
/* Solid white, not translucent - js/includes.js still taps it to close the menu, that part
   is unchanged. A dimming overlay here used to end up composited with whatever page content
   sat directly under the dropdown's bottom edge, and the sharp white-panel-to-tinted-content
   edge that produced read as an unwanted dark line/border - not an actual border anywhere
   (confirmed by sampling the rendered pixels with the dropdown's own border/shadow/outline all
   verified disabled - the "line" persisted regardless, because it was never those properties
   to begin with, just contrast at a hard edge). Matching this to the dropdown's own white
   removes the edge outright: the whole screen goes blank white behind the menu, same as a
   full-screen mobile nav takeover, so there's no color boundary left for the eye to react to. */
.mobile-scrim { position: fixed; inset: 0; z-index: 48; background: #fff; }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 49; display: flex; flex-direction: column; gap: 0; padding: 4px 20px 8px; background: #fff; box-shadow: 0 18px 40px rgba(16, 18, 90, .14); font-size: 16px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav button, .mobile-nav a { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #e5e9f0; color: #19223c; font-weight: 600; padding: 14px 4px; line-height: 1.3; }
.mobile-nav button:last-child, .mobile-nav a:last-child,
#mobile-nav button:last-child, #mobile-nav a:last-child {
  border-bottom: 0 !important; box-shadow: none !important; outline: none !important; text-decoration: none !important;
}
.mobile-nav button svg, .mobile-nav a svg, .mobile-nav .icon { color: #637084; }
.mobile-nav .nav-active { color: var(--primary); justify-content: flex-start; }
.mobile-nav .nav-active::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--primary); margin-right: 10px; flex: none; }
.mobile-nav .nav-active svg { margin-left: auto; }
@media (max-width: 760px) {
  .header-inner { width: calc(100% - 40px); height: 70px; gap: 12px; }
  .brand img { height: 30px; width: auto; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .login { font-size: 13px !important; height: 37px !important; padding: 8px 13px !important; }
}

/* -------------------------------------------------------------------- hero */
.hero-shade { position: relative; overflow: hidden; background: linear-gradient(180deg, #f6f8fd, #fff); border-bottom: 1px solid #e5e9f0; margin-top: -86px; padding-top: 86px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#10125a22 1.2px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 90%); mask-image: linear-gradient(180deg, #000 0, transparent 90%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.blob.b1 { width: 440px; height: 440px; right: -80px; top: -100px; background: #fff; opacity: .5; }
.blob.b2 { width: 320px; height: 320px; left: -100px; bottom: -110px; background: var(--cta); opacity: .14; }
.blob.b3 { width: 200px; height: 200px; left: 46%; top: 20px; background: rgba(16, 18, 90, .3); opacity: .3; }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding-top: 56px; padding-bottom: 64px; min-height: calc(100vh - 86px); }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--slate); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d63; flex-shrink: 0; }
.eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 600; color: var(--slate); display: flex; align-items: center; gap: 10px; line-height: 1.8; }
.hero h1 { font-size: clamp(38px, 4.2vw, 60px); letter-spacing: -.055em; line-height: 1.18; font-weight: 700; margin: 20px 0 0; }
.hero h1 span { color: var(--slate); }
.hero-copy > p { font-size: 22px; line-height: 1.65; max-width: 580px; margin-top: 26px; color: #5a667c; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; min-width: 230px; padding: 19px 42px; font-size: 18px; font-weight: 600; background: var(--cta); color: #fff; border: 0; }
.hero-cta:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hero-link { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font-size: 18px; font-weight: 600; color: var(--primary); }
.hero-link:hover { color: var(--cta); }
.hero-stage { position: relative; }
.hero-experience { background: #f7f9fb; border: 1px solid #fff; padding: 32px 27px 0; border-radius: 20px; box-shadow: 0 2px 4px #10125a14, 0 14px 28px -6px #10125a29, 0 40px 70px -18px #10125a59, 18px 26px 0 -6px #e4e9f6; position: relative; max-width: 92%; margin-left: auto; transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.experience-top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: .08em; color: var(--slate); }
.experience-top span:first-child { display: flex; align-items: center; gap: 7px; }
.question-topic { font-size: 10px; letter-spacing: .13em; margin-top: 23px; color: #627082; }
.hero-experience h2 { font-size: 32px; line-height: 1.25; letter-spacing: -.035em; margin-top: 8px; white-space: pre-line; min-height: 3.75em; display: flex; align-items: flex-start; }
.hero-options { display: flex; flex-direction: column; gap: 9px; margin-top: 26px; }
.hero-options button { display: flex; align-items: center; gap: 11px; background: #ffffffbb; border: 1px solid #dde3ec; border-radius: 6px; padding: 13px 13px; font-size: 14px; text-align: left; width: 100%; }
.hero-options button > span { width: 23px; height: 23px; display: grid; place-items: center; background: #edf0f5; border-radius: 4px; color: var(--slate); font-size: 12px; flex-shrink: 0; }
.hero-options button > svg, .hero-options button > .icon { margin-left: auto; color: #7c8a9e; }
.hero-options button:hover { background: #fff; border-color: #8494b3; }
.hero-options .answer-right { background: #e8f6ef; border-color: #1f9d63; color: #17794c; }
.hero-options .answer-right svg, .hero-options .answer-right .icon { color: #17794c; }
.hero-options .answer-wrong { background: #fdecec; border-color: #d14343; color: #a62b2b; }
.hero-options .answer-wrong svg, .hero-options .answer-wrong .icon { color: #a62b2b; }
.hero-options button { transition: background .25s, border-color .25s, transform .25s; }
.hero-answer { font-size: 11px; display: flex; align-items: center; justify-content: space-between; min-height: 58px; color: var(--slate); gap: 10px; }
.hero-answer span:last-child { display: flex; align-items: center; gap: 4px; }
.experience-label { background: var(--blue); color: #fff; margin: 0 -27px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; border-radius: 0 0 12px 12px; font-size: 10px; letter-spacing: .1em; }
.small-square { height: 5px; width: 5px; background: #d9aa81; transform: rotate(45deg); }
.warm-nav { display: inline-flex; align-items: center; gap: 8px; }
.warm-nav b { font-weight: 600; min-width: 44px; text-align: center; font-size: 12px; }
.warm-nav button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--primary); padding: 0; }
.warm-cursor { position: absolute; z-index: 5; width: 26px; height: 26px; pointer-events: none; color: var(--primary); filter: drop-shadow(0 4px 6px #10125a55); transition: left .9s cubic-bezier(.22, 1, .36, 1), top .9s cubic-bezier(.22, 1, .36, 1), opacity .3s; opacity: 0; }
.warm-cursor.click::after { content: ""; position: absolute; left: -8px; top: -8px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--cta); animation: ripple .6s ease-out forwards; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .warm-cursor { display: none; } }
@media (max-width: 1200px) {
  .hero-copy > p { font-size: 20px; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; min-height: 0; }
  .hero-experience h2 { font-size: 26px; min-height: 3.9em; }
  .hero-experience { box-shadow: 0 2px 4px #10125a14, 0 14px 28px -6px #10125a29, 0 30px 50px -18px #10125a59; max-width: none; margin-left: 0; }
}
@media (max-width: 760px) {
  .hero-shade { margin-top: -71px; padding-top: 71px; }
  .eyebrow, .hero-pill { font-size: 11px; }
  .hero h1 { margin: 16px 0 0; }
  .hero-copy > p { font-size: 18px; margin-top: 16px; }
  /* min-width:0 - the base rule's min-width:230px never got overridden here, so the button
     stayed pinned to 230px wide regardless of viewport (≈66% of the screen at 349px wide).
     Letting it size to its own content + padding is what actually shrinks it. Padding/font
     match the reference design's own final mobile values (Quiz Mockup/source/app/globals.css,
     its ≤560px .hero-modern .hero-cta rule), not a guessed number. */
  .hero-cta { min-width: 0; padding: 11px 20px; font-size: 14px; }
  .hero-ctas { gap: 16px; margin-top: 26px; }
  .desktop-break { display: none; }
  .hero-experience { padding: 16px 16px 0; margin: 0 3px; max-width: none; border-radius: 16px; box-shadow: 0 1px 2px #10125a14, 0 8px 18px -8px #10125a33; transform: none; }
  .experience-label { margin: 0 -16px; font-size: 9px; }
  .hero-experience h2 { font-size: 19px; line-height: 1.3; min-height: 3.9em; margin: 6px 0 14px; }
}
/* The reference design has a further tier here too (Quiz Mockup/source/app/globals.css,
   its @media(max-width:360px) rule) for phones narrower than the usual 375-430px range -
   tightening the CTA's own side padding a little more rather than just letting it keep
   shrinking only via the 760px tier above. */
@media (max-width: 380px) {
  .hero-cta { padding-left: 16px; padding-right: 16px; }
}

/* -------------------------------------------------------------------- proof */
.proof { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; align-items: start; border-top: 1px solid #e5e9f0; border-bottom: 1px solid #e5e9f0; padding: 44px 0; margin-bottom: 0; }
.proof-item { display: block; text-align: center; padding: 0 24px; border-right: 1px solid #e5e9f0; }
.proof-item:first-child { padding-left: 24px; }
.proof-item:nth-child(3) { border-right: 0; }
.proof-item strong { display: block; font-size: 48px; font-weight: 700; letter-spacing: -.02em; }
.proof-item strong .plus { color: var(--cta); }
.proof-label { display: block; font-size: 15px; font-weight: 500; color: #637084; margin-top: 10px; }
.proof-tag { align-self: center; font-size: 14px; line-height: 1.6; margin: 0 0 0 12px; padding-left: 36px; border-left: 1px solid #e5e9f0; text-align: left; }
.proof-tag b { display: block; font-weight: 600; font-size: 16px; color: var(--ink); }
@media (max-width: 1000px) {
  .proof { grid-template-columns: repeat(3, 1fr); }
  .proof-tag { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 20px; padding-left: 0; border-left: 0; border-top: 1px solid #e5e9f0; text-align: center; }
}
@media (max-width: 560px) {
  .proof { padding: 28px 0; }
  .proof-item { padding: 0 10px; }
  .proof-item:first-child { padding-left: 0; }
  .proof-item strong { font-size: 26px; }
  .proof-label { font-size: 12px; }
}

/* ------------------------------------------------------------------ explore */
.explore { scroll-margin-top: 115px; padding-top: 48px; padding-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.heading-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
h2 { font-size: 32px; letter-spacing: -.04em; line-height: 1.3; }
h2 span { color: var(--slate); }
.filter-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 0; margin-bottom: 32px; align-items: center; }
.category-filters { display: flex; gap: 28px; flex-wrap: nowrap; border-bottom: 1px solid var(--border); width: 100%; }
.category-filters button { position: relative; font-size: 15px; font-weight: 500; padding: 12px 2px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; color: #687382; background: none; }
.category-filters button:hover { color: var(--primary); }
.category-filters button.selected { color: var(--primary); border-bottom-color: var(--cta); font-weight: 600; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.explore-state { grid-column: 1 / -1; padding: 30px 0; color: #6b788a; font-size: 14px; }

@keyframes card-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
.event-card.card-in { animation: card-in .5s cubic-bezier(.22, 1, .36, 1) both; }
@media (prefers-reduced-motion: reduce) { .event-card.card-in { animation: none; } }
@media (min-width: 1000px) { .event-grid, .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .event-grid, .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .event-grid, .category-grid { grid-template-columns: 1fr; } }

.event-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; height: 100%; }
.event-card:hover { transform: translateY(-3px); border-color: rgba(16, 18, 90, .16); box-shadow: 0 18px 36px -20px #10125a40; }
.card-button { position: relative; display: flex; flex-direction: column; gap: 18px; width: 100%; height: 100%; text-align: left; background: none; border: 0; padding: 24px; }
.card-photo { display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 0; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.event-card:has(.card-photo) .card-tile { display: none; }
.card-head { display: flex; align-items: center; gap: 12px; }
.card-tile { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary); color: #fff; }
.card-chip { margin-left: auto; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-foreground); }
.card-go { color: #8a95a8; flex: none; transition: color .25s, transform .25s; }
.event-card:hover .card-go { color: var(--primary); transform: translate(2px, -2px); }
.card-body { padding: 0; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #6b788a; margin-bottom: 12px; gap: 8px; }
.card-meta > span:first-child { display: flex; gap: 6px; align-items: center; }
.card-meta > span:last-child { background: #f2f4f7; padding: 3px 7px; border-radius: 3px; }
.card-body h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body > p { font-size: 14px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(3 * 1.8em); margin-bottom: 0; }
.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e7eaf0; margin-top: auto; padding-top: 16px; font-size: 12px; color: #687382; }
.card-footer svg, .card-footer .icon { color: var(--copper); }
@media (max-width: 640px) {
  .card-button { flex-direction: row; align-items: center; gap: 14px; padding: 14px 44px 14px 14px; }
  .event-card:hover { transform: none; box-shadow: none; }
  .card-head { flex: none; }
  .card-tile { width: 52px; height: 52px; }
  .card-chip { display: none; }
  .card-go { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
  .card-footer { display: none; }
  .card-body h3 { white-space: normal; }
  .card-body > p { display: none; }
  /* The desktop 16:9-banner sizing (calc(100%+48px), negative margins) was never overridden
     here, so once .card-button flips to a row layout above, a real card-photo balloons to
     fill almost the whole row and clips every other field away via .event-card's own
     overflow:hidden - matches the reference's own ≤640px override
     (Quiz Mockup/source/app/globals.css). */
  .card-photo { flex: none; width: 56px; height: 56px; margin: 0; aspect-ratio: auto; border-radius: 14px; }
}
.view-all { display: flex; justify-content: center; margin-top: 34px; }
.view-all [data-slot="button"] { background: var(--cta); color: #fff; padding: 0 26px; height: 44px; border-radius: 999px; }
@media (max-width: 640px) { .view-all [data-slot="button"] { height: 40px; padding: 0 20px; } }
.empty { padding: 60px; text-align: center; border: 1px solid var(--border); border-radius: 12px; }
.empty > svg { margin: 0 auto 20px; }
.empty p { margin: 10px 0 20px; }
@media (max-width: 760px) {
  .category-filters { gap: 20px; overflow-x: auto; }
}

/* -------------------------------------------------------------- weekly banner */
.wk-banner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; margin-top: 56px; margin-bottom: 24px; padding: 36px 44px; border-radius: 20px; background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.wk-banner::after { content: ""; position: absolute; right: -90px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: #fff; opacity: .08; pointer-events: none; }
.wk-banner > * { position: relative; z-index: 1; }
.wk-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--cta); }
.wk-copy h2 { font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 12px 0 8px; }
.wk-copy p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .72); }
.wk-count { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wk-count small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); font-weight: 600; }
.wk-live { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; background: #1f9d6333; border: 1px solid #1f9d63; color: #8fe5bc; font-size: 18px; font-weight: 700; }
.wk-live i { width: 10px; height: 10px; border-radius: 50%; background: #2bd98a; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.wk-btn { height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 600; background: var(--cta); color: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; border: 0; }
.wk-btn:hover { filter: brightness(.92); }
@media (max-width: 1000px) {
  .wk-banner { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; justify-items: start; }
  .wk-count { align-items: flex-start; }
  .wk-copy h2 { font-size: 26px; }
  .wk-btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .wk-banner { margin-top: 36px; padding: 24px 18px; border-radius: 16px; }
  .wk-copy h2 { font-size: 22px; }
  .wk-copy p { font-size: 13px; }
  .wk-btn { height: 46px; font-size: 15px; }
}

/* ------------------------------------------------------------------ band/how */
.band { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 88px 0; margin-top: 56px; }
.sec-head { margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; margin-top: 12px; color: var(--ink); }
.sec-head h2 span { color: #5d7285; }
.how-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-item { background: var(--background); border: 1px solid var(--border); border-radius: 16px; padding: 30px 28px 32px; transition: box-shadow .25s, transform .25s; }
.how-item:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -26px #10125a66; }
.how-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.how-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--primary); }
.how-num { font-size: 14px; font-weight: 600; letter-spacing: .12em; color: #8a9aa8; }
.how-item h3 { font-size: 22px; margin-bottom: 8px; color: var(--ink); }
.how-item > p { font-size: 16px; line-height: 1.7; }
@media (max-width: 900px) { .how-flow { grid-template-columns: 1fr; } .band { padding: 60px 0; } }
@media (max-width: 760px) { .band { padding: 56px 0; } }

/* --------------------------------------------------------------- testimonial */
.testimonial { display: block; padding-top: 88px; padding-bottom: 40px; border: 0; margin-top: 0; }
.story-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.story-head .sec-head { margin-bottom: 32px; }
.story-nav { display: flex; gap: 10px; margin-bottom: 32px; }
.story-nav button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #10125a; border: 1px solid var(--border); }
.story-nav button:hover:not(:disabled) { background: #10125a; color: #fff; border-color: #10125a; }
.story-nav button:disabled { opacity: .4; }
@media (max-width: 640px) { .story-nav button { width: 38px; height: 38px; } }
.t-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; margin: 0 -2px; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 300px; scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.t-top { display: flex; align-items: center; justify-content: space-between; }
.t-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--primary); }
.t-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--primary); background: var(--tint); padding: 6px 12px; border-radius: 999px; }
.t-card blockquote { margin: 0; font-size: 16px; line-height: 1.75; color: #3a4f60; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.t-card footer { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.t-card footer img, .t-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.t-avatar { display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 20px; font-weight: 600; }
.t-card footer strong { display: block; font-size: 16px; color: var(--ink); }
.t-card footer span:not(.t-avatar) { display: block; font-size: 13px; color: #6b7d8d; margin-top: 2px; }
.t-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--primary); }
.t-more:hover { text-decoration: underline; }
@media (max-width: 1000px) { .t-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 700px) {
  /* min-width:300px (above) is a readability floor for tablet/desktop, where flex-basis
     already exceeds it - but on a phone narrower than ~341px, 88% of the track falls below
     300px and that floor wins instead, pushing the card past the viewport and leaking a
     horizontal scrollbar onto the whole page, not just the (intentionally swipeable) track.
     Dropping the floor here lets flex-basis govern width down to any phone size. */
  .t-card { flex-basis: 88%; min-width: 0; }
  .story-head { flex-direction: column; align-items: flex-start; gap: 0; } .story-nav { margin-bottom: 20px; }
}

/* --------------------------------------------------------------------- cta */
.cta { margin-top: 24px; margin-bottom: 64px; }
@media (max-width: 640px) { .cta { margin-bottom: 44px; } }
.cta-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; background: #10125a; color: #fff; border-radius: 24px; padding: 60px; }
.cta-copy .eyebrow { color: #9fb4c4; }
.cta-copy h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; color: #fff; margin: 12px 0 18px; }
.cta-copy > p { color: #c3d1dc; font-size: 17px; max-width: 500px; margin-bottom: 32px; }
.cta-btn { height: 50px; padding: 0 26px; border-radius: 999px; background: #fff !important; color: #10125a !important; font-size: 15px; font-weight: 600; }
.cta-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-facts li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px; background: #ffffff12; border-radius: 14px; padding: 18px 22px; font-size: 15px; }
.cta-facts li svg, .cta-facts li .icon { color: #c3d1dc; }
.cta-facts li span { color: #c3d1dc; }
.cta-facts li b { font-weight: 600; color: #fff; }
@media (max-width: 900px) {
  /* minmax(0, 1fr), not a bare 1fr: a bare fr track still carries the grid default
     min-width:auto, so it refuses to shrink below its content's min-content width. That
     content is .cta-btn, whose label inherits white-space:nowrap from the global
     [data-slot=button] rule above - "Explore Knowledge Partnership" doesn't wrap, so it
     dictates a ~313px floor on the whole column. Below ~357px viewport that floor wins and
     bleeds past the edge - same failure shape as the .t-card/story-track fix above, just a
     grid version of it instead of flexbox's. min-width:0 on .cta-copy plus letting the
     button wrap is what actually lets the column shrink the rest of the way down.
  */
  .cta-card { grid-template-columns: minmax(0, 1fr); padding: 38px 24px; gap: 32px; }
  .cta-copy { min-width: 0; }
  .cta-btn { white-space: normal; text-align: center; }
  .cta-facts li { grid-template-columns: 24px 1fr; }
  .cta-facts li b { grid-column: 2; }
}

/* ------------------------------------------------------------------- footer */
.site-footer { background: #2b2f36; color: #e8eaee; padding-top: 64px; border-top: 1px solid #2b2f36; overflow: visible; }
.sf-top { display: grid; grid-template-columns: 1.5fr .9fr .9fr 1.3fr; gap: 48px; padding-bottom: 48px; align-items: stretch; }
.sf-brand img { width: 170px; margin-bottom: 18px; }
.sf-brand > p { color: #aab0ba; font-size: 14px; line-height: 1.7; max-width: 300px; margin: 0; }
.sf-social { display: flex; gap: 10px; margin-top: 22px; }
.sf-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.sf-social a:hover { background: #fff; color: #2b2f36; transform: translateY(-2px); }
.sf-col { display: flex; flex-direction: column; }
.sf-col h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; margin: 0 0 14px; }
.sf-col > button, .sf-col > a { display: block; color: #d5d9e0; font-size: 15px; padding: 6px 0; text-align: left; background: none; border: 0; }
.sf-col > button:hover, .sf-col > a:hover { color: #fff; text-decoration: underline; }
.sf-col > button.sf-all { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-weight: 600; color: #fff; align-self: flex-start; }
.sf-contact .sf-row { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; padding: 6px 0; }
.sf-row svg, .sf-row .icon { flex: none; color: #f47920; margin-top: 2px; }
.sf-contact .sf-row:hover { text-decoration: none; color: #fff; }
.sf-col > button.sf-enquiry { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--cta); color: #fff; border-radius: 999px; padding: 12px 24px; font-size: 14px; font-weight: 600; margin-top: 18px; align-self: flex-start; }
.sf-col > button.sf-enquiry:hover { color: #fff; background: var(--cta); filter: brightness(.92); text-decoration: none; }
@media (max-width: 640px) { .sf-col > button.sf-enquiry { padding: 10px 18px; font-size: 13px; } }
.sf-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 0 26px; font-size: 13px; color: #aab0ba; border-top: 1px solid rgba(255,255,255,.14); }
.sf-legal { display: flex; gap: 24px; }
.sf-legal a { color: #aab0ba; }
.sf-legal a:hover { color: #fff; }
@media (min-width: 1101px) { .sf-top { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 56px; } }
@media (max-width: 1100px) { .sf-top { grid-template-columns: 1fr 1fr; gap: 36px 32px; } .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .site-footer { padding-top: 44px; } .sf-top { gap: 32px 24px; padding-bottom: 36px; } .sf-brand img { width: 140px; } .sf-contact { grid-column: 1 / -1; } .sf-bottom { flex-direction: column; gap: 10px; padding: 18px 0 24px; } }

/* -------------------------------------------------------------- group links */
.group-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.group-link { text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.group-link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px #10125a40; border-color: color-mix(in srgb, var(--primary) 25%, transparent); }
.group-link-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent); color: var(--copper); display: flex; align-items: center; justify-content: center; }
.group-link h3 { font-size: 20px; color: var(--ink); }
.group-link p { font-size: 14px; line-height: 1.7; }
.group-link > span { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--copper); }
@media (max-width: 900px) { .group-links { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- weekly quiz cards */
.eyebrow.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .12em; margin-bottom: 14px; }
.week-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.week-card { display: flex; flex-direction: column; gap: 8px; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; transition: transform .25s, box-shadow .25s; }
.week-card:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -26px #10125a80; }
.week-card.upcoming, .week-card.ended { background: #fafbfc; }
.week-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.week-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.week-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.week-status.live { background: #e8f6ef; color: #17794c; }
.week-status.live i { width: 6px; height: 6px; border-radius: 50%; background: #2bd98a; }
.week-status.upcoming, .week-status.ended { background: #f2f4f7; color: #6b788a; }
.week-status.done { background: var(--tint); color: var(--copper); }
.week-date { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #6b788a; margin: 0; }
.week-desc { font-size: 13px; line-height: 1.6; color: #6b788a; margin: 0; }
.week-meta { display: flex; gap: 16px; font-size: 12px; color: #6b788a; }
.week-meta span { display: inline-flex; align-items: center; gap: 5px; }
.week-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid #eef0f4; font-size: 13px; }
.week-hint { color: #6b788a; }
.week-foot-btn { font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--tint); }
.week-foot-btn.disabled { color: #9aa5b1; background: #eef0f4; }
.week-card.big { padding: 30px 32px; border-color: color-mix(in srgb, var(--primary) 18%, transparent); background: #fff; gap: 12px; }
.week-card.big .week-name { font-size: 22px; }
.week-card.big .week-desc { font-size: 14px; }
@media (max-width: 700px) { .week-grid { grid-template-columns: 1fr; } }

.winners-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.winners-head h2 { margin-bottom: 0 !important; }
.week-note { font-size: 15px; color: #637084; margin-top: 8px; }
.edition-select { min-width: 190px; height: 46px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 500; padding: 0 18px; color: var(--ink); }
.month-block { margin-top: 40px; }
.month-block:first-of-type { margin-top: 28px; }
.month-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.month-head h3 { font-size: 22px; color: var(--ink); }
.month-head span { font-size: 13px; color: #637084; }
.month-arrows { display: flex; gap: 8px; margin-left: 6px; }
.month-arrows button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--primary); }
.month-arrows button:hover:not(:disabled) { background: var(--primary); color: #fff; border-color: var(--primary); }
.month-arrows button:disabled { opacity: .35; }
@media (max-width: 640px) { .month-arrows button { width: 30px; height: 30px; } }
.wk-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px; }
.wk-track::-webkit-scrollbar { display: none; }
.wk-cell { flex: 0 0 calc((100% - 32px) / 3); min-width: 250px; scroll-snap-align: start; }
@media (max-width: 1000px) { .wk-cell { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .wk-cell { flex-basis: 86%; } }

/* ---------------------------------------------------- this week (featured) */
.week-featured { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr; gap: 20px; align-items: stretch; }
.week-count { display: flex; flex-direction: column; gap: 8px; justify-content: center; background: var(--primary); color: #fff; border-radius: 16px; padding: 30px 32px; }
.week-count > span { font-size: 11px; letter-spacing: .1em; font-weight: 700; color: rgba(255, 255, 255, .72); }
.week-count > strong { font-size: 36px; font-weight: 700; letter-spacing: -.02em; }
.week-count > p { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .72); margin: 4px 0 0; }
@media (max-width: 760px) { .week-featured { grid-template-columns: 1fr; } }

.prize-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.prize-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.prize-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--primary); margin-bottom: 8px; }
.prize-pos { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #637084; text-transform: uppercase; }
.prize-card strong { font-size: 32px; color: var(--ink); line-height: 1.1; }
.prize-card.total { background: var(--primary); border-color: var(--primary); justify-content: center; }
.prize-card.total .prize-pos { color: rgba(255, 255, 255, .72); }
.prize-card.total strong { color: #fff; }
@media (max-width: 900px) { .prize-grid { grid-template-columns: repeat(2, 1fr); } .prize-card.total { grid-column: 1 / -1; } }

/* -------------------------------------------------------------- instructions */
.ins-page { padding-top: 28px; padding-bottom: 72px; }
.ins-head { margin: 8px 0 28px; max-width: 720px; }
.ins-head h1 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.08; margin: 10px 0 10px; color: var(--ink); }
.ins-head p { color: #637084; font-size: 17px; line-height: 1.6; margin: 0; }
.ins-columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.ins-schedule { display: grid; grid-template-columns: auto 1fr 1fr 1fr; align-items: center; gap: 20px; margin-bottom: 18px; padding: 18px 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.ins-schedule svg, .ins-schedule .icon { color: var(--primary); }
.ins-schedule span { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #637084; }
.ins-schedule strong { font-size: 15.5px; font-weight: 700; color: var(--ink); }
@media (max-width: 1000px) { .ins-schedule { grid-template-columns: 1fr 1fr; } .ins-schedule > svg, .ins-schedule > .icon { display: none; } }
@media (max-width: 640px) { .ins-schedule { gap: 14px; padding: 16px; } }
.ins-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.ins-facts > div { padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.ins-facts svg, .ins-facts .icon { color: var(--primary); margin-bottom: 6px; }
.ins-facts strong { font-size: 19px; color: var(--ink); line-height: 1.2; }
.ins-facts span { font-size: 13px; color: #637084; line-height: 1.4; }
.ins-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ins-steps li { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.ins-steps li > span { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.ins-steps h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16px; color: var(--ink); }
.ins-steps h3 svg, .ins-steps h3 .icon { color: var(--primary); }
.ins-steps p { margin: 0; color: #637084; font-size: 14.5px; line-height: 1.6; }
.ins-rules { list-style: none; margin: 18px 0 0; padding: 6px 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.ins-rules li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.ins-rules li + li { border-top: 1px solid var(--border); }
.ins-rules svg, .ins-rules .icon { flex: none; margin-top: 3px; color: var(--primary); }
.ins-card { position: sticky; top: 96px; padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(16, 18, 90, .1); }
.ins-card h2 { font-size: 22px; line-height: 1.25; margin: 8px 0 8px; color: var(--ink); }
.ins-card > p { color: #637084; font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.ins-agree { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.ins-agree input { flex: none; margin-top: 2px; }
.ins-card .fine-print { margin: 12px 0 0; }
@media (max-width: 1000px) { .ins-columns { grid-template-columns: 1fr; gap: 24px; } .ins-card { position: static; } .ins-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ins-page { padding-top: 16px; padding-bottom: 40px; } .ins-head { margin-bottom: 18px; } .ins-head p { font-size: 15px; } .ins-facts { gap: 10px; } .ins-facts > div { padding: 14px; } .ins-facts strong { font-size: 17px; } .ins-steps li { padding: 14px; gap: 12px; } .ins-rules { padding: 2px 16px; } .ins-card { padding: 20px; border-radius: 16px; } }

.ins-count { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 28px; border-radius: 20px; background: var(--primary); color: #fff; margin-bottom: 28px; position: relative; overflow: hidden; }
.ins-count::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--hero-glow, rgba(255, 255, 255, .08)); pointer-events: none; }
.ins-count-text { max-width: 460px; position: relative; z-index: 1; }
.ins-count-text > span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--hero-hi, #f47920); }
.ins-count-text strong { display: block; font-size: 24px; margin: 6px 0 6px; }
.ins-count-text p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--hero-sub, rgba(255, 255, 255, .78)); }
.ins-clock { display: flex; gap: 10px; position: relative; z-index: 1; }
.ins-clock > div { min-width: 78px; padding: 14px 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .12); text-align: center; }
.ins-clock b { display: block; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; font-weight: 700; }
.ins-clock small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-sub, rgba(255, 255, 255, .75)); }
.ins-count.open { background: #17794c; }
.ins-count.open .ins-count-text > span { color: #bff2d6; }
@media (max-width: 1000px) { .ins-count { flex-direction: column; align-items: flex-start; gap: 18px; } }
@media (max-width: 640px) { .ins-count { padding: 20px; border-radius: 16px; } .ins-count-text strong { font-size: 20px; } .ins-clock { gap: 8px; width: 100%; } .ins-clock > div { flex: 1; min-width: 0; padding: 12px 4px 8px; } .ins-clock b { font-size: 26px; } }

/* -------------------------------------------------------------- category page */
.category-page { padding-top: 48px; padding-bottom: 40px; }
.category-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 54px 48px; margin-bottom: 40px; background: var(--accent); border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); }
.category-hero > *:not(.category-art) { position: relative; z-index: 1; }
.category-hero .eyebrow { color: var(--copper); }
.category-hero h1 { font-size: clamp(34px, 5vw, 56px); color: var(--ink); margin: 10px 0 14px; overflow-wrap: anywhere; }
.category-hero p { max-width: 640px; font-size: 16px; }
.category-grid { margin-top: 8px; }
.category-art { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; pointer-events: none; color: var(--primary); }
.category-art .art-ring { position: absolute; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--primary) 16%, transparent); }
.category-art .r1 { width: 300px; height: 300px; right: 40px; top: 50%; margin-top: -150px; }
.category-art .r2 { width: 200px; height: 200px; right: 90px; top: 50%; margin-top: -100px; background: color-mix(in srgb, var(--primary) 6%, transparent); }
.category-art .art-main { position: absolute; right: 130px; top: 50%; margin-top: -60px; opacity: .28; width: 120px; height: 120px; }
.category-art .art-s { position: absolute; opacity: .2; width: 58px; height: 58px; }
.category-art .s1 { right: 360px; top: 20%; }
.category-art .s2 { right: 30px; top: 12%; }
.category-art .s3 { right: 330px; bottom: 16%; }
@media (max-width: 900px) { .category-art { width: 60%; opacity: .55; } }
@media (max-width: 640px) { .category-art { display: none; } }
/* The reference design (Quiz Mockup/source/app/globals.css) reduces .category-hero's padding
   at 900px; ours kept the full 54px/48px desktop padding all the way down to the existing
   400px tier below, reading oversized through the whole tablet/large-phone range. */
@media (max-width: 900px) { .category-hero { padding: 38px 26px; } }
@media (max-width: 400px) {
  /* clamp(34px, 5vw, 56px) sits pinned at its 34px floor below a ~680px viewport (5vw
     doesn't clear 34px until then), and category-hero's side padding never reduces the
     way .detail-hero's does at 760px. A long unbreakable single-word heading ("Competitions")
     then doesn't fit the box at 320-360px and gets silently sliced off by overflow:hidden
     instead of visibly overflowing - same failure shape as the .t-card/.cta-card fixes
     above, just masked rather than leaking a scrollbar, which is why it only showed up in a
     screenshot, not a scrollWidth check. Shrinking the padding and the floor both, rather
     than relying on overflow-wrap alone, keeps the heading from looking cramped against the
     card edge even once it does fit. */
  .category-hero { padding: 36px 24px; }
  .category-hero h1 { font-size: 28px; }
}

/* ------------------------------------------------------------------ crumbs */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #6b7d8d; margin-bottom: 18px; }
.crumbs a { color: var(--primary); font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--ink); font-weight: 500; }

/* -------------------------------------------------------------- detail page */
.detail { padding: 35px 0 80px; min-height: 600px; }
.detail-hero { display: flex; align-items: center; gap: 40px; justify-content: space-between; background: var(--primary); color: #fff; border: 0; border-radius: 24px; padding: 56px; margin-bottom: 40px; position: relative; overflow: hidden; }
.detail-hero::after { content: ""; position: absolute; right: -110px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: var(--hero-glow, rgba(255, 255, 255, .1)); opacity: .55; pointer-events: none; }
.detail-hero > div:first-child { max-width: 760px; position: relative; z-index: 1; }
.detail-hero .eyebrow { color: var(--hero-hi, #f47920); }
.detail-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.15; margin: 15px 0; color: #fff; }
.detail-hero p { font-size: 17px; max-width: 660px; color: var(--hero-sub, rgba(255, 255, 255, .82)); }
.detail-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; position: relative; z-index: 1; }
.detail-tags span { display: flex; align-items: center; gap: 7px; font-size: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 14px; color: #fff; }
.detail-tags svg, .detail-tags .icon { width: 16px; height: 16px; color: var(--hero-hi, #f47920); }
/* Hidden by request - the decorative circle in the detail-hero banner (quiz-detail.html's
   #quiz-art) looked like an empty placeholder box whenever a quiz has no real banner-image
   option set, which is most of them right now. js/quiz-detail.js still fills its innerHTML
   (real photo or a sparkle icon), that content just never renders. */
.detail-art { display: none; }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
.detail-art .icon { display: none; }
@media (max-width: 1000px) { .detail-art { width: 120px; height: 120px; } }
@media (max-width: 760px) { .detail-art { display: none; } .detail-hero { flex-direction: column; align-items: flex-start; padding: 32px 22px; gap: 20px; border-radius: 18px; } .detail-hero h1 { font-size: 34px; } }
/* Reference design (Quiz Mockup/source/app/globals.css) has a further ≤640px tier the 760px
   one above never reached - padding/heading/copy/tags all stayed at the 760px values all
   the way down to the narrowest phones. */
@media (max-width: 640px) {
  .detail-hero { padding: 26px 20px; border-radius: 16px; }
  .detail-hero h1 { font-size: 30px; }
  .detail-hero p { font-size: 15px; line-height: 1.55; }
  .detail-tags { margin-top: 16px; }
  .detail-tags span { font-size: 11.5px; padding: 6px 10px; }
}

.detail-columns { display: grid; grid-template-columns: minmax(0, 1fr) 335px; gap: 65px; align-items: start; }
.detail-columns.no-panel { grid-template-columns: 1fr; }
.content-section { padding: 35px 0; border-bottom: 1px solid var(--border); }
.content-section h2 { font-size: 27px; margin: 9px 0 18px; }
.content-section > p { font-size: 16px; }
.content-section [data-slot="accordion-item"] { border-color: var(--border); }
.content-section [data-slot="accordion-trigger"] { padding-top: 20px; padding-bottom: 20px; font-size: 16px; }
.content-section [data-slot="accordion-content"] { font-size: 14px; color: #627082; line-height: 1.9; }
@media (max-width: 1100px) { .detail-columns { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; } }
@media (max-width: 760px) { .detail-columns { display: flex; flex-direction: column; gap: 5px; } .content-section { padding: 28px 0; } }

/* The weekly hub's own sections are tighter and borderless, unlike the
   generic bordered quiz-detail content-sections - it's part of the same
   "experience-page" treatment .kp-experience ports elsewhere, minus the
   floating join-panel (the weekly hub has no side panel at all), measured
   the same way: getComputedStyle on the live reference, not its minified
   source. */
.weekly-hub .detail-hero { padding: 52px 56px 56px; margin-bottom: 44px; }
.weekly-hub .detail-hero > div:first-child { max-width: 58%; }
.weekly-hub .detail-hero h1 { font-size: 52px; letter-spacing: -.025em; }
.weekly-hub .detail-hero p { font-size: 18px; }
.weekly-hub .detail-art { display: none; }
.weekly-hub .content-section { border: 0; padding: 0; margin: 0 0 34px; }
.weekly-hub .content-section:last-child { margin-bottom: 24px; }
.weekly-hub .content-section > .eyebrow { background: var(--tint); color: var(--primary); border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; display: inline-block; margin-bottom: 10px; }
.weekly-hub .content-section > h2 { font-size: 23px; margin: 0 0 12px; }
.weekly-hub .content-section [data-slot="accordion"] { display: flex; flex-direction: column; gap: 12px; }
.weekly-hub .content-section [data-slot="accordion-item"] { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 16px; }
.weekly-hub .content-section [data-slot="accordion-trigger"] { padding-top: 15px; padding-bottom: 15px; font-size: 15px; }

/* Knowledge Partnership pages (knowledge-partnership.html,
   knowledge-partnership-session.html): a floating overlapping join-panel,
   pill-badge eyebrows, boxed timeline/accordion cards - ported from the
   design's "Experience" component wrapper. Measured directly off the live
   reference build (getComputedStyle, not the minified source) because
   several of its media queries repeat the same selector/property with
   different values - in a plain stylesheet (no extra nesting), the last
   one in source order wins, which isn't obvious from reading the rules in
   isolation. Scoped to .kp-experience rather than applied site-wide, same
   as .weekly-hub above does for its own page. */
.kp-experience .detail-hero { margin-bottom: 0; }
.kp-experience .detail-hero p { max-width: 640px; line-height: 1.65; }
.kp-experience .detail-content { padding-top: 36px; }
.kp-experience .content-section { border: 0; padding: 0; margin: 0 0 52px; }
.kp-experience .content-section:last-child { margin-bottom: 24px; }
.kp-experience .content-section > .eyebrow { background: var(--tint); color: var(--primary); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; font-size: 11px; display: inline-block; }
.kp-experience .content-section > h2 { font-size: 30px; letter-spacing: -.02em; margin: 0 0 18px; }
.kp-experience .content-section > p { font-size: 15px; line-height: 1.6; }
.kp-experience .content-section [data-slot="accordion"] { display: flex; flex-direction: column; gap: 12px; }
.kp-experience .content-section [data-slot="accordion-item"] { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.kp-experience .content-section [data-slot="accordion-item"]:hover { border-color: rgba(16, 18, 90, .16); }
.kp-experience .content-section [data-slot="accordion-trigger"] { padding-top: 18px; padding-bottom: 18px; }
.kp-experience .timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kp-experience .timeline > div { display: flex; gap: 10px; padding: 22px; margin: 0; border: 1px solid var(--border); border-radius: 16px; background: #fff; position: static; }
.kp-experience .timeline > div:before { display: none; }
.kp-experience .timeline > div > span { position: static; width: 41px; height: 41px; background: var(--primary); color: #fff; border-color: var(--primary); }
@media (max-width: 760px) { .kp-experience .timeline { grid-template-columns: 1fr; } }
/* Matching the reference design's own ≤640px tier (Quiz Mockup/source/app/globals.css) -
   these four components (detail-hero text, timeline cards, reward-grid cards, FAQ accordion)
   had no reduction at all below 760px, staying at full desktop sizing on phones. */
@media (max-width: 640px) {
  .kp-experience .detail-hero { padding: 26px 20px; }
  .kp-experience .detail-hero h1 { font-size: 30px; }
  .kp-experience .detail-hero p { font-size: 15px; line-height: 1.55; }
  .kp-experience .timeline > div { padding: 14px 16px; border-radius: 14px; }
  .kp-experience .timeline > div > span { width: 32px; min-width: 32px; height: 32px; font-size: 12px; }
  .reward-grid { gap: 10px; }
  .reward-grid > div {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px;
    align-items: center; padding: 14px;
  }
  .reward-grid > div > svg, .reward-grid > div > .icon { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; }
  .reward-grid h3 { grid-column: 2; font-size: 15.5px; margin: 0; }
  .reward-grid p { grid-column: 2; font-size: 12.5px; margin: 0; }
  .kp-experience .content-section [data-slot="accordion-item"] { padding: 0 16px; }
  .kp-experience .content-section [data-slot="accordion-trigger"] { font-size: 15px; padding-top: 15px; padding-bottom: 15px; }
}
@media (min-width: 1001px) {
  .kp-experience .detail-hero { padding: 52px 56px 76px; }
  .kp-experience .detail-hero > div:first-child { max-width: 58%; }
  .kp-experience .detail-columns { margin-top: 0; }
  .kp-experience .join-panel { margin-top: -128px; border-radius: 20px; box-shadow: 0 28px 56px -28px rgba(16, 18, 90, .4), 0 2px 6px rgba(16, 18, 90, .08); z-index: 4; }
}

.join-panel { position: sticky; top: 112px; margin-top: 0; border: 1px solid var(--border); border-radius: 12px; padding: 27px; background: #fff; box-shadow: 0 10px 30px #10125a05; }
.join-icon { height: 46px; width: 46px; border-radius: 10px; background: var(--tint); color: var(--copper); display: grid; place-items: center; margin-bottom: 20px; }
.join-panel .eyebrow { font-size: 10px; }
.join-panel h2 { font-size: 24px; margin: 10px 0 15px; line-height: 1.35; }
.join-panel > p { font-size: 14px; }
.join-facts { padding: 15px 0; margin: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.join-facts > div { display: flex; align-items: center; gap: 11px; font-size: 12px; color: var(--slate); padding: 7px 0; }
.join-facts svg, .join-facts .icon { width: 16px; height: 16px; flex-shrink: 0; }
.join-panel > .fine-print { text-align: center; margin-top: 13px; font-size: 11px !important; }
.join-panel .text-link { justify-content: center; width: 100%; margin-top: 14px; }
@media (max-width: 760px) { .join-panel { position: static; order: -1; width: 100%; margin-bottom: 25px; } }
/* Two different reference treatments for this one shared class pair, matched by two
   different pages' own variant - kept scoped so neither bleeds into the other's page.
   quiz-detail.html's plain (unscoped) join-panel matches the reference's base/white-card
   variant, which hides the icon outright at 760px. knowledge-partnership-session.html's
   (wrapped in .kp-experience, confirmed in its own markup) matches a different reference
   variant that shrinks the icon instead - scoping this one to .kp-experience is what keeps
   it from overriding quiz-detail.html's own icon treatment below. */
@media (max-width: 760px) {
  .join-panel { padding: 24px; }
  .join-icon { display: none; }
  /* Countering the hide right away, not waiting for the 640px tier below, so the icon
     never flashes hidden-then-visible-again across 640-760px - the KP variant just resizes
     it, it never hides it at any width. */
  .kp-experience .join-icon { display: grid; }
}
@media (max-width: 640px) {
  .kp-experience .join-panel { padding: 20px; border-radius: 16px; margin: 14px 0 36px; }
  .kp-experience .join-panel h2 { font-size: 22px; }
  .kp-experience .join-icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .kp-experience .join-facts { padding: 12px 0; margin: 12px 0; }
}

.sticky-action-bar { display: none; }
@media (max-width: 760px) {
  .sticky-action-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--border); padding: 12px 16px; box-shadow: 0 -10px 24px -18px rgba(16, 18, 90, .35); }
  .sticky-action-label { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .sticky-action-btn { flex-shrink: 0; }
}

/* --------------------------------------------------- quiz detail (real API) */
.quiz-state { padding: 120px 0; text-align: center; color: #6b788a; font-size: 15px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; margin-top: 23px; }
.stat-grid > div { padding: 18px; background: var(--accent); border-radius: 12px; }
.stat-grid strong { display: block; font-size: 22px; color: var(--ink); }
.stat-grid span { font-size: 12px; color: #6b788a; }
.date-list { margin-top: 23px; display: flex; flex-direction: column; gap: 14px; }
.date-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.date-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.date-list span { font-size: 14px; color: #6b788a; }
.date-list strong { font-size: 14px; color: var(--ink); text-align: right; }
.quiz-cta-note { font-size: 12px; color: #6b788a; text-align: center; margin-top: 10px; line-height: 1.6; }

.reward-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 22px 0 15px; }
.reward-grid > div { padding: 23px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.reward-grid > div > svg, .reward-grid > div > .icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--tint); color: var(--primary); margin-bottom: 16px; box-sizing: border-box; }
.reward-grid h3 { font-size: 19px; line-height: 1.4; }
.reward-grid p { font-size: 13px; margin-top: 9px; }
@media (max-width: 700px) { .reward-grid { grid-template-columns: 1fr; } }

.timeline { margin-top: 25px; }
.timeline > div { display: flex; gap: 20px; position: relative; padding-bottom: 25px; }
.timeline > div:last-child { padding-bottom: 0; }
.timeline > div:before { content: ''; position: absolute; left: 20px; top: 40px; bottom: 0; width: 1px; background: #d9dfe6; }
.timeline > div:last-child:before { display: none; }
.timeline > div > span { height: 41px; width: 41px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #d9dfe6; border-radius: 50%; font-size: 13px; color: var(--copper); background: #f8f8f8; }
.timeline h3 { font-size: 16px; margin-top: 2px; }
.timeline p { font-size: 14px; margin-top: 5px; }

.partner-tabs { margin-top: 30px; }
.partner-tabs [data-slot="tabs-list"] { width: 100%; height: 45px; padding: 4px; background: var(--muted); border-radius: var(--radius-md); }
.partner-tabs [data-slot="tabs-trigger"] { flex: 1; font-size: 14px; border-radius: calc(var(--radius-md) - 2px); border-bottom: 0 !important; }
.partner-tabs [data-slot="tabs-trigger"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #0000001a; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 23px; }
.benefit-grid > div { padding: 15px 0; }
.benefit-grid svg, .benefit-grid .icon { color: var(--slate); margin-bottom: 16px; width: 24px; height: 24px; }
.benefit-grid h3 { font-size: 15px; margin-bottom: 8px; }
.benefit-grid p { font-size: 13px; line-height: 1.8; }
@media (max-width: 700px) { .benefit-grid { grid-template-columns: 1fr; } .benefit-grid > div { padding: 10px 0; } }

.kp-lead { color: var(--muted-foreground); max-width: 620px; margin: 6px 0 18px; font-size: 14px; line-height: 1.6; }
.kp-sessions-state { color: var(--muted-foreground); font-size: 14px; padding: 16px 0; }
.kp-list { display: grid; gap: 14px; }
.kp-session { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid var(--border); background: #fff; border-radius: 18px; text-decoration: none; }
.kp-date { width: 64px; flex: none; text-align: center; background: var(--tint); color: var(--primary); border-radius: 14px; padding: 10px 0; }
.kp-date b { display: block; font-size: 26px; line-height: 1; }
.kp-date span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kp-body h3 { margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.kp-body p { margin: 3px 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted-foreground); }
.kp-body p svg, .kp-body p .icon { flex: none; color: var(--primary); }
.kp-session.past { opacity: .8; background: var(--secondary); }
.kp-session.past .kp-date { color: var(--muted-foreground); background: #fff; }
.kp-past { margin-top: 18px; }
@media (max-width: 640px) { .kp-session { padding: 16px; } .kp-date { width: 54px; } }

.date-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 23px; }
.date-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 22px 24px; }
.date-card svg, .date-card .icon { color: var(--primary); margin-bottom: 10px; }
.date-card span { font-size: 13px; color: var(--muted-foreground); font-weight: 500; }
.date-card strong { font-size: 20px; color: var(--ink); line-height: 1.3; }
.date-card small { font-size: 13px; color: var(--muted-foreground); }
.date-card.hot { background: var(--primary); border-color: var(--primary); }
.date-card.hot svg, .date-card.hot .icon, .date-card.hot span, .date-card.hot strong, .date-card.hot small { color: #fff; }
.date-card.hot span, .date-card.hot small { opacity: .85; }
@media (max-width: 600px) { .date-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .date-card { padding: 14px; border-radius: 14px; gap: 2px; } .date-card svg, .date-card .icon { width: 18px; height: 18px; margin-bottom: 6px; } .date-card span { font-size: 11.5px; } .date-card strong { font-size: 14.5px; } }

.ins-link { display: flex; width: 100%; justify-content: center; text-align: center; margin: 14px 0 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; min-width: 0; }
.field label { font-weight: 500; }
.field textarea { border: 1px solid var(--input); background: #fff; border-radius: 6px; padding: 13px; font-size: 14px; font-family: inherit; resize: vertical; min-height: 100px; }
.field textarea:focus-visible { outline: 2px solid color-mix(in srgb, var(--ring) 50%, transparent); }
.field.full { grid-column: 1 / -1; }
.phone-row { display: flex; gap: 8px; }
.phone-row .searchable-select { flex: 0 0 92px; }
.phone-row input { flex: 1; min-width: 0; }
.qr-error { background: #fde8e8; border: 1px solid #f3b4b4; color: #9b2c2c; padding: 12px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 4px; }

/* -------------------------------------------------- team registration (js/quiz-register.js, js/quiz-team.js — issue #4) */
.qr-group-mode { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.qr-mode-option { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; }
.qr-invite-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: #fff; }
.qr-invite-card label { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.qr-invite-card span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qr-invite-card strong { font-size: 14px; }
.qr-invite-card small { font-size: 12px; color: #627082; }
.qr-invite-decline, .team-cancel-invite { flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--ink); font-size: 13px; font-weight: 500; }
.qr-invite-decline:hover, .team-cancel-invite:hover { background: var(--accent); }
.qr-name-status { font-size: 12px; margin: 6px 0 0; }
.qr-name-status.ok { color: #1a7f4e; }
.qr-name-status.taken { color: #9b2c2c; }

.team-section-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #627082; margin: 22px 0 10px; }
.team-section-title:first-of-type { margin-top: 6px; }
.team-roster, .team-pending-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.team-roster-row, .team-pending-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; background: #fff; font-size: 14px; }
.team-pending-row { justify-content: space-between; background: #edf0f5; }
.team-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; object-fit: cover; background: var(--tint); color: var(--copper); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.team-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--copper); background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.team-invite-form { display: flex; gap: 10px; }
.team-invite-form input { flex: 1; min-width: 0; }
.team-invite-note { font-size: 13px; color: #627082; margin: 10px 0 0; }

/* -------------------------------------------------- searchable select (js/searchable-select.js) */
.searchable-select { position: relative; }
.sr-only-select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.searchable-select-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 46px;
  border: 1px solid var(--input); border-radius: var(--radius-md); background: #fff; font-size: 14px;
  padding: 0 14px; color: var(--ink); text-align: left; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.searchable-select-trigger::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #8a97a8; border-bottom: 2px solid #8a97a8; transform: rotate(45deg); flex-shrink: 0; }
.searchable-select-trigger:focus-visible { outline: 2px solid color-mix(in srgb, var(--ring) 50%, transparent); border-color: var(--ring); }
.searchable-select-trigger:disabled { opacity: .55; cursor: not-allowed; }
.searchable-select:has(select:disabled) .searchable-select-trigger { opacity: .55; cursor: not-allowed; pointer-events: none; }
.searchable-select-panel {
  position: absolute; top: calc(100% + 4px); left: 0; width: max(260px, 100%); z-index: 40;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 30px -10px rgba(20,30,45,.25); padding: 8px;
}
.searchable-select-search { display: block; width: 100%; height: 38px; border: 1px solid var(--input); border-radius: 7px; padding: 0 11px; font-size: 13px; margin-bottom: 6px; }
.searchable-select-search:focus-visible { outline: 2px solid color-mix(in srgb, var(--ring) 50%, transparent); border-color: var(--ring); }
.searchable-select-list { max-height: 220px; overflow-y: auto; }
.searchable-select-option { padding: 9px 10px; border-radius: 6px; font-size: 13.5px; cursor: pointer; }
.searchable-select-option:hover, .searchable-select-option:focus { background: var(--accent); outline: none; }
.searchable-select-option[aria-selected="true"] { color: var(--primary); font-weight: 600; }
.searchable-select-empty { padding: 9px 10px; font-size: 13px; color: #8a97a8; }
.college-enquiry { scroll-margin-top: 115px; }
.success-box { background: #edf0f5; border: 1px solid var(--border); padding: 25px; border-radius: 10px; margin-top: 22px; }
.success-box svg, .success-box .icon { color: var(--blue); margin-bottom: 14px; }
.success-box p { font-size: 14px; margin: 12px 0 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- registration page */
.register-page { padding-top: 40px; padding-bottom: 64px; }
.register-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 36px; align-items: start; }
.register-summary { position: sticky; top: 110px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.summary-badge { width: 60px; height: 60px; border-radius: 16px; background: var(--accent); color: var(--copper); display: flex; align-items: center; justify-content: center; }
.register-summary h2 { font-size: 26px; color: var(--ink); }
.register-summary p { font-size: 14px; line-height: 1.75; }
.summary-facts { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; }
.summary-facts li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); }
.summary-facts li svg, .summary-facts li .icon { color: var(--copper); flex-shrink: 0; }
.register-form-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px 40px 44px; }
.register-form-card h1 { font-size: clamp(26px, 3.4vw, 36px); color: var(--ink); margin: 8px 0 6px; }
.form-lede { font-size: 15px; margin-bottom: 26px; }
.check-field { display: flex; align-items: flex-start; font-size: 12px; gap: 10px; line-height: 1.8; margin: 23px 0 10px; color: #627082; }
.check-field input { margin-top: 5px; accent-color: var(--copper); }
@media (max-width: 900px) { .register-grid { grid-template-columns: 1fr; } .register-summary { position: static; } }
/* Matching the reference design's own ≤640px tier (Quiz Mockup/source/app/globals.css) -
   the register page only had the 900px (sidebar-stacking) and 700px (form-grid collapse)
   tiers; everything below stayed at full desktop sizing. The submit button is a deliberate
   EXCEPTION to the generic [data-slot="button"] mobile shrink above - the reference makes it
   bigger/more thumb-friendly inside the form specifically, not smaller. */
@media (max-width: 640px) {
  .register-grid { gap: 14px; }
  .register-summary { padding: 16px; border-radius: 16px; }
  .register-summary h2 { font-size: 22px; }
  .register-summary p { font-size: 13.5px; line-height: 1.5; }
  .register-form-card { padding: 18px 16px; border-radius: 16px; }
  .register-form-card h1 { font-size: 24px; }
  .form-lede { font-size: 14px; }
  .form-grid { gap: 12px; }
  .field label { font-size: 13px; }
  .register-form-card .full-button { height: 48px; font-size: 15px; }
}

/* ------------------------------------------------------- confirmation page */
.confirm-page { padding-top: 56px; padding-bottom: 72px; display: flex; justify-content: center; }
.confirm-card { width: min(640px, 100%); background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 46px 44px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.confirm-card h1 { font-size: clamp(26px, 3.6vw, 38px); color: var(--ink); }
.success-ring { display: grid; place-items: center; width: 77px; height: 77px; background: #e7ecf5; border: 1px solid #ced8e9; border-radius: 50%; margin: 0 auto; color: var(--blue); }
.success-ring svg, .success-ring .icon { width: 34px; height: 34px; }
.confirm-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 6px; }
@media (max-width: 640px) { .confirm-card { padding: 30px 22px; } }

/* --------------------------------------------------------------- utilities */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); padding: 6px 0; margin-bottom: 8px; background: none; border: 0; }
.back-link:hover { color: var(--copper); }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--copper); margin-top: 20px; background: none; border: 0; }
.text-link:hover { color: #873e0f; }
.faq-more-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 11px; border: 0; border-radius: 10px; background: var(--accent); color: #6b788a; font-size: 14px; font-weight: 600; cursor: pointer; }
.faq-more-toggle:hover { color: var(--copper); }
.faq-more-toggle svg { transition: transform .2s; }
.faq-more-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ----------------------------------------------------------------- winners
   Past-winners grid with an edition picker - cards rendered client-side
   (see the inline script wherever this markup is used) from an embedded
   per-edition dataset, since there's no backend concept of "past winners"
   for a quiz. Rank 1/2/3+ each get their own card-top colour; a winner with
   no college instead gets a click-to-reveal testimonial. */
.winners-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.winners-head .eyebrow { margin-bottom: 0; }
.winners-edition-select { flex-shrink: 0; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--background); color: var(--ink); font-family: var(--font-sans); font-size: 12px; font-weight: 600; cursor: pointer; }
.winner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.winner-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; }
.winner-card-top { position: relative; display: flex; align-items: center; justify-content: center; padding: 26px 18px 20px; }
.winner-card[data-rank="1"] .winner-card-top { background: var(--primary); }
.winner-card[data-rank="2"] .winner-card-top { background: var(--ink); }
.winner-card:not([data-rank="1"]):not([data-rank="2"]) .winner-card-top { background: #16a34a; }
.winner-rank-badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; font-size: 10px; font-weight: 700; }
.winner-photo { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.15); border: 3px solid rgba(255,255,255,.3); overflow: hidden; }
.winner-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.winner-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.winner-card-body strong { font-size: 14px; color: var(--ink); }
.winner-college { font-size: 12px; color: var(--slate); }
.winner-testimonial-toggle { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--slate); font-size: 12px; font-family: var(--font-sans); cursor: pointer; }
.winner-testimonial-toggle:hover { color: var(--primary); }
.winner-testimonial { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--slate); font-style: italic; }

/* ----------------------------------------------------------- stage-timeline
   A dated, vertical stages/milestones list - dot + connecting line per row,
   green once that stage's own date has arrived (and a "LIVE NOW" badge on
   whichever stage is the most recent one reached), grey while still
   upcoming. Status is computed client-side from each .stage-item's own
   data-date (see the inline script wherever this markup is used) - there is
   no backend concept of these in-between marketing milestones. */
.stage-timeline { display: flex; flex-direction: column; }
.stage-item { display: grid; grid-template-columns: 56px 20px 1fr; column-gap: 16px; }
.stage-date { padding-top: 1px; font-size: 13px; font-weight: 700; color: var(--ink); text-align: right; }
.stage-track { display: flex; flex-direction: column; align-items: center; }
.stage-dot { flex-shrink: 0; width: 13px; height: 13px; margin-top: 2px; border-radius: 50%; background: var(--border); transition: background-color .2s; }
.stage-line { width: 2px; flex: 1; min-height: 28px; margin-top: 4px; background: var(--border); transition: background-color .2s; }
.stage-item:last-child .stage-line { display: none; }
.stage-item.is-done .stage-dot, .stage-item.is-live .stage-dot { background: #22c55e; }
.stage-item.is-done .stage-line { background: #22c55e; }
.stage-body { padding-bottom: 22px; }
.stage-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stage-title-row h3 { margin: 0; font-size: 16px; }
.stage-live-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #dcfce7; color: #16a34a; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.stage-body p { margin: 4px 0 0; color: var(--slate); font-size: 14px; }

/* --------------------------------------------------------------- thank-you */
.ty-wrap { position: relative; min-height: calc(100vh - 86px); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; background: linear-gradient(135deg, #f7f4ef 0%, #f1eff1 50%, #eaeef7 100%); }
.ty-blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.ty-blob-1 { top: -96px; left: -96px; width: 288px; height: 288px; background: var(--primary); opacity: .15; }
.ty-blob-2 { bottom: -96px; right: -96px; width: 288px; height: 288px; background: var(--copper); opacity: .15; }
.ty-card { position: relative; z-index: 1; width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .6); border-radius: 24px; padding: 48px 40px; box-shadow: 0 20px 50px -20px rgba(16, 18, 90, .2); }
.ty-check { width: 80px; height: 80px; border-radius: 50%; background: #dcfce7; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.ty-check span { width: 56px; height: 56px; border-radius: 50%; background: #22c55e; box-shadow: 0 10px 20px -5px rgba(34, 197, 94, .4); display: flex; align-items: center; justify-content: center; }
.ty-check svg { width: 32px; height: 32px; color: #fff; }
.ty-card h1 { font-size: 28px; margin: 0; }
.ty-card p { margin: 12px 0 0; max-width: 420px; color: var(--slate); font-size: 15px; }
.ty-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; }
.ty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s; }
.ty-btn-primary { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.ty-btn-primary:hover { background: #873e0f; border-color: #873e0f; }
.ty-btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.ty-btn-outline:hover { background: var(--background); }
.ty-follow { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ty-follow p { margin: 0; font-size: 12px; font-weight: 600; color: var(--slate); }
.ty-follow-icons { display: flex; gap: 12px; }
.ty-follow-icons a { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--slate); display: flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.ty-follow-icons a:hover { background: var(--copper); color: #fff; }
@media (max-width: 640px) {
  .ty-card { padding: 36px 22px; border-radius: 20px; }
  .ty-card h1 { font-size: 22px; }
  .ty-actions { flex-direction: column; }
  .ty-btn { width: 100%; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
