@font-face {
  font-family: "Work Sans";
  src: url("/assets/fonts/WorkSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("/assets/fonts/WorkSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("/assets/fonts/WorkSans-SemiBold.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --lapis: #0b1a3a;
  --lapis-2: #122651;
  --ink: #152548;
  --papyrus: #f7f1e1;
  --sand: #ece2cb;
  --line: #d5c6a7;
  --muted: #5b6680;
  --teal: #1d8a80;
  --teal-deep: #12645f;
  --gold: #d9a83e;
  --gold-light: #f0c766;
  --white: #fffdf7;
  --shadow: 0 22px 70px rgb(6 19 46 / 18%);
  --radius: 22px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--papyrus);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--papyrus);
  color: var(--ink);
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 1rem;
  padding: 0.65rem 1rem;
  transform: translateY(-120%);
  background: var(--gold-light);
  color: var(--lapis);
  font-weight: 600;
}

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

.draft-banner {
  padding: 0.7rem 1.25rem;
  background: var(--gold);
  color: var(--lapis);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.draft-banner strong {
  font-weight: 700;
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--lapis);
  color: var(--white);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: min(var(--max-width), calc(100% - 3rem));
  min-height: 76px;
  margin: 0 auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.wordmark span {
  color: var(--gold-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}

.main-nav a {
  color: #dfe6f5;
  font-size: 0.92rem;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.main-nav .nav-cta {
  color: var(--lapis);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.nav-cta {
  background: var(--gold-light);
  color: var(--lapis);
}

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

.button-primary {
  background: var(--gold-light);
  color: var(--lapis);
  box-shadow: 0 8px 0 rgb(155 111 26 / 35%);
}

.button-primary:hover {
  background: #f6d582;
}

.button-secondary {
  border-color: rgb(240 199 103 / 65%);
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--gold-light);
  background: rgb(240 199 103 / 10%);
}

.button-dark {
  border-color: var(--lapis);
  background: var(--lapis);
  color: var(--white);
}

.button-dark:hover {
  background: var(--lapis-2);
}

.store-button-google {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.store-logo {
  display: block;
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.store-button-kicker {
  font-size: 0.7em;
  font-weight: 500;
}

.store-button-name {
  font-size: 0.95em;
  font-weight: 600;
}

.store-button-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.8rem;
}

.store-button-pair > .button {
  min-width: 180px;
  min-height: 54px;
}

.store-button-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.store-button-status {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.store-button-apple {
  gap: 0.7rem;
  border-color: rgb(21 37 72 / 22%);
  background: #fff;
  color: #152548;
  box-shadow: 0 8px 0 rgb(6 19 46 / 14%);
  cursor: not-allowed;
  opacity: 1;
  transition: none;
}

.store-button-apple .store-logo {
  width: 1.05rem;
  height: 1.4rem;
}

.store-button-apple:hover,
.store-button-apple:disabled {
  transform: none;
  border-color: rgb(21 37 72 / 22%);
  background: #fff;
  color: #152548;
  opacity: 1;
}

.site-footer .store-button-google .store-logo {
  filter: brightness(0) invert(1);
}

.container {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 32%, rgb(29 138 128 / 22%), transparent 27rem),
    linear-gradient(135deg, var(--lapis) 0%, #0c214a 52%, #112b58 100%);
  color: var(--white);
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  top: -30vw;
  right: -14vw;
  width: 52vw;
  height: 52vw;
  max-width: 660px;
  max-height: 660px;
  border: 1px solid rgb(240 199 103 / 30%);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgb(240 199 103 / 7%), 0 0 0 56px rgb(240 199 103 / 4%);
}

.hero::after {
  right: 12%;
  bottom: 5%;
  width: 110px;
  height: 110px;
  border: 1px solid rgb(29 138 128 / 52%);
  transform: rotate(45deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 0;
  padding-top: clamp(3.5rem, 5vw, 4rem);
  padding-bottom: clamp(3.5rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.hero h1,
.page-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.2rem, 5.5vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.hero h1 em {
  color: inherit;
  font-style: normal;
}

.hero-copy {
  max-width: 34rem;
  margin: 1.7rem 0 0;
  color: #d9e0ee;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-actions-stores {
  flex-direction: column;
  align-items: flex-start;
}

.store-availability {
  margin-top: 1rem;
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 32rem;
  margin: 1.9rem 0 0;
  color: #aebbd6;
  font-size: 0.86rem;
}

.hero-note::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgb(29 138 128 / 14%);
  content: "";
}

.hero-media {
  position: relative;
  justify-self: center;
  width: min(100%, 310px);
}

.hero-media::before {
  position: absolute;
  inset: 9% -8% -6%;
  border: 1px solid rgb(240 199 103 / 36%);
  border-radius: 34px;
  content: "";
  transform: rotate(5deg);
}

.device-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 9px;
  border: 2px solid var(--gold-light);
  border-radius: 30px;
  background: #070f25;
  box-shadow: 0 24px 50px rgb(2 11 30 / 50%), 0 0 0 7px rgb(217 168 62 / 18%);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 2796;
  border-radius: 21px;
  object-fit: cover;
}

.media-caption {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: #b8c4da;
  font-size: 0.78rem;
}

.media-caption strong {
  color: var(--gold-light);
  font-weight: 500;
}

.truth-rail {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.truth-item {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  min-height: 104px;
  padding: 2rem 2.2rem;
  border-left: 1px solid var(--line);
}

.truth-item:first-child {
  border-left: 0;
}

.truth-item strong {
  color: var(--teal-deep);
  font-size: 1.05rem;
  font-weight: 600;
}

.truth-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-sand {
  background: var(--sand);
}

.section-dark {
  background: var(--lapis);
  color: var(--white);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.64fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section h2,
.page-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-intro p,
.section-lede {
  max-width: 41rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.section-dark .section-intro p,
.section-dark .section-lede {
  color: #bec9dd;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr) minmax(180px, 0.7fr);
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 2.2rem;
  border-bottom: 1px solid var(--line);
}

.feature-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.feature-row p {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
}

.feature-tag {
  justify-self: end;
  margin: 0;
  color: var(--teal-deep) !important;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: right;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-item {
  position: relative;
  min-height: 250px;
  padding: 2rem 2.2rem 2rem 0;
  border-top: 1px solid rgb(240 199 103 / 42%);
  counter-increment: steps;
}

.step-item + .step-item {
  padding-left: 2.2rem;
  border-left: 1px solid rgb(240 199 103 / 42%);
}

.step-item::before {
  display: block;
  margin-bottom: 2.7rem;
  color: var(--gold-light);
  content: "0" counter(steps);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.step-item h3 {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.step-item p {
  max-width: 23rem;
  margin: 0;
  color: #bec9dd;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1.2rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--lapis);
  object-fit: cover;
}

.gallery-item:first-child img {
  object-fit: contain;
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.gallery-item figcaption strong {
  color: var(--ink);
  font-weight: 500;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 1rem 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--teal-deep);
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-answer {
  max-width: 58rem;
  padding: 0 2rem 1.35rem 0;
  color: var(--muted);
}

.cta-band {
  background: var(--teal-deep);
  color: var(--white);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.cta-band h2 {
  max-width: 16ch;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.35rem);
}

.cta-band p {
  max-width: 32rem;
  margin: 0.7rem 0 0;
  color: #d2ede8;
}

.site-footer {
  background: var(--lapis);
  color: #c4cfe1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: 4.5rem;
  padding-bottom: 4rem;
}

.footer-brand p {
  max-width: 20rem;
  margin: 1rem 0 0;
  color: #aebbd6;
  font-size: 0.88rem;
}

.footer-heading {
  margin: 0 0 0.9rem;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #d8e0ee;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgb(240 199 103 / 25%);
  color: #91a0bd;
  font-size: 0.78rem;
}

.page-hero {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 83% 0%, rgb(29 138 128 / 25%), transparent 26rem),
    var(--lapis);
  color: var(--white);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.page-hero p {
  max-width: 43rem;
  margin: 1.4rem 0 0;
  color: #c4cfe1;
  font-size: 1.12rem;
}

.page-content {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 3.2rem 0 0.9rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.05em;
}

.prose h3 {
  margin: 2.2rem 0 0.7rem;
  color: var(--teal-deep);
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: #4f5b74;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.prose li {
  margin: 0.45rem 0;
  padding-left: 0.25rem;
}

.prose blockquote {
  margin: 0 0 1.8rem;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--gold);
  background: var(--sand);
  color: var(--ink);
}

.prose a {
  color: var(--teal-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-panel {
  min-height: 210px;
  padding: 2rem;
  background: var(--white);
}

.contact-panel h2 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}

.contact-panel p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
}

.contact-panel .button {
  margin-top: 1.35rem;
}

.status-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: var(--sand);
  color: var(--ink);
}

.error-page {
  min-height: 48vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  color: var(--lapis);
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -0.1em;
  line-height: 0.9;
}

.error-page p {
  max-width: 32rem;
  margin: 1rem auto 1.6rem;
  color: var(--muted);
}

@media (max-width: 880px) {
  .main-nav a:not(.nav-cta) {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
    min-height: 0;
  }

  .hero-media {
    width: min(100%, 330px);
  }

  .section-intro,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row {
    grid-template-columns: 0.7fr 1fr;
  }

  .feature-tag {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .container {
    width: min(100% - 2rem, var(--max-width));
  }

  .nav-wrap {
    min-height: 68px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0.4rem 0.65rem;
    font-size: 0.76rem;
  }

  .nav-cta.store-button-google {
    gap: 0.4rem;
  }

  .nav-cta .store-logo {
    width: 1rem;
    height: 1rem;
  }

  .hero-inner {
    padding-top: 4.6rem;
    padding-bottom: 4.8rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 300px);
  }

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

  .hero-actions-stores {
    width: min(100%, 300px);
  }

  .hero-actions-stores .store-button-pair {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions-stores .store-button-pair > .button {
    width: 100%;
  }

  .cta-store-buttons {
    width: min(100%, 340px);
    flex-direction: column;
  }

  .cta-store-buttons > .button {
    width: 100%;
  }

  .truth-grid,
  .step-list,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .truth-item {
    min-height: 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .truth-item:first-child {
    border-top: 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .feature-tag {
    grid-column: auto;
  }

  .step-item,
  .step-item + .step-item {
    min-height: 0;
    padding: 1.6rem 0;
    border-left: 0;
  }

  .step-item::before {
    margin-bottom: 1.3rem;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }

  .gallery-item img,
  .gallery-item:first-child img {
    height: auto;
    aspect-ratio: 1290 / 2796;
    object-fit: cover;
  }

  .cta-band-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .page-hero h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 15vw, 5rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
