/* Layout and presentation for the XERF launch day. */
:root {
  --launch-line: #dce2e5;
  --launch-muted: #586a74;
  --launch-paper: #f3f6f7;
}

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background: var(--white); }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, .btn { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
button:active:not(:disabled), .btn:active { transform: translateY(1px); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 5px; }
.on-navy a:focus-visible, .on-navy button:focus-visible, .on-navy input:focus-visible { outline-color: var(--teal-on-navy); }
[hidden] { display: none !important; }
.inner { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 40px; }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 10; padding: 12px 20px; background: white; color: var(--navy-deep); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.section-label { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--launch-muted); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.section-label::before { content: ''; flex: 0 0 26px; height: 1px; background: currentColor; opacity: .6; }
h1, h2, h3 { text-wrap: balance; }
h2 { color: var(--navy-deep); font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.04em; }
.section-intro { margin: 22px 0 0; color: var(--launch-muted); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 30px; min-height: 54px; padding: 16px 28px; font-size: 16px; line-height: 1.35; background: var(--teal); color: var(--navy-deep); }
.btn:hover { background: #7fe3f2; color: var(--navy-deep); }
.btn .arrow { font-size: 22px; line-height: 1; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* The opening uses the same left and right edges as every section below. */
.hero.on-navy { background: var(--navy-deep); background-image: radial-gradient(ellipse at 90% 20%, rgba(52, 104, 129, .36), transparent 60%); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px 26px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.masthead .logo { display: inline-block; flex: 0 0 auto; }
.masthead .logo img { width: 176px; height: auto; }
.masthead-note { color: rgba(255, 255, 255, .67); font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; padding-block: 60px 62px; }
.hero .eyebrow { color: #b6cbd5; font-size: 11px; font-weight: 500; letter-spacing: .13em; }
.hero .hero-title { margin: 24px 0 0; color: white; font-size: clamp(64px, 6.6vw, 90px); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.hero-title span { display: block; white-space: nowrap; }
.hero-tagline, .hero-assurance { font-size: clamp(23px, 2.2vw, 29px); font-weight: 500; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.hero-tagline { margin: 28px 0 0; color: var(--teal-on-navy); }
.hero-assurance { margin: 12px 0 0; color: rgba(255, 255, 255, .9); }
.hero-actions { margin-top: 28px; }
.hero-visual { width: 100%; max-width: 540px; margin: 0 0 0 auto; }
.film { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 25px 35px; border-top: 1px solid rgba(255, 255, 255, .2); }
.facts .k { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #a9c0cc; }
.facts .v { margin-top: 9px; color: #fff; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.facts .s { margin-top: 4px; color: rgba(255, 255, 255, .64); font-size: 13px; }

/* The offer reads as a spread: a title beside a generous set of rows. */
.offer-section { padding-block: 106px; }
.offer-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 90px; align-items: start; }
.offer-heading { padding-top: 9px; }
.offer-heading h2 { max-width: 13ch; }
.offer-heading .section-intro { max-width: 24ch; }
.included { margin: 0; padding: 0; list-style: none; }
.included li { padding: 28px 0 28px 34px; border-top: 1px solid var(--launch-line); position: relative; }
.included li:last-child { border-bottom: 1px solid var(--launch-line); }
.included li::before { content: ''; position: absolute; left: 2px; top: 39px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.included h3 { font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; color: var(--navy-deep); }
.included p { margin: 9px 0 0; font-size: 15px; line-height: 1.65; color: var(--launch-muted); text-wrap: pretty; }

/* Product and evidence retain the original assets and their proportions. */
.device-section { padding-block: 88px 64px; border-top: 1px solid var(--launch-line); }

/* The device board mirrors the supplied launch key visual: kicker, product, spec column. */
.board { position: relative; display: grid; grid-template-columns: 108px minmax(0, .92fr) minmax(0, 1.25fr); gap: 30px 44px; align-items: center; padding: 64px 60px 58px; overflow: hidden; border-radius: 14px; background: linear-gradient(115deg, #fbf8f4 0%, #f6f0e8 58%, #f1eae1 100%); }
.board::before { content: ''; position: absolute; top: -46%; left: 4%; width: 56%; aspect-ratio: 1; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .72); filter: blur(1px); pointer-events: none; }
.board > * { position: relative; }
.board-kicker { display: grid; justify-items: start; gap: 13px; margin: 0; color: #8d8272; font-size: 10px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.board-kicker::after { content: ''; width: 34px; height: 1px; margin-top: 5px; background: #c9bda9; }
.board-device { display: flex; justify-content: center; align-items: center; margin: 0; }
.board-device img { display: block; width: min(100%, 310px); height: auto; mix-blend-mode: multiply; }
.board-copy h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 3.2vw, 42px); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; color: var(--navy-deep); }
.board-rule { display: block; width: 96px; height: 1px; margin: 26px 0 8px; background: #c2a878; }
.board-specs { margin: 0; padding: 0; list-style: none; }
.board-specs li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; align-items: center; padding-block: 15px; }
.board-specs .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #f0e8dd; color: #574e42; }
.board-specs .ico svg { width: 23px; height: 23px; }
.board-specs strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 19px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em; color: var(--navy-deep); }
.board-specs .sub { display: block; margin-top: 4px; color: #7c7367; font-size: 14.5px; line-height: 1.5; }
.board-sign { margin: 20px 0 0; padding-top: 22px; border-top: 1px solid #ddd2c0; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 19px; letter-spacing: -.01em; color: #96794a; }
.results-section { padding-block: 90px; background: var(--launch-paper); }
.results-layout { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.65fr); gap: 48px; align-items: start; }
.results-heading h2 { max-width: 12ch; }
.results-heading .section-intro { max-width: 25ch; }
.result-note { margin: 28px 0 0; max-width: 30ch; color: var(--launch-muted); font-size: 12px; line-height: 1.65; }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; align-items: start; }
.pair { min-width: 0; margin: 0; }
.comparison-link { display: block; border-radius: 3px; }
.pair img { display: block; width: 100%; height: auto; border-radius: 3px; }
.comparison-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 11px; color: var(--launch-muted); font-size: 11px; font-weight: 500; line-height: 1.5; }
.comparison-labels span:last-child { color: var(--navy-deep); }
/* Viewport crops remove embedded graphic captions without editing photo pixels. */
.comparison-frame { position: relative; overflow: hidden; background: #e3e8eb; }
.pair .comparison-frame img { position: absolute; max-width: none; height: auto; border-radius: 0; }
.comparison-frame-face, .comparison-frame-neck { aspect-ratio: 1086 / 472; }
.comparison-frame-face img { width: 100%; left: 0; top: calc(-497 / 469 * 100%); }
.comparison-frame-neck img { width: 100%; left: 0; top: calc(-393 / 512 * 100%); }
.comparison-frame-profile, .comparison-frame-jawline { aspect-ratio: 1086 / 472; }
.pair .comparison-frame-profile img { width: calc(1297 / 1086 * 100%); left: calc(-106 / 1086 * 100%); top: calc(-474 / 472 * 100%); }
.pair .comparison-frame-jawline img { width: calc(1287 / 1084 * 100%); left: calc(-105 / 1084 * 100%); top: -119.9%; }

/* A clear booking column, with only the active fields expanded. */
.booking-section.on-navy { padding-block: 88px 94px; background: var(--navy-deep); }
.booking-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: 72px; align-items: start; }
.booking-intro .section-label { color: #a9c0cc; }
.booking-intro h2 { max-width: 9ch; color: white; font-size: clamp(40px, 4.4vw, 56px); font-weight: 500; line-height: 1.03; }
.booking-price { display: block; margin-top: 32px; color: white; font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -.055em; }
.booking-intro .muted { max-width: 25ch; margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.6; }
.booking-scarcity { margin: -8px 0 16px; color: var(--teal-on-navy); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.booking-summary { margin: 31px 0 0; padding-top: 23px; border-top: 1px solid rgba(255, 255, 255, .2); }
.booking-summary div + div { margin-top: 16px; }
.booking-summary dt { color: #a9c0cc; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.booking-summary dd { margin: 6px 0 0; color: white; font-size: 14px; }
.step { padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.step:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.step-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.step .n { display: flex; align-items: center; gap: 12px; margin: 0; color: rgba(255, 255, 255, .58); font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }
.step .n b { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: rgba(255, 255, 255, .7); font-size: 11px; font-weight: 500; }
.step.on .n, .step.complete .n { color: white; }
.step.on .n b { color: var(--navy-deep); background: var(--teal-on-navy); border-color: var(--teal-on-navy); }
.step.complete .n b { border-color: var(--teal-on-navy); color: var(--teal-on-navy); }
.step-status { color: var(--teal-on-navy); font-size: 12px; }
.step.off .step-body { display: none; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.slot { position: relative; min-width: 0; text-align: left; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; padding: 19px 14px 15px; color: white; cursor: pointer; }
.slot:hover:not(:disabled) { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.slot .t { display: block; font-size: 25px; font-weight: 500; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.slot .duration { display: block; margin-top: 5px; color: rgba(255, 255, 255, .67); font-size: 12px; font-weight: 400; }
.slot .left { display: block; margin-top: 19px; color: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 400; }
.slot[aria-pressed="true"] { background: rgba(0, 174, 199, .14); border-color: var(--teal-on-navy); }
.slot[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 12px; right: 10px; color: var(--teal-on-navy); font-size: 12px; }
.slot[aria-pressed="true"] .left { color: var(--teal-on-navy); }
.slot:disabled { cursor: not-allowed; background: transparent; border-color: rgba(255, 255, 255, .13); }
.slot:disabled .t, .slot:disabled .duration, .slot:disabled .left { color: rgba(255, 255, 255, .43); }
form { margin-top: 11px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.booking-flow label { display: block; margin: 18px 0 8px; color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 500; }
.booking-flow input { min-height: 52px; padding: 13px 15px; border: 1px solid transparent; border-radius: 8px; background: #f7f9fa; color: var(--navy-deep); font-size: 16px; }
.booking-flow input:focus { border-color: var(--teal-on-navy); outline: 2px solid var(--teal-on-navy); outline-offset: 3px; background: white; }
form button { width: 100%; min-height: 54px; margin-top: 24px; padding: 15px 22px; color: var(--navy-deep); font-size: 15px; font-weight: 600; }
form button:hover:not(:disabled) { background: var(--teal-on-navy); }
form button:disabled { color: #fff; background: #54717f; }
.form-policy { margin: 16px 0 0; color: rgba(255, 255, 255, .66); font-size: 12px; line-height: 1.65; }
.msg { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 8px; font-size: 14px; }
.msg.bad { display: block; background: rgba(255, 230, 225, .12); color: #ffddd6; }
.pay { display: flex; justify-content: center; min-height: 80px; margin-top: 22px; padding: 22px 12px; overflow: hidden; border-radius: 10px; background: white; color: var(--navy-deep); }
.paid-note { margin: 16px 0 0; color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.65; }
.hidden { display: none !important; }

/* Content stays visible if motion or JavaScript is unavailable. */
.reveal.is-visible { animation: launch-enter .65s cubic-bezier(.2, .65, .3, 1) both; }
@keyframes launch-enter { from { opacity: .35; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (min-width: 1000px) {
  .offer-heading, .results-heading { position: sticky; top: 40px; }
}
@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .offer-layout { gap: 48px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); }
  .board { grid-template-columns: 92px minmax(0, .9fr) minmax(0, 1.2fr); gap: 24px 30px; padding: 48px 38px 44px; }
  .board-device img { width: min(100%, 250px); }
  .results-layout, .booking-layout { gap: 44px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot .left { margin-top: 12px; }
}
@media (max-width: 780px) {
  .inner { padding-inline: 24px; }
  .masthead { padding-block: 24px; }
  .masthead .logo img { width: 154px; }
  .masthead-note { font-size: 9px; letter-spacing: .1em; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 44px 38px; }
  .hero .hero-title { font-size: clamp(56px, 12vw, 86px); }
  .hero-tagline, .hero-assurance { font-size: 26px; }
  .hero-tagline { margin-top: 24px; }
  .hero-visual { margin-inline: 0; max-width: none; }
  .facts { grid-template-columns: 1fr 1fr; gap: 22px 24px; padding-block: 24px 30px; }
  .facts .v { font-size: 15px; }
  .facts .s { font-size: 12px; }
  .offer-section { padding-block: 64px; }
  .offer-layout { grid-template-columns: 1fr; gap: 32px; }
  .offer-heading { padding-top: 0; }
  .offer-heading h2 { max-width: 19ch; }
  .offer-heading .section-intro { max-width: none; }
  .included li { padding-block: 22px; }
  .included h3 { font-size: 18px; }
  .section-label { margin-bottom: 20px; font-size: 10px; }
  h2 { font-size: 34px; }
  .section-intro { font-size: 16px; margin-top: 18px; }
  .device-section { padding-block: 62px 45px; }
  .board { grid-template-columns: 1fr; gap: 26px; padding: 40px 26px 36px; border-radius: 12px; }
  .board::before { top: -16%; left: -6%; width: 84%; border-width: 26px; }
  .board-kicker { grid-auto-flow: column; justify-content: start; gap: 16px; font-size: 9px; letter-spacing: .2em; }
  .board-kicker::after { display: none; }
  .board-device img { width: min(62%, 210px); }
  .board-copy h2 { font-size: 32px; }
  .board-copy h2 br { display: none; }
  .board-rule { margin: 20px 0 4px; }
  .board-specs li { grid-template-columns: 40px minmax(0, 1fr); gap: 15px; padding-block: 13px; }
  .board-specs .ico { width: 40px; height: 40px; }
  .board-specs .ico svg { width: 20px; height: 20px; }
  .board-specs strong { font-size: 17px; }
  .board-specs .sub { font-size: 13.5px; }
  .board-sign { margin-top: 16px; padding-top: 18px; font-size: 17px; }
  .results-section { padding-block: 62px; }
  .results-layout { grid-template-columns: 1fr; gap: 32px; }
  .results-heading h2 { max-width: 21ch; }
  .results-heading .section-intro { max-width: none; }
  .result-note { max-width: 47ch; margin-top: 18px; }
  .pairs { gap: 28px 18px; }
  .booking-section.on-navy { padding-block: 62px; }
  .booking-layout { grid-template-columns: 1fr; gap: 36px; }
  .booking-intro h2 { max-width: none; font-size: 42px; }
  .booking-price { display: inline-block; margin-top: 23px; font-size: 48px; }
  .booking-intro .muted { max-width: none; margin: 8px 0 0; font-size: 14px; }
  .booking-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 23px; padding-top: 19px; }
  .booking-summary div + div { margin-top: 0; }
  .booking-summary dd { font-size: 13px; }
  .slots { gap: 12px; }
  .slot { padding: 18px; }
  .slot .t { font-size: 28px; }
  .slot .duration, .slot .left { font-size: 13px; }
}
@media (max-width: 420px) {
  .inner { padding-inline: 20px; }
  .masthead-note { max-width: 12ch; text-align: right; line-height: 1.6; }
  .hero .eyebrow { max-width: 28ch; font-size: 10px; line-height: 1.65; }
  .hero .hero-title { font-size: clamp(46px, 13.5vw, 57px); }
  .hero-tagline, .hero-assurance { font-size: 23px; }
  .hero .btn { width: 100%; justify-content: space-between; }
  .facts { gap: 20px 16px; }
  .facts .v { font-size: 14px; }
  .facts .s { font-size: 11px; }
  .included li { padding-left: 28px; }
  .included li::before { top: 33px; }
  .included h3 { font-size: 17px; }
  .included p { font-size: 14px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  .pairs { grid-template-columns: 1fr; max-width: 400px; width: 100%; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slot:hover:not(:disabled), .btn:hover .arrow { transform: none; }
}
