@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-wght-normal-Dx4kXJAl.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-cyrillic-wght-normal-DqGufNeO.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/inter-tight-latin-wght-normal-DX-nOvPD.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/inter-tight-cyrillic-wght-normal-BS41q_Tv.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #161617;
  --body: #51494b;
  --sea: #234a52;
  --paper: #faf8f7;
  --white: #fffdfb;
  --line: #d8d2d0;
  --peach-art: url("assets/peach-spark.webp");
  --sea-art: url("assets/sea-glass.webp");
  --header: 72px;
  --gutter: clamp(18px, 5vw, 64px);
  --wrap: 1160px;
  --radius: clamp(22px, 3vw, 40px);
  --font-display: "Inter Tight", Inter, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 Inter, sans-serif; }
html { scroll-behavior: smooth; }
main:focus { outline: none; }
#top { scroll-margin-top: var(--header); }
img, video { display: block; max-width: 100%; }
::selection { color: var(--ink); background: #ffd4b8; }
a { color: inherit; text-underline-offset: .22em; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:where(a, button, summary):focus-visible { outline: 2px solid #2f6c74; outline-offset: 4px; }
:where(h1, h2, h3, p, figure) { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 620; }
h1, h2 { letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(36px, 5.25vw, 66px); }
section[id] { scroll-margin-top: calc(var(--header) + 14px); }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.chapter { padding-block: clamp(52px, 7.2vw, 104px); }
.chapter-heading p { max-width: 48ch; margin-top: 16px; color: var(--body); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 9px 13px;
  border-radius: 8px;
  background: white;
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus { transform: none; }
.pill {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 23px;
  border: 1px solid transparent;
  border-radius: 99px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color .18s ease, color .18s ease;
}
.pill-dark { color: white; background: var(--ink); }
.pill-dark:hover { background: #383535; }
.pill-outline { border-color: #726567; }
.pill-outline:hover { background: #fff8; }
.pill span { font-size: 17px; line-height: 1; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  height: var(--header);
  margin-bottom: calc(-1 * var(--header));
  padding-top: 13px;
  pointer-events: none;
}
.nav {
  position: relative;
  display: flex;
  min-height: 58px;
  width: min(1040px, calc(100% - 50px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
  padding: 6px 9px 6px 20px;
  border: 1px solid #fff3;
  border-radius: 18px;
  background: #252225;
  color: #fff8f1;
  pointer-events: auto;
}
.brand { display: flex; flex: none; align-items: center; min-height: 40px; }
.brand img { width: 64px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav-links a { font-size: 14px; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.pill-nav { min-height: 44px; padding-inline: 17px; border-color: #fff5; font-size: 13px; }
.pill-nav:hover { background: #fff2; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: min(838px, calc(100svh - 24px));
  place-items: end center;
  isolation: isolate;
  overflow: clip;
  margin: 10px 12px 0;
  border-radius: 24px;
  background: #29202a;
  color: #fff9f3;
  text-align: center;
}
.hero-image, .hero-motion, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-image, .hero-motion { max-width: none; object-fit: cover; object-position: 50% 39%; z-index: -2; }
.hero-motion { visibility: hidden; }
.hero-motion[data-visible] { visibility: visible; }
.hero-motion-toggle {
  position: absolute;
  inset-block-start: clamp(74px, 10svh, 106px);
  inset-inline-end: clamp(10px, 2vw, 26px);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid #fff8;
  border-radius: 50%;
  background: #261b23d9;
  color: #fff7ef;
}
.hero-motion-toggle:hover { background: #261b23; }
.hero-motion-toggle:not([data-paused]) .motion-play,
.hero-motion-toggle[data-paused] .motion-pause { display: none; }
.hero::after {
  z-index: -1;
  background: linear-gradient(0deg, #211820 0%, #211820c9 25%, #2118204a 58%, #21182011 81%);
  content: "";
}
.hero-copy {
  width: min(830px, calc(100% - 44px));
  padding-top: clamp(160px, 34svh, 320px);
  padding-bottom: clamp(32px, 7svh, 65px);
}
.hero h1 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(38px, 5vw, 75px);
  line-height: 1.01;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.hero-description {
  max-width: 47ch;
  margin: 18px auto 0;
  color: #f5e8e4;
  font-size: clamp(15px, 1.5vw, 19px);
  text-wrap: balance;
}
.topbar :focus-visible, .hero :focus-visible { outline-color: #ffe0c9; }

.phone {
  display: block;
  width: 100%;
  padding: 5px;
  border-radius: clamp(22px, 3vw, 34px);
  background: var(--ink);
  box-shadow: 0 20px 41px #1c363533, 0 2px 4px #16161728;
}
.phone img, .phone video {
  width: 100%;
  height: auto;
  border-radius: inherit;
  background: #f2eeee;
}

.quiz-section {
  padding-block: clamp(52px, 7vw, 90px);
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(105deg, #faf8f7e8, #faf8f788), var(--peach-art) center / cover no-repeat;
}
.quiz-layout, .faq-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 6vw, 82px); }
.quiz-layout { align-items: center; }
.quiz-card {
  min-width: 0;
  padding: clamp(17px, 3.5vw, 39px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 37px #2b201815;
}
.quiz-progress { display: grid; gap: 7px; color: var(--body); font-size: 13px; }
progress { appearance: none; width: 100%; height: 5px; border: none; border-radius: 8px; background: #f3eae5; }
progress::-webkit-progress-bar { border-radius: 8px; background: #f3eae5; }
progress::-webkit-progress-value { border-radius: 8px; background: #cb774d; }
progress::-moz-progress-bar { border-radius: 8px; background: #cb774d; }
.quiz-card h3 { margin-block: 20px 12px; font-size: clamp(25px, 3.25vw, 38px); line-height: 1.12; letter-spacing: -.026em; }
.quiz-options { display: grid; }
.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 12px 8px;
  border: 0;
  border-bottom: 1px solid #e1d9d7;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.42;
}
.option:hover, .option[data-previous="true"] { background: #fff1e7; }
.option-arrow { font-size: 17px; }
.quiz-footer { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 11px; }
.quiz-footer a, .text-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--body); font-size: 13px; }
.text-button { padding: 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .22em; }
.quiz-result { font-size: 14px; }
.first-action { margin-top: 10px; font-weight: 620; }
.result-screen { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 15px; }
.store-links { display: flex; flex-wrap: wrap; gap: 9px; }

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: clip;
}
.access-plan {
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: start;
  padding: clamp(19px, 3.5vw, 39px);
  background: #f1ebeb;
}
.access-plus { background: #e4eded var(--sea-art) center / cover no-repeat; }
.access-plan h3 { font-size: clamp(24px, 3.3vw, 38px); line-height: 1.08; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; margin-top: 10px; }
.plan-price strong { font: 640 clamp(37px, 5.6vw, 64px)/1 var(--font-display); letter-spacing: -.04em; }
.plan-price span { color: var(--body); font-size: 14px; }
.plan-note { max-width: 35ch; margin-top: 18px; color: var(--body); font-size: 14px; }
.access-plan ul { display: grid; align-content: start; gap: 7px; margin-top: 18px; margin-bottom: 0; padding-left: 20px; color: var(--body); font-size: 14px; }

.faq-section { border-top: 1px solid var(--line); }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 11px; align-items: center; min-height: 56px; padding-block: 10px; list-style: none; font-weight: 570; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+" / ""; justify-self: end; color: var(--sea); font-size: 24px; line-height: 1; }
.faq-section details[open] summary::after { content: "−" / ""; }
.faq-section details p { max-width: 55ch; margin-bottom: 14px; color: var(--body); font-size: 14px; }

.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px 24px; padding-block: clamp(28px, 4.7vw, 54px); }
.footer-brand { display: flex; align-items: center; gap: 9px; align-self: start; text-decoration: none; font-weight: 650; }
.footer-brand img { border-radius: 10px; }
.footer-inner div { display: grid; gap: 6px; align-content: start; justify-items: start; font-size: 13px; }
.footer-inner div a { color: var(--body); }

@media (max-width: 800px) {
  :root { --header: 68px; --peach-art: url("assets/peach-spark-sm.webp"); --sea-art: url("assets/sea-glass-sm.webp"); }
  .topbar { padding-top: 10px; }
  .nav-links { display: none; }
  .nav { justify-content: start; width: calc(100% - 30px); min-height: 52px; gap: 8px; padding: 4px 6px 4px 13px; border-radius: 14px; }
  .nav .brand { margin-right: auto; }
  .brand img { width: 57px; height: auto; }
  .mobile-menu { display: block; }
  .mobile-menu > summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    list-style: none;
  }
  .mobile-menu summary span, .mobile-menu summary span::before, .mobile-menu summary span::after {
    display: block;
    width: 17px;
    height: 1px;
    border-radius: 3px;
    background: currentColor;
  }
  .mobile-menu summary span { position: relative; }
  .mobile-menu summary span::before, .mobile-menu summary span::after { position: absolute; content: ""; }
  .mobile-menu summary span::before { top: -5px; }
  .mobile-menu summary span::after { top: 5px; }
  .mobile-menu > div {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 2;
    display: grid;
    min-width: min(250px, 100%);
    padding: 7px 12px;
    border: 1px solid #fff4;
    border-radius: 14px;
    background: #252225;
    box-shadow: 0 9px 24px #16161722;
  }
  .mobile-menu a { display: flex; align-items: center; min-height: 44px; padding-inline: 5px; text-decoration: none; font-size: 14px; }
}

@media (max-width: 700px) {
  .quiz-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: min(720px, calc(100svh - 17px)); margin: 7px 7px 0; border-radius: 19px; }
  .hero h1 { max-width: 16ch; font-size: clamp(36px, 8.9vw, 53px); }
  .hero-copy { width: min(460px, calc(100% - 34px)); padding-block: clamp(135px, 31svh, 240px) clamp(27px, 6svh, 51px); }
  .hero-description { margin-top: 14px; }
}

@media (max-width: 520px) {
  .access-grid { grid-template-columns: minmax(0, 1fr); }
  .access-plus { border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-height: 650px) {
  .hero-copy { padding-block: clamp(95px, 27svh, 174px) clamp(21px, 5svh, 33px); }
  .hero h1 { font-size: clamp(34px, 6.7vw, 54px); }
  .hero-description { margin-top: 12px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 35px; }
  .actions { column-gap: 10px; }
}

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