:root {
  --ink: #183334;
  --ink-soft: #4e6665;
  --forest: #163a3b;
  --forest-light: #24585a;
  --paper: #f8f3e6;
  --paper-deep: #eee4cf;
  --white: #fffdf8;
  --coral: #e47d5f;
  --sun: #e7b94f;
  --mint: #b9d7c5;
  --line: rgba(24, 51, 52, 0.16);
  --shadow: 0 22px 60px rgba(21, 46, 47, 0.16);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 16px; background: var(--white); transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: 72px;
  background: rgba(248, 243, 230, 0.94); border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px); transition: border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(24, 51, 52, 0.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; letter-spacing: -0.02em; }
.brand img { border-radius: 11px; box-shadow: 0 6px 16px rgba(24, 51, 52, 0.2); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-soft); font-weight: 650; font-size: 0.92rem; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--forest); }
.language-button {
  min-width: 42px; height: 36px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); color: var(--ink); font-weight: 800; cursor: pointer;
}
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero-section { padding: 72px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--coral); font-size: 0.77rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.1; letter-spacing: -0.035em; }
h1 { margin-bottom: 24px; max-width: 690px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 6.2vw, 5.7rem); font-weight: 700; }
h2 { margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 4.2vw, 4.3rem); }
h3 { margin-bottom: 8px; font-size: 1.1rem; }
.hero-lede { max-width: 600px; margin: 0; color: var(--ink-soft); font-size: 1.12rem; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.primary-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px;
  border-radius: 10px; color: var(--white); background: var(--forest); font-weight: 780; text-decoration: none;
  box-shadow: 0 9px 0 #0f292a; transition: transform 160ms ease, box-shadow 160ms ease;
}
.primary-button:hover { transform: translateY(2px); box-shadow: 0 7px 0 #0f292a; }
.text-link { display: inline-block; color: var(--forest); font-weight: 780; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.launch-note { display: flex; align-items: center; gap: 9px; margin-top: 32px; color: var(--ink-soft); font-size: 0.88rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(231, 185, 79, 0.2); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 6% -7% -8% 9%; z-index: -1; border: 2px solid rgba(24, 51, 52, 0.15); border-radius: 45% 55% 48% 52%; transform: rotate(-3deg); }
.hero-art img { width: 100%; border-radius: 32px 12px 32px 12px; box-shadow: var(--shadow); }
.hero-stamp {
  position: absolute; right: -22px; bottom: -28px; width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--sun); border: 7px solid var(--paper); transform: rotate(7deg); box-shadow: 0 12px 32px rgba(24, 51, 52, 0.2);
}
.hero-stamp strong { display: block; font-family: Georgia, serif; font-size: 2.3rem; line-height: 1; }
.hero-stamp span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.proof-section { padding: 30px 0; background: var(--forest); color: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.proof-grid div { display: grid; gap: 5px; padding: 8px 22px; border-left: 1px solid rgba(255, 253, 248, 0.2); }
.proof-grid div:first-child { border-left: 0; }
.proof-grid strong { color: var(--yellow); font-family: Georgia, serif; font-size: 2.35rem; line-height: 1; }
.proof-grid span { color: rgba(255, 253, 248, 0.76); font-size: 0.82rem; font-weight: 700; }

.section { padding: 110px 0; }
.section-heading { max-width: 820px; margin-bottom: 58px; }
.section-heading > p:last-child { max-width: 660px; color: var(--ink-soft); font-size: 1.08rem; }
.section-heading.compact { max-width: 720px; margin-bottom: 48px; }
.rule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rule-list li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.rule-number { color: var(--coral); font-family: Georgia, serif; font-size: 1.45rem; font-style: italic; }
.rule-list h3 { font-size: 1.45rem; }
.rule-list p { max-width: 640px; margin: 0; color: var(--ink-soft); }

.clue-section { color: var(--white); background: var(--forest); }
.clue-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 90px; align-items: start; }
.clue-copy { position: sticky; top: 120px; }
.clue-copy p:not(.eyebrow) { max-width: 540px; color: rgba(255, 253, 248, 0.75); }
.light-link { margin-top: 16px; color: var(--white); }
.clue-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.clue-cards article { min-height: 220px; padding: 28px; color: var(--ink); background: var(--paper); border-radius: 14px; }
.clue-cards article:nth-child(2) { background: #f1d58e; }
.clue-cards article:nth-child(3) { background: #c9dece; }
.clue-cards article:nth-child(4) { background: #e7d8e8; }
.clue-cards article > span { display: block; margin-bottom: 32px; font-size: 2rem; }
.clue-cards p { margin: 0; color: var(--ink-soft); }

.feature-section { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-grid article { padding-top: 23px; border-top: 3px solid var(--forest); }
.feature-grid strong { display: block; margin-bottom: 32px; color: var(--coral); font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; }
.feature-grid p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.choice-section { background: #eef3e7; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.choice-grid article { min-height: 250px; padding: 32px; background: rgba(255, 253, 248, 0.84); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 30px rgba(24, 51, 52, 0.08); }
.choice-grid article:nth-child(2) { background: #f8e7b5; }
.choice-grid article:nth-child(3) { background: #d8e6d3; }
.choice-grid span { display: block; margin-bottom: 32px; color: var(--coral); font-family: Georgia, serif; font-size: 3rem; line-height: 1; }
.choice-grid p { margin: 0; color: var(--ink-soft); }

.gallery-section { overflow: hidden; }
.phone-gallery { display: flex; gap: 24px; margin-right: calc((100vw - var(--shell)) / -2); padding: 8px max(28px, calc((100vw - var(--shell)) / 2)) 28px 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.phone-gallery figure { flex: 0 0 clamp(205px, 21vw, 255px); margin: 0; scroll-snap-align: start; }
.phone-gallery img { width: 100%; height: clamp(300px, 28vw, 360px); object-fit: cover; object-position: top; border: 7px solid var(--forest); border-radius: 24px; box-shadow: 0 18px 36px rgba(24, 51, 52, 0.17); }
.phone-gallery figcaption { padding-top: 15px; color: var(--ink-soft); font-size: 0.84rem; font-weight: 750; text-align: center; }

.launch-section { padding-top: 30px; }
.launch-panel { display: grid; grid-template-columns: 150px 1fr; gap: 38px; align-items: center; padding: 54px; background: var(--paper-deep); border: 1px solid var(--line); border-radius: 18px; }
.launch-panel img { border-radius: 30px; box-shadow: 0 15px 35px rgba(24, 51, 52, 0.18); }
.launch-panel h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.4rem); }
.launch-panel p:last-child { margin: 0; color: var(--ink-soft); }

.faq-section { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 42px 24px 0; color: var(--ink); font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.faq-list p { max-width: 760px; margin: -4px 0 24px; color: var(--ink-soft); }

.privacy-section { background: var(--mint); }
.privacy-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.privacy-copy p { margin-top: 0; margin-bottom: 22px; color: #294b4b; font-size: 1.02rem; }
.privacy-copy .small-note { padding-top: 20px; border-top: 1px solid rgba(24, 51, 52, 0.22); font-size: 0.86rem; }
.policy-details { margin: 26px 0; border-top: 1px solid rgba(24, 51, 52, 0.22); border-bottom: 1px solid rgba(24, 51, 52, 0.22); }
.policy-details summary { padding: 18px 0; font-weight: 800; cursor: pointer; }
.policy-body { padding: 4px 0 8px; }
.policy-body h3 { margin-top: 24px; font-size: 1rem; letter-spacing: -0.01em; }
.policy-body p { font-size: 0.9rem; }

.site-footer { padding: 38px 0; color: rgba(255, 253, 248, 0.74); background: #102c2d; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; font-size: 0.82rem; }
.footer-brand { color: var(--white); }
.footer-inner p { margin: 0; text-align: center; }
.footer-inner > a { justify-self: end; }
.footer-links { display: flex; justify-self: end; gap: 18px; align-items: center; }
.footer-links a { color: inherit; }

[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .clue-layout, .faq-layout, .privacy-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-copy { max-width: 760px; }
  .hero-art { max-width: 760px; }
  .clue-copy { position: static; }
  .feature-grid, .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { gap: 28px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { height: 64px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0; display: none; align-items: stretch; gap: 0;
    padding: 12px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(24, 51, 52, 0.12);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .language-button { margin-top: 14px; }
  .hero-section { padding: 48px 0 72px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .hero-stamp { right: -3px; bottom: -45px; width: 112px; height: 112px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 42px; }
  .rule-list li { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .clue-cards { grid-template-columns: 1fr; }
  .clue-cards article { min-height: 170px; }
  .feature-grid { grid-template-columns: 1fr; gap: 42px; }
  .choice-grid { grid-template-columns: 1fr; }
  .feature-grid strong { margin-bottom: 18px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(3) { border-left: 0; }
  .phone-gallery { gap: 16px; padding-right: 28px; }
  .phone-gallery figure { flex-basis: min(68vw, 255px); }
  .launch-panel { grid-template-columns: 1fr; padding: 32px 24px; }
  .launch-panel img { width: 108px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
