/* ============================================================
   CoPAY — copay.digital
   Light, iOS-native-inspired aesthetic with receipt motifs.
   Display: DM Sans · Body: Inter · Mono: IBM Plex Mono
   ============================================================ */

:root {
  --bg: #f4f3f8;
  --bg-deep: #eceaf3;
  --card: #ffffff;
  --ink: #0b0b14;
  --ink-2: #50505c;
  --mut: #8a8a93;
  --line: rgba(11, 11, 20, 0.1);
  --blue: #0a76f4;
  --blue-soft: rgba(10, 118, 244, 0.1);
  --indigo: #15197a;
  --mint: #9cd5c0;
  --green: #1e9e44;
  --red: #f3483b;
  --night: #0a0a0c;
  --night-card: #16161c;
  --night-line: rgba(255, 255, 255, 0.12);
  --r-card: 22px;
  --r-hero: 28px;
  --font-display: 'DM Sans', -apple-system, 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
  --shadow-card: 0 4px 12px rgba(11, 11, 20, 0.06), 0 18px 48px -18px rgba(21, 25, 122, 0.18);
  --shadow-phone: 0 24px 48px -18px rgba(11, 11, 20, 0.35), 0 60px 120px -30px rgba(21, 25, 122, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fine paper grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--mint); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.022em;
}

p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.tick { color: var(--green); font-style: normal; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 3000;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAV — floating glass pill, echoing the app's tab bar
   ============================================================ */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(880px, calc(100% - 28px));
  padding: 9px 10px 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(11, 11, 20, 0.08);
  box-shadow: 0 8px 32px -8px rgba(21, 25, 122, 0.14);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 40px -8px rgba(21, 25, 122, 0.22);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-icon { border-radius: 7px; }

.wordmark { display: block; }
.wordmark-ink { height: 15px; width: auto; }
.wordmark-ink path { fill: var(--ink); }

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, filter 0.2s;
}
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(10, 118, 244, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px -6px rgba(10, 118, 244, 0.6);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: #fff; transform: translateY(-1px); }

.apple-glyph { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 10px 22px 11px 18px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 28px -10px rgba(11, 11, 20, 0.5);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(11, 11, 20, 0.55); }
.store-badge .apple-glyph { width: 24px; height: 24px; }
.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: -apple-system, var(--font-body);
}
.badge-text small { font-size: 10.5px; font-weight: 400; opacity: 0.85; }
.badge-text strong { font-size: 17.5px; font-weight: 600; letter-spacing: 0.01em; }
.store-badge-dark { background: transparent; border: 1px solid var(--night-line); box-shadow: none; }
.store-badge-dark:hover { background: rgba(255, 255, 255, 0.06); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 160px 24px 90px;
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.blob-blue {
  width: 560px; height: 560px;
  right: -4%; top: 4%;
  background: rgba(10, 118, 244, 0.16);
}
.blob-indigo {
  width: 480px; height: 480px;
  left: -8%; bottom: -22%;
  background: rgba(21, 25, 122, 0.1);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3.3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 28px;
}
.hero-title .line { display: block; }
.accent-blue { color: var(--blue); }

.hero-sub {
  max-width: 470px;
  font-size: 18px;
  color: var(--ink-2);
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.hero-fine {
  font-size: 13.5px;
  color: var(--mut);
}

/* ---------- Phone frames ---------- */
.phone {
  position: relative;
  background: #07070b;
  border-radius: clamp(38px, 11%, 58px);
  padding: 9px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    var(--shadow-phone);
}
.phone img {
  width: 100%;
  border-radius: clamp(30px, 9%, 49px);
}
/* side buttons */
.phone::before,
.phone::after {
  content: '';
  position: absolute;
  right: -2.5px;
  width: 2.5px;
  border-radius: 2px;
  background: #28282e;
}
.phone::before { top: 22%; height: 9%; }
.phone::after { top: 34%; height: 5%; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-hero {
  width: clamp(280px, 24vw, 348px);
  transform: rotate(-3deg);
}

.chip {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(11, 11, 20, 0.07);
  border-radius: 14px;
  padding: 11px 16px;
  box-shadow: 0 3px 8px rgba(11, 11, 20, 0.05), 0 14px 34px -14px rgba(21, 25, 122, 0.22);
  font-size: 13.5px;
  line-height: 1.45;
}
.chip .mono { font-size: 12.5px; color: var(--indigo); }
.chip-title { display: block; font-weight: 600; }
.chip-1 { top: 7%; left: -8%; }
.chip-2 { bottom: 14%; left: -16%; }

/* ============================================================
   RECEIPT TICKER
   ============================================================ */
.ticker {
  border-top: 1.5px dashed var(--line);
  border-bottom: 1.5px dashed var(--line);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 70s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
  white-space: nowrap;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}
.ticker-track b { color: var(--indigo); font-weight: 600; }
.ticker-track b.tick { color: var(--green); }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
section { scroll-margin-top: 90px; }

.section-head {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
  padding: 0 24px;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--blue);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(2.3rem, 4.8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-head h2 em,
.contact h2 em {
  font-style: normal;
  color: var(--blue);
}
.section-sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FEATURES SHOWCASE — sticky phone + scrolling copy
   ============================================================ */
.showcase {
  padding: 130px 24px 40px;
  max-width: 1150px;
  margin: 0 auto;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 90px;
}
.showcase-phone-col { position: relative; }
.phone-sticky {
  position: sticky;
  top: 110px;
  width: min(330px, 100%);
  margin: 0 auto;
  aspect-ratio: 780 / 1695;
}
.phone-sticky img {
  position: absolute;
  inset: 9px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  object-fit: cover;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.phone-sticky img.active {
  opacity: 1;
  transform: none;
}

.feature-block {
  min-height: min(74vh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
.feature-block + .feature-block { border-top: 1.5px dashed var(--line); }

.phone-inline { display: none; }

.feature-index {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 14px;
}
.feature-block h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin-bottom: 18px;
}
.feature-block > p {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 460px;
  margin-bottom: 26px;
}
.feature-block em { font-style: normal; color: var(--blue); font-weight: 600; }

.feature-points {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 430px;
}
.feature-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 2px;
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.feature-points li:last-child { border-bottom: 0; }
.feature-points .mono {
  font-size: 11.5px;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 9px;
  border-radius: 7px;
  flex: none;
}

/* ============================================================
   HOW IT WORKS — the receipt
   ============================================================ */
.how {
  position: relative;
  padding: 130px 24px 150px;
  background:
    radial-gradient(640px 420px at 78% 14%, rgba(10, 118, 244, 0.09), transparent 70%),
    radial-gradient(560px 460px at 16% 86%, rgba(21, 25, 122, 0.08), transparent 70%),
    var(--bg-deep);
  background-image:
    radial-gradient(640px 420px at 78% 14%, rgba(10, 118, 244, 0.09), transparent 70%),
    radial-gradient(560px 460px at 16% 86%, rgba(21, 25, 122, 0.08), transparent 70%),
    radial-gradient(rgba(21, 25, 122, 0.07) 1px, transparent 1.5px);
  background-size: auto, auto, 22px 22px;
}

.receipt {
  position: relative;
  width: min(620px, 100%);
  margin: 0 auto;
  background: var(--card);
  padding: 54px 48px 60px;
  transform: rotate(-0.6deg);
  box-shadow:
    0 2px 4px rgba(11, 11, 20, 0.05),
    0 30px 70px -24px rgba(21, 25, 122, 0.4);
}
.receipt.reveal { transform: rotate(-0.6deg) translateY(26px); }
.receipt.reveal.in { transform: rotate(-0.6deg) translateY(0); }

/* scalloped tear edges */
.receipt-top, .receipt-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  background-image: radial-gradient(circle at 7px 0, transparent 7px, var(--card) 7.5px);
  background-size: 21px 14px;
  background-position: 3px 0;
}
.receipt-top { top: -13px; }
.receipt-bottom {
  bottom: -13px;
  transform: scaleY(-1);
}

.receipt-header {
  text-align: center;
  margin-bottom: 40px;
}
.receipt-header img {
  margin: 0 auto 16px;
  border-radius: 10px;
}
.receipt-header p {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  line-height: 1.8;
  color: var(--ink);
}
.receipt-meta {
  margin-top: 10px;
  color: var(--mut) !important;
  font-size: 11px !important;
}

.receipt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.receipt-steps li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
}
.receipt-steps li + li { border-top: 1px dashed var(--line); }
.step-no {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.4;
}
.step-body { flex: 1; }
.step-body h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 21px;
  margin-bottom: 8px;
}
.leader {
  flex: 1;
  border-bottom: 2px dotted rgba(11, 11, 20, 0.22);
  transform: translateY(-4px);
}
.step-price {
  font-size: 13px;
  color: var(--indigo);
}
.step-body p {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 420px;
}

.receipt-tear {
  margin: 26px -48px;
  border-top: 2px dashed var(--line);
  position: relative;
}
.receipt-tear::before, .receipt-tear::after {
  content: '';
  position: absolute;
  top: -11px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-deep);
}
.receipt-tear::before { left: -11px; }
.receipt-tear::after { right: -11px; }

.receipt-totals {
  margin: 0 0 34px;
  font-size: 13.5px;
}
.receipt-totals div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}
.receipt-totals dt { color: var(--ink-2); }
.receipt-totals dd { margin: 0; color: var(--ink); }
.receipt-totals .strike { text-decoration: line-through; color: var(--red); }
.receipt-totals .total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.receipt-totals .total dd { color: var(--green); }

.receipt-barcode {
  height: 46px;
  margin: 0 auto 14px;
  width: 240px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px, transparent 2px 5px,
    var(--ink) 5px 9px, transparent 9px 11px,
    var(--ink) 11px 12px, transparent 12px 16px,
    var(--ink) 16px 19px, transparent 19px 24px
  );
}
.receipt-thanks {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mut);
}

/* ============================================================
   SECURITY & PAYMENTS — dark band
   ============================================================ */
.nightband {
  position: relative;
  background:
    radial-gradient(900px 480px at 78% 0%, rgba(21, 25, 122, 0.5), transparent 70%),
    var(--night);
  color: #fff;
  padding: 130px 24px;
  overflow: clip;
}

.security-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.security-copy .kicker { color: var(--mint); }
.security-copy h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
}
.security-copy h2 em { font-style: normal; color: var(--mint); }
.security-copy .section-sub {
  color: rgba(255, 255, 255, 0.64);
  margin: 20px 0 44px;
  max-width: 520px;
}

.security-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.security-cards li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--night-line);
  border-radius: 16px;
  padding: 22px 22px 20px;
}
.security-cards h3 {
  font-size: 16.5px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.security-cards p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.security-visual { display: flex; justify-content: center; }
.phone-night {
  width: clamp(230px, 22vw, 290px);
  transform: rotate(3deg);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 90px -30px rgba(10, 118, 244, 0.45);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 140px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.contact h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 22px;
}
.contact .kicker { margin-bottom: 16px; }
.contact .section-sub { margin-left: 0; }
.contact-alt {
  margin-top: 26px;
  font-size: 14px;
  color: var(--indigo);
}

.contact-form {
  background: var(--card);
  border-radius: var(--r-hero);
  border: 1px solid rgba(11, 11, 20, 0.06);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--mut); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 118, 244, 0.12);
}

/* Honeypot — visually gone, present for bots */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.cf-turnstile { margin: 6px 0 20px; min-height: 65px; }

.btn-submit { width: 100%; padding: 15px; font-size: 16px; }
.btn-submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.form-status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
}
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

.form-fine {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--line);
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mut);
  line-height: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #101343 0%, var(--night) 78%);
  color: #fff;
  padding: 90px 24px 36px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
}
.wordmark-mint { height: 26px; width: auto; margin-bottom: 22px; }
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 30px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-links h4 {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--mint);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 170px 24px 110px;
}
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 14px; }
.legal .legal-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--mut);
  margin-bottom: 50px;
  text-transform: uppercase;
}
.legal h2 {
  font-size: 1.55rem;
  margin: 48px 0 16px;
}
.legal h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.legal p, .legal li {
  font-size: 15.5px;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal a { color: var(--blue); }
.legal a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .chip-2 { left: -6%; }
}

@media (max-width: 980px) {
  .hero { padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 70px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { max-width: 560px; }
  .hero-visual { margin-top: 10px; }
  .phone-hero { width: min(300px, 72vw); }
  .chip { font-size: 12.5px; padding: 9px 13px; }
  .chip-1 { left: 2%; top: 2%; }
  .chip-2 { left: 1%; bottom: 8%; }

  .security-grid { grid-template-columns: 1fr; gap: 60px; }
  .security-visual { order: -1; }
  .phone-night { width: min(250px, 64vw); }

  .showcase-grid { grid-template-columns: 1fr; gap: 0; }
  .showcase-phone-col { display: none; }
  .feature-block { min-height: 0; padding: 70px 0; text-align: center; align-items: center; }
  .feature-block > p, .feature-points { margin-left: auto; margin-right: auto; }
  .phone-inline {
    display: block;
    width: min(260px, 70vw);
    margin: 0 auto 38px;
  }
  .feature-points { text-align: left; }

  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-inner { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { gap: 12px; }
  .nav-logo { margin-right: auto; }

  .security-cards { grid-template-columns: 1fr; }
  .phone-night { transform: none; }

  .receipt { padding: 44px 26px 50px; }
  .receipt-tear { margin: 26px -26px; }
  .step-body h3 { flex-wrap: wrap; }
  .leader { min-width: 40px; }

  .contact-form { padding: 28px 22px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 430px) {
  .hero-ctas { flex-direction: column; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .receipt.reveal, .receipt.reveal.in { transform: rotate(-0.6deg); }
  .ticker-track { animation-duration: 200s; }
  .phone-sticky img { transition: none; }
}
