/* ===== CardPulse Launch Site — Styles ===== */

:root {
  --bg: #ECE3F5;          /* lavender */
  --bg-soft: #F5EFFB;
  --ink: #1A1530;          /* deep purple-ink */
  --ink-soft: #5A5478;
  --ink-faint: #8B85A8;
  --card: #ffffff;
  --card-line: rgba(26,21,48,0.08);
  --accent: #6C3FE8;       /* electric purple */
  --accent-2: #FF6A3D;     /* warm coral */
  --accent-3: #33D399;     /* mint */
  --phone-bg: #0E1023;
  --phone-card: #1B1E36;
  --phone-line: rgba(255,255,255,0.07);
  --phone-text: #FFFFFF;
  --phone-text-soft: rgba(255,255,255,0.6);
  --phone-text-faint: rgba(255,255,255,0.35);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

[data-theme="dark"] {
  --bg: #0B0D1F;
  --bg-soft: #14172E;
  --ink: #F5F2FF;
  --ink-soft: #A8A2C8;
  --ink-faint: #6B6688;
  --card: #14172E;
  --card-line: rgba(255,255,255,0.08);
  --accent: #9778FF;
  --accent-2: #FF8A3D;
  --accent-3: #4FE3B0;
}

[data-theme="dark"] .appstore-badge {
  background: #fff;
  color: #0B0D1F;
  box-shadow: 0 6px 24px -8px rgba(151, 120, 255, 0.5);
}
[data-theme="dark"] .appstore-badge:hover {
  box-shadow: 0 10px 28px -8px rgba(151, 120, 255, 0.7);
}

[data-theme="editorial"] {
  --bg: #F4F1EA;
  --bg-soft: #FBF8F2;
  --ink: #1F1B14;
  --ink-soft: #5A5446;
  --ink-faint: #8E8775;
  --card: #FFFFFF;
  --card-line: rgba(31,27,20,0.08);
  --accent: #2B2118;
  --accent-2: #C5471A;
  --accent-3: #7A8A4B;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.page {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, color-mix(in oklab, var(--accent) 18%, transparent) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, color-mix(in oklab, var(--accent-2) 10%, transparent) 0%, transparent 55%),
    var(--bg);
  position: relative;
  overflow-x: clip;
}

/* ====== NAV ====== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo-mark {
  border-radius: 7px;
  display: block;
  object-fit: cover;
}
.logo-text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--ink); }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding-bottom: 60px;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 28px 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
  70% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}

.hero-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
  color: var(--ink);
  text-wrap: balance;
  padding-bottom: 0.08em;
}
.hero-headline em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 32px;
  text-wrap: pretty;
}

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

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px 12px 14px;
  border-radius: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 24px -8px color-mix(in oklab, var(--ink) 60%, transparent);
}
.appstore-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -8px color-mix(in oklab, var(--ink) 70%, transparent); }
.appstore-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}
.appstore-pre { font-size: 9px; opacity: 0.85; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 3px; }
.appstore-store { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.appstore-sm { padding: 8px 14px 8px 12px; }
.appstore-sm .appstore-pre { font-size: 8px; }
.appstore-sm .appstore-store { font-size: 14px; }

.ghost-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 12px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.ghost-cta:hover { color: var(--ink); border-bottom-color: var(--ink); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.015em;
}
.trust-item span {
  font-size: 12px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.trust-divider {
  width: 1px;
  height: 30px;
  background: var(--card-line);
}

/* ====== PHONE WRAP ====== */
.hero-phone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
}

.phone-wrap {
  position: relative;
  transform-origin: center center;
}

.phone {
  width: 320px;
  height: 660px;
  background: #0a0a14;
  border-radius: 52px;
  position: relative;
  padding: 8px;
  box-shadow:
    0 0 0 2px #2a2a3a inset,
    0 0 0 4px #0a0a14,
    0 40px 80px -20px rgba(45, 30, 80, 0.4),
    0 20px 40px -10px rgba(45, 30, 80, 0.3);
}

.phone-side {
  position: absolute;
  background: #1a1a26;
  border-radius: 2px;
}
.phone-side-mute  { left: -3px; top: 100px; width: 3px; height: 30px; }
.phone-side-vol1  { left: -3px; top: 150px; width: 3px; height: 50px; }
.phone-side-vol2  { left: -3px; top: 210px; width: 3px; height: 50px; }
.phone-side-power { right: -3px; top: 170px; width: 3px; height: 80px; }

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--phone-bg);
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Status bar */
.status-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
  flex-shrink: 0;
}
.status-time {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}
.island {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 18px;
}
.status-right {
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}
.battery {
  width: 22px; height: 11px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 3px;
  position: relative;
  padding: 1px;
}
.battery::after {
  content: "";
  position: absolute;
  right: -3px; top: 3px;
  width: 1.5px; height: 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 0 1px 1px 0;
}
.battery-fill {
  width: 75%;
  height: 100%;
  background: #fff;
  border-radius: 1.5px;
}

/* App body */
.app-body {
  flex: 1;
  padding: 4px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 6px;
}
.app-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--phone-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.folder-emoji {
  font-size: 18px;
  filter: hue-rotate(10deg) saturate(1.1);
}
.add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Hero card */
.hero-card {
  background: var(--phone-card);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  border: 1px solid var(--phone-line);
}
.hero-card-left {
  flex: 1;
  min-width: 0;
}
.hero-label {
  color: var(--phone-text-faint);
  font-size: 9px;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-amount {
  color: var(--phone-text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
}
.hero-meta {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
}
.meta-col { display: flex; flex-direction: column; gap: 2px; }
.meta-label { font-size: 8px; color: var(--phone-text-faint); letter-spacing: 0.06em; font-weight: 600; }
.meta-value { font-size: 14px; color: var(--phone-text); font-weight: 700; }
.meta-faint { color: var(--phone-text-faint); font-weight: 400; font-size: 12px; }
.meta-accent { color: #FF8A3D; }
.hero-foot {
  font-size: 9px;
  color: var(--phone-text-faint);
}

.hero-card-right {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.ring-amount {
  color: var(--phone-text);
  font-size: 13px;
  font-weight: 700;
}

/* Recent transactions */
.recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.recent-title {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--phone-text-faint);
  font-weight: 600;
}
.recent-link {
  font-size: 10px;
  color: var(--phone-text-soft);
  font-weight: 600;
}

.tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.tx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--phone-card);
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid var(--phone-line);
  animation: txSlide 0.6s ease-out backwards;
}
.tx-row:nth-child(1) { animation-delay: 0.2s; }
.tx-row:nth-child(2) { animation-delay: 0.35s; }
.tx-row:nth-child(3) { animation-delay: 0.5s; }
.tx-row:nth-child(4) { animation-delay: 0.65s; }
@keyframes txSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


.tx-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tx-body {
  flex: 1;
  min-width: 0;
}
.tx-name {
  color: var(--phone-text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-card {
  color: var(--phone-text-faint);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-amount {
  color: var(--phone-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.tx-amount-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.tx-amount-sub {
  color: var(--phone-text-faint);
  font-size: 9px;
  font-weight: 500;
}
.app-title-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

@keyframes toastDot { from { opacity: 0.5; } to { opacity: 1; } }

/* Tab bar */
.tab-bar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  background: rgba(27, 30, 54, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--phone-line);
  box-shadow: 0 -4px 20px -4px rgba(0,0,0,0.35);
  flex-shrink: 0;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--phone-text-faint);
  font-size: 9px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 0.15s, background 0.15s;
}
.tab:hover { color: var(--phone-text-soft); }
.tab-active {
  color: #7AA8FF;
  background: rgba(122, 168, 255, 0.12);
}
/* Screen content swap */
.screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  animation: screenFade 0.3s ease;
}
@keyframes screenFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Analysis Screen ===== */
.period-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  padding: 3px;
}
.period-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--phone-text-soft);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.period-tab-active {
  background: #6C3FE8;
  color: #fff;
}

.period-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 2px 0;
}
.period-arrow {
  color: var(--phone-text-soft);
  font-size: 18px;
  cursor: pointer;
  user-select: none;
}
.period-label {
  color: var(--phone-text);
  font-size: 13px;
  font-weight: 600;
}

.total-card {
  background: var(--phone-card);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--phone-line);
}
.total-label {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--phone-text-faint);
  font-weight: 600;
  margin-bottom: 4px;
}
.total-amount {
  color: var(--phone-text);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.total-delta {
  color: #33D399;
  font-size: 10px;
  font-weight: 600;
}

.donut-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--phone-card);
  border-radius: 14px;
  padding: 10px;
  border: 1px solid var(--phone-line);
}
.donut-wrap { flex-shrink: 0; }
.cat-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.cat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cat-name {
  color: var(--phone-text);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-amount {
  color: var(--phone-text-soft);
  font-weight: 600;
}

.byweek-label {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--phone-text-faint);
  font-weight: 600;
  margin-top: 2px;
}
.byweek-bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 6px 4px 0;
  height: 60px;
  overflow: hidden;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}
.bar {
  width: 100%;
  border-radius: 2px;
  flex-shrink: 0;
  animation: barGrow 0.8s ease-out backwards;
}
.bar-1 { background: #FF8A3D; }
.bar-2 { background: #7C5CFF; }
.bar-3 { background: #3DB8FF; }
.bar-col:nth-child(1) .bar { animation-delay: 0.1s; }
.bar-col:nth-child(2) .bar { animation-delay: 0.2s; }
.bar-col:nth-child(3) .bar { animation-delay: 0.3s; }
.bar-col:nth-child(4) .bar { animation-delay: 0.4s; }
@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

/* ===== Cards Screen ===== */
.card-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.card-filters::-webkit-scrollbar { display: none; }
.card-filter {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--phone-line);
  border-radius: 100px;
  padding: 6px 10px;
  color: var(--phone-text-soft);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.card-filter-active {
  background: #6C3FE8;
  color: #fff;
  border-color: transparent;
}
.card-filter-count {
  font-size: 10px;
  opacity: 0.7;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}
.card-item {
  background: var(--phone-card);
  border: 1px solid var(--phone-line);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--phone-text);
  font-size: 12px;
}
.card-item-collapsed {
  font-weight: 500;
  color: var(--phone-text-soft);
}
.card-item-expanded {
  padding: 12px 14px;
  position: relative;
}
.card-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.card-item-name {
  color: var(--phone-text);
  font-size: 13px;
  font-weight: 700;
}
.card-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
}
.card-tag-cash {
  background: rgba(51, 211, 153, 0.18);
  color: #33D399;
}
.card-item-period {
  font-size: 9px;
  color: var(--phone-text-faint);
  margin-bottom: 6px;
}
.card-item-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.card-amount-big {
  color: var(--phone-text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card-amount-target {
  color: var(--phone-text-faint);
  font-size: 12px;
  font-weight: 600;
}
.card-status {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.card-status-hit { color: #33D399; }
.card-status-behind { color: #FF8A3D; }
.card-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.card-progress-fill {
  height: 100%;
  border-radius: 2px;
  animation: cardProgressGrow 1s ease-out;
}
.card-progress-hit { background: #33D399; }
.card-progress-behind { background: #FF8A3D; }
@keyframes cardProgressGrow {
  from { width: 0 !important; }
}
.card-days-left {
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-size: 9px;
  color: #FF8A3D;
  font-weight: 600;
}

.settings-empty {
  flex: 1;
  display: grid;
  place-items: center;
  color: var(--phone-text-faint);
  font-size: 12px;
}

.settings-body { gap: 10px; }
.settings-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.settings-list::-webkit-scrollbar { display: none; }

.settings-section { display: flex; flex-direction: column; gap: 6px; }
.settings-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--phone-text-faint);
  font-weight: 600;
}
.settings-card {
  background: var(--phone-card);
  border-radius: 12px;
  border: 1px solid var(--phone-line);
  overflow: hidden;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 13px;
}
.settings-row-name {
  color: var(--phone-text);
  font-weight: 600;
}
.settings-row-value {
  color: var(--phone-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.settings-row-accent { color: #4F8FFF; font-weight: 600; }
.settings-chev { font-size: 11px; }
.settings-arrow {
  color: var(--phone-text-faint);
  font-size: 14px;
  margin-left: 2px;
}
.settings-divider {
  height: 1px;
  background: var(--phone-line);
  margin-left: 14px;
}

.home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  opacity: 0.6;
}

/* Floating chips around phone */
.float-chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px -8px rgba(45, 30, 80, 0.2);
  white-space: nowrap;
  animation: chipFloat 6s ease-in-out infinite;
}
.float-chip-1 { top: 12%; left: -8%; animation-delay: 0s; }
.float-chip-2 { top: 38%; right: -8%; animation-delay: 1.5s; }
.float-chip-3 { bottom: 18%; left: -10%; animation-delay: 3s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.chip-dot-green { background: var(--accent-3); box-shadow: 0 0 6px var(--accent-3); }
.chip-dot-orange { background: var(--accent-2); box-shadow: 0 0 6px var(--accent-2); }
.chip-dot-purple { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

/* ====== SECTIONS ====== */
.features-head, .privacy, .final {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.features {
  padding-top: 100px;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 50px;
  color: var(--ink);
  max-width: 800px;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s, box-shadow 0.25s;
  min-height: 340px;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(45,30,80,0.15);
}
.feature-card-0 { grid-column: span 3; }
.feature-card-0 .feature-visual { padding: 14px; background: transparent; height: 220px; }
.feature-card-1 { grid-column: span 3; }
.feature-card-1 .feature-visual { height: 300px; overflow: hidden; }
.feature-card-2 { grid-column: span 2; }
.feature-card-2 .feature-visual { padding: 0; background: transparent; height: auto; min-height: 220px; overflow: visible; }
.feature-card-3 { grid-column: span 2; }
.feature-card-4 { grid-column: span 2; }
.feature-card-4 .feature-visual { height: 280px; overflow: hidden; padding: 0; background: transparent; }

.feature-visual {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  height: 160px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

/* Min-spend card visual */
.fv-minspend {
  background: #14172E;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  color: #fff;
}
.fv-minspend-left { flex: 1; min-width: 0; }
.fv-ms-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.fv-ms-amount {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
  animation: amountCountUp 1s ease-out;
}
@keyframes amountCountUp {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.fv-ms-meta { display: flex; gap: 22px; margin-bottom: 8px; }
.fv-ms-col { display: flex; flex-direction: column; gap: 2px; }
.fv-ms-meta-label {
  font-size: 8px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}
.fv-ms-meta-val { font-size: 17px; font-weight: 700; }
.fv-ms-strong { color: #fff; }
.fv-ms-faint { color: rgba(255,255,255,0.4); font-weight: 500; font-size: 12px; }
.fv-ms-orange {
  color: #FF8A3D;
  animation: deadlinePulse 1.6s ease-in-out infinite;
}
@keyframes deadlinePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.fv-ms-foot {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
}

.fv-minspend-right {
  position: relative;
  width: 118px;
  height: 118px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.fv-ms-ring-center {
  position: absolute;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.fv-svg { max-height: 100%; }
.feature-body { margin-top: auto; }

.feature-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.feature-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
  text-wrap: balance;
}
.feature-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Feature visual — Tap to pay (scene) */
.fv-tap {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Terminal reader ── */
.fv-term {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 178px;
  background: linear-gradient(165deg, #22253e, #14172c);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 21px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow:
    0 7px 34px -7px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
  z-index: 1;
  transition: box-shadow 0.5s ease;
}
.fv-term.fv-term-ok {
  box-shadow:
    0 7px 34px -7px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 28px 5px rgba(34,197,94,0.18);
}

.fv-term-screen {
  width: 100%;
  height: 99px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0c0f1f, #060916);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Idle: NFC icon + amount */
.fv-term-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fv-term-ok .fv-term-idle {
  opacity: 0;
  transform: scale(0.88) translateY(-4px);
}
.fv-term-amount {
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.fv-term-hint {
  font-size: 9px;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Success: green check */
.fv-term-check {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 0.4s cubic-bezier(0.34,1.56,0.64,1), transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.fv-term-ok .fv-term-check {
  opacity: 1;
  transform: scale(1);
}
.fv-term-approved {
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Card slot */
.fv-term-slot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.fv-term-slot-label {
  font-size: 6px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.fv-term-slot-line {
  flex: 1;
  height: 3.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.1), rgba(255,255,255,0.03));
}

/* Keypad */
.fv-term-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.fv-term-key {
  height: 15px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.05);
}
.fv-term-key-9  { background: rgba(220,50,50,0.2);  border-color: rgba(220,50,50,0.12); }
.fv-term-key-11 { background: rgba(34,197,94,0.2);  border-color: rgba(34,197,94,0.12); transition: background 0.4s; }
.fv-term-ok .fv-term-key-11 { background: rgba(34,197,94,0.42); }

/* ── Mini phone (255 × 510) ── */
.fv-miniphone {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(520px);
  transition: transform 1s cubic-bezier(0.33,1,0.68,1);
  width: 255px;
  height: 510px;
  background: #0a0a14;
  border-radius: 44px;
  padding: 7px;
  box-shadow:
    0 0 0 2px #2a2a3a inset,
    0 0 0 4px #0a0a14,
    0 34px 68px -14px rgba(0,0,0,0.7);
  z-index: 2;
}
.fv-miniphone-up {
  transform: translateX(-50%) translateY(65px);
}

.fv-miniphone-screen {
  width: 100%;
  height: 100%;
  background: var(--phone-bg);
  border-radius: 37px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Side buttons — match hero phone proportions */
.fv-miniphone-btn {
  position: absolute;
  background: #1a1a26;
  border-radius: 2px;
  z-index: 3;
}
.fv-miniphone-vol1  { left: -3px; top: 85px;  width: 3px; height: 25px; }
.fv-miniphone-vol2  { left: -3px; top: 127px; width: 3px; height: 43px; }
.fv-miniphone-power { right: -3px; top: 144px; width: 3px; height: 68px; }

/* Status bar */
.fv-miniphone-bar {
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
  position: relative;
}
.fv-miniphone-time {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}
.fv-miniphone-island {
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  width: 65px;
  height: 14px;
  background: #000;
  border-radius: 20px;
}
.fv-miniphone-batt {
  width: 20px;
  height: 10px;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 3px;
  position: relative;
  z-index: 2;
}
.fv-miniphone-batt::before {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 0 1px 1px 0;
}
.fv-miniphone-batt::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px; bottom: 2px;
  width: 65%;
  background: #fff;
  border-radius: 1px;
}

/* Toast — same design as hero phone toast */
.fv-miniphone-toast {
  position: absolute;
  top: 47px;
  left: 15px;
  right: 15px;
  background: rgba(20,22,48,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(-12px) scale(0.96);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,0.4);
}
.fv-miniphone-toast-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fv-miniphone-toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33D399;
  box-shadow: 0 0 8px #33D399;
  flex-shrink: 0;
  animation: toastDot 0.6s ease infinite alternate;
}
.fv-miniphone-toast-title {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.fv-miniphone-toast-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
}

/* Apple Pay card screen (shown while phone is near terminal) */
.fv-ap-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 18px 0;
}
.fv-ap-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.fv-ap-header-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.fv-ap-card {
  width: 100%;
  background: linear-gradient(135deg, #7B40F2 0%, #4A1FA8 100%);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 8px 20px -6px rgba(123,64,242,0.55);
}
.fv-ap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.fv-ap-card-name {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}
.fv-ap-card-num {
  font-size: 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.12em;
}
.fv-ap-hold {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.5);
  font-size: 9px;
  font-weight: 500;
  margin-top: 4px;
}

/* ── No-bank-login scene ── */
.fv-lock {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.fv-lock-phone {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 420px;
  background: #0a0a14;
  border-radius: 38px;
  padding: 6px;
  box-shadow:
    0 0 0 2px #2a2a3a inset,
    0 0 0 3px #0a0a14,
    0 20px 50px -12px rgba(0,0,0,0.5);
  z-index: 1;
}
.fv-lock-btn {
  position: absolute;
  background: #1a1a26;
  border-radius: 2px;
}
.fv-lock-vol1  { left: -3px; top: 70px;  width: 3px; height: 22px; }
.fv-lock-vol2  { left: -3px; top: 104px; width: 3px; height: 36px; }
.fv-lock-power { right: -3px; top: 120px; width: 3px; height: 56px; }
.fv-lock-screen {
  width: 100%;
  height: 100%;
  background: #f5f5f7;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fv-lock-island {
  width: 56px;
  height: 12px;
  background: #000;
  border-radius: 10px;
  margin: 10px auto 0;
  flex-shrink: 0;
}
.fv-lock-url-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #e2e2e7;
  border-radius: 8px;
  margin: 8px 10px 0;
  padding: 6px 10px;
  flex-shrink: 0;
}
.fv-lock-url-text {
  font-size: 9px;
  font-weight: 500;
  color: #3a3a3c;
}
.fv-lock-form {
  flex: 1;
  margin: 6px 10px 0;
  background: #fff;
  border-radius: 10px 10px 0 0;
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fv-lock-bank-header {
  font-size: 13px;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  letter-spacing: 0.08em;
}
.fv-lock-field-label {
  font-size: 9px;
  font-weight: 600;
  color: #6e6e73;
  letter-spacing: 0.02em;
  margin-bottom: -3px;
}
.fv-lock-field {
  height: 28px;
  border: 1px solid #d1d1d6;
  border-radius: 6px;
  background: #fafafa;
}
.fv-lock-field-pw {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 4px;
  color: #1a1a2e;
}
.fv-lock-submit {
  background: #1d4ed8;
  color: #fff;
  border-radius: 6px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  margin-top: 2px;
}
.fv-lock-ban {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  z-index: 2;
  pointer-events: none;
}

.fv-fx {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 200px;
}
.fv-fx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.fv-fx-tag {
  font-size: 10px;
  font-weight: 700;
  background: var(--bg);
  color: var(--ink-soft);
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.fv-fx-row-out { background: var(--accent); color: #fff; border-color: transparent; }
.fv-fx-tag-out { background: rgba(255,255,255,0.2); color: #fff; }
.fv-fx-arrow { text-align: center; color: var(--ink-faint); font-size: 14px; line-height: 1; }

.fv-csv {
  width: 100%;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
}
.fv-csv-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 8px;
  padding: 5px 8px;
  color: var(--ink);
}
.fv-csv-row + .fv-csv-row { border-top: 1px dashed var(--card-line); }
.fv-csv-head { color: var(--ink-faint); font-weight: 700; letter-spacing: 0.05em; }

/* Analysis feature visual */
.fv-analysis {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
}
.fv-an-total {
  background: #14172E;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
}
.fv-an-total-label {
  font-size: 9px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.fv-an-total-amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.fv-an-total-delta {
  color: #33D399;
  font-size: 11px;
  font-weight: 600;
}
.fv-an-donut-card {
  background: #14172E;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  overflow: hidden;
}
.fv-an-donut-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  animation: donutIn 0.8s ease-out;
}
.fv-an-donut-hole {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #14172E;
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.78);
  font-size: 8px;
  letter-spacing: 0.18em;
  font-weight: 700;
}
@keyframes donutIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.fv-an-legend {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 14px;
  font-size: 11px;
}
.fv-an-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fv-an-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fv-an-name {
  color: #fff;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fv-an-amt {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
@media (max-width: 640px) {
  .fv-an-legend { grid-template-columns: 1fr; }
}

/* ====== PRIVACY ====== */
.privacy {
  padding-top: 120px;
  padding-bottom: 60px;
}
.privacy-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.privacy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 90% 20%, color-mix(in oklab, var(--accent) 25%, transparent), transparent 70%);
  pointer-events: none;
}
.privacy-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: color-mix(in oklab, var(--accent) 60%, white);
  margin-bottom: 24px;
  position: relative;
}
.privacy-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  text-wrap: balance;
  position: relative;
}
.privacy-title em {
  font-style: normal;
  font-weight: 700;
  color: #B89BFF;
}
.privacy-text {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 0 56px;
  text-wrap: pretty;
  position: relative;
}
.privacy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.pillar-num {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  color: color-mix(in oklab, var(--accent) 60%, white);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.pillar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.pillar-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ====== FINAL CTA ====== */
.final {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}
.final-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.final-sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.br-mobile { display: none; }

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid var(--card-line);
  padding: 36px 28px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-meta {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-meta a:hover { color: var(--ink); }
.footer-copy { font-size: 13px; color: var(--ink-faint); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 24px;
  }
  .hero-phone { min-height: auto; padding: 20px 0 40px; order: 2; }
  .hero-copy { order: 1; }
  .float-chip-1 { left: 0; top: 4%; }
  .float-chip-2 { right: 0; top: 30%; }
  .float-chip-3 { left: 0; bottom: 8%; }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card { grid-column: span 1 !important; min-height: 300px; }

  .privacy-card { padding: 40px 28px; }
  .privacy-pillars { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .nav { padding: 16px 18px; }
  .nav-link { display: none; }
  .hero-grid { padding: 16px 18px 0; gap: 24px; }
  .hero-headline { font-size: clamp(40px, 12vw, 60px); margin-top: 14px; }
  .hero-sub { font-size: 16px; }

  .features { padding: 80px 18px 0; }
  .features-head, .privacy, .final { padding-left: 18px; padding-right: 18px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 22px; min-height: 280px; }
  .privacy-card { padding: 32px 24px; border-radius: 28px; }
  .privacy-pillars { gap: 22px; }

  .br-mobile { display: inline; }

  .phone {
    width: 280px;
    height: 580px;
  }
  .hero-amount { font-size: 24px; }
  .float-chip { font-size: 11px; padding: 6px 12px; }

  .hero-trust { gap: 14px; }
  .trust-divider { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 380px) {
  .phone { width: 260px; height: 540px; }
}
