* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: rgba(255,255,255,0.62);
  --dim: rgba(255,255,255,0.42);
  --hair: rgba(255,255,255,0.08);
  --hair-soft: rgba(255,255,255,0.05);
  --glass: rgba(10,10,12,0.6);
  --income: #34C759;
  --expenses: #FF3B30;
  --subs: #00BFFF;
  --journal: #FF9500;
  --serif: 'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body {
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Background gradient washes */
.bg-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-wash::before, .bg-wash::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  animation: drift 28s ease-in-out infinite;
}
.bg-wash::before {
  width: 900px; height: 900px;
  top: -300px; left: -200px;
  background: radial-gradient(circle, rgba(40,30,90,0.55), transparent 70%);
}
.bg-wash::after {
  width: 1100px; height: 1100px;
  bottom: -400px; right: -300px;
  background: radial-gradient(circle, rgba(20,40,80,0.45), transparent 70%);
  animation-delay: -12s;
}
@media (max-width: 980px) {
  .bg-wash::before {
    width: 500px; height: 500px;
    top: -200px; left: -150px;
  }
  .bg-wash::after {
    width: 600px; height: 600px;
    bottom: -250px; right: -180px;
  }
  /* The big radial glow behind the final-cta gets clipped into a rectangle
     by overflow:hidden on a narrow viewport, and mobile Safari renders large
     blurs inconsistently. Hide it here — bg-wash already provides ambient. */
  .final-cta::before { display: none; }
}
@keyframes drift {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(60px,-40px); }
}

/* Nav */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(0,0,0,0.55);
  border-bottom: 1px solid var(--hair-soft);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.04em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--fg); }
.lang-toggle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--hair);
  border-radius: 100px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.lang-toggle:hover { color: var(--fg); border-color: rgba(255,255,255,0.22); }
.hamburger {
  display: none;
  background: none;
  border: 0;
  color: var(--fg);
  padding: 6px;
  cursor: pointer;
  position: relative;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}
.hamburger-box {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.hamburger-bar {
  position: absolute;
  left: 1px;
  right: 1px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: 50% 50%;
  transition:
    top 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0.22s,
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0s,
    opacity 0.18s ease 0.12s,
    background-color 0.3s ease;
}
.hamburger-bar:nth-child(1) { top: 5px; }
.hamburger-bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-bar:nth-child(3) { top: calc(100% - 5px - 1.5px); }
.hamburger.is-open .hamburger-bar {
  transition:
    top 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0s,
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0.22s,
    opacity 0.18s ease 0.12s;
}
.hamburger.is-open .hamburger-bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0.2);
}
.hamburger.is-open .hamburger-bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .hamburger-bar,
  .hamburger.is-open .hamburger-bar { transition-duration: 0.01s; }
}
.nav-mobile {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--hair);
  padding: 80px 24px 32px;
  z-index: 105;
  flex-direction: column;
  gap: 18px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
  pointer-events: none;
}
.nav-mobile.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}
.nav-mobile a {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile.open a {
  opacity: 1;
  transform: translateY(0);
}
.nav-mobile.open a:nth-child(1) { transition-delay: 0.05s; }
.nav-mobile.open a:nth-child(2) { transition-delay: 0.08s; }
.nav-mobile.open a:nth-child(3) { transition-delay: 0.11s; }
.nav-mobile.open a:nth-child(4) { transition-delay: 0.14s; }
.nav-mobile.open a:nth-child(5) { transition-delay: 0.17s; }
.nav-mobile.open a:nth-child(6) { transition-delay: 0.20s; }
.nav-mobile a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 8px 0;
  border-bottom: 1px solid var(--hair-soft);
}
.nav-mobile a:last-child { border-bottom: 0; }

/* Sections */
section { position: relative; z-index: 1; }
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Hero */
.hero {
  min-height: 100vh;
  padding-top: 92px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 128px;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-mark .ltr {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: letterIn 0.9s cubic-bezier(0.2,0.7,0.2,1) forwards;
}
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.18;
  color: var(--fg);
  margin-bottom: 20px;
  max-width: 540px;
  opacity: 0;
  animation: fadeUp 1.1s 0.6s forwards;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1.1s 0.8s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  opacity: 0;
  animation: fadeUp 1.1s 1.0s forwards;
}
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 12px;
  color: #fff;
  transition: border-color 0.3s, transform 0.3s;
}
.appstore-badge:hover { border-color: #fff; transform: translateY(-1px); }
.appstore-badge .apple { width: 22px; height: 22px; }
.appstore-badge .label { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.appstore-badge .small { font-size: 10px; letter-spacing: 0.04em; opacity: 0.85; margin-bottom: 3px; }
.appstore-badge .big { font-family: var(--sans); font-size: 19px; font-weight: 500; letter-spacing: 0.01em; }

.qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: var(--glass);
  border: 1px solid var(--hair);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}
.qr-card .qr {
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}
.qr-card .qr svg,
.qr-card .qr img { width: 100%; height: 100%; display: block; }
.qr-card .qr-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.qr-card .qr-label strong {
  display: block;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 14px;
  margin-bottom: 2px;
}

/* Phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.phone {
  position: relative;
  width: 340px;
  aspect-ratio: 1050 / 2150;
  animation: float 6s ease-in-out infinite;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 11%;
}
.phone .glow {
  position: absolute;
  inset: -40px;
  border-radius: 70px;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.55;
  background: radial-gradient(circle at 50% 50%, var(--glow-color, rgba(80,80,180,0.5)), transparent 65%);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.phone.green { --glow-color: rgba(52, 199, 89, 0.55); }
.phone.red { --glow-color: rgba(255, 59, 48, 0.5); }
.phone.cyan { --glow-color: rgba(0, 191, 255, 0.55); }
.phone.orange { --glow-color: rgba(255, 149, 0, 0.55); }
.phone.violet { --glow-color: rgba(120, 100, 220, 0.55); }

/* Feature sections */
.feature {
  padding: 100px 0;
  position: relative;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature.reverse .feature-grid > .feature-text { order: 2; }
.feature.reverse .feature-grid > .phone-wrap { order: 1; }
.feature-text {
  position: relative;
  padding: 36px;
}
.feature-text::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(8,8,10,0.4);
  border: 1px solid var(--hair-soft);
  backdrop-filter: blur(8px);
  z-index: -1;
  opacity: 0.55;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--fg));
  box-shadow: 0 0 12px var(--accent, var(--fg));
}
.feature h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  text-wrap: pretty;
  max-width: 480px;
}
.feature p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 440px;
}
.meta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.chip {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 13px;
  border: 1px solid var(--hair);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
}

/* Three-column features */
.three-col {
  padding: 100px 0;
  text-align: center;
}
.three-col .lead {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.three-col .sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 80px;
}
.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gcard {
  text-align: left;
  padding: 36px 32px;
  background: var(--glass);
  border: 1px solid var(--hair);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  transition: border-color 0.4s ease, transform 0.4s ease, background 0.4s ease;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gcard:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(14,14,18,0.65);
}
.gcard .glyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hair);
  margin-bottom: 24px;
}
.gcard h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.005em;
}
.gcard p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  width: 1000px; height: 1000px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50,40,110,0.45), transparent 60%);
  filter: blur(90px);
  z-index: -1;
}
.final-cta h2 {
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.final-cta .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 56px;
}
.final-cta .ctas {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

/* Footer */
footer {
  border-top: 1px solid var(--hair-soft);
  padding: 80px 0 40px;
  background: rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}
.foot-brand .wordmark { font-size: 32px; margin-bottom: 14px; }
.foot-brand p {
  font-size: 14px;
  color: var(--dim);
  max-width: 240px;
  line-height: 1.55;
}
.footer-grid h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-grid a:hover { color: var(--fg); }
.copyright {
  border-top: 1px solid var(--hair);
  padding-top: 28px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

/* Pills (interactive) */
.pills .pill {
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
  border: 1px solid var(--hair);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.pills .pill:hover { color: var(--fg); border-color: rgba(255,255,255,0.22); }
.pills .pill.is-active {
  color: #0b0b0e;
  background: #fff;
  border-color: #fff;
}

/* Phone carousel (Reports section) */
.phone-carousel {
  position: relative;
  width: 340px;
  aspect-ratio: 1050 / 2150;
  overflow: visible;
}
.phone-track {
  position: relative;
  width: 100%;
  height: 100%;
  animation: float 6s ease-in-out infinite;
}
.track-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
}
/* Active card (center) */
.phone-track[data-active="pie"] .track-card[data-view="pie"],
.phone-track[data-active="calendar"] .track-card[data-view="calendar"],
.phone-track[data-active="bar"] .track-card[data-view="bar"] {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
  cursor: default;
}
/* Right peek (+1 from active) */
.phone-track[data-active="pie"] .track-card[data-view="calendar"],
.phone-track[data-active="calendar"] .track-card[data-view="bar"] {
  transform: translateX(48%) scale(0.8);
  opacity: 0.35;
  z-index: 2;
}
/* Left peek (-1 from active) */
.phone-track[data-active="calendar"] .track-card[data-view="pie"],
.phone-track[data-active="bar"] .track-card[data-view="calendar"] {
  transform: translateX(-48%) scale(0.8);
  opacity: 0.35;
  z-index: 2;
}
/* Far right (+2, off-screen) */
.phone-track[data-active="pie"] .track-card[data-view="bar"] {
  transform: translateX(96%) scale(0.65);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
/* Far left (-2, off-screen) */
.phone-track[data-active="bar"] .track-card[data-view="pie"] {
  transform: translateX(-96%) scale(0.65);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.phone-carousel .phone {
  width: 100%;
  animation: none;
}
/* Pie + Bar PNGs have a small black margin around the bezel; mask it.
   Calendar PNG already touches the edges, so use 0 inset for it. */
.track-card .phone {
  border-radius: 11%;
  overflow: hidden;
  clip-path: inset(1.2% 2.5% round 11%);
}
.track-card .phone img {
  border-radius: 0;
  transform: scale(1.04);
  transform-origin: 50% 50%;
}
.track-card[data-view="calendar"] .phone {
  clip-path: inset(0 round 11%);
}
.track-card[data-view="calendar"] .phone img {
  transform: scale(1);
}

/* Phone stack (legacy — kept for backwards compat, unused) */
.phone-stack {
  position: relative;
  width: 340px;
  aspect-ratio: 1050 / 2150;
}
.phone-stack .phone {
  animation: none;
  width: 100%;
}
.stack-card {
  position: absolute;
  inset: 0;
  width: 100%;
  transform-origin: 50% 50%;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease,
    filter 0.25s ease;
  will-change: transform, opacity;
}
.stack-card .phone {
  border-radius: 11%;
  overflow: hidden;
  clip-path: inset(1.2% 2.5% round 11%);
}
.stack-card .phone img {
  border-radius: 0;
  transform: scale(1.04);
  transform-origin: 50% 50%;
}
.stack-card[data-view="calendar"] .phone {
  clip-path: inset(0 0 round 11%);
}
.stack-card[data-view="calendar"] .phone img {
  transform: scale(1);
}
.stack-card[data-pos="center"] {
  transform: translateX(0) translateY(0) scale(1) rotate(0deg);
  opacity: 1;
  filter: blur(0);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.stack-card[data-pos="left"] {
  transform: translateX(-58%) translateY(2%) scale(0.78) rotate(-7deg);
  opacity: 0.55;
  filter: blur(1.6px) saturate(0.85) brightness(0.92);
  z-index: 1;
}
.stack-card[data-pos="right"] {
  transform: translateX(58%) translateY(2%) scale(0.78) rotate(7deg);
  opacity: 0.55;
  filter: blur(1.6px) saturate(0.85) brightness(0.92);
  z-index: 1;
}
.stack-card[data-pos="left"] .glow,
.stack-card[data-pos="right"] .glow {
  opacity: 0.25;
}
.stack-card.is-leaving { z-index: 2; }
.stack-card.is-entering { z-index: 4; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 920px;
  margin: 0 auto;
  z-index: 90;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
  pointer-events: none;
}
.cookie-banner.in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 26px;
  background: rgba(10,10,12,0.72);
  border: 1px solid var(--hair);
  border-radius: 18px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.cookie-text a {
  color: var(--fg);
  border-bottom: 1px solid var(--hair);
  transition: border-color 0.3s ease;
}
.cookie-text a:hover { border-bottom-color: var(--fg); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.cookie-btn-ghost {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  color: var(--muted);
}
.cookie-btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.22);
}
.cookie-btn-primary {
  background: #fff;
  border: 1px solid #fff;
  color: #0b0b0e;
}
.cookie-btn-primary:hover { transform: translateY(-1px); }
@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 20px;
  }
  .cookie-text { font-size: 13px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 11px 16px; }
}

/* Legal pages (privacy / terms) */
.legal {
  padding: 140px 0 100px;
  position: relative;
  z-index: 1;
}
.legal .container { max-width: 760px; }
.legal h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}
.legal .updated {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 56px;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 56px 0 20px;
}
.legal h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 32px 0 14px;
  color: var(--fg);
}
.legal p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
}
.legal p strong { color: var(--fg); font-weight: 500; }
.legal ul, .legal ol {
  padding-left: 22px;
  margin-bottom: 22px;
  color: var(--muted);
}
.legal li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal li strong { color: var(--fg); font-weight: 500; }
.legal a {
  color: var(--fg);
  border-bottom: 1px solid var(--hair);
  transition: border-color 0.3s ease;
}
.legal a:hover { border-bottom-color: var(--fg); }
.legal hr {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 60px 0 32px;
}
.legal-footer {
  font-size: 14px;
  color: var(--dim);
}
.legal-footer a {
  color: var(--muted);
  border-bottom: 0;
}
.legal-footer a:hover { color: var(--fg); }

/* Responsive — large tablet / mid */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 16px 24px; }
  .container { padding: 0 24px; }
  .hero { padding-top: 96px; padding-bottom: 40px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-text { text-align: center; }
  .hero-mark { font-size: 76px; }
  .hero-tag { font-size: 26px; margin-left: auto; margin-right: auto; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-cta .qr-card { display: none; }
  .phone { width: 260px; }
  .feature { padding: 60px 0; }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature.reverse .feature-grid > .feature-text { order: 1; }
  .feature.reverse .feature-grid > .phone-wrap { order: 2; }
  .feature h2 { font-size: 38px; }
  .feature-text { padding: 24px; }
  .phone-carousel { width: 260px; }
  .phone-stack { width: 280px; }
  .three-col { padding: 60px 0; }
  .three-col .lead { font-size: 38px; }
  .col-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 70px 0; }
  .final-cta h2 { font-size: 48px; }
  .final-cta .ctas { flex-direction: column; gap: 18px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    margin-bottom: 60px;
  }
  .foot-brand { grid-column: 1 / -1; }
  .legal { padding: 110px 0 80px; }
  .legal h1 { font-size: 44px; }
  .legal h2 { font-size: 26px; }
  .legal h3 { font-size: 19px; }
}

/* Responsive — small phones */
@media (max-width: 600px) {
  .nav-inner { padding: 14px 18px; }
  .nav-right { gap: 14px; }
  .container { padding: 0 18px; }
  .hero-mark { font-size: 64px; }
  .hero-tag { font-size: 22px; }
  .hero-sub { font-size: 15px; }
  .feature h2 { font-size: 32px; }
  .three-col .lead { font-size: 32px; }
  .final-cta h2 { font-size: 40px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .foot-brand { grid-column: 1; }
  .legal { padding: 96px 0 64px; }
  .legal h1 { font-size: 36px; }
  .legal h2 { font-size: 22px; margin: 40px 0 14px; }
  .legal p, .legal li { font-size: 15px; }
}
