:root {
  color-scheme: light;
  --ink: #102333;
  --muted: #526978;
  --blue: #087ebd;
  --blue-dark: #075b89;
  --blue-soft: #e8f7fe;
  --cyan: #08b8eb;
  --green: #21883b;
  --green-soft: #edf9eb;
  --yellow: #ffcf23;
  --line: #d6e6ef;
  --paper: #ffffff;
  --canvas: #f3f9fc;
  --warning: #8a4f00;
  --warning-bg: #fff6e5;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img,
.footer-brand img,
footer img {
  border-radius: 14px;
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
}

.site-nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--blue-dark);
  box-shadow: inset 0 0 0 1px var(--line);
}

.eyebrow,
.section-number {
  margin: 0 0 9px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 7px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.summary {
  max-width: 680px;
  margin-bottom: 28px;
  color: #2c4c5f;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 14px;
  font-weight: 850;
  text-decoration: none;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 26px rgb(8 126 189 / 22%);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Landing page */

.landing-hero {
  display: grid;
  min-height: 680px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(50px, 7vw, 84px);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 14%, rgb(255 255 255 / 95%), transparent 23%),
    linear-gradient(135deg, #ddf6ff, #f4fdff 55%, #eaf8e8);
  box-shadow: 0 26px 80px rgb(10 76 111 / 10%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-facts {
  display: flex;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.2;
}

.hero-facts li {
  display: grid;
  max-width: 90px;
}

.hero-facts strong {
  color: var(--ink);
  font-size: 1.55rem;
}

.app-preview {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
}

.preview-glow {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(8 184 235 / 25%), rgb(65 180 83 / 18%));
  filter: blur(2px);
}

.hero-tablet-shot,
.hero-phone-shot {
  position: absolute;
  z-index: 1;
  margin: 0;
}

.hero-tablet-shot {
  width: min(470px, 94%);
  right: 0;
  transform: rotate(2deg);
}

.hero-phone-shot {
  width: min(150px, 34%);
  bottom: 0;
  left: -1%;
  z-index: 2;
  transform: rotate(-4deg);
}

.hero-tablet-shot img,
.hero-phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7%;
  box-shadow: 0 28px 60px rgb(10 63 91 / 28%);
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 44px);
  margin: 22px 0;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 255 255 / 90%);
  color: #35596d;
  font-size: 0.84rem;
  font-weight: 800;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip img {
  width: 18px;
  height: 18px;
}

.story-section,
.screens-section,
.curriculum-section,
.adventure-section,
.privacy-callout,
.final-cta {
  margin-top: 22px;
  border-radius: 30px;
}

.story-section,
.screens-section,
.curriculum-section {
  padding: clamp(56px, 8vw, 96px);
  background: var(--paper);
  box-shadow: 0 18px 60px rgb(10 76 111 / 6%);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-intro > p:last-child,
.split-intro > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.journey {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey::before {
  position: absolute;
  top: 33px;
  bottom: 33px;
  left: 35px;
  width: 2px;
  background: linear-gradient(var(--cyan), #36ad51);
  content: "";
}

.journey li {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 24px 0;
}

.journey-icon {
  z-index: 1;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 8px solid white;
  border-radius: 50%;
  background: var(--blue-soft);
}

.journey-icon img {
  width: 25px;
  height: 25px;
}

.journey p {
  margin-bottom: 2px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey h3 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.journey div > span {
  color: var(--muted);
}

.screens-section {
  background: linear-gradient(140deg, #dff7ff, #f5fcff 58%, #ecf9e9);
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(14px, 3vw, 28px);
}

.phone-gallery figure {
  margin: 0;
  text-align: center;
}

.phone-gallery img {
  display: block;
  width: 100%;
  max-width: 235px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 22px rgb(10 63 91 / 18%));
}

.phone-gallery figcaption {
  margin-top: 13px;
  color: #36586b;
  font-size: 0.78rem;
  font-weight: 850;
}

.curriculum-section {
  background: #102d3e;
  color: white;
}

.curriculum-section .eyebrow {
  color: #69ddff;
}

.split-intro {
  display: grid;
  max-width: none;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 64px;
}

.split-intro h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.split-intro > p {
  margin-bottom: 5px;
  color: #bfd2dc;
}

.lesson-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 18px;
  background: rgb(255 255 255 / 12%);
  list-style: none;
}

.lesson-map li {
  display: grid;
  min-height: 70px;
  grid-template-columns: 28px 24px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #102d3e;
}

.lesson-map span {
  color: #73dffc;
  font-size: 0.7rem;
  font-weight: 900;
}

.lesson-map img {
  width: 21px;
  height: 21px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.adventure-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  padding: clamp(56px, 8vw, 96px);
  background: linear-gradient(135deg, #edf9eb, #f8fffb);
  box-shadow: inset 0 0 0 1px #d5ecd1;
}

.adventure-section > div:last-child > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.adventure-art {
  position: relative;
  min-height: 360px;
}

.adventure-story-shot,
.adventure-final-shot {
  position: absolute;
  display: block;
  width: min(420px, 88%);
  height: auto;
  border-radius: 7%;
  box-shadow: 0 24px 50px rgb(16 45 62 / 22%);
}

.adventure-story-shot {
  top: 0;
  left: 0;
  transform: rotate(-2deg);
}

.adventure-final-shot {
  right: 0;
  bottom: 0;
  transform: rotate(2deg);
}

.adventure-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  max-width: 170px;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 4px solid white;
  border-radius: 16px;
  background: #fff8d8;
  box-shadow: 0 12px 30px rgb(61 91 45 / 17%);
}

.adventure-badge img {
  width: 24px;
  height: 24px;
}

.adventure-badge span {
  color: #5d4b0b;
  font-size: 0.73rem;
  font-weight: 900;
  line-height: 1.2;
}

.quiet-detail {
  padding-top: 16px;
  border-top: 1px solid #cfe5cc;
  font-size: 0.88rem !important;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding: clamp(48px, 7vw, 78px);
  background: var(--blue-soft);
}

.privacy-callout h2 {
  margin-bottom: 0;
}

.privacy-copy p {
  color: #36586b;
  font-size: 1.08rem;
}

.text-link {
  font-weight: 900;
  text-decoration: none;
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: clamp(56px, 9vw, 104px) 24px;
  background: white;
  text-align: center;
  box-shadow: 0 18px 60px rgb(10 76 111 / 6%);
}

.final-cta img {
  margin-bottom: 22px;
  border-radius: 28px;
  box-shadow: 0 16px 38px rgb(8 126 189 / 18%);
}

.final-cta h2 {
  max-width: 680px;
}

.final-cta > p:not(.eyebrow) {
  margin-bottom: 26px;
  color: var(--muted);
}

/* Privacy page */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(46px, 8vw, 88px);
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 12%, rgb(255 255 255 / 90%), transparent 28%),
    linear-gradient(135deg, #ddf6ff, #f4fdff 55%, #eaf8e8);
  box-shadow: 0 24px 70px rgb(10 76 111 / 9%);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 0.98;
}

.updated {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-icon {
  width: 100%;
  height: auto;
  border: 8px solid rgb(255 255 255 / 76%);
  border-radius: 29%;
  box-shadow: 0 20px 44px rgb(0 85 130 / 18%);
}

.contents {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-block: 28px;
  padding: 16px 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 255 255 / 88%);
  white-space: nowrap;
}

.contents strong {
  color: var(--ink);
}

.contents a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.contents a:hover {
  color: var(--blue-dark);
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 20px 60px rgb(10 76 111 / 7%);
}

.policy-card section {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(42px, 7vw, 72px) clamp(26px, 7vw, 72px);
  scroll-margin-top: 18px;
}

.policy-card section + section {
  border-top: 1px solid var(--line);
}

.policy-card p,
.policy-card li {
  color: #3e5564;
  font-size: 1.03rem;
}

.policy-card li + li {
  margin-top: 9px;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.assurance-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: #16445e;
  font-weight: 750;
}

.assurance-grid span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
}

.assurance-grid span img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.note {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 5px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: var(--blue-soft);
  color: #2f5164;
}

.note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-section {
  border-radius: 0 0 var(--radius) var(--radius);
  background: #f7fbfd;
}

.contact-placeholder {
  padding: 18px 20px;
  border: 1px solid #f0c575;
  border-radius: 14px;
  background: var(--warning-bg);
  color: var(--warning) !important;
}

/* Contact page */

.contact-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: clamp(50px, 8vw, 88px);
  border-radius: 32px;
  background: linear-gradient(135deg, #ddf6ff, #f8fdff 60%, #eefaea);
  box-shadow: 0 24px 70px rgb(10 76 111 / 9%);
}

.contact-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.contact-hero img {
  border: 7px solid rgb(255 255 255 / 80%);
  border-radius: 28%;
  box-shadow: 0 20px 44px rgb(0 85 130 / 18%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 22px;
  margin-top: 22px;
}

.contact-options,
.contact-panel,
.safety-note {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 60px rgb(10 76 111 / 6%);
}

.contact-options {
  padding: 14px clamp(24px, 5vw, 50px);
}

.contact-options article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 28px 0;
}

.contact-options article + article {
  border-top: 1px solid var(--line);
}

.contact-options article > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--blue-soft);
}

.contact-options article > span img {
  width: 22px;
  height: 22px;
}

.contact-options h2 {
  margin-bottom: 5px;
  font-size: 1.25rem;
}

.contact-options p,
.contact-panel > p,
.safety-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-panel {
  align-self: stretch;
  padding: clamp(34px, 6vw, 56px);
  background: #102d3e;
  color: white;
}

.contact-panel .eyebrow {
  color: #69ddff;
}

.contact-panel > p {
  color: #c3d6df;
}

.email-placeholder {
  display: grid;
  gap: 6px;
  margin: 28px 0 18px;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 14px;
  background: rgb(255 255 255 / 8%);
}

.email-placeholder strong {
  color: #ffda5a;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-placeholder a {
  color: white;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.response-note {
  font-size: 0.82rem;
}

.safety-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  margin-top: 22px;
  padding: 30px;
  background: #fffbea;
}

.safety-note > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: #fff2a8;
}

.safety-note > span img {
  width: 24px;
  height: 24px;
}

.safety-note h2 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 38px 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.footer-brand {
  font-weight: 900;
}

footer nav {
  margin-left: auto;
  gap: 16px;
}

footer nav a {
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 820px) {
  .landing-hero,
  .adventure-section,
  .privacy-callout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding-bottom: 46px;
  }

  .app-preview {
    min-height: 430px;
  }

  .split-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .privacy-callout {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .landing-hero,
  .hero,
  .contact-hero {
    grid-template-columns: 1fr;
    padding: 38px 24px;
  }

  .landing-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.1rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-facts {
    gap: 14px;
  }

  .app-preview {
    min-height: 360px;
  }

  .hero-tablet-shot {
    width: 95%;
    right: -2%;
  }

  .hero-phone-shot {
    width: 30%;
    left: 0;
  }

  .trust-strip {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .story-section,
  .screens-section,
  .curriculum-section,
  .adventure-section,
  .privacy-callout {
    padding: 46px 24px;
  }

  .lesson-map {
    grid-template-columns: 1fr;
  }

  .phone-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .adventure-art {
    min-height: 300px;
  }

  .adventure-story-shot,
  .adventure-final-shot {
    width: 92%;
  }

  .hero-icon {
    order: -1;
    width: 116px;
    border-width: 5px;
    border-radius: 26px;
  }

  .contents {
    margin-block: 16px;
  }

  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero img {
    order: -1;
    width: 108px;
    border-width: 5px;
  }

  footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  footer p {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    background: white;
  }

  .site-header,
  .contents,
  footer,
  .hero-icon {
    display: none;
  }

  main {
    width: 100%;
  }

  .hero,
  .policy-card {
    border: 0;
    box-shadow: none;
  }

  .hero {
    padding: 0 0 30px;
  }

  .policy-card section {
    max-width: none;
    padding: 24px 0;
  }
}
