/* ==========================================================================
   Self Employed: Income & Tax — marketing site
   Design tokens match the app's dark "liquid glass" design system.
   ========================================================================== */
:root {
  --bg: #000000;
  --bg-2: #0A0A0B;
  --surface: #121214;
  --surface-2: #18181B;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F5F5F7;
  --text-2: rgba(245, 245, 247, 0.72);
  --text-3: rgba(245, 245, 247, 0.5);

  --blue: #0A84FF;
  --green: #30D158;
  --red: #FF453A;
  --orange: #FF9F0A;
  --purple: #BF5AF2;
  --teal: #40C8E0;

  --grad: linear-gradient(135deg, #0A84FF 0%, #BF5AF2 50%, #40C8E0 100%);
  --grad-soft: linear-gradient(135deg, rgba(10,132,255,.55) 0%, rgba(191,90,242,.55) 50%, rgba(64,200,224,.55) 100%);

  --r-btn: 12px;
  --r-card: 14px;
  --r-panel: 16px;
  --r-hero: 20px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1180px;
  --nav-h: 64px;

  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -20px rgba(0,0,0,.8);
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--surface); padding: 10px 14px; border-radius: 10px; z-index: 1000; border: 1px solid var(--border-strong); }
.skip-link:focus { top: 12px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(var(--max), calc(100% - 64px)); } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-2); line-height: 1.55; font-weight: 400; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }

/* ---------- Layout ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section.tight { padding-top: clamp(40px, 5vw, 64px); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }

/* ---------- Glass surfaces ---------- */
.glass {
  background: rgba(18, 18, 20, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.card::before { /* top highlight line, like the app's glass cards */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-btn); font-weight: 600; font-size: 1rem; line-height: 1;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(10,132,255,.7); }
.btn-primary:hover { background: #2a94ff; }
.btn-ghost { background: rgba(255,255,255,.06); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 36px -12px rgba(191,90,242,.7); }

/* Apple App Store badge (official badge proportions/style) */
.appstore {
  display: inline-flex; align-items: center; gap: 9px;
  height: 56px; padding: 0 18px 0 14px;
  background: #000; color: #fff; border: 1.5px solid rgba(255,255,255,.55); border-radius: 10px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; white-space: nowrap;
}
.appstore:hover { transform: translateY(-2px); border-color: #fff; box-shadow: 0 14px 34px -14px rgba(255,255,255,.35); }
.appstore svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.appstore .as-small { font-size: .68rem; font-weight: 400; letter-spacing: .01em; margin-bottom: 3px; }
.appstore .as-big { font-size: 1.32rem; font-weight: 600; letter-spacing: -0.01em; }
.appstore.sm { height: 42px; padding: 0 13px 0 10px; border-radius: 8px; }
.appstore.sm svg { width: 20px; height: 20px; }
.appstore.sm .as-small { font-size: .56rem; }
.appstore.sm .as-big { font-size: 1.02rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(0,0,0,.7); border-bottom-color: var(--border); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.01em; font-size: 1rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.brand .brand-sub { display: none; color: var(--text-3); font-weight: 400; }
@media (min-width: 560px) { .brand .brand-sub { display: inline; } }
.nav-links { display: none; gap: 6px; align-items: center; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-size: .95rem; font-weight: 500; transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); }
.nav-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.nav-mobile { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); padding: 10px 20px 18px; background: rgba(0,0,0,.92); border-bottom: 1px solid var(--border); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.nav.open .nav-mobile { display: grid; gap: 4px; }
.nav-mobile a { padding: 12px 10px; border-radius: 10px; font-weight: 500; color: var(--text-2); }
.nav-mobile a:hover { background: rgba(255,255,255,.07); color: var(--text); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 40px; overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .hero { padding: calc(var(--nav-h) + 72px) 0 72px; min-height: 92vh; display: flex; align-items: center; } }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.hero-bg .b1 { width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; left: -18vw; top: -20vw; background: #0A84FF; }
.hero-bg .b2 { width: 55vw; height: 55vw; max-width: 680px; max-height: 680px; right: -12vw; top: 5vh; background: #BF5AF2; }
.hero-bg .b3 { width: 45vw; height: 45vw; max-width: 560px; max-height: 560px; right: 12vw; bottom: -20vw; background: #40C8E0; opacity: .4; }
.hero-bg .fade { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero-bg .grain { position: absolute; inset: 0; opacity: .035; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.hero-copy { max-width: 620px; }
.hero-app { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.hero-app img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); }
.hero-app .name { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.hero-app .tag { font-size: .85rem; color: var(--text-3); }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--green); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-shot {
  width: min(78vw, 400px); border-radius: 30px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 60px 120px -40px rgba(191,90,242,.55), 0 30px 60px -30px rgba(10,132,255,.6), 0 0 0 1px rgba(0,0,0,.4);
  animation: float 7s ease-in-out infinite; will-change: transform;
}
@media (min-width: 900px) { .hero-shot { width: auto; height: clamp(560px, 78vh, 880px); max-width: 100%; } }
.hero-visual .halo { position: absolute; inset: 8% -10%; background: radial-gradient(closest-side, rgba(191,90,242,.35), transparent 70%); filter: blur(30px); z-index: -1; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-.6deg); } }

/* ---------- Platforms banner ---------- */
.platforms { padding: 8px 0 0; }
.platforms .glass { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 18px 20px; }
.platform { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; color: var(--text-2); font-weight: 500; font-size: .95rem; transition: background .2s, color .2s; }
.platform:hover { background: rgba(255,255,255,.06); color: var(--text); }
.platform svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.platform.vision { color: var(--text); background: linear-gradient(135deg, rgba(10,132,255,.14), rgba(191,90,242,.14), rgba(64,200,224,.14)); border: 1px solid rgba(255,255,255,.12); }
.platform.vision svg { stroke: url(#gradStroke); }
.pill { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--grad); color: #fff; line-height: 1; }
.platforms .caption { text-align: center; color: var(--text-3); font-size: .95rem; margin-top: 16px; }

/* ---------- Features ---------- */
.features-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 28px 26px 30px; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.feature:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }
.feature .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.feature .icon svg { width: 24px; height: 24px; stroke: var(--c); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: .98rem; line-height: 1.6; }
.feature .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.feature .tags span { font-size: .74rem; font-weight: 600; color: var(--text-3); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); }

/* Spotlight band between feature groups */
.spotlight { margin: clamp(48px, 7vw, 96px) 0; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 1.1fr; gap: 56px; } .spotlight.flip .spot-copy { order: 2; } }
.spot-copy h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 16px; }
.spot-copy p { color: var(--text-2); font-size: 1.05rem; }
.spot-copy ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.spot-copy li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.spot-copy li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spot-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.spot-shots img { border-radius: 22px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(64,200,224,.25); }
.spot-shots img:nth-child(2) { margin-top: 48px; }

/* ---------- Gallery / carousel ---------- */
.gallery { overflow: hidden; }
.gallery-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 60%, rgba(10,132,255,.14), transparent 70%); pointer-events: none; }
.carousel-wrap { position: relative; }
.carousel {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 24px max(20px, calc((100vw - var(--max)) / 2)) 40px; scrollbar-width: none; cursor: grab;
  scroll-padding-inline: max(20px, calc((100vw - var(--max)) / 2));
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel .slide { flex: 0 0 auto; width: min(76vw, 340px); scroll-snap-align: start; }
@media (min-width: 900px) { .carousel .slide { width: 360px; } }
.carousel img {
  border-radius: 28px; border: 1px solid rgba(255,255,255,.12); width: 100%;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 20px 60px -30px rgba(191,90,242,.35);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.carousel .slide:hover img { transform: translateY(-8px); box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 30px 70px -30px rgba(191,90,242,.55); }
.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 4px; }
.carousel-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .2s, transform .2s; }
.carousel-btn:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.carousel-btn svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-dots { display: flex; gap: 6px; align-items: center; padding: 0 10px; }
.carousel-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); transition: width .3s, background .3s; }
.carousel-dots i.on { width: 20px; border-radius: 4px; background: #fff; }

/* ---------- Devices ---------- */
.devices-grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 800px) { .devices-grid { grid-template-columns: 1.35fr 1.35fr .8fr; } }
.device { position: relative; }
.device img { border-radius: var(--r-hero); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 20px 60px -30px rgba(10,132,255,.35); transition: transform .45s var(--ease); }
.device:hover img { transform: translateY(-6px) scale(1.01); }
.device figcaption { margin-top: 14px; text-align: center; color: var(--text-3); font-size: .92rem; font-weight: 500; }
.device.watch img { max-width: 300px; margin-inline: auto; }
.devices-line { text-align: center; margin-top: clamp(28px, 4vw, 44px); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; color: var(--text-2); }
.devices-line b { color: var(--text); }

/* ---------- Vision Pro ---------- */
.vision { background: var(--bg-2); overflow: hidden; }
.vision-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(45% 40% at 20% 20%, rgba(10,132,255,.18), transparent 70%),
  radial-gradient(45% 40% at 80% 30%, rgba(191,90,242,.18), transparent 70%),
  radial-gradient(50% 40% at 50% 100%, rgba(64,200,224,.12), transparent 70%); }
.vision .container { position: relative; z-index: 1; }
.vision-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.05); font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.vision-badge svg { width: 22px; height: 22px; stroke: url(#gradStroke); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vision-hero { margin-top: clamp(36px, 5vw, 60px); position: relative; }
.vision-hero img { border-radius: var(--r-hero); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 80px 160px -50px rgba(0,0,0,1), 0 40px 120px -40px rgba(191,90,242,.45), 0 0 0 1px rgba(0,0,0,.6); }
.vision-hero .glow { position: absolute; inset: 10% 5% -10%; z-index: -1; background: var(--grad-soft); filter: blur(80px); opacity: .5; border-radius: 50%; }
.vision-sub { display: grid; gap: 22px; margin-top: 24px; }
@media (min-width: 720px) { .vision-sub { grid-template-columns: 1fr 1fr; } }
.vision-sub figure { margin: 0; }
.vision-sub img { border-radius: var(--r-panel); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px -30px rgba(0,0,0,.95); transition: transform .45s var(--ease); }
.vision-sub figure:hover img { transform: translateY(-6px); }
.vision-sub figcaption { margin-top: 12px; color: var(--text-3); font-size: .92rem; }
.vision-points { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 720px) { .vision-points { grid-template-columns: repeat(3, 1fr); } }
.vision-points .card { padding: 22px 22px 24px; }
.vision-points h4 { font-size: 1.02rem; margin-bottom: 6px; }
.vision-points p { color: var(--text-2); font-size: .95rem; }

/* ---------- Pricing ---------- */
.existing {
  display: grid; gap: 18px; align-items: center; padding: 26px 28px; margin-bottom: clamp(36px, 5vw, 56px);
  border-radius: var(--r-panel); position: relative; overflow: hidden;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent;
}
@media (min-width: 720px) { .existing { grid-template-columns: auto 1fr auto; padding: 28px 32px; } }
.existing .mark { width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--green) 16%, transparent); display: grid; place-items: center; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 30%, transparent); }
.existing .mark svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.existing h3 { font-size: 1.25rem; margin-bottom: 6px; }
.existing p { color: var(--text-2); }
.existing .pill { justify-self: start; background: color-mix(in srgb, var(--green) 20%, transparent); color: var(--green); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 35%, transparent); padding: 8px 12px; }

.plans { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.plan { padding: 30px 28px 28px; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s; }
.plan:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.plan .plan-name { font-weight: 600; font-size: 1.05rem; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan .badge { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text-2); border: 1px solid var(--border); }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-size: 2.7rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .price .per { color: var(--text-3); font-size: 1rem; }
.plan .sub { color: var(--text-3); font-size: .9rem; margin-top: 10px; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: .95rem; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: var(--blue); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { width: 100%; }
.plan.featured {
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box; border: 1px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(191,90,242,.45), var(--shadow-card);
}
@media (min-width: 860px) { .plan.featured { transform: translateY(-10px); } .plan.featured:hover { transform: translateY(-15px); } }
.plan.featured .badge { background: var(--grad); color: #fff; border-color: transparent; }
.plan.featured li svg { stroke: var(--purple); }
.plan.lifetime .badge { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); border-color: color-mix(in srgb, var(--orange) 35%, transparent); }
.plan.lifetime li svg { stroke: var(--orange); }
.pricing-note { text-align: center; margin-top: 28px; color: var(--text-2); font-size: 1.02rem; }
.pricing-fine { max-width: 760px; margin: 14px auto 0; text-align: center; color: var(--text-3); font-size: .84rem; line-height: 1.6; }
.pricing-fine a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Built by ---------- */
.builtby { display: grid; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); }
@media (min-width: 820px) { .builtby { grid-template-columns: auto 1fr; gap: 40px; } }
.builtby .avatar { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); }
.builtby h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.builtby p { color: var(--text-2); font-size: 1.05rem; max-width: 720px; }
.builtby .sig { margin-top: 14px; color: var(--text-3); font-size: .92rem; }

/* ---------- Final CTA ---------- */
.cta-panel { position: relative; overflow: hidden; border-radius: var(--r-hero); padding: clamp(48px, 7vw, 88px) 24px; text-align: center; border: 1px solid rgba(255,255,255,.12); background: var(--surface); }
.cta-panel::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .22; }
.cta-panel::after { content: ""; position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 50px -14px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.14); }
.cta-panel h2 { margin-bottom: 14px; }
.cta-panel .lead { color: rgba(255,255,255,.85); max-width: 560px; margin-inline: auto; }
.cta-panel .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 36px; color: var(--text-3); font-size: .92rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); transition: color .2s; } .footer a:hover { color: #fff; }
.footer .brand { margin-bottom: 12px; }
.footer .brand img { width: 30px; height: 30px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Sub pages (privacy / support) ---------- */
.page-hero { padding: calc(var(--nav-h) + 56px) 0 28px; position: relative; overflow: hidden; }
.page-hero .hero-bg .blob { opacity: .32; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .lead { margin-top: 14px; max-width: 640px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { color: var(--text-3); font-size: .92rem; margin-bottom: 26px; }
.policy-card { padding: clamp(24px, 4vw, 44px); }
.policy-section { padding: 22px 0; border-top: 1px solid var(--border); }
.policy-section:first-of-type { border-top: 0; padding-top: 0; }
.policy-section .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: .85rem; font-weight: 700; background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue); margin-right: 10px; vertical-align: middle; }
.policy-section h2 { display: flex; align-items: center; margin: 0 0 10px; }

.support-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .support-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.contact-card { padding: clamp(24px, 4vw, 36px); }
.contact-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.contact-card p { color: var(--text-2); }
.contact-card .email { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 1.15rem; font-weight: 600; color: #fff; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--border-strong); transition: background .2s; word-break: break-all; }
.contact-card .email:hover { background: rgba(255,255,255,.1); }
.contact-card .email svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact-card .tips { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.contact-card .tips li { display: flex; gap: 10px; color: var(--text-2); font-size: .95rem; }
.contact-card .tips svg { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quick-links { display: grid; gap: 12px; }
.quick-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; transition: transform .3s var(--ease), border-color .3s; }
.quick-link:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.quick-link .icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); flex: none; }
.quick-link .icon svg { width: 20px; height: 20px; stroke: var(--c); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-link b { display: block; font-size: .98rem; }
.quick-link span { color: var(--text-3); font-size: .86rem; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { padding: 0; transition: border-color .3s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .3s; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); line-height: 1.65; }
.faq .answer p + p, .faq .answer ol { margin-top: 10px; }
.faq .answer ol { padding-left: 20px; }
.faq .answer a { color: var(--blue); }
.faq .answer code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shot { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Small-phone nav: keep the brand on one line, hide the badge until there is room ---------- */
.brand > span { white-space: nowrap; }
@media (max-width: 520px) {
  .nav .appstore.sm { display: none; }
}
