:root {
  --ink: #17241f;
  --text: #2b332f;
  --muted: #66736d;
  --deep: #4c7a66;
  --deep-ink: #244f40;
  --sage: #89ad9b;
  --mint: #e7f0ea;
  --cream: #fffaf0;
  --paper: #fbf8f0;
  --white: #ffffff;
  --line: rgba(36, 79, 64, 0.16);
  --soft-line: rgba(36, 79, 64, 0.1);
  --black: #080a09;
  --motion: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 10%, rgba(76, 122, 102, 0.12), transparent 30rem),
    linear-gradient(180deg, #fffdfa 0%, var(--paper) 58%, #ffffff 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(36, 79, 64, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 79, 64, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 68%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.055;
  background-image: radial-gradient(circle at center, #17241f 0.7px, transparent 0.8px);
  background-size: 6px 6px;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(76, 122, 102, 0.36);
  outline-offset: 4px;
}

.page-shell,
.legal-page .container {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.top-bar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--soft-line);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--deep);
}

.brand-icon img {
  display: block;
  width: 58%;
  height: 58%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-name {
  color: var(--deep-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-actions::-webkit-scrollbar {
  display: none;
}

.nav-actions a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  transition: color 280ms var(--motion);
}

.nav-actions a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 3px;
  background: var(--deep);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 360ms var(--motion);
}

.nav-actions a:hover {
  color: var(--deep-ink);
}

.nav-actions a:hover::after {
  transform: scaleX(1);
}

.hero {
  min-height: calc(100dvh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
  padding: clamp(76px, 9vw, 132px) 0 clamp(72px, 8vw, 116px);
}

.hero-content {
  max-width: 690px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.split-section h2,
.legal-page h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero h1 {
  color: var(--deep-ink);
  font-size: clamp(76px, 10vw, 144px);
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  text-wrap: pretty;
}

.hero-text-lead {
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.36;
}

.secondary-copy {
  margin-top: 18px;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
}

.app-store-button img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

.legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-links a {
  color: var(--deep-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.phone-showcase {
  min-height: 600px;
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.phone-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 24px 80px rgba(36, 79, 64, 0.14);
}

.phone-card-primary {
  grid-row: 1 / span 2;
  border-radius: 34px;
}

.phone-card-secondary {
  border-radius: 26px;
}

.phone-card img {
  display: block;
  width: 100%;
}

.phone-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--deep-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-row article {
  min-height: 144px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.trust-row article:last-child {
  border-right: 0;
}

.trust-row span {
  color: var(--deep-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}

.trust-row strong {
  display: block;
  max-width: 260px;
  margin-top: 26px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.split-section {
  margin-top: clamp(96px, 12vw, 154px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.78fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  padding-bottom: clamp(88px, 10vw, 132px);
}

.split-section h2 {
  max-width: 760px;
  color: var(--deep-ink);
  font-size: clamp(52px, 7vw, 92px);
}

.split-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.document-stack {
  display: grid;
  border-top: 1px solid var(--line);
}

.document-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 360ms var(--motion),
    color 280ms var(--motion);
}

.document-card:hover {
  color: var(--deep-ink);
  transform: translateX(6px);
}

.document-icon {
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}

.document-card strong,
.document-card small {
  display: block;
}

.document-card strong {
  font-size: 20px;
  line-height: 1.22;
}

.document-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  padding: 32px 0 54px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  max-width: 720px;
  margin: 0;
}

.footer a {
  color: var(--deep-ink);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.legal-page .container {
  padding-bottom: 54px;
}

.legal-page header {
  padding: 50px 0 22px;
}

.legal-page h1 {
  max-width: 820px;
  color: var(--deep-ink);
  font-size: 56px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.card {
  max-width: 940px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.card h2 {
  margin: 32px 0 10px;
  font-size: 24px;
  line-height: 1.22;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.card ol {
  padding-left: 22px;
}

.notice,
.legal-note {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 3px solid rgba(127, 95, 42, 0.36);
  background: rgba(255, 247, 218, 0.64);
}

.legal-note {
  border-left-color: var(--deep);
  background: rgba(231, 240, 234, 0.72);
}

.card .button,
.button-dark {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    max-width: 840px;
  }

  .phone-showcase {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .legal-page .container {
    width: min(100% - 28px, 1280px);
  }

  .top-bar {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    gap: 22px;
  }

  .nav-actions a::after {
    bottom: -8px;
  }

  .brand-name {
    font-size: 15px;
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .hero-text-lead {
    font-size: 21px;
  }

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

  .phone-showcase {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-right: -14px;
    padding-right: 14px;
    scroll-snap-type: x mandatory;
  }

  .phone-card {
    min-width: min(74vw, 310px);
    border-radius: 26px;
    scroll-snap-align: start;
  }

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

  .trust-row article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-row article:last-child {
    border-bottom: 0;
  }

  .split-section {
    margin-top: 74px;
    padding-bottom: 80px;
  }

  .split-section h2,
  .legal-page h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .document-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .page-shell,
  .legal-page .container {
    width: min(100% - 22px, 1280px);
  }

  .nav-actions {
    gap: 18px;
  }

  .nav-actions a {
    font-size: 13px;
  }

  .app-store-button {
    width: 100%;
    justify-content: center;
  }

  .legal-links {
    width: 100%;
    justify-content: space-between;
  }

  .card {
    padding: 24px;
  }
}
