/*
 * styles.css
 * All styling for the Fix-mas 2026 page. Colours and fonts are tokens in
 * :root; sizes follow the 1440px Figma frame. index.html and app.js use the
 * class names, so rename a class in all three places.
 */

:root {
  --blue: #0a5bd1;            /* action colour */
  --blue-dark: #154eb3;
  --navy: #112f7a;            /* headings */
  --navy-deep: #192e76;
  --ink: #0a0b2f;
  --text: #202d59;
  --text-muted: #4b5563;
  --grey: #6b7280;
  --light-blue: #e3effc;
  --border: #e3effc;
  --white: #ffffff;
  --error: #b42318;
  --success: #0f7a55;

  --panel-top: #16409e;
  --panel-bottom: #0c2a7a;
  --panel-edge: #0a2163;
  --screen-deep: #050f33;
  --screen-text: #c9d6f2;
  --screen-muted: #9fb3de;
  --glow: #6ef0dd;
  --glow-hover: #a6f7eb;
  --switch-shadow: 0 6px 14px rgba(3, 12, 40, .35);
  --stripe-red: #e5372b;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: 60px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 8px 16px; background: var(--navy); color: var(--white); font-family: var(--font-mono);
}
.skip-link:focus { top: 8px; }
.noscript-message { position: relative; text-align: center; color: var(--white); padding: 24px; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 15px; line-height: 1; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; border-radius: 2px; padding: 13px 23px;
  transition: background-color .15s, box-shadow .15s, transform .15s;
}
.btn-primary { background: var(--blue-dark); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-primary:disabled { opacity: .7; cursor: progress; }
.btn-outline { color: var(--navy); box-shadow: inset 0 0 0 1px #cbd9eb; }
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.btn-lg { font-size: 16px; padding: 12px 24px; min-height: 45px; }

.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 4px;
  background: var(--light-blue); color: var(--blue);
  font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: -0.03em; text-transform: uppercase;
}

/* ===== Header ===== */

.site-header { position: relative; z-index: 20; background: var(--white); }
.header-inner {
  display: flex; align-items: center; gap: 31px;
  max-width: 1440px; margin: 0 auto; padding: 19px 54px 19px 61px; min-height: 81px;
}
.logo img { width: 96px; height: 40px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 31px; }
.nav-links { display: flex; align-items: center; gap: 31px; }
.nav-links a, .nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 15px; line-height: 18px; text-transform: uppercase;
  color: var(--grey); text-decoration: none;
}
.nav-links a:hover, .nav-dropdown-toggle:hover { color: var(--navy); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: -16px; min-width: 200px;
  padding: 8px; background: var(--white); border: 1px solid #e5e7eb; border-radius: 4px;
  box-shadow: 0 12px 24px rgba(17, 47, 122, .12);
}
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu { display: block; }
.nav-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown-menu a { display: block; padding: 8px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login {
  font-family: var(--font-mono); font-size: 15px; text-transform: uppercase; color: var(--navy);
  text-decoration: none; padding: 13px 8px; margin-right: 8px;
}
.nav-toggle { display: none; }

/* ===== Hero ===== */

.hero { background: linear-gradient(180deg, #9dbded 0%, #c3d7f3 100%); overflow: hidden; }
.hero-inner {
  position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
  max-width: 1440px; margin: 0 auto; padding: 138px var(--gutter) 40px;
}
.hero-copy { position: relative; z-index: 2; flex: 0 1 700px; }
.hero h1 {
  margin-top: 32px; color: var(--navy);
  font-size: 64px; font-weight: 600; line-height: 70px; letter-spacing: -0.05em;
}
.hero-lede { margin-top: 24px; color: var(--text); font-size: 20px; line-height: 30px; }

.countdown { margin-top: 32px; }
.countdown[hidden], .confirmation[hidden] { display: none; }
.countdown-tiles { display: flex; gap: 10px; }
.countdown-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  width: 132px; height: 93px; padding-bottom: 12px; border-radius: 12px;
  background: var(--navy-deep); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: var(--white);
}
.snow-cap { position: absolute; top: -5px; left: -2px; width: calc(100% + 4px); height: auto; }
.countdown-value { font-family: var(--font-mono); font-size: 44px; font-weight: 500; line-height: 44px; font-variant-numeric: tabular-nums; }
.countdown-unit { margin-top: 7px; font-family: var(--font-mono); font-size: 10px; line-height: 13px; letter-spacing: .12em; text-transform: uppercase; }
.countdown-label { margin-top: 10px; color: var(--navy-deep); font-size: 13px; line-height: 16px; }

.confirmation {
  margin-top: 32px; max-width: 560px; padding: 16px 18px; border-radius: 8px;
  background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.confirmation-tag { color: var(--blue); font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .09em; text-transform: uppercase; }
.confirmation-body { margin-top: 10px; color: var(--navy); font-size: 15px; line-height: 22px; overflow-wrap: anywhere; }
.confirmation-link { display: inline-block; margin-top: 10px; color: var(--blue); font-family: var(--font-mono); font-size: 13px; line-height: 17px; text-transform: uppercase; }

.email-form { margin-top: 32px; }
.email-form-row { display: flex; gap: 8px; }
.email-form input {
  flex: 0 1 350px; min-width: 0; height: 45px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 3px;
  background: var(--white); color: var(--ink); font: 16px/18px var(--font-body);
}
.email-form input::placeholder { color: #98a2b1; }
.email-form input[aria-invalid="true"] { border-color: var(--error); }
.form-status:empty { display: none; }
.form-status { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--navy); }
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }
.form-note { margin-top: 8px; color: var(--ink); font-size: 12px; line-height: 16px; }
.form-note a { color: var(--blue); }

/* Balloon and chat cards, placed as in the Figma frame (603 x 475). */
.hero-art { position: relative; flex: 0 0 603px; height: 475px; margin-top: -4px; }
.balloon { position: absolute; left: 84px; top: 0; width: 435px; height: auto; animation: float 7s ease-in-out infinite; }
.chat-card {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 12px 14px 12px 12px; border-radius: 12px; background: var(--white);
  box-shadow: 0 10px 24px rgba(5, 15, 51, .25), inset 0 0 0 1px rgba(255, 255, 255, .26);
  white-space: nowrap;
}
.chat-card img { width: 40px; height: 40px; flex: none; }
.chat-name { display: flex; align-items: center; gap: 5px; color: var(--navy); font-size: 13px; font-weight: 600; line-height: 16px; }
.role { padding: 0 5px; border-radius: 2px; background: var(--light-blue); color: var(--blue); font-family: var(--font-mono); font-size: 10px; font-weight: 600; line-height: 14px; text-transform: uppercase; }
.chat-text { margin-top: 2px; color: var(--navy); font-size: 14px; line-height: 17px; }
.chat-santa { left: 0; top: 2px; transform: rotate(-3deg); }
.chat-rudolph { left: 297px; top: 142px; transform: rotate(2.5deg); }
.chat-elf { left: 0; top: 344px; transform: rotate(2deg); }
.chat-claus { left: 352px; top: 407px; transform: rotate(-2deg); }

@keyframes float { 50% { transform: translateY(-10px); } }

/* ===== Trailer ===== */

.trailer { padding: 16px var(--gutter) 80px; background: #c3d7f3; } /* continues the hero gradient */
.trailer-inner { max-width: 960px; margin: 0 auto; }
.trailer-frame {
  margin-top: 32px; overflow: hidden; border-radius: 16px; background: var(--screen-deep);
  box-shadow: 0 24px 48px rgba(17, 47, 122, .25);
}
.trailer iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }

/* ===== Scene and control panel ===== */

.scene {
  position: relative; overflow: hidden;
  padding: 44px 16px 344px;
  background: linear-gradient(180deg, #112f78 0%, #1e4295 100%);
}
.scene-decor { position: absolute; inset: 0; pointer-events: none; }
.scene-decor img { position: absolute; height: auto; }
/* Window top frame. scene-bg.svg has one, but object-fit: cover crops it off on wide
   screens, leaving the trees looking cut off. Scales like the SVG's 13/1440 bar. */
.scene-decor::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: max(13px, calc(100vw * 13 / 1440)); background: #88b5ea;
}
.scene-bg { left: 0; bottom: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center bottom; }
.scene-pillar { left: 50%; top: 15px; width: 500px; transform: translateX(-50%); }
/* Desk items are placed from the page centre so they stay beside the panel. */
.scene-lamp { left: calc(50% - 689px); top: 15px; width: 150px; }
.scene-sticky { left: calc(50% + 492px); top: 255px; width: 204px; }
.scene-books { left: calc(50% - 580px); bottom: 87px; width: 213px; }
.scene-mug { left: calc(50% - 382px); bottom: 67px; width: 110px; }
.scene-notebook { left: calc(50% + 309px); bottom: 102px; width: 240px; }
.scene-pens { left: calc(50% + 550px); bottom: 85px; width: 90px; }
.snow {
  position: absolute; inset: 0 0 25% 0; opacity: .9;
  background-image:
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(255, 255, 255, .7) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, .5) 0 1px, transparent 1.5px);
  background-size: 211px 197px, 157px 173px, 89px 101px;
  background-position: 13px 27px, 71px 3px, 40px 60px;
  animation: snow 30s linear infinite;
}
@keyframes snow { to { background-position: 13px 1009px, 71px 868px, 40px 666px; } }

.panel {
  position: relative; z-index: 2; max-width: 936px; margin: 0 auto; padding: 37px 32px 72px; border-radius: 20px;
  background: linear-gradient(180deg, var(--panel-top) 0%, var(--panel-bottom) 100%);
  box-shadow: 0 0 0 6px var(--panel-edge), 0 40px 80px rgba(10, 33, 99, .3), inset 0 2px 0 rgba(255, 255, 255, .2), inset 0 -4px 0 rgba(0, 0, 0, .25);
}
.panel-title { color: var(--screen-text); font-family: var(--font-mono); font-size: 12px; font-weight: 400; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; }
.panel-screw {
  position: absolute; left: 12px; bottom: 12px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c9d6f2, #3b5590);
}
.screen-bezel {
  margin-top: 21px; padding: 12px; border-radius: 14px; background: #040c2a;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), 0 2px 0 rgba(255, 255, 255, .12);
}
.screen {
  position: relative; min-height: 236px; padding: 22px 26px 24px; border-radius: 8px; overflow: hidden;
  background: radial-gradient(ellipse at center, #0f3478 0%, #071a4a 70%, var(--screen-deep) 100%);
  box-shadow: inset 0 0 60px rgba(110, 240, 221, .12);
}
.screen::after { /* scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px);
}
.screen-top { display: flex; justify-content: space-between; gap: 16px; color: var(--glow); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.screen-body { margin-top: 36px; }
.screen-title { color: var(--white); font-family: var(--font-mono); font-size: 32px; line-height: 44px; white-space: pre-line; }
.screen-text { margin-top: 12px; color: var(--screen-text); font-size: 16px; line-height: 25px; max-width: 727px; }
.screen-kicker { margin-top: -26px; color: var(--screen-muted); font-family: var(--font-mono); font-size: 13px; line-height: 17px; }
.screen-gift-title { margin-top: 6px; color: var(--white); font-size: 42px; font-weight: 600; line-height: 44px; letter-spacing: -0.03em; }
.screen-gift-title + .screen-text { margin-top: 10px; }
.screen-progress { margin-top: 12px; color: var(--glow); font-family: var(--font-mono); font-size: 16px; line-height: 21px; letter-spacing: .06em; white-space: pre; }
.screen-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn-screen-primary { padding: 10px 18px; background: var(--glow); color: var(--screen-deep); font-size: 13px; font-weight: 600; }
.btn-screen-primary:hover { background: var(--glow-hover); }
.btn-screen-secondary { padding: 10px 18px; color: #e6f0ff; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(230, 240, 255, .4); }
.btn-screen-secondary:hover { box-shadow: inset 0 0 0 1px #e6f0ff; }

/* ===== Switches =====
   Positions are percentages of the 207 x 184 switch from Figma.
   data-state: locked | ready | opened (set by app.js). */

.switches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.switch {
  position: relative; display: block; width: 100%; aspect-ratio: 207 / 184; border-radius: 12px;
  background: linear-gradient(180deg, #1e4aa8 0%, #10318a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -2px 0 rgba(0, 0, 0, .25), var(--switch-shadow);
  container-type: inline-size;
}
.switch.is-selected { box-shadow: inset 0 0 0 2px var(--white), var(--switch-shadow); }
.switch-screw { position: absolute; width: 2.9%; aspect-ratio: 1; border-radius: 50%; background: #5b78b8; }
.s1 { left: 2.9%; top: 3.3%; } .s2 { right: 2.9%; top: 3.3%; } .s3 { left: 2.9%; bottom: 3.3%; } .s4 { right: 2.9%; bottom: 3.3%; }
.switch-plate {
  position: absolute; left: 7.7%; top: 7.6%; width: 28.5%; height: 10.3%;
  display: flex; align-items: center; justify-content: center; gap: .6em; border-radius: 3px;
  background: linear-gradient(180deg, #f4f7fb, #dce4f1); box-shadow: 0 1px 0 rgba(0, 0, 0, .3);
  color: var(--navy); font-family: var(--font-mono); font-size: max(8px, 5.3cqi); font-weight: 600; letter-spacing: .08em;
}
.switch-plate b { font-weight: 600; }
.switch-light {
  position: absolute; left: 87%; top: 9.8%; width: 5.3%; aspect-ratio: 1; border-radius: 50%;
  background: #2a3b66; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5);
}
.switch-well {
  position: absolute; left: 25.1%; top: 24.5%; width: 50.2%; aspect-ratio: 1; border-radius: 17%;
  background: #071a4a; box-shadow: inset 0 4px 10px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .15);
}
.switch-knob {
  position: absolute; left: 17.3%; top: 17.3%; width: 65.4%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: var(--panel-edge);
  background: radial-gradient(circle at 35% 30%, #d3d9e9 0%, #fef2f1 48%, #c8cfe0 100%);
  box-shadow: 0 4px 0 #081440, 0 7px 12px rgba(0, 0, 0, .45), inset 0 -3px 6px rgba(0, 0, 0, .25);
}
.icon-play { width: 32%; height: auto; }
.switch-cover {
  position: absolute; left: 22.7%; top: 21.7%; width: 55.1%; aspect-ratio: 1; border-radius: 17.5%;
  background: repeating-linear-gradient(-45deg, var(--stripe-red) 0 9%, #fff 9% 18%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 6px 12px rgba(0, 0, 0, .35);
  transform-origin: 50% 0; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s;
}
.switch-hinge {
  position: absolute; left: 8.8%; top: -3.5%; width: 82.5%; height: 6.1%; border-radius: 99px;
  background: linear-gradient(180deg, #c9d6f2, #6f86b8);
}
.switch-badge {
  position: absolute; left: 35%; top: 35%; width: 30%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.switch-badge svg { width: 47%; height: auto; grid-area: 1 / 1; }
.icon-lock { color: var(--navy); }
.icon-arrow { color: #d9342b; display: none; }
.switch-caption {
  position: absolute; left: 0; right: 0; top: 87.5%;
  color: var(--screen-muted); font-family: var(--font-mono); font-size: max(8px, 4.8cqi); line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; text-align: center;
}

.switch[data-state="ready"] .switch-light { background: var(--glow); box-shadow: 0 0 12px #ffd34d; }
.switch[data-state="ready"] .switch-cover { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 0 22px 6px var(--glow); animation: pulse 2.4s ease-in-out infinite; }
.switch[data-state="ready"] .icon-lock { display: none; }
.switch[data-state="ready"] .icon-arrow { display: block; }
.switch[data-state="ready"] .switch-caption,
.switch[data-state="opened"] .switch-caption { color: var(--glow); font-weight: 600; }
.switch[data-state="opened"] .switch-light { background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.switch[data-state="opened"] .switch-cover { transform: translateY(-11%) scaleY(.105); opacity: .85; box-shadow: 0 6px 12px rgba(0, 0, 0, .35); }
.switch[data-state="opened"] .switch-hinge,
.switch[data-state="opened"] .switch-badge { opacity: 0; }

.switch:hover .switch-cover { transform: translateY(-2%); }
.switch[data-state="opened"]:hover .switch-cover { transform: translateY(-11%) scaleY(.105); }
.switch:hover .switch-knob { filter: brightness(1.05); }
.switch.is-shaking { animation: shake .45s ease-in-out; }

@keyframes pulse { 50% { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 0 30px 9px var(--glow); } }
@keyframes shake {
  20% { transform: rotate(-4deg); } 40% { transform: rotate(3deg); }
  60% { transform: rotate(-2deg); } 80% { transform: rotate(1deg); }
}

/* ===== FAQ ===== */

.faq { position: relative; overflow: hidden; padding: 80px 16px; background: #f4f7fd; }
.faq-stars { position: absolute; left: 50%; top: 30px; width: 1367px; max-width: none; transform: translateX(-50%); pointer-events: none; }
.faq-inner { position: relative; max-width: 960px; margin: 0 auto; }
.faq h2, .trailer h2 { text-align: center; color: var(--navy); font-size: 48px; font-weight: 600; line-height: 53px; letter-spacing: -0.05em; }
.mascot { display: flex; align-items: flex-start; justify-content: center; gap: 14px; margin-top: 40px; }
.mascot img { width: 96px; height: auto; margin-top: 10px; filter: drop-shadow(0 8px 12px rgba(17, 47, 122, .2)); }
.speech-bubble {
  position: relative; width: 392px; min-height: 82px; padding: 12px 16px; border-radius: 14px; background: var(--white);
  box-shadow: 0 1px 2px rgba(17, 47, 122, .08), 0 8px 20px rgba(17, 47, 122, .08);
}
.speech-bubble::before {
  content: ""; position: absolute; left: -6px; top: 28px; width: 20px; height: 20px; border-radius: 2px;
  background: var(--white); transform: rotate(45deg);
}
.speech-tag { position: relative; color: var(--blue-dark); font-family: var(--font-mono); font-size: 10px; line-height: 13px; letter-spacing: .08em; text-transform: uppercase; }
.speech-text { position: relative; margin-top: 4px; color: #1c2333; font-size: 15px; line-height: 22px; }
.faq-list { display: grid; gap: 24px; margin-top: 40px; }
.faq-item { border-radius: 8px; background: var(--white); }
.faq-item summary {
  display: flex; justify-content: space-between; gap: 24px; padding: 16px 32px;
  color: var(--text-muted); font-size: 24px; font-weight: 600; line-height: 29px; letter-spacing: -0.03em;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: 7px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq-item p { padding: 0 32px 16px; color: #0e0f0c; font-size: 18px; line-height: 25px; }

/* ===== CTA ===== */

.cta { padding: 32px 64px 64px; background: var(--white); }
.cta-card {
  position: relative; overflow: hidden; max-width: 1312px; min-height: 424px; margin: 0 auto; border-radius: 4px;
  background: linear-gradient(180deg, #c6d9f4 0%, #e3ecf9 55%);
}
.cta-forest { position: absolute; left: 0; bottom: -33px; width: 100%; height: auto; pointer-events: none; }
.cta-content { position: relative; max-width: 800px; margin: 0 auto; padding: 67px 16px 64px; text-align: center; }
.cta h2 { color: var(--navy); font-size: 48px; font-weight: 600; line-height: 53px; letter-spacing: -0.03em; }
.cta-content > p { margin-top: 16px; color: var(--text-muted); font-size: 17px; line-height: 26px; }
.cta-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 16px; }
.cta-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; background: #ecf3ff;
  color: var(--blue); font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 12px; text-transform: uppercase;
}
.cta-chips li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor;
  background: radial-gradient(circle, currentColor 0 1.5px, transparent 2px);
}
.cta-button { margin-top: 24px; }

/* ===== Footer ===== */

.site-footer { background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; max-width: 1440px; margin: 0 auto; padding: 32px 64px 0; }
.footer-links { display: flex; gap: 52px; }
.footer-heading { color: var(--grey); font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: .005em; }
.footer-links ul { display: grid; gap: 31px; margin-top: 34px; }
.footer-links div:nth-child(2) ul { gap: 26px; }
.footer-links a, .footer-contact address {
  color: var(--navy); font-family: var(--font-mono); font-size: 16px; line-height: 19px; text-transform: uppercase; text-decoration: none; font-style: normal;
}
.footer-links a:hover { text-decoration: underline; }
.footer-side { flex: 0 1 421px; }
.footer-form { margin-top: 13px; padding-bottom: 10px; border-bottom: 1px solid #e5e7eb; }
.footer-form-title { color: #000; font-size: 16px; font-weight: 600; line-height: 22px; }
.footer-form .email-form-row { margin-top: 12px; }
.footer-form input { flex: 1; }
.footer-form .form-note { font-size: 10px; }
.footer-contact-heading { margin-top: 11px; }
.footer-contact { display: flex; justify-content: space-between; gap: 24px; margin-top: 14px; }
.footer-contact a { color: var(--navy); font-size: 16px; font-weight: 500; text-decoration: none; }
.footer-linkedin { display: block; width: 16px; margin-top: 8px; }
.footer-contact address { max-width: 200px; font-size: 14px; line-height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; max-width: 1440px; margin: 0 auto; padding: 0 64px 32px; }
.footer-bottom p { color: var(--grey); font-size: 14px; line-height: 21px; }
.footer-bottom a { color: inherit; }
.footer-logo { width: 320px; height: auto; margin-right: 51px; }

/* ===== Gift window ===== */

.gift-modal {
  width: min(820px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; border-radius: 16px;
  color: var(--white); overflow: auto;
  background: radial-gradient(ellipse at 49% 0, #15409a 0%, #0a1f5c 60%, #071a4a 100%);
  box-shadow: 0 40px 90px rgba(3, 10, 40, .6), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.gift-modal::backdrop { background: rgba(10, 28, 92, .55); backdrop-filter: blur(3px); }
.gift-modal[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.gift-modal-inner { position: relative; padding: 39px 30px 40px; }
.gift-close {
  position: absolute; right: 30px; top: 30px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.gift-close:hover { background: rgba(255, 255, 255, .14); }
.chip-dark:empty { display: none; }
.gift-title { margin-top: 18px; padding-right: 48px; font-size: 42px; font-weight: 600; line-height: 43px; letter-spacing: -0.035em; }
.gift-description:empty { display: none; }
.gift-description { margin-top: 12px; color: var(--screen-text); font-size: 16px; line-height: 25px; }
.gift-media { margin-top: 24px; aspect-ratio: 760 / 481; border-radius: 10px; overflow: hidden; background: var(--light-blue); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.gift-media[hidden] { display: none; }
.gift-media img, .gift-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.gift-actions { display: flex; justify-content: center; margin-top: 24px; }
.gift-actions:empty { display: none; }
.btn-gift { background: var(--glow); color: #133e99; font-size: 16px; font-weight: 600; padding: 12px 24px; }
.btn-gift:hover { background: var(--glow-hover); }
.gift-share { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.gift-share-label { color: var(--screen-muted); font-family: var(--font-mono); font-size: 24px; line-height: 31px; letter-spacing: .05em; text-transform: uppercase; }
.gift-share-buttons { display: flex; gap: 10px; }
.gift-share-buttons a, .gift-share-buttons button { display: block; border-radius: 4px; cursor: pointer; }
.gift-share-buttons a:hover, .gift-share-buttons button:hover { filter: brightness(.92); }
.gift-share-status { min-height: 20px; margin-top: 8px; text-align: right; color: var(--glow); font-family: var(--font-mono); font-size: 12px; }
.gift-back {
  display: block; margin: 8px auto 0; color: var(--screen-text); font-family: var(--font-mono); font-size: 12px; line-height: 16px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: underline;
}

/* ===== Smaller screens ===== */

@media (max-width: 1279px) {
  :root { --gutter: 40px; }
  .hero-art { flex-basis: 480px; height: 400px; transform: scale(.82); transform-origin: top right; }
  .scene-sticky, .scene-pens { display: none; }
}

@media (max-width: 1100px) {
  .header-inner { padding: 16px 24px; gap: 16px; min-height: 72px; justify-content: space-between; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; content: ""; position: relative; transition: transform .2s;
  }
  .nav-toggle-bars::before { position: absolute; top: -7px; } .nav-toggle-bars::after { position: absolute; top: 7px; }
  .site-header.is-open .nav-toggle-bars { background: transparent; }
  .site-header.is-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 24px 24px; background: var(--white); box-shadow: 0 12px 24px rgba(17, 47, 122, .12);
  }
  .site-header.is-open .site-nav { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a, .nav-dropdown-toggle { padding: 12px 0; width: 100%; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .nav-actions { flex-wrap: wrap; }

  .hero-inner { flex-direction: column; align-items: stretch; min-height: 0; padding: 56px 24px 48px; }
  .hero-copy { flex-basis: auto; }
  .hero-art { align-self: center; flex: none; width: 603px; height: 475px; transform: none; margin: 0; }
  .scene-lamp, .scene-books, .scene-mug, .scene-notebook, .scene-pillar { display: none; }
  .scene { padding-bottom: 120px; }
  .footer-inner { flex-direction: column; padding: 32px 24px 0; }
  .footer-side { flex-basis: auto; }
  .footer-bottom { padding: 32px 24px; }
}

@media (max-width: 760px) {
  .hero h1 { font-size: 48px; line-height: 54px; margin-top: 24px; }
  .hero-lede { font-size: 18px; line-height: 27px; margin-top: 16px; }
  .countdown-tiles { gap: 8px; }
  .countdown-tile { flex: 1; width: auto; height: 80px; }
  .countdown-value { font-size: 34px; line-height: 34px; }
  .email-form-row { flex-direction: column; }
  .email-form input { flex: none; width: 100%; }
  .email-form .btn { width: 100%; }
  .hero-art { width: 100%; max-width: 420px; height: auto; aspect-ratio: 603 / 475; }
  .hero-art .balloon { left: 14%; width: 72%; }
  .chat-card { padding: 8px 10px 8px 8px; gap: 6px; transform-origin: left top; }
  .chat-card img { width: 28px; height: 28px; }
  .chat-name { font-size: 11px; line-height: 13px; }
  .role { font-size: 8px; line-height: 11px; }
  .chat-text { font-size: 11px; line-height: 14px; }
  .chat-santa { left: 0; top: 0; }
  .chat-rudolph { left: auto; right: 0; top: 28%; }
  .chat-elf { left: 0; top: 70%; }
  .chat-claus { left: auto; right: 0; top: 84%; }

  .scene { padding: 32px 16px 80px; }
  .panel { padding: 24px 16px 40px; border-radius: 16px; }
  .screen-bezel { margin-top: 16px; padding: 8px; }
  .screen { min-height: 200px; padding: 16px; }
  .screen-body { margin-top: 24px; }
  .screen-title { font-size: 22px; line-height: 30px; }
  .screen-kicker { margin-top: -14px; }
  .screen-gift-title { font-size: 30px; line-height: 34px; }
  .screen-text { font-size: 15px; line-height: 22px; }
  .switches { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }

  .trailer { padding: 8px 16px 56px; }
  .trailer-frame { margin-top: 24px; border-radius: 12px; }

  .faq { padding: 56px 16px; }
  .faq h2, .cta h2, .trailer h2 { font-size: 36px; line-height: 42px; }
  .mascot img { width: 72px; }
  .speech-bubble { width: auto; flex: 1; max-width: 392px; }
  .faq-item summary { padding: 16px; font-size: 19px; line-height: 25px; }
  .faq-item p { padding: 0 16px 16px; font-size: 16px; line-height: 24px; }

  .cta { padding: 16px; }
  .cta-content { padding: 48px 16px 120px; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-links ul { margin-top: 16px; gap: 20px; }
  .footer-contact { flex-direction: column; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .footer-logo { width: 200px; margin: 0; }

  .gift-modal-inner { padding: 24px 16px 24px; }
  .gift-close { right: 16px; top: 16px; }
  .gift-title { font-size: 30px; line-height: 34px; }
  .gift-share { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gift-share-label { font-size: 16px; line-height: 21px; }
}

@media (max-width: 480px) {
  .switches { grid-template-columns: repeat(2, 1fr); }
}

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