/* Self-hosted fonts (packages/render/fonts, served at /_fonts/): no request to a third party. */
@font-face { font-family: "Fraunces"; src: url("/_fonts/fraunces-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/_fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Kapshur landing page.
   The same look as the agency app (apps/server/src/web/static/app.css): a cool-grey canvas with a soft
   vermilion and teal glow and slow light rays, white cards, pill buttons. Black is the strong colour:
   big type and a few black panels. Vermilion is only for the main action. No full-bleed colour bands. */
:root {
  --bg: #F1F2F4;
  --card: #FFFFFF;
  --soft: #F6F7F9;
  --soft-2: #ECEEF1;
  --line: #E3E5E9;
  --line-2: #D3D7DD;
  --ink: #17181B;
  --ink-2: #232429;
  --ink-line: #34363C;
  --ink-muted: #A4A9B3;
  --muted: #5E6470;
  --act: #F2542D;
  --act-hover: #E4461F;
  --focus: #0B5859;
  --ok: #1F6F43;
  --ok-soft: #EEF6F1;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 20px;
  --r-lg: 28px;
  --max: 1160px;
  --gutter: 24px;
  --ease: 150ms cubic-bezier(.2, .7, .3, 1);
  --float: 0 1px 2px rgba(23, 24, 27, .04), 0 8px 28px rgba(23, 24, 27, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; color: var(--ink); background-color: var(--bg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--font-mono); font-size: .88em; background: var(--soft-2); padding: 1px 6px; border-radius: 6px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ light rays (from the app) */
.rays { --ray: rgba(242, 84, 45, .08); position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.rays-glow { position: absolute; inset: 0; background:
  radial-gradient(circle at 20% 0%, rgba(242, 84, 45, .07), transparent 55%),
  radial-gradient(circle at 80% 0%, rgba(11, 88, 89, .06), transparent 60%),
  radial-gradient(circle at 50% 110%, rgba(11, 88, 89, .04), transparent 55%); }
.ray { position: absolute; top: -12%; left: var(--l); width: var(--w); height: 75vh; border-radius: 999px;
  background: linear-gradient(to bottom, var(--ray), transparent); filter: blur(36px); transform-origin: top center;
  opacity: 0; transform: translateX(-50%) rotate(var(--r));
  animation: ray var(--t) ease-in-out calc(var(--d) * -1) infinite; }
@keyframes ray {
  0% { opacity: 0; transform: translateX(-50%) rotate(calc(var(--r) - var(--s))); }
  50% { opacity: var(--i); transform: translateX(-50%) rotate(calc(var(--r) + var(--s))); }
  100% { opacity: 0; transform: translateX(-50%) rotate(calc(var(--r) - var(--s))); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ray { animation: none; opacity: calc(var(--i) * .6); }
  *, *::before, *::after { transition: none !important; }
}

/* ------------------------------------------------------------------ type */
.display {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance;
}
.h2-big {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 50, "opsz" 120;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance;
}
.h2-mid { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -0.015em; }
.card-title { font-size: 15px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.45; }
.lede { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 520px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
  text-decoration: none; transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-act { background: var(--act); color: var(--ink); }
.btn-act:hover { background: var(--act-hover); }
.btn-line { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: #B9BEC7; background: var(--soft); }
.btn-ghost { background: transparent; border-color: var(--ink-line); color: #fff; }
.btn-ghost:hover { background: var(--ink-2); border-color: #50535B; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ nav: floating white pill */
.nav-wrap { position: sticky; top: 16px; z-index: 50; padding: 0 16px; margin-top: 16px; }
.nav {
  max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 12px; box-shadow: var(--float);
}
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-radius: 999px; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo > span {
  font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.03em; line-height: 1;
  font-variation-settings: "SOFT" 100, "opsz" 28; display: inline-flex; align-items: baseline;
}
.logo > span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--act); margin-left: 2px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a, .nav-login {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; transition: background var(--ease), color var(--ease);
}
.nav-links a:hover, .nav-login:hover { color: var(--ink); background: var(--soft-2); }
.nav-cta { display: flex; align-items: center; gap: 4px; }

/* ------------------------------------------------------------------ cards and panels */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-width: 0; }
.ink-panel { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 32px; min-width: 0; }
.badge {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
}
.chip-btn {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; flex: none;
  border: 1px solid var(--line-2); background: var(--card); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.chip-act { background: var(--act); border-color: var(--act); color: var(--ink); }
.done { font-size: 13px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 6px 12px; border-radius: 999px; flex: none; }

/* Magic card (from the app): a soft light follows the pointer. Mouse only. main.js sets --mx and --my. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-magic] { position: relative; isolation: isolate; }
  [data-magic]::before, [data-magic]::after {
    content: ""; position: absolute; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity 300ms ease;
  }
  [data-magic]::before { inset: 0; background: radial-gradient(260px circle at var(--mx, -260px) var(--my, -260px), rgba(242, 84, 45, .06), transparent 100%); }
  [data-magic]::after {
    inset: -1px; border: 1px solid transparent;
    background: radial-gradient(200px circle at var(--mx, -260px) var(--my, -260px), rgba(242, 84, 45, .4), transparent 100%) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0) border-box; -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0) border-box;
  }
  [data-magic]:hover::before, [data-magic]:hover::after { opacity: 1; }
}


/* ------------------------------------------------------------------ grain: a very light paper texture over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ orbs and spheres
   .orb is the avatar (the same look as the app: never an initial). .sphere is a large decorative orb.
   Tones: vermilion, deep teal, saffron, sage, sand and ink only. */
.orb {
  display: block; width: 40px; height: 40px; flex: none; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 76% 80%, var(--b) 0, transparent 58%),
    radial-gradient(circle at 38% 34%, var(--a1) 0, var(--a2) 48%, var(--a3) 100%);
  box-shadow: inset -3px -4px 8px rgba(0, 0, 0, .16), inset 2px 2px 4px rgba(255, 255, 255, .25);
}
.orb.sm { width: 26px; height: 26px; }
.orb.lg { width: 64px; height: 64px; }

.sphere { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.sphere::after { /* soft contact shadow under each sphere */
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -14%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(23, 24, 27, .16), transparent); filter: blur(6px);
}
.sph-ver, .s-big, .s-panel-b {
  background: radial-gradient(circle at 34% 28%, #FFF3EC 0, #FFB59C 14%, #F2542D 46%, #A8301A 82%, #6E1E0E 100%);
}
.s-teal, .s-panel-a, .s-chat, .s-final-b {
  background: radial-gradient(circle at 34% 28%, #E4F4F1 0, #7CC2B8 16%, #0B5859 56%, #042324 100%);
}
.s-final-a {
  background: radial-gradient(circle at 34% 28%, #FFFFFF 0, #FBF2E4 16%, #D9C2A0 55%, #8E7350 100%);
}
.s-sun, .s-plan {
  background: radial-gradient(circle at 34% 28%, #FFF8E6 0, #FFE0A0 18%, #F2B630 52%, #A8700A 100%);
}

.s-big { width: 210px; height: 210px; right: -10px; top: 8px; }
.s-teal { width: 92px; height: 92px; left: 8%; bottom: 34px; filter: blur(1.5px); }
.s-sun { width: 46px; height: 46px; right: 26%; bottom: 18px; }
.s-chat { width: 120px; height: 120px; right: -36px; top: -44px; }
.s-panel-a { width: 320px; height: 320px; left: -120px; top: -150px; filter: blur(14px); opacity: .45; }
.s-panel-b { width: 140px; height: 140px; right: -40px; bottom: -50px; opacity: .9; }
.s-plan { width: 86px; height: 86px; right: -26px; top: -26px; }
.s-final-a { width: 220px; height: 220px; right: 6%; top: -70px; }
.s-final-b { width: 90px; height: 90px; right: 26%; bottom: -30px; filter: blur(1px); }
.s-panel-a::after, .s-panel-b::after, .s-final-a::after, .s-final-b::after, .s-plan::after { display: none; }

.spark { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 1; }
.sp1 { left: 12%; top: 40px; color: #F2B630; }
.sp2 { right: 8%; bottom: 120px; width: 14px; height: 14px; color: #0B5859; }
.sp3 { left: 46%; top: 36px; color: #F2B630; width: 18px; height: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .s-big { animation: drift 12s ease-in-out infinite; }
  .s-teal { animation: drift 10s ease-in-out -4s infinite; }
  .s-sun { animation: drift 9s ease-in-out -2s infinite; }
  .spark { animation: twinkle 4s ease-in-out infinite; }
  .sp2 { animation-delay: -2s; }
}
@keyframes drift { 50% { transform: translateY(-10px); } }
@keyframes twinkle { 50% { transform: scale(.7) rotate(20deg); opacity: .6; } }

.ic-badge {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px;
  background: var(--soft-2); color: var(--ink);
}
.ic-badge svg { width: 18px; height: 18px; }
.ic-teal { background: #E3EFEC; color: #0B5859; }
.ic-sun { background: #FBF0D6; color: #8A5A06; }

/* ------------------------------------------------------------------ layout */
main { overflow-x: clip; }
.section { padding: 72px 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.two-col-rev > :first-child { order: 2; }
.col-copy { display: grid; gap: 20px; max-width: 520px; }
.col-copy > p { color: var(--muted); font-size: 18px; }
.head-center { display: grid; gap: 14px; justify-items: center; text-align: center; margin: 0 auto 36px; max-width: 620px; }
.head-center p { color: var(--muted); font-size: 18px; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 64px 0 32px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 24px; }
.hero-copy .display { font-size: clamp(42px, 5.6vw, 74px); }
.hero-visual { position: relative; min-width: 0; min-height: 600px; display: grid; place-items: center; }
.halo {
  position: absolute; inset: 6% 8%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(242, 182, 48, .30), rgba(242, 84, 45, .12) 55%, transparent);
  filter: blur(8px);
}
.phone {
  position: relative; z-index: 2; width: 262px; border-radius: 44px; padding: 9px; background: #1D1E22;
  box-shadow: 0 1px 0 #3A3C42 inset, 0 40px 70px -24px rgba(23, 24, 27, .45), 0 12px 24px -8px rgba(23, 24, 27, .2);
}
.phone-screen {
  position: relative; border-radius: 36px; background: #F6F0E6; color: #2A1E14; padding: 54px 18px 20px; overflow: hidden;
  display: grid; gap: 9px; justify-items: center; text-align: center; min-height: 500px; align-content: start;
}
.phone-screen::before { /* a soft wash of the brand colour at the top of the page */
  content: ""; position: absolute; inset: 0 0 auto; height: 160px; background: radial-gradient(120% 100% at 50% 0%, rgba(11, 88, 89, .16), transparent 70%);
}
.phone-screen > * { position: relative; }
.ph-notch { position: absolute !important; top: 12px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 999px; background: #17181B; }
.ph-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; font-variation-settings: "SOFT" 100; margin-top: 4px; }
.ph-bio { font-size: 12.5px; color: #6B5B4C; margin-bottom: 10px; }
.ph-btn { width: 100%; padding: 13px 10px; border-radius: 999px; background: #3B2A1E; color: #fff; font-size: 13px; font-weight: 600; }
.ph-btn-hot { background: #0B5859; }
.ph-foot { margin-top: 12px; font-size: 11px; color: #8A7A6B; }

.float {
  position: absolute; z-index: 3; background: rgba(255, 255, 255, .92); color: var(--ink); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(23, 24, 27, .04), 0 18px 40px -12px rgba(23, 24, 27, .22);
}
.fl-title { font-size: 12px; font-weight: 650; color: var(--muted); }
.fl-clients { left: 0; bottom: 70px; width: 210px; transform: rotate(-3deg); }
.mini-clients { display: grid; gap: 10px; margin-top: 10px; }
.mini-clients li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.mini-clients .dot { margin-left: auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #A3A9B3; flex: none; }
.dot.ok { background: #2E9B5F; box-shadow: 0 0 0 3px rgba(46, 155, 95, .15); }
.dot.warn { background: #E0A21B; box-shadow: 0 0 0 3px rgba(224, 162, 27, .18); }
.fl-fix { right: 0; top: 232px; width: 236px; transform: rotate(2.5deg); }
.fl-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fl-head .ic-badge { width: 28px; height: 28px; border-radius: 9px; background: #FBF0D6; color: #8A5A06; }
.fl-head .ic-badge svg { width: 16px; height: 16px; }
.fl-strong { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.fl-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; flex: none;
  border: 1px solid var(--line-2); background: var(--card); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.chip-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.done { font-size: 12.5px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 5px 11px; border-radius: 999px; flex: none; }

/* ------------------------------------------------------------------ how it works */
.steps-3 { display: grid; gap: 12px; margin: 4px 0 6px; }
.steps-3 li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 550; }
.steps-3 b {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600;
}
.pills svg { flex: none; }
.chat-wrap { position: relative; min-width: 0; }
.chat { position: relative; z-index: 1; display: grid; gap: 16px; padding: 0 28px 28px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(23, 24, 27, .04), 0 30px 60px -30px rgba(23, 24, 27, .25); }
.chat-bar { display: flex; align-items: center; gap: 6px; margin: 0 -28px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--soft); }
.chat-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.chat-bar span { margin-left: 10px; font-size: 12.5px; font-weight: 650; color: var(--muted); }
.chat-msg {
  justify-self: end; max-width: 92%; margin-top: 8px; background: var(--ink); color: #fff; border-radius: 20px 20px 6px 20px; padding: 16px 18px;
  font-family: var(--font-display); font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600;
}
.steps { display: grid; gap: 4px; }
.steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; min-height: 30px; }
.steps svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--focus); color: #fff; flex: none; }
.chat-done { background: var(--soft); border: 1px solid var(--line); border-radius: 16px 16px 16px 6px; padding: 14px 16px; font-size: 15px; }
.js-anim .chat.watch .steps li { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.js-anim .chat.watch .steps li:nth-child(2) { transition-delay: .35s; }
.js-anim .chat.watch .steps li:nth-child(3) { transition-delay: .7s; }
.js-anim .chat.watch .chat-done { opacity: 0; transition: opacity .5s ease 1.1s; }
.js-anim .chat.watch.in .steps li, .js-anim .chat.watch.in .chat-done { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ check-up and report (black panel) */
.ink-panel { position: relative; overflow: hidden; isolation: isolate; }
.ink-panel > :not(.sphere):not(.spark) { position: relative; z-index: 1; }
.value { padding: 56px; display: grid; gap: 40px; }
.value-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 16px 56px; align-items: end; }
.value-head .h2-big { color: #fff; }
.value-head p { color: #C3C7CE; font-size: 17px; }
.value-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.value .card { border-color: transparent; color: var(--ink); }
.card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.card-head > div { flex: 1; min-width: 0; }
.finds li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.finds p { flex: 1; min-width: 0; font-size: 14px; font-weight: 550; line-height: 1.35; }
.f-ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--soft-2); color: var(--ink); }
.f-ic svg { width: 16px; height: 16px; }
.f-bad { background: #FDE9E3; color: #B8361A; }
.f-new { background: #E3EFEC; color: #0B5859; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; font-size: 14px; font-weight: 600; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); flex: none; }
.switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.switch.on { background: var(--focus); }
.switch.on i { transform: translateX(18px); }
.report { display: grid; gap: 18px; align-content: start; }
.report-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.report-nums b { display: block; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.report-nums span { font-size: 12.5px; color: var(--muted); }
.bars { display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 46px; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; }
.bars i { display: block; height: 10px; border-radius: 999px; background: var(--soft-2); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #0B5859, #2D8A84); }
.bars b { text-align: right; font-weight: 650; }
.ai-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.ai-row .hint { margin-right: auto; }
.ai-row span:not(.hint) { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--soft-2); }

/* ------------------------------------------------------------------ which post sold it */
.utm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.utm code { background: var(--card); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; font-size: 12.5px; color: var(--ink); }
.posts { padding: 20px; display: grid; gap: 16px;
  box-shadow: 0 1px 2px rgba(23, 24, 27, .04), 0 30px 60px -30px rgba(23, 24, 27, .25); }
.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; color: #fff; padding: 14px;
  display: grid; align-content: end; gap: 1px; isolation: isolate;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .42), transparent 62%); }
.tile svg { position: absolute; z-index: -1; right: 12px; top: 12px; width: 46px; height: 46px; opacity: .9; }
.tile span { font-weight: 650; font-size: 15px; line-height: 1.2; }
.tile small { font-family: var(--font-mono); font-size: 11.5px; opacity: .85; }
.tile em { position: absolute; left: 12px; top: 12px; font-style: normal; font-size: 11.5px; font-weight: 650; color: var(--ink); background: rgba(255, 255, 255, .9); padding: 3px 9px; border-radius: 999px; }
.t1 { background: radial-gradient(circle at 70% 20%, #FFB59C 0, transparent 40%), radial-gradient(circle at 20% 90%, #9E2C14, transparent 60%), linear-gradient(140deg, #F27A55, #C8401E); }
.t2 { background: radial-gradient(circle at 75% 15%, #FBF2E4 0, transparent 42%), linear-gradient(150deg, #C9A57D, #7A5534); }
.t3 { background: radial-gradient(circle at 70% 20%, #7CC2B8 0, transparent 42%), linear-gradient(150deg, #13706F, #052B2C); }
.t4 { background: radial-gradient(circle at 75% 20%, #FFE0A0 0, transparent 42%), linear-gradient(150deg, #E6A92A, #9C6508); }
.spike { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.spark-bars { display: grid; grid-template-columns: repeat(9, 7px); gap: 3px; height: 36px; align-items: end; flex: none; }
.spark-bars i { display: block; height: var(--h); background: var(--line-2); border-radius: 3px; }
.spark-bars i.hot { background: var(--ink); }
.spike p { font-size: 14px; line-height: 1.35; }
.est { display: inline-block; margin-left: 4px; font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 999px; border: 1px dashed #A3A9B3; color: var(--muted); }

/* ------------------------------------------------------------------ pricing */
.pricing { display: grid; gap: 20px; }
.seg {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px; max-width: 100%; justify-self: center;
  background: var(--soft-2); border: 1px solid var(--line); border-radius: 999px;
}
.seg label { display: inline-flex; cursor: pointer; }
.seg label > span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; white-space: nowrap;
  color: var(--muted); font-size: 14px; font-weight: 600; transition: background var(--ease), color var(--ease);
}
.seg label:hover > span { color: var(--ink); }
.seg input:checked + span { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 28px 24px 24px; }
.plan > :not(.sphere) { position: relative; z-index: 1; }
.plan h3 { font-size: 15px; font-weight: 650; }
.plan-for { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.price { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-top: 18px; }
.per { color: var(--muted); font-size: 14px; }
.per-client { font-size: 13.5px; font-weight: 600; margin: 16px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); flex: 1; }
.plan .btn { width: 100%; min-height: 46px; font-size: 15px; }
.plan-hi { background: var(--ink); color: #fff; border-radius: var(--r); overflow: hidden; }
.plan-hi .per { color: var(--ink-muted); }
.plan-hi .per-client { border-color: var(--ink-line); }
.plan sup { font-size: .55em; }
.p-y { display: none; }
.pricing:has(#bill-year:checked) .p-m { display: none; }
.pricing:has(#bill-year:checked) .p-y { display: inline; }
.plans-note { text-align: center; margin-top: -4px; }
.every { text-align: center; color: var(--muted); font-size: 14px; max-width: 760px; margin: 0 auto; text-wrap: balance; }

/* ------------------------------------------------------------------ questions and final call to action */
#faq { padding-bottom: 32px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px); gap: 24px 56px; align-items: start; margin-bottom: 72px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 650; font-size: 16px; position: relative; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft-2); font-weight: 500; font-size: 18px; line-height: 1;
}
.faq details[open] summary::after { content: "−"; background: var(--ink); color: #fff; }
.faq details p { padding: 0 22px 20px; color: var(--muted); max-width: 560px; }
.final { padding: 72px 56px; display: grid; gap: 20px; justify-items: start; }
.final .display { max-width: 760px; font-size: clamp(38px, 5.2vw, 68px); color: #fff; }
.final p { color: #C3C7CE; font-size: 18px; }
.final .cta-row { margin-top: 8px; }
.footer { padding: 24px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; border-top: 1px solid var(--line-2); padding-top: 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer nav a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ scroll reveal (only with JS, only with motion) */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .rv { opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1), filter .6s ease; }
  .js-anim .rv.in { opacity: 1; transform: none; filter: none; }
  .js-anim .hero-copy > *, .js-anim .hero-visual { animation: blur-in .7s cubic-bezier(.2, .7, .3, 1) backwards; }
  .js-anim .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js-anim .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js-anim .hero-copy > :nth-child(4) { animation-delay: .22s; }
  .js-anim .hero-visual { animation-delay: .18s; }
}
@keyframes blur-in { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) {
  .sphere, .float, .spark { animation: none !important; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid, .two-col, .value-head, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .two-col { gap: 40px; }
  .two-col-rev > :first-child { order: 0; }
  .hero-visual { min-height: 580px; max-width: 560px; width: 100%; justify-self: center; }
  .value { padding: 40px 32px; }
  .value-grid { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { max-width: 560px; }
}
@media (max-width: 700px) {
  .value-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .nav-wrap { top: 10px; margin-top: 10px; padding: 0 10px; }
  .nav { padding: 6px 6px 6px 8px; gap: 8px; }
  .logo > span { font-size: 21px; }
  .nav-login { padding: 0 10px; }
  .section { padding: 44px 0; }
  .hero { padding: 32px 0 8px; }
  .lede, .col-copy > p, .head-center p { font-size: 17px; }
  .cta-row .btn { flex: 1 1 auto; }
  .hero-visual { min-height: 0; padding: 24px 0 112px; }
  .phone { width: 218px; border-radius: 38px; padding: 8px; }
  .phone-screen { min-height: 430px; border-radius: 31px; padding: 48px 14px 16px; }
  .ph-btn { padding: 11px 8px; font-size: 12px; }
  .ph-name { font-size: 20px; }
  .orb.lg { width: 54px; height: 54px; }
  .s-big { width: 150px; height: 150px; right: -30px; top: 0; }
  .s-teal { width: 64px; height: 64px; left: 2%; bottom: 150px; }
  .fl-clients { left: 0; bottom: 8px; width: 172px; padding: 12px; }
  .mini-clients li { font-size: 12.5px; gap: 8px; }
  .fl-fix { right: 0; top: auto; bottom: 30px; width: 172px; padding: 12px; }
  .fl-strong { font-size: 12.5px; }
  .fl-actions .chip:first-child { display: none; }
  .chat { padding: 0 18px 20px; }
  .chat-bar { margin: 0 -18px; padding: 12px 16px; }
  .chat-msg { font-size: 18px; }
  .s-chat { width: 80px; height: 80px; right: -14px; top: -30px; }
  .ink-panel.value { padding: 32px 18px 18px; border-radius: 24px; }
  .value .card { padding: 18px; }
  .finds li { gap: 10px; }
  .finds p { font-size: 13.5px; }
  .ai-row .hint { flex-basis: 100%; }
  .bars li { grid-template-columns: 86px minmax(0, 1fr) 42px; }
  .report-nums b { font-size: 23px; }
  .posts { padding: 14px; }
  .tile { padding: 12px; }
  .tile svg { width: 36px; height: 36px; right: 10px; top: 10px; }
  .tile span { font-size: 14px; }
  .tile small { font-size: 10.5px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .seg { justify-self: stretch; }
  .seg label { flex: 1; }
  .seg label > span { width: 100%; justify-content: center; padding: 0 10px; font-size: 13.5px; }
  .faq-wrap { margin-bottom: 44px; }
  .final { padding: 48px 22px; border-radius: 24px; }
  .final p { font-size: 16px; }
  .s-final-a { width: 130px; height: 130px; right: -50px; top: -60px; }
  .s-final-b { width: 60px; height: 60px; right: 18px; bottom: -22px; }
  .sp3 { left: auto; right: 22%; top: 24px; }
}
@media (max-width: 380px) {
  .nav-login { display: none; }
}

/* Footer legal links (filled by the server once the legal pages are published) and the legal pages */
.footer-legal { font-size: 13px; color: var(--muted, #5E6470); margin: 0; }
.footer-legal a { color: inherit; }
.legal { max-width: 760px; padding-top: 120px; padding-bottom: 64px; }
.legal-doc { background: #fff; border: 1px solid #E3E5E9; border-radius: 20px; padding: 32px clamp(20px, 4vw, 48px); }
.legal-doc h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin: 0 0 8px; }
.legal-doc h2 { font-size: 20px; margin: 32px 0 8px; }
.legal-doc h3 { font-size: 16px; margin: 24px 0 6px; }
.legal-doc p, .legal-doc li { max-width: 68ch; }
.legal-table { overflow-x: auto; }
.legal-table table { border-collapse: collapse; font-size: 14px; width: 100%; }
.legal-table th, .legal-table td { border-top: 1px solid #E3E5E9; padding: 8px 10px; text-align: left; vertical-align: top; }

/* /developers */
.dev-section { margin-top: 20px; }
.dev-card { padding: 28px clamp(20px, 4vw, 40px); max-width: 760px; }
.dev-card p { max-width: 520px; }
.dev-card pre { background: #17181B; color: #F1F2F4; border-radius: 14px; padding: 14px 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; margin: 12px 0; }
.dev-card pre code { background: none; padding: 0; color: inherit; }
