:root {
  --blue: #295fab;
  --teal: #2f8f9d;
  --gold: #dba44a;
  --purple: #6e5bb0;
  --parchment: #f8f5ef;
  --navy: #0f1f2a;
  --ink: #152a38;
  --white: #fff;
  --line: rgba(15, 31, 42, .12);
  --serif: Iowan Old Style, Baskerville, "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow-lg: 0 32px 90px rgba(6, 19, 30, .22);
  --shadow-md: 0 20px 55px rgba(15, 31, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--parchment);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 80px;
  padding: 12px max(28px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(15, 31, 42, .08);
  background: rgba(248, 245, 239, .92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.03em;
}
.brand img { border-radius: 13px; box-shadow: 0 7px 18px rgba(15, 31, 42, .16); }
.brand span span { color: var(--teal); }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a {
  position: relative;
  color: rgba(15, 31, 42, .74);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { transform: scaleX(1); }
.header-cta {
  justify-self: end;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero {
  position: relative;
  min-height: min(860px, calc(100vh - 80px));
  overflow: hidden;
  color: var(--white);
  background: #111d49;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 25, 45, .96) 0%, rgba(8, 25, 45, .83) 39%, rgba(8, 25, 45, .24) 72%, rgba(8, 25, 45, .52) 100%),
    linear-gradient(0deg, rgba(8, 25, 45, .72), transparent 45%),
    url("assets/magic-horizon.webp") center/cover;
  transform: scale(1.015);
}
.hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -42vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(219, 164, 74, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(219, 164, 74, .035), 0 0 0 160px rgba(219, 164, 74, .025);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  width: min(1320px, calc(100% - 56px));
  min-height: min(860px, calc(100vh - 80px));
  margin: 0 auto;
  padding: 70px 0 78px;
}
.hero-copy { max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.eyebrow--light { color: #f3c86a; }
.hero h1,
.section h2,
.family-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero h1 { color: var(--white); font-size: clamp(4.1rem, 6.8vw, 7.2rem); }
h1 em, h2 em { color: #71cad0; font-style: italic; font-weight: 400; }
.hero-lede {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--gold { color: var(--navy); background: var(--gold); box-shadow: 0 14px 35px rgba(219, 164, 74, .25); }
.button--ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); background: rgba(255, 255, 255, .06); }
.button--navy { color: var(--white); background: var(--navy); }
.hero-product { position: relative; min-height: 690px; }
.device {
  overflow: hidden;
  border: 10px solid #e8e5df;
  background: #eee;
  box-shadow: var(--shadow-lg);
}
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device img.app-screenshot {
  height: 102.4%;
  transform: translateY(-2.35%);
}
.device img.app-screenshot--overview {
  height: 103%;
  transform: translateY(-2.95%);
}
.device--hero {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(570px, 92%);
  aspect-ratio: 3/4;
  border-width: 12px;
  border-radius: 34px;
  transform: translate(-46%, -50%) rotate(1.7deg);
}
.device-camera {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9da0a2;
  transform: translateX(-50%);
}

.promise {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 30px;
  min-height: 112px;
  padding: 26px;
  color: var(--navy);
  background: #f3e6c9;
}
.promise p { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.7rem); }
.promise span { color: var(--gold); }

.section { width: min(1280px, calc(100% - 56px)); margin: 0 auto; padding: 128px 0; }
.section-heading { max-width: 850px; margin-bottom: 64px; }
.section-heading--centred { margin-right: auto; margin-left: auto; text-align: center; }
.section h2 { font-size: clamp(3rem, 5.5vw, 5.8rem); }
.section h2 em { color: var(--teal); }
.section-heading > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(15, 31, 42, .67);
  font-size: 1.12rem;
  line-height: 1.75;
}
.section-heading--centred > p:last-child { margin-right: auto; margin-left: auto; }

.intro-section { padding-bottom: 145px; }
.feature-showcase {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  padding: clamp(34px, 6vw, 82px);
  border-radius: 42px;
  background: linear-gradient(140deg, #edf5f4 0%, #fff 64%, #f7ead0 100%);
  box-shadow: inset 0 0 0 1px rgba(47, 143, 157, .12);
}
.feature-number { margin: 0 0 18px; color: var(--gold); font-size: .8rem; font-weight: 850; letter-spacing: .17em; }
.showcase-copy h3,
.screen-card h3,
.detail-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.6vw, 4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.03;
}
.showcase-copy > p:not(.feature-number) { color: rgba(15, 31, 42, .7); font-size: 1.04rem; line-height: 1.72; }
.tick-list { display: grid; gap: 13px; margin: 26px 0 0; padding: 0; list-style: none; }
.tick-list li { display: flex; align-items: center; gap: 11px; font-weight: 650; }
.tick-list li::before { content: "✓"; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: var(--white); background: var(--teal); font-size: .74rem; }
.showcase-screen { margin: 0; }
.device--landscape { aspect-ratio: 4/3; border-radius: 28px; }
.showcase-screen figcaption { margin-top: 18px; color: rgba(15, 31, 42, .52); font-size: .82rem; text-align: center; }

.planning-section { width: 100%; max-width: none; padding: 132px max(28px, calc((100vw - 1280px) / 2)); background: var(--navy); }
.planning-section .eyebrow { color: #f1c265; }
.planning-section .section-heading h2 { color: var(--white); }
.planning-section .section-heading > p:last-child { color: rgba(255, 255, 255, .62); }
.screen-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.screen-card {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-radius: 34px;
  background: #eef6f4;
}
.screen-card--large { grid-row: span 2; min-height: 1462px; background: #f5e7c9; }
.screen-card--navy { color: var(--white); background: linear-gradient(160deg, #24305d, #121c42); }
.screen-card-copy { position: relative; z-index: 2; padding: 42px 42px 0; }
.screen-card-copy p { max-width: 540px; color: rgba(15, 31, 42, .68); line-height: 1.65; }
.screen-card--navy h3 { color: var(--white); }
.screen-card--navy .screen-card-copy p { color: rgba(255, 255, 255, .66); }
.card-kicker { display: block; margin-bottom: 13px; color: var(--teal); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .15em; }
.screen-card--navy .card-kicker { color: #efbf5d; }
.screen-crop {
  position: absolute;
  top: 300px;
  right: -55px;
  bottom: -245px;
  left: 70px;
  overflow: hidden;
  border: 9px solid #e6e5e0;
  border-radius: 30px 30px 0 0;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg);
}
.screen-crop img { width: 100%; }
.screen-crop img.app-screenshot {
  width: 100%;
  transform: translateY(-2.35%);
}
.screen-crop--park { top: 340px; right: -100px; bottom: -50px; left: 95px; transform: rotate(1.2deg); }

.details-section { padding-bottom: 145px; }
.detail-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.detail-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, .62); }
.detail-card h3 { font-size: 1.75rem; }
.detail-card p { margin-bottom: 0; color: rgba(15, 31, 42, .64); font-size: .92rem; line-height: 1.6; }
.detail-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 22px; border-radius: 13px; color: var(--white); background: var(--teal); font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.detail-card:nth-child(2) .detail-icon { background: var(--gold); }
.detail-card:nth-child(3) .detail-icon { background: var(--blue); }
.detail-card:nth-child(4) .detail-icon { background: var(--purple); }
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 68px; }
.detail-gallery figure { margin: 0; padding: 13px; border-radius: 29px; background: #fff; box-shadow: var(--shadow-md); transform: translateY(28px) rotate(-1.3deg); }
.detail-gallery figure:nth-child(2) { transform: translateY(0) rotate(.7deg); }
.detail-gallery figure:nth-child(3) { transform: translateY(34px) rotate(1.5deg); }
.app-preview-window { aspect-ratio: 1200/1562; overflow: hidden; border-radius: 19px; }
.detail-gallery img { width: 100%; height: 102.4%; object-fit: cover; object-position: top; }
.detail-gallery img.app-screenshot {
  transform: translateY(-2.35%);
}
.detail-gallery figcaption { padding: 14px 7px 6px; color: rgba(15, 31, 42, .56); font-size: .8rem; font-weight: 750; text-align: center; }

.story-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
  width: min(1180px, calc(100% - 56px));
}
.story-photo { position: relative; }
.story-photo::before { content: ""; position: absolute; z-index: -1; inset: -22px 42px 32px -22px; border: 1px solid rgba(219, 164, 74, .5); border-radius: 180px 180px 34px 34px; }
.story-photo img { width: 100%; max-height: 760px; border-radius: 170px 170px 32px 32px; object-fit: cover; object-position: center 38%; box-shadow: var(--shadow-lg); }
.story-photo > p { position: absolute; right: -26px; bottom: 34px; margin: 0; padding: 16px 20px; border-radius: 16px; color: var(--navy); background: var(--white); box-shadow: var(--shadow-md); font-family: var(--serif); font-size: 1.15rem; line-height: 1.05; }
.story-photo > p span { color: rgba(15, 31, 42, .52); font-family: var(--sans); font-size: .66rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.story-copy h2 { font-size: clamp(3rem, 5vw, 5.3rem); }
.story-copy .story-lede { color: var(--navy); font-family: var(--serif); font-size: 1.4rem; line-height: 1.55; }
.story-copy > p:not(.eyebrow, .story-lede) { color: rgba(15, 31, 42, .68); line-height: 1.78; }
blockquote { margin: 32px 0 0; padding: 22px 0 22px 26px; border-left: 3px solid var(--gold); color: var(--teal); font-family: var(--serif); font-size: 1.35rem; font-style: italic; line-height: 1.45; }

.family-section { position: relative; min-height: 720px; overflow: hidden; color: var(--white); }
.family-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.family-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 19, 30, .7) 0%, rgba(6, 19, 30, .42) 38%, rgba(6, 19, 30, .04) 72%), linear-gradient(0deg, rgba(6, 19, 30, .66), transparent 42%); }
.family-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; width: min(1280px, calc(100% - 56px)); min-height: 720px; margin: 0 auto; padding-bottom: 58px; }
.family-copy h2 { max-width: 740px; color: var(--white); font-size: clamp(3.3rem, 6vw, 6.4rem); }
.family-copy > p:last-child { max-width: 590px; color: rgba(255, 255, 255, .75); font-size: 1.1rem; line-height: 1.7; }

.coming-soon { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; padding-top: 100px; padding-bottom: 100px; }
.coming-soon > img { width: 130px; border-radius: 28px; box-shadow: var(--shadow-md); }
.coming-soon .eyebrow { margin-bottom: 12px; }
.coming-soon h2 { font-size: clamp(2.6rem, 4.5vw, 4.6rem); }
.coming-soon p:last-child { max-width: 720px; margin-bottom: 0; color: rgba(15, 31, 42, .64); line-height: 1.65; }

footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px 50px;
  align-items: center;
  padding: 48px max(28px, calc((100vw - 1280px) / 2));
  color: rgba(255, 255, 255, .58);
  background: var(--navy);
  font-size: .8rem;
}
.brand--footer { color: var(--white); }
footer p { margin: 0; }
footer > p:nth-of-type(1) { justify-self: end; font-family: var(--serif); font-size: 1rem; }
.legal { max-width: 770px; line-height: 1.6; }
footer > p:last-child { justify-self: end; }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: .85fr 1.15fr; }
  .hero-product { min-height: 600px; }
  .feature-showcase { grid-template-columns: 1fr; }
  .screen-grid { grid-template-columns: 1fr 1fr; }
  .screen-card--large { grid-column: span 2; grid-row: auto; min-height: 850px; }
  .screen-crop--park { top: 310px; right: 90px; bottom: -255px; left: 180px; }
  .detail-tabs { grid-template-columns: 1fr 1fr; }
  .story-section { grid-template-columns: .85fr 1.15fr; gap: 60px; }
  .coming-soon { grid-template-columns: auto 1fr; }
  .coming-soon .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 72px; padding: 10px 20px; }
  .site-header nav { display: none; }
  .brand { font-size: 1.35rem; }
  .brand img { width: 42px; height: 42px; }
  .header-cta { font-size: .68rem; }
  .hero-inner { grid-template-columns: 1fr; width: min(100% - 36px, 680px); padding-top: 70px; }
  .hero h1 { font-size: clamp(3.7rem, 14vw, 6rem); }
  .hero-product { min-height: 640px; }
  .device--hero { width: min(510px, 82%); }
  .section { width: min(100% - 36px, 680px); padding: 92px 0; }
  .planning-section { width: 100%; padding: 94px 18px; }
  .screen-grid { grid-template-columns: 1fr; }
  .screen-card--large { grid-column: auto; min-height: 820px; }
  .screen-card { min-height: 720px; }
  .screen-crop { top: 315px; }
  .screen-crop--park { top: 315px; right: -40px; bottom: -180px; left: 70px; }
  .detail-gallery { gap: 12px; }
  .story-section { grid-template-columns: 1fr; gap: 75px; }
  .story-photo { max-width: 560px; margin: 0 auto; }
  .family-section, .family-copy { min-height: 670px; }
  .family-section > img { object-position: 61% center; }
  .family-overlay { background: linear-gradient(90deg, rgba(6, 19, 30, .68), rgba(6, 19, 30, .18)), linear-gradient(0deg, rgba(6, 19, 30, .76), transparent 62%); }
  .family-copy { justify-content: flex-end; width: calc(100% - 36px); padding-bottom: 55px; }
  .coming-soon { grid-template-columns: 1fr; text-align: center; }
  .coming-soon > img { margin: 0 auto; }
  .coming-soon .button { grid-column: auto; justify-self: center; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { margin: 0 auto; }
  footer > p:nth-of-type(1), footer > p:last-child { justify-self: center; }
  .legal { margin: 0 auto; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 76px; }
  .site-header { min-height: 66px; }
  .brand { gap: 9px; font-size: 1.15rem; }
  .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .header-cta { padding: 9px 12px; }
  .hero-inner { width: calc(100% - 32px); padding-top: 55px; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 4.7rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-product { min-height: 520px; }
  .device--hero { width: 86%; border-width: 8px; border-radius: 25px; }
  .promise { gap: 10px 16px; }
  .promise p { font-size: 1.1rem; }
  .section { width: calc(100% - 32px); padding: 78px 0; }
  .section h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .section-heading { margin-bottom: 42px; }
  .feature-showcase { gap: 42px; padding: 28px 18px 34px; border-radius: 28px; }
  .screen-card, .screen-card--large { min-height: 0; border-radius: 26px; }
  .screen-card-copy { padding: 30px 26px 0; }
  .screen-card h3 { font-size: 2.4rem; }
  .screen-crop,
  .screen-crop--park {
    position: relative;
    inset: auto;
    width: auto;
    aspect-ratio: 1200/1562;
    margin: 28px 16px 16px;
    border-width: 7px;
    border-radius: 22px;
    transform: none;
  }
  .screen-crop img.app-screenshot {
    width: 100%;
    height: 102.4%;
    object-fit: cover;
    object-position: center top;
  }
  .detail-tabs { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr; gap: 32px; }
  .detail-gallery figure,
  .detail-gallery figure:nth-child(2),
  .detail-gallery figure:nth-child(3) { transform: none; }
  .detail-gallery img {
    width: 100%;
    height: 102.4%;
    object-fit: cover;
    object-position: center top;
  }
  .story-photo::before { inset: -14px 22px 22px -14px; }
  .story-photo img { border-radius: 110px 110px 25px 25px; }
  .story-photo > p { right: -6px; }
  .family-section {
    min-height: 0;
    padding: 18px 16px 0;
    background: var(--navy);
  }
  .family-section > img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: contain;
    object-position: center;
  }
  .family-overlay { display: none; }
  .family-copy {
    min-height: 0;
    width: 100%;
    padding: 34px 8px 52px;
  }
  .family-copy h2 { font-size: 3.1rem; }
  .coming-soon { padding-top: 78px; padding-bottom: 78px; }
}

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