:root {
  --ink: #102624;
  --forest: #163c3b;
  --teal: #2b7770;
  --leaf: #6c9b73;
  --coral: #e87d5f;
  --gold: #f2bf61;
  --cream: #fff8ea;
  --paper: #f7f0de;
  --white: #fffdf6;
  --muted: #596761;
  --line: rgba(16, 38, 36, 0.14);
  --shadow: 0 24px 80px rgba(16, 38, 36, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 248, 234, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(145deg, var(--gold), var(--coral));
  box-shadow: inset 0 -4px 0 rgba(16, 38, 36, 0.1);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark::before {
  left: 8px;
}

.brand-mark::after {
  right: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover,
.store-links a:hover {
  color: var(--coral);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid currentColor;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: clip;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 24% 36%, rgba(242, 191, 97, 0.26), transparent 17rem),
    linear-gradient(90deg, rgba(16, 38, 36, 0.86) 0%, rgba(16, 38, 36, 0.58) 36%, rgba(16, 38, 36, 0.18) 70%),
    linear-gradient(0deg, rgba(16, 38, 36, 0.28), rgba(16, 38, 36, 0.02));
}

.hero-content {
  width: auto;
  max-width: 620px;
  margin-left: clamp(18px, 7vw, 96px);
  margin-right: clamp(18px, 7vw, 96px);
  padding-top: 74px;
  color: var(--white);
}

.eyebrow,
.mini-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 253, 246, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.hero-actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 253, 246, 0.6);
}

.intro-band,
.feature-band,
.split-band,
.store-band,
.page-hero,
.legal-page {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.intro-band {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid article,
.privacy-item,
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.7);
}

.intro-grid article {
  padding: clamp(22px, 4vw, 34px);
}

.intro-grid h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.03;
}

.intro-grid p,
.split-copy p,
.privacy-item p,
.legal-content p,
.legal-content li,
.store-band p,
.page-hero p,
.info-card p,
.site-footer p {
  color: var(--muted);
}

.feature-band {
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--cream), #f3e6cf 100%);
}

.section-heading,
.store-band,
.legal-content,
.page-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: end;
}

.section-heading .eyebrow,
.split-copy .eyebrow,
.store-band .eyebrow,
.page-hero .eyebrow {
  color: var(--teal);
}

.phone-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: clamp(14px, 3vw, 28px);
  max-width: 1180px;
  margin: 42px auto 0;
}

.phone-frame {
  margin: 0;
  transform: translateY(var(--lift, 0));
}

.phone-frame:nth-child(2) {
  --lift: 34px;
}

.phone-frame:nth-child(3) {
  --lift: -14px;
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  object-fit: cover;
  border-radius: 8px;
  border: 8px solid var(--ink);
  box-shadow: var(--shadow);
}

.phone-frame figcaption {
  padding-top: 12px;
  color: var(--ink);
  font-weight: 900;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
  background: var(--white);
}

.split-copy {
  max-width: 580px;
}

.privacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.privacy-item {
  padding: 22px;
}

.privacy-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-weight: 950;
  font-size: 1.2rem;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 900;
}

.store-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
  background: var(--forest);
  color: var(--white);
}

.store-band h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.store-band p {
  color: rgba(255, 253, 246, 0.72);
}

.store-links a {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 253, 246, 0.26);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px);
  background: #0f211f;
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
  justify-content: flex-end;
}

.site-footer a {
  text-decoration: none;
  font-weight: 800;
}

.footer-brand {
  margin-bottom: 10px;
}

.page-hero {
  min-height: 45svh;
  display: grid;
  align-items: end;
  padding-top: 130px;
  background:
    radial-gradient(circle at 82% 20%, rgba(232, 125, 95, 0.32), transparent 18rem),
    linear-gradient(135deg, var(--paper), var(--white));
}

.page-hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 7rem);
}

.page-hero p {
  max-width: 760px;
  font-size: 1.1rem;
}

.legal-page {
  background: var(--white);
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 72px);
}

.legal-toc {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 10px;
}

.legal-toc a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.legal-body {
  max-width: 780px;
}

.legal-body section {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.legal-body h3 {
  margin-top: 26px;
}

.legal-body ul {
  padding-left: 1.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-grid {
  margin-top: 48px;
}

.info-card {
  padding: 22px;
}

.info-card h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    padding: 12px;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-image {
    object-position: 72% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 38, 36, 0.88), rgba(16, 38, 36, 0.42)),
      linear-gradient(0deg, rgba(16, 38, 36, 0.3), transparent);
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 32px;
  }

  .intro-grid,
  .section-heading,
  .split-band,
  .store-band,
  .legal-content {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-frame {
    transform: none;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero-content {
    width: calc(100% - 36px);
    max-width: none;
    margin-left: 18px;
    margin-right: 18px;
    justify-self: start;
  }

  .hero-actions,
  .store-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .store-links a {
    width: 100%;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .phone-stage,
  .privacy-list,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
