:root {
  --ink: #142f38;
  --muted: #5e6f73;
  --deep: #083f4d;
  --deep-2: #0c5967;
  --coral: #fb5a4f;
  --gold: #ffbd32;
  --paper: #fffaf0;
  --white: #ffffff;
  --line: rgba(20, 47, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.header-link {
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, 0.48);
}

.hero {
  min-height: 760px;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 64px;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcec7;
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(58px, 7vw, 104px);
}

.hero-line {
  margin: 18px 0 0;
  color: var(--gold);
  font-family: "Fraunces", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
}

.hero-description {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--coral);
  background: var(--coral);
}

.button-secondary {
  background: transparent;
}

.languages {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 600;
}

.languages span:not(:last-child)::after {
  content: "·";
  margin-left: 20px;
  color: var(--gold);
}

.product-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit-one {
  width: 490px;
  height: 490px;
}

.orbit-two {
  width: 610px;
  height: 610px;
  border-color: rgba(255, 189, 50, 0.14);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(350px, 88vw);
  min-height: 610px;
  padding: 18px 20px 24px;
  border: 8px solid #17343c;
  border-radius: 36px;
  color: var(--ink);
  background: #fffaf2;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.app-heading {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-heading img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.app-heading small,
.children-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.app-heading strong {
  display: block;
  margin-top: 3px;
  font-family: "Fraunces", serif;
  font-size: 21px;
}

.children-row {
  margin-top: 22px;
  padding: 12px;
  display: grid;
  grid-template-columns: 34px 1fr 34px 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-size: 12px;
  font-weight: 700;
}

.avatar.companion {
  background: var(--deep-2);
}

.story-art {
  height: 215px;
  margin-top: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--white);
  text-align: center;
  background: #116373;
}

.story-art .stars {
  color: var(--gold);
  font-size: 22px;
}

.lantern {
  width: 56px;
  height: 78px;
  margin: 16px 0;
  display: grid;
  place-items: center;
  border: 4px solid var(--gold);
  border-radius: 24px 24px 10px 10px;
  color: var(--gold);
  box-shadow: 0 0 28px rgba(255, 189, 50, 0.5);
}

.story-art p {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 16px;
}

.player {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
}

.player button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  cursor: default;
}

.wave {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wave i {
  width: 3px;
  height: 12px;
  display: block;
  border-radius: 3px;
  background: var(--deep-2);
}

.wave i:nth-child(2n) { height: 24px; }
.wave i:nth-child(3n) { height: 32px; }
.wave i:nth-child(4n) { height: 18px; }

.player span {
  color: var(--muted);
  font-size: 11px;
}

.story-excerpt {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.signal-band {
  min-height: 150px;
  padding: 36px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: var(--white);
  background: var(--coral);
}

.signal-band div {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.signal-band strong,
.signal-band span {
  display: block;
}

.signal-band strong {
  font-family: "Fraunces", serif;
  font-size: 30px;
}

.signal-band span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.experience {
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
}

.section-intro {
  max-width: 780px;
}

h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.section-intro > p:last-child,
.mission > div > p:last-of-type {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.steps article {
  padding: 34px 36px 12px 0;
}

.steps article + article {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.steps span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
}

.steps h3 {
  margin: 28px 0 12px;
  font-family: "Fraunces", serif;
  font-size: 25px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.mission {
  padding: 90px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 70px;
  color: var(--white);
  background: #102f37;
}

.mission-mark {
  min-height: 330px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b4d5b;
}

.mission-mark img {
  width: min(230px, 70%);
  border-radius: 8px;
}

.mission a {
  display: inline-block;
  margin-top: 28px;
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: 5px;
}

footer {
  padding: 36px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  background: #fffdf8;
  font-size: 13px;
}

.footer-brand {
  color: var(--ink);
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

footer a {
  text-underline-offset: 4px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-page {
  background: #fffdf8;
}

.legal-header {
  position: relative;
  left: auto;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  transform: none;
  color: var(--ink);
}

.legal-header .header-link {
  text-decoration-color: rgba(20, 47, 56, 0.35);
}

.legal {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal h1 {
  max-width: 820px;
  color: var(--deep);
  font-size: clamp(46px, 7vw, 72px);
}

.legal h2 {
  margin-top: 42px;
  color: var(--deep);
  font-size: clamp(26px, 4vw, 36px);
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal a {
  color: var(--deep);
  font-weight: 700;
  text-underline-offset: 4px;
}

.legal-updated {
  margin-top: 18px;
  color: var(--coral);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    padding-top: 40px;
  }

  .product-visual {
    min-height: 650px;
  }

  .signal-band {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .steps article,
  .steps article + article {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

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

  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .site-header .brand span {
    font-size: 14px;
  }

  .hero {
    padding: 118px 20px 54px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .languages span:not(:last-child)::after {
    display: none;
  }

  .product-visual {
    min-height: 615px;
  }

  .phone {
    transform: none;
  }

  .orbit-one {
    width: 400px;
    height: 400px;
  }

  .orbit-two {
    display: none;
  }

  .signal-band {
    grid-template-columns: 1fr 1fr;
    padding: 32px 20px;
  }

  .signal-band div {
    padding-left: 14px;
  }

  .experience,
  .mission {
    padding: 76px 20px;
  }

  .mission-mark {
    min-height: 260px;
  }

  footer {
    padding: 34px 20px;
  }
}

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

  .button {
    transition: none;
  }
}
