/* ============================================================
   TargetSaver — dark/tech/premium site styles
   ============================================================ */

:root {
  --bg: #0b0a18;
  --bg-elev: #13112a;
  --bg-section-alt: #14122c;
  --bg-card: #181632;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --fg: #f4f4f5;
  --fg-muted: #a5a3c7;
  --fg-dim: #7a78a3;
  --primary: oklch(0.62 0.21 290);
  --primary-2: oklch(0.55 0.22 285);
  --primary-soft: oklch(0.62 0.21 290 / 0.15);
  --accent: oklch(0.78 0.16 165);
  --accent-soft: oklch(0.78 0.16 165 / 0.14);
  --accent-fg: #0a0a0b;
  --warn: oklch(0.82 0.17 80);
  --danger: oklch(0.72 0.19 20);
  --gradient-card: linear-gradient(135deg, oklch(0.55 0.22 285) 0%, oklch(0.48 0.20 295) 100%);
  --gradient-hero: radial-gradient(ellipse at 70% 50%, oklch(0.45 0.20 290 / 0.4) 0%, transparent 60%);
  --glow-primary: 0 0 0 1px oklch(0.62 0.21 290 / 0.5), 0 8px 30px oklch(0.62 0.21 290 / 0.35);
  --glow-accent: 0 0 0 1px oklch(0.78 0.16 165 / 0.4), 0 8px 30px oklch(0.78 0.16 165 / 0.25);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

[data-theme="light"] {
  --bg: #f7f6fb;
  --bg-elev: #ffffff;
  --bg-section-alt: #efedf6;
  --bg-card: #ffffff;
  --border: rgba(14, 10, 40, 0.08);
  --border-strong: rgba(14, 10, 40, 0.16);
  --fg: #0e0a28;
  --fg-muted: #4a4770;
  --fg-dim: #7a78a3;
  --primary: oklch(0.55 0.22 285);
  --primary-2: oklch(0.48 0.22 290);
  --primary-soft: oklch(0.55 0.22 285 / 0.12);
  --accent: oklch(0.62 0.16 165);
  --accent-soft: oklch(0.62 0.16 165 / 0.12);
  --accent-fg: #ffffff;
  --warn: oklch(0.68 0.18 75);
  --danger: oklch(0.62 0.20 20);
  --glow-primary: 0 0 0 1px oklch(0.55 0.22 285 / 0.4), 0 6px 24px oklch(0.55 0.22 285 / 0.25);
  --glow-accent: 0 0 0 1px oklch(0.62 0.16 165 / 0.35), 0 6px 24px oklch(0.62 0.16 165 / 0.2);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.4s ease, color 0.4s ease;
}
body { overflow-x: hidden; }

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

.site { min-height: 100vh; }

/* ============================================================
   Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 12px 0;
  box-shadow: 0 1px 0 0 var(--border), 0 12px 40px -12px rgba(0, 0, 0, 0.45);
  will-change: backdrop-filter;
}
[data-theme="light"] .nav.scrolled {
  box-shadow: 0 1px 0 0 var(--border), 0 12px 40px -16px rgba(20, 14, 60, 0.18);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
}
.logo-mark {
  display: inline-flex;
  color: var(--accent);
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, oklch(0.45 0.22 290 / 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, oklch(0.5 0.22 285 / 0.3) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.logo-wd { color: var(--fg); }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--fg-muted);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.toggle-pair {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.toggle-pair span {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--fg-dim);
  transition: color 0.2s, background 0.2s;
}
.toggle-pair span.on { background: var(--fg); color: var(--bg); }
.theme-btn {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.theme-btn:hover { color: var(--fg); border-color: var(--border-strong); }
.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px oklch(0.78 0.16 165 / 0.35); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 28px 60px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.glow {
  position: absolute;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.4;
  z-index: 1;
}
.glow-a {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
  right: -200px;
  top: -100px;
  opacity: 0.45;
}
[data-theme="light"] .glow-a { opacity: 0.25; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: clamp(42px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}
.hero-title .l1, .hero-title .l2 { display: block; }
.hero-title .l2 {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--accent) 0%, oklch(0.75 0.2 290) 50%, var(--fg) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  margin-top: 26px;
  max-width: 500px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  text-wrap: pretty;
}
.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 0 0 1px oklch(0.78 0.16 165 / 0.3), 0 10px 30px oklch(0.78 0.16 165 / 0.25);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 100% at 50% 50%,
    rgba(255, 255, 255, 0.28) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px oklch(0.78 0.16 165 / 0.55), 0 16px 44px oklch(0.78 0.16 165 / 0.42);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.985); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0) scale(0.985); }
.btn-ghost .cta-arrow {
  margin-left: 2px;
  color: var(--accent);
  transition: transform 0.35s var(--ease-out-expo);
}
.btn-ghost:hover .cta-arrow { transform: translateX(4px); }

.hero-metric {
  margin-top: 44px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  max-width: 320px;
}
.metric-num {
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.metric-sub {
  font-size: 13px;
  color: var(--fg-dim);
}

/* Hero phone */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.1s linear;
}
.phone-wrap {
  position: relative;
  z-index: 3;
  transform: scale(0.78) rotate(-2deg);
  transform-origin: center;
}
.phone-halo {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.25;
  z-index: 1;
}

/* Floating chips */
.float-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.chip-a {
  top: 22%;
  left: -8%;
  animation-delay: 0s;
}
.chip-b {
  bottom: 18%;
  right: -6%;
  animation-delay: 2s;
}
@media (max-width: 1280px) {
  .chip-a { left: 0%; }
  .chip-b { right: 0%; }
}
@media (max-width: 1100px) {
  .chip-a { left: 4%; }
  .chip-b { right: 4%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.chip-t {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
}
.chip-s {
  font-size: 11px;
  color: var(--fg-dim);
  font-family: var(--mono);
}
.chip-spark { width: 40px; }

/* Ticker */
.hero-ticker {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
.ticker-row {
  display: flex;
  gap: 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}
.ticker-row span { flex-shrink: 0; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* ============================================================
   Sections — common
   ============================================================ */
.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 0 28px;
  position: relative;
}
.section-head::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent 0%, var(--border-strong) 50%, transparent 100%);
}
.section-head::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  opacity: 0.7;
}
.hero .section-head::before,
.hero .section-head::after { content: none; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  opacity: 0.85;
}
.eyebrow--primary { color: var(--primary); }
.eyebrow--accent { color: var(--accent); }
.eyebrow--warn { color: var(--warn); }
.eyebrow--muted { color: var(--fg-dim); }
.eyebrow--muted::before { box-shadow: none; opacity: 0.5; }

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  text-wrap: pretty;
  margin: 0;
}

/* ============================================================
   Section rhythm — alternating backgrounds & ornament dividers
   ============================================================ */
.section--alt {
  background: var(--bg-section-alt);
  position: relative;
}
.section--alt::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(80%, 800px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    transparent 0%,
    var(--border-strong) 50%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.section--ornament {
  position: relative;
}
.section--ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* Subtle scale press feedback for tappable cards */
.is-pressable { transition: transform 0.18s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s; }
.is-pressable:active { transform: scale(0.985); }
@media (hover: hover) {
  .is-pressable:hover { border-color: var(--border-strong); }
}

/* ============================================================
   Hero phone — real screenshot
   ============================================================ */
.hero-phone-bezel {
  position: relative;
  width: 300px;
  aspect-ratio: 1206 / 2622;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(145deg, #1a1a24, #0a0a12);
  box-shadow:
    0 40px 100px rgba(90, 75, 168, 0.35),
    0 0 0 1.5px rgba(255, 255, 255, 0.08) inset,
    0 0 0 2px rgba(0, 0, 0, 0.9);
}
.hero-phone-img {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  display: block;
  object-fit: cover;
}

/* ============================================================
   Features stack
   ============================================================ */
.screens {
  padding: 140px 0 120px;
  border-top: 1px solid var(--border);
}
.features-stack {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 140px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row.reverse { grid-template-columns: 1fr 1.05fr; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-copy { max-width: 520px; }
.feature-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: oklch(0.82 0.14 290);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
[data-theme="light"] .feature-tag { color: var(--primary-2); }
.feature-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 18px;
  text-wrap: balance;
}
.feature-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin: 0 0 26px;
  text-wrap: pretty;
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fg);
}
.bullet-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}
.feature-phone {
  position: relative;
  width: 300px;
  aspect-ratio: 1206 / 2622;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(145deg, #1a1a24, #0a0a12);
  box-shadow:
    0 40px 100px rgba(90, 75, 168, 0.3),
    0 0 0 1.5px rgba(255, 255, 255, 0.08) inset,
    0 0 0 2px rgba(0, 0, 0, 0.9);
  z-index: 2;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.feature-row:hover .feature-phone { transform: translateY(-8px); }
.feature-img {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  display: block;
  object-fit: cover;
}
.feature-halo {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.35;
  z-index: 1;
}
[data-theme="light"] .feature-halo { opacity: 0.18; }

/* ============================================================
   About
   ============================================================ */
.about {
  padding: 120px 28px;
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.about-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}
.value {
  padding: 36px 28px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  transition: background 0.3s;
}
.value:hover { background: var(--bg-card); }
.value-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.value-t {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.value-d {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  text-wrap: pretty;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.teammate {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tm-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 40px;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.tm-name {
  font-size: 16px;
  font-weight: 500;
}
.tm-role {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--mono);
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  padding: 120px 28px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  filter: blur(120px);
  opacity: 0.12;
  left: -100px;
  bottom: -200px;
  pointer-events: none;
}
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
}
.contact-left { align-self: start; }
.contact-left .section-title,
.contact-left .eyebrow,
.contact-left .section-sub { text-align: left; }
.contact-email {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.ce-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ce-value {
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.ce-value:hover { color: var(--accent); border-color: var(--accent); }
.contact-social {
  margin-top: 32px;
  display: flex;
  gap: 20px;
}
.soc {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--mono);
  transition: color 0.2s;
}
.soc:hover { color: var(--fg); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  padding: 8px 0;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.form-send {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--accent);
  color: var(--accent-fg);
}
.form-send .arrow { font-size: 16px; transition: transform 0.2s; }
.form-send:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 40px 28px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.footer-brand .logo-mark { color: var(--accent); }
.footer-copy {
  font-size: 12px;
  color: var(--fg-dim);
  font-family: var(--mono);
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-links a:hover { color: var(--fg); }

/* ============================================================
   Phone screen contents — TargetSaver app look
   ============================================================ */
.phone-screen {
  width: 100%;
  height: 100%;
  background: #f2f2f7;
  color: #0e0a28;
  font-family: var(--sans);
  padding: 60px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone-screen--violet {
  background: linear-gradient(180deg, #6a5ab8 0%, #5a4ba8 50%, #4a3d95 100%);
  color: #fff;
  padding: 50px 18px 30px;
}

.ps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ps-date {
  font-size: 13px;
  color: rgba(14,10,40,0.5);
}
.ps-hello {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0e0a28;
}
.ps-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #7c6fd6;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}

/* Score card violet */
.ps-score-card {
  background: linear-gradient(135deg, #7c6fd6 0%, #5a4ba8 100%);
  border-radius: 18px;
  padding: 16px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(90,75,168,0.3);
}
.ps-score-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 12px;
}
.ps-ring { width: 54px; height: 54px; flex-shrink: 0; }
.ps-score-label { font-size: 18px; font-weight: 700; }
.ps-score-sub { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.ps-score-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.pss-l { font-size: 10px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.04em; }
.pss-v { font-size: 14px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Budget card white */
.ps-budget-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
}
.ps-budget-top { display: flex; justify-content: space-between; align-items: center; }
.ps-budget-title { font-size: 15px; font-weight: 700; }
.ps-budget-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0f5e9;
  color: #1f8a5a;
  font-weight: 600;
}
.ps-budget-amt {
  display: flex; align-items: baseline; gap: 4px; margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.ps-budget-num { font-size: 44px; font-weight: 800; color: #1f9e5a; letter-spacing: -0.03em; }
.ps-budget-unit { font-size: 16px; color: #1f9e5a; font-weight: 600; }
.ps-budget-sub { font-size: 11px; color: rgba(14,10,40,0.5); margin-top: 4px; margin-bottom: 8px; }
.ps-budget-bar { height: 6px; background: #eeebf7; border-radius: 999px; overflow: hidden; }
.ps-budget-fill { height: 100%; background: linear-gradient(90deg, #6a5ab8, #47d0a0); border-radius: 999px; }
.ps-budget-foot {
  display: flex; justify-content: space-between; margin-top: 6px;
  font-size: 10px; color: rgba(14,10,40,0.5);
}

/* Répartition */
.ps-repart-card {
  background: linear-gradient(135deg, #7c6fd6 0%, #5a4ba8 100%);
  border-radius: 16px;
  padding: 14px;
  color: #fff;
}
.ps-repart-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.ps-repart-bar {
  display: flex; height: 6px; border-radius: 999px; overflow: hidden; margin-bottom: 10px;
  background: rgba(255,255,255,0.15);
}
.ps-repart-list { display: flex; flex-direction: column; gap: 5px; }
.ps-repart-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.ps-repart-name { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); }
.ps-repart-name .dot { width: 8px; height: 8px; border-radius: 2px; }
.ps-repart-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.ps-repart-v span { font-size: 11px; opacity: 0.8; margin-left: 4px; font-weight: 500; }

/* Sheet (violet screens) */
.ps-sheet-handle {
  width: 38px; height: 4px; background: rgba(255,255,255,0.35); border-radius: 999px;
  margin: 0 auto 12px;
}
.ps-sheet-head {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.ps-sheet-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ps-sheet-sub { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.ps-chip-dark { font-size: 10px; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,0.3); color: #fff; }
.ps-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,0.35); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

.ps-section-label { font-size: 11px; font-family: var(--mono); color: rgba(14,10,40,0.5); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.ps-section-label.white { color: rgba(255,255,255,0.85); font-family: var(--sans); font-size: 13px; font-weight: 600; margin-top: 6px; }

.ps-toggle {
  display: inline-flex; background: rgba(0,0,0,0.15); border-radius: 999px; padding: 3px; font-size: 11px;
}
.ps-toggle span { padding: 5px 12px; border-radius: 999px; color: rgba(255,255,255,0.7); }
.ps-toggle span.on { background: rgba(255,255,255,0.25); color: #fff; font-weight: 600; }

.ps-big-amt { font-size: 30px; font-weight: 800; text-align: center; margin: 8px 0; letter-spacing: -0.02em; }
.ps-slider { position: relative; height: 4px; background: rgba(255,255,255,0.25); border-radius: 999px; margin: 4px 0; }
.ps-slider-thumb { position: absolute; left: 5%; top: 50%; transform: translate(-50%,-50%); width: 14px; height: 14px; background: #fff; border-radius: 50%; }
.ps-slider-lbl { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,0.6); }

.ps-traj { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ps-traj-card { background: rgba(0,0,0,0.2); border-radius: 12px; padding: 10px; text-align: center; border: 1px solid transparent; }
.ps-traj-card.active { border-color: #47d0a0; background: rgba(71,208,160,0.12); }
.ptc-l { font-size: 11px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.ptc-v { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.ptc-v.dim { color: rgba(255,255,255,0.5); }
.ptc-v.mint { color: #47d0a0; }
.ptc-s { font-size: 11px; color: rgba(255,255,255,0.4); text-decoration: line-through; margin-top: 2px; }
.ps-liberation { background: rgba(245,180,71,0.15); border: 1px solid rgba(245,180,71,0.3); color: #f5b447; padding: 8px; border-radius: 10px; font-size: 12px; text-align: center; font-weight: 600; }
.ps-traj-foot { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; color: rgba(255,255,255,0.8); }
.ps-traj-foot .mint { color: #47d0a0; font-weight: 700; }

/* Calendar */
.ps-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-stat-box { background: rgba(0,0,0,0.15); border-radius: 12px; padding: 12px; text-align: center; }
.ps-stat-big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.ps-stat-big.yellow { color: #f5b447; }
.ps-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.ps-cal {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 4px;
}
.ps-cal-row { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.ps-cal-hdr { font-size: 10px; color: rgba(255,255,255,0.5); text-align: center; margin-bottom: 4px; }
.ps-cal-cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.85);
  border-radius: 6px;
}
.ps-cal-cell.exp { background: rgba(232,108,108,0.35); color: #ffbdbd; font-weight: 700; }
.ps-cal-cell.today { border: 1.5px solid #fff; font-weight: 700; }
.ps-expensive { padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.15); }
.ps-exp-title { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.ps-exp-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; }
.ps-exp-row .red { color: #ff9e9e; font-weight: 700; }

/* ============================================================
   Responsive — Tablet (iPad)
   ============================================================ */
@media (min-width: 901px) and (max-width: 1280px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { gap: 20px; font-size: 13px; }
  .hero { padding: 120px 24px 50px; }
  .hero-inner { gap: 40px; }
  .hero-title .l1, .hero-title .l2 { font-size: clamp(38px, 6vw, 60px) !important; }
  .feature-row, .feature-row.reverse { gap: 36px; }
  .feature-phone, .hero-phone-bezel { width: 280px; }
  .features-stack { gap: 90px; }
  .float-chip { transform: scale(0.92); }
}

/* ============================================================
   Responsive — Mobile & small tablet (portrait)
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 110px 20px 50px; }
  .hero-title .l1, .hero-title .l2 { font-size: clamp(32px, 9vw, 56px) !important; }
  .hero-sub { font-size: 16px !important; }
  .hero-ctas { flex-wrap: wrap; }
  .hero-copy { text-align: center; }
  .hero-copy .reveal { margin-left: auto; margin-right: auto; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse .feature-copy { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .feature-copy { max-width: 100%; text-align: center; }
  .feature-bullets li { justify-content: center; }
  .features-stack { gap: 100px; }
  .feature-visual { min-height: 560px; }
  .feature-phone, .hero-phone-bezel { width: 260px; }
  .values { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  .nav-links { display: none; }
  .float-chip { display: none; }
  .nav-tools { gap: 8px; }
  .nav-cta { padding: 7px 12px; font-size: 12px; }
  .toggle-pair { font-size: 10px; }
  .theme-btn { width: 30px; height: 30px; }
}

/* ============================================================
   Responsive — Small mobile
   ============================================================ */
@media (max-width: 560px) {
  .hero { padding: 100px 18px 40px; }
  .hero-badge { font-size: 11px; padding: 6px 12px; }
  .btn { padding: 14px 22px !important; font-size: 14px !important; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .feature-phone, .hero-phone-bezel { width: 230px; }
  .feature-visual { min-height: 480px; }
  .nav-inner { padding: 0 18px; }
  .footer-inner { padding: 0 20px; }
}
