@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap');

:root {
  --ink: #10204a;
  --ink-soft: #52627f;
  --blue: #063dd3;
  --blue-2: #315ee8;
  --red: #f03b1e;
  --yellow: #f0ee35;
  --mint: #f0f7f1;
  --mint-2: #e1f0e9;
  --paper: #fffdf9;
  --line: #dce3ee;
  --shadow: 0 22px 60px rgba(16, 32, 74, .12);
  --shadow-small: 0 10px 28px rgba(16, 32, 74, .09);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--mint);
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.serif { font-family: 'Newsreader', Georgia, serif; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.06; }
h1 { font-size: clamp(3.2rem, 7vw, 6.8rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.3rem, 4vw, 4.5rem); margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
.lede { max-width: 670px; color: var(--ink-soft); font-size: 1.08rem; }
.lede em { color: var(--ink); font-style: normal; font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(16, 32, 74, .09);
  background: rgba(240, 247, 241, .88);
  backdrop-filter: blur(18px);
}
.nav {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.brand-word { font-size: 1.2rem; letter-spacing: -.04em; }
.brand-word small { display: block; color: var(--ink-soft); font-size: .63rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--ink-soft); font-size: .92rem; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; }
.nav-cta svg { width: 16px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-small); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(6, 61, 211, .34); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--blue); }
.button-secondary { color: var(--blue); border-color: rgba(6, 61, 211, .22); background: rgba(255, 255, 255, .62); }
.button-quiet { min-height: 42px; padding: 0 15px; color: var(--ink-soft); background: transparent; }
.button svg { width: 18px; height: 18px; }

/* Hero */
.hero { overflow: hidden; padding: 88px 0 108px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 span { color: var(--blue); }
.hero-copy .english-line { display: block; margin-top: 18px; color: var(--ink-soft); font-family: 'DM Sans', sans-serif; font-size: .24em; font-weight: 500; letter-spacing: .01em; line-height: 1.4; }
.hero-art { position: relative; min-height: 600px; }
.hero-art::before { position: absolute; width: 420px; height: 420px; content: ''; right: -70px; top: 20px; border-radius: 50%; background: var(--yellow); opacity: .86; }
.hero-art::after { position: absolute; width: 180px; height: 180px; content: ''; right: -20px; bottom: 20px; border-radius: 42% 58% 58% 42%; background: var(--red); opacity: .16; transform: rotate(-12deg); }
.device { position: absolute; z-index: 2; overflow: hidden; border: 9px solid var(--ink); border-radius: 34px; background: #fff; box-shadow: var(--shadow); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-main { width: 270px; height: 568px; right: 128px; top: 12px; transform: rotate(3deg); }
.device-side { width: 230px; height: 482px; right: 0; bottom: 12px; transform: rotate(-8deg); }
.device-small { width: 176px; height: 370px; left: 8px; bottom: 34px; transform: rotate(-9deg); }
.device-label { position: absolute; z-index: 3; right: 45px; top: -22px; padding: 9px 13px; border-radius: 999px; color: var(--ink); background: #fff; box-shadow: var(--shadow-small); font-size: .74rem; font-weight: 700; }
.hero-note { display: flex; max-width: 520px; align-items: flex-start; gap: 12px; margin-top: 30px; color: var(--ink-soft); font-size: .88rem; }
.hero-note svg { flex: none; width: 18px; margin-top: 4px; color: var(--red); }

/* Proof + sections */
.proof { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .46); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof-item { display: flex; align-items: baseline; gap: 10px; }
.proof-number { color: var(--blue); font-family: 'Newsreader', Georgia, serif; font-size: 2.2rem; font-weight: 600; }
.proof-label { color: var(--ink-soft); font-size: .87rem; }
.section { padding: 120px 0; }
.section-tight { padding-top: 80px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.section-head .lede { margin-bottom: 0; }
.section-kicker { color: var(--blue); font-size: .85rem; font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 265px; padding: 25px; border: 1px solid rgba(16, 32, 74, .09); border-radius: var(--radius); background: rgba(255, 255, 255, .72); box-shadow: 0 6px 20px rgba(16, 32, 74, .04); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-small); }
.feature-card:nth-child(2) { background: #e7edff; }
.feature-card:nth-child(3) { background: #fff0eb; }
.feature-card:nth-child(4) { background: #fffedc; }
.icon-box { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 28px; border-radius: 14px; color: #fff; background: var(--blue); }
.feature-card:nth-child(3) .icon-box { background: var(--red); }
.feature-card:nth-child(4) .icon-box { color: var(--ink); background: var(--yellow); }
.icon-box svg { width: 23px; height: 23px; }
.feature-card p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.image-card { position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); box-shadow: var(--shadow); }
.image-card img { width: 100%; aspect-ratio: 1 / .83; object-fit: cover; object-position: top; }
.image-card .image-caption { position: absolute; right: 18px; bottom: 16px; left: 18px; padding: 13px 16px; border-radius: 14px; color: #fff; background: rgba(16, 32, 74, .84); backdrop-filter: blur(10px); font-size: .8rem; }
.story-list { display: grid; gap: 20px; margin-top: 30px; }
.story-item { display: grid; grid-template-columns: 42px 1fr; gap: 15px; }
.story-index { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-weight: 700; }
.story-item h3 { margin: 0 0 4px; font-size: 1.15rem; letter-spacing: -.02em; }
.story-item p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* Shelf */
.shelf { background: var(--ink); color: #fff; }
.shelf .eyebrow { color: var(--yellow); }
.shelf .lede { color: #c7d1e6; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.book-card { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.08); }
.book-cover { overflow: hidden; aspect-ratio: .73; background: #293b69; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-meta { padding: 17px; }
.book-meta h3 { margin-bottom: 5px; font-family: 'Newsreader', Georgia, serif; font-size: 1.35rem; letter-spacing: 0; }
.book-meta p { margin: 0; color: #c7d1e6; font-size: .8rem; }
.book-tag { display: inline-flex; margin-top: 13px; padding: 4px 9px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: .7rem; font-weight: 700; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-template-rows: 250px 250px; gap: 16px; }
.gallery-item { position: relative; overflow: hidden; min-height: 220px; border-radius: 24px; background: #dce7ff; }
.gallery-item:first-child { grid-row: 1 / span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption { position: absolute; right: 13px; bottom: 13px; left: 13px; padding: 9px 11px; border-radius: 12px; color: #fff; background: rgba(16, 32, 74, .8); font-size: .76rem; }

/* Safety */
.safety-band { background: #fff5ef; }
.safety-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.safety-card { padding: 30px; border: 1px solid rgba(240,59,30,.18); border-radius: 26px; background: #fff; box-shadow: var(--shadow-small); }
.safety-card ul { display: grid; gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.safety-card li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); }
.safety-card li svg { flex: none; width: 19px; margin-top: 4px; color: var(--red); }
.quote { padding: 28px; border-left: 4px solid var(--blue); color: var(--ink); background: rgba(255,255,255,.6); font-family: 'Newsreader', Georgia, serif; font-size: 1.7rem; line-height: 1.25; }

/* CTA + footer */
.cta { padding: 94px 0; }
.cta-box { position: relative; overflow: hidden; padding: 68px; border-radius: 34px; color: #fff; background: var(--blue); box-shadow: var(--shadow); }
.cta-box::after { position: absolute; width: 300px; height: 300px; content: ''; right: -80px; bottom: -170px; border-radius: 50%; background: var(--yellow); opacity: .9; }
.cta-box h2 { position: relative; z-index: 1; max-width: 670px; }
.cta-box p { position: relative; z-index: 1; max-width: 590px; color: #d9e1ff; }
.cta-box .button { position: relative; z-index: 1; }
.footer { padding: 34px 0 42px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .82rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:hover { color: var(--blue); }

/* Privacy page */
.legal-hero { padding: 76px 0 52px; background: var(--ink); color: #fff; }
.legal-hero .eyebrow { color: var(--yellow); }
.legal-hero h1 { max-width: 760px; margin-bottom: 18px; }
.legal-hero .lede { color: #c7d1e6; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.meta-chip { padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #d9e1ff; background: rgba(255,255,255,.08); font-size: .78rem; }
.review-banner { margin: 28px 0 0; padding: 17px 20px; border: 1px solid rgba(240,238,53,.32); border-radius: 17px; color: #fff; background: rgba(240,238,53,.12); font-size: .88rem; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 54px; align-items: start; padding: 70px 0 110px; }
.legal-nav { position: sticky; top: 105px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.6); }
.legal-nav strong { display: block; margin-bottom: 12px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-nav a { display: block; padding: 7px 0; color: var(--ink-soft); font-size: .81rem; }
.legal-nav a:hover { color: var(--blue); }
.legal-content { min-width: 0; }
.policy-intro { padding: 24px; border: 1px solid rgba(6,61,211,.17); border-radius: 22px; background: #e8eeff; }
.policy-intro strong { color: var(--blue); }
.policy-section { padding: 38px 0; border-bottom: 1px solid var(--line); }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { display: flex; gap: 13px; align-items: baseline; font-size: 2rem; }
.section-number { color: var(--red); font-family: 'Newsreader', Georgia, serif; font-size: 1.15rem; }
.policy-section p { color: var(--ink-soft); }
.policy-section ul { display: grid; gap: 11px; margin: 16px 0 0; padding-left: 20px; color: var(--ink-soft); }
.policy-section li::marker { color: var(--red); }
.data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.data-card { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.62); }
.data-card h3 { margin-bottom: 4px; font-size: 1rem; }
.data-card p { margin: 0; font-size: .86rem; }
.policy-callout { margin: 20px 0; padding: 18px 20px; border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; background: #fff0eb; }
.policy-callout p { margin: 0; color: var(--ink); font-size: .9rem; }
.rights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.right-card { padding: 17px; border-radius: 17px; background: #fff; box-shadow: 0 4px 18px rgba(16,32,74,.06); }
.right-card strong { display: block; margin-bottom: 4px; color: var(--blue); }
.right-card span { display: block; color: var(--ink-soft); font-size: .84rem; }
.legal-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 23px; border-radius: 20px; color: #fff; background: var(--ink); }
.legal-contact p { margin: 0; color: #c7d1e6; }
.legal-contact a { color: var(--yellow); font-weight: 700; }

@media (max-width: 980px) {
  .hero-grid, .split, .split.reverse, .safety-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 55px; }
  .hero-art { min-height: 560px; max-width: 590px; width: 100%; margin: 0 auto; }
  .feature-grid, .book-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px; }
  .gallery-item:first-child { grid-row: auto; grid-column: 1 / span 2; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; align-items: center; gap: 14px; overflow-x: auto; padding: 12px 16px; }
  .legal-nav strong { flex: none; margin: 0; }
  .legal-nav a { flex: none; padding: 0; }
}

@media (max-width: 680px) {
  .container { width: min(var(--max), calc(100% - 30px)); }
  .nav { min-height: 68px; }
  .nav-links { position: absolute; display: none; top: 68px; right: 15px; left: 15px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-small); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .menu-button { display: inline-flex; }
  .nav-cta { justify-content: center; margin: 5px 0; padding: 10px; border-radius: 999px; background: #e8eeff; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  h2 { font-size: 2.45rem; }
  .hero { padding: 52px 0 76px; }
  .hero-art { min-height: 470px; transform: scale(.9); transform-origin: top center; margin-bottom: -45px; }
  .device-main { right: 74px; }
  .device-side { right: -8px; }
  .device-small { left: -12px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section { padding: 80px 0; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-head .section-kicker { display: block; margin-top: 16px; }
  .feature-grid, .book-grid, .data-grid, .rights-grid { grid-template-columns: 1fr; }
  .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px; }
  .gallery-item:first-child { grid-column: 1 / span 2; }
  .cta-box { padding: 40px 25px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .legal-hero { padding: 55px 0 40px; }
  .legal-layout { padding: 40px 0 75px; }
  .policy-section { padding: 28px 0; }
}

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