/* ============================================================
   Hourtab marketing site — light by default, dark via toggle
   Sora (display/body) + Space Mono (data)
   Theme: :root = light · html[data-theme="dark"] = dark
   ============================================================ */

:root {
  color-scheme: light;
  /* surfaces */
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel2: #ffffff;
  --tint: #ffffff;
  --band-bg: rgba(241, 245, 249, 0.55);
  --nav-bg: rgba(248, 250, 252, 0.82);
  --menu-bg: rgba(248, 250, 252, 0.97);
  --foot-bg: rgba(241, 245, 249, 0.5);
  --field-bg: #f8fafc;
  /* lines & text */
  --line: rgba(15, 23, 42, 0.08);
  --line2: rgba(15, 23, 42, 0.15);
  --text: #334155;
  --text-hi: #0f172a;
  --muted: #64748b;
  --dim: #94a3b8;
  /* accent: --accent for fills, --accent-ink for text/strokes */
  --accent: #2dd4bf;
  --accent-ink: #0d9488;
  --accent-soft: rgba(45, 212, 191, 0.14);
  --accent-line: rgba(13, 148, 136, 0.32);
  /* project colors */
  --indigo: #6366f1;
  --amber: #f59e0b;
  --pink: #f472b6;
  --sky: #38bdf8;
  --red: #ef4444;
  --green: #16a34a;
  /* tinted-block text mixing (calendar blocks, art rows) */
  --mixpct: 45%;
  --mixbase: #0f172a;
  --cursor: #0f172a;
  /* shadows */
  --sh-cal: 0 30px 70px -28px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(45, 212, 191, 0.06), 0 0 70px -40px rgba(45, 212, 191, 0.4);
  --sh-float: 0 22px 50px -18px rgba(15, 23, 42, 0.28);
  --sh-doc: 0 36px 80px -30px rgba(15, 23, 42, 0.3);
  --sh-card-pop: 0 14px 34px -14px rgba(15, 23, 42, 0.25);
  --watermark: rgba(15, 23, 42, 0.055);
  --em-glow: 0 0 36px rgba(45, 212, 191, 0.25);
  /* fonts / misc — the app dropped Space Mono in favour of Sora for numbers;
     mirror that here so money/totals match. (Kept the --mono name for the
     "data" treatments that use letter-spacing/tabular figures.) */
  --sans: 'Sora', sans-serif;
  --mono: 'Sora', sans-serif;
  --rad: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme='dark'] {
  color-scheme: dark;
  --bg: #070c18;
  --panel: #0f172a;
  --panel2: #131e33;
  --tint: rgba(15, 23, 42, 0.5);
  --band-bg: rgba(11, 19, 34, 0.45);
  --nav-bg: rgba(7, 12, 24, 0.78);
  --menu-bg: rgba(7, 12, 24, 0.97);
  --foot-bg: rgba(7, 12, 24, 0.6);
  --field-bg: rgba(7, 12, 24, 0.6);
  --line: rgba(148, 163, 184, 0.14);
  --line2: rgba(148, 163, 184, 0.24);
  --text: #e2e8f0;
  --text-hi: #f8fafc;
  --muted: #94a3b8;
  --dim: #64748b;
  --accent: #2dd4bf;
  --accent-ink: #2dd4bf;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-line: rgba(45, 212, 191, 0.35);
  --green: #4ade80;
  --mixpct: 80%;
  --mixbase: #ffffff;
  --cursor: #ffffff;
  --sh-cal: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(45, 212, 191, 0.05), 0 0 90px -40px rgba(45, 212, 191, 0.35);
  --sh-float: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  --sh-doc: 0 50px 110px -34px rgba(0, 0, 0, 0.8);
  --sh-card-pop: 0 14px 34px -12px rgba(0, 0, 0, 0.6);
  --watermark: rgba(148, 163, 184, 0.07);
  --em-glow: 0 0 40px rgba(45, 212, 191, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}

::selection { background: var(--accent); color: #042f2e; }

/* atmosphere: radial glows + grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(45, 212, 191, 0.08), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(99, 102, 241, 0.06), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(45, 212, 191, 0.05), transparent 60%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* ---------- reveal on scroll ---------- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rvd, 0s);
}
.rv.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 26px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font: 600 15px var(--sans);
  letter-spacing: -0.01em;
  background: var(--accent);
  color: #042f2e;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -8px rgba(45, 212, 191, 0.45);
  background: #5eead4;
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line2);
}
.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.12);
  box-shadow: none;
  border-color: var(--dim);
}

.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; border-radius: 10px; }

/* ---------- pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font: 700 11.5px var(--mono);
  letter-spacing: 0.06em;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-ink);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 99px;
  font: 700 10.5px var(--mono);
  letter-spacing: 0.05em;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--text-hi);
}
.logo svg { color: var(--accent-ink); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a.nl {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a.nl:hover { color: var(--text-hi); background: rgba(148, 163, 184, 0.12); }
.nav-links a.nl.active { color: var(--accent-ink); }
.nav-cta { margin-left: 12px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.theme-btn:hover { color: var(--text-hi); border-color: var(--dim); transform: rotate(12deg); }
.theme-btn .ic-sun { display: none; }
.theme-btn .ic-moon { display: block; }
html[data-theme='dark'] .theme-btn .ic-sun { display: block; }
html[data-theme='dark'] .theme-btn .ic-moon { display: none; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.burger span, .burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 11px;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span { top: 19px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 55;
  background: var(--menu-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 28px;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.kicker {
  margin-bottom: 22px;
}
h1.display {
  margin: 0 0 24px;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text-hi);
}
h1.display .strike {
  position: relative;
  color: var(--dim);
  font-weight: 600;
}
h1.display .strike::after {
  content: '';
  position: absolute;
  left: -4%; right: -4%;
  top: 54%;
  height: 4px;
  border-radius: 3px;
  background: var(--red);
  transform: rotate(-3deg) scaleX(0);
  transform-origin: left;
  animation: strikein 0.5s var(--ease) 1.1s forwards;
}
@keyframes strikein { to { transform: rotate(-3deg) scaleX(1); } }
h1.display .em {
  color: var(--accent-ink);
  font-style: normal;
  text-shadow: var(--em-glow);
}
.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 0 34px;
}
.lede strong { color: var(--text-hi); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 18px;
  font: 400 12px var(--mono);
  color: var(--dim);
}

/* ---------- hero calendar visual ---------- */
.cal-card {
  position: relative;
  background: linear-gradient(160deg, var(--panel2), var(--panel));
  border: 1px solid var(--line2);
  border-radius: 20px;
  padding: 18px 18px 22px;
  box-shadow: var(--sh-cal);
  transform: rotate(1.2deg);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 14px;
}
.cal-title { font: 700 12px var(--mono); color: var(--muted); letter-spacing: 0.08em; }
.cal-sum {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 11px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.14);
  font: 700 11.5px var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
  animation: sumglow 6s infinite;
}
@keyframes sumglow {
  0%, 55%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
  68% { box-shadow: 0 0 22px 0 rgba(45, 212, 191, 0.35); }
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.cal-col { position: relative; height: 330px; }
.cal-col::before {
  content: attr(data-day);
  display: block;
  text-align: center;
  font: 700 10px var(--mono);
  letter-spacing: 0.14em;
  color: var(--dim);
  padding-bottom: 8px;
}
.cal-lane {
  position: absolute;
  top: 26px; bottom: 0; left: 0; right: 0;
  border-radius: 10px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 37px, var(--line) 37px 38px),
    rgba(148, 163, 184, 0.05);
  border: 1px solid var(--line);
  overflow: hidden;
}
.blk {
  position: absolute;
  left: 4px; right: 4px;
  border-radius: 7px;
  border-left: 3px solid var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: color-mix(in srgb, var(--c) var(--mixpct), var(--mixbase));
  padding: 5px 7px 0;
  font: 700 9px var(--mono);
  letter-spacing: 0.02em;
  overflow: hidden;
  white-space: nowrap;
  transform: scaleY(0);
  transform-origin: top;
  animation: blkin 0.7s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.blk small { display: block; opacity: 0.7; font-weight: 400; margin-top: 1px; }
@keyframes blkin { to { transform: scaleY(1); } }

/* the looping ghost-drag block — the product's signature move */
.blk-ghost {
  position: absolute;
  left: 4px; right: 4px;
  top: 38px;
  border-radius: 7px;
  border: 1.5px dashed var(--accent-ink);
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent-ink);
  padding: 5px 7px 0;
  font: 700 9px var(--mono);
  overflow: hidden;
  white-space: nowrap;
  animation: ghostdrag 6s infinite;
}
@keyframes ghostdrag {
  0%   { height: 0; opacity: 0; border-style: dashed; background: rgba(45, 212, 191, 0.12); }
  8%   { height: 0; opacity: 1; }
  38%  { height: 112px; border-style: dashed; background: rgba(45, 212, 191, 0.12); }
  46%  { height: 112px; border-style: solid; background: rgba(45, 212, 191, 0.22); }
  88%  { height: 112px; opacity: 1; border-style: solid; background: rgba(45, 212, 191, 0.22); }
  96%, 100% { height: 112px; opacity: 0; }
}
.cursor-dot {
  position: absolute;
  right: 10px;
  top: 36px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--cursor);
  background: color-mix(in srgb, var(--cursor) 25%, transparent);
  z-index: 3;
  animation: cursordrag 6s infinite;
  pointer-events: none;
}
@keyframes cursordrag {
  0%   { transform: translateY(0); opacity: 0; }
  6%   { opacity: 1; }
  38%  { transform: translateY(112px); opacity: 1; }
  48%  { transform: translateY(112px) scale(0.85); opacity: 1; }
  60%, 100% { transform: translateY(118px); opacity: 0; }
}
.nowline {
  position: absolute;
  left: 0; right: 0;
  top: 62%;
  height: 2px;
  background: var(--red);
  z-index: 2;
}
.nowline::before {
  content: '';
  position: absolute;
  left: -3px; top: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* floating mini-invoice over the calendar */
.float-inv {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 240px;
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--sh-float);
  transform: rotate(-2.4deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: rotate(-2.4deg) translateY(0); }
  50% { transform: rotate(-2.4deg) translateY(-9px); }
}
.float-inv .fi-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.float-inv .fi-num { font: 700 11px var(--sans); font-variant-numeric: tabular-nums; }
.float-inv .fi-badge { background: #dcfce7; color: #15803d; }
.float-inv .fi-total { font: 700 24px var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.float-inv .fi-cur { font: 700 10px var(--sans); color: #94a3b8; margin-right: 5px; font-variant-numeric: tabular-nums; }
.float-inv .fi-sub { font-size: 10.5px; color: #94a3b8; margin-top: 5px; }

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--band-bg);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: tick 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 12.5px var(--mono);
  color: var(--dim);
  white-space: nowrap;
}
.tick-item b { color: var(--muted); font-weight: 700; }
.tick-item .tdot { width: 7px; height: 7px; border-radius: 50%; }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.sec-index {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 11.5px var(--mono);
  letter-spacing: 0.22em;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.sec-index::after {
  content: '';
  height: 1px;
  width: 70px;
  background: var(--accent-line);
}
h2.h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-hi);
}
.sub {
  font-size: 16.5px;
  color: var(--muted);
  margin: 0;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  background: linear-gradient(170deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 30px 28px 28px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.step:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
  box-shadow: 0 24px 60px -24px rgba(45, 212, 191, 0.3);
}
.step-num {
  font: 700 60px var(--mono);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line2);
  margin-bottom: 18px;
  transition: -webkit-text-stroke-color 0.35s;
}
.step:hover .step-num { -webkit-text-stroke-color: var(--accent-line); }
.step h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-hi);
}
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }
.step .mono-tag {
  margin-top: 20px;
  font: 400 11px var(--mono);
  color: var(--accent-ink);
  opacity: 0.9;
}

/* status pipeline */
.pipeline {
  margin-top: 70px;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: var(--tint);
  padding: 34px 30px 38px;
}
.pipe-label {
  text-align: center;
  font: 700 11px var(--mono);
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 26px;
}
.pipe-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.pipe-track::before {
  content: '';
  position: absolute;
  left: 40px; right: 40px;
  top: 50%;
  height: 1px;
  background: var(--line2);
}
.pipe-track::after {
  content: '';
  position: absolute;
  left: 40px;
  top: calc(50% - 2px);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 0 12px var(--accent);
  animation: travel 8s linear infinite;
}
@keyframes travel {
  0% { left: 6%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { left: 92%; opacity: 0; }
}
.pipe-stop { position: relative; z-index: 1; text-align: center; }
.pipe-stop .badge { animation: stoplight 8s infinite; }
.pipe-stop:nth-child(1) .badge { background: rgba(100, 116, 139, 0.14); color: var(--muted); animation-delay: 0s; }
.pipe-stop:nth-child(2) .badge { background: rgba(245, 158, 11, 0.16); color: #b45309; animation-delay: 2s; }
.pipe-stop:nth-child(3) .badge { background: rgba(56, 189, 248, 0.16); color: #0369a1; animation-delay: 4s; }
.pipe-stop:nth-child(4) .badge { background: rgba(34, 197, 94, 0.16); color: #15803d; animation-delay: 6s; }
html[data-theme='dark'] .pipe-stop:nth-child(2) .badge { color: var(--amber); }
html[data-theme='dark'] .pipe-stop:nth-child(3) .badge { color: var(--sky); }
html[data-theme='dark'] .pipe-stop:nth-child(4) .badge { color: var(--green); }
@keyframes stoplight {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  6% { transform: scale(1.18); filter: brightness(1.25); }
  16% { transform: scale(1); filter: brightness(1); }
}
.pipe-stop .pipe-time {
  margin-top: 10px;
  font: 400 10.5px var(--mono);
  color: var(--dim);
}

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.b-card {
  position: relative;
  background: linear-gradient(170deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.b-card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: var(--sh-card-pop); }
.b-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(45, 212, 191, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.b-card:hover::after { opacity: 1; }
.b-3 { grid-column: span 3; }
.b-2 { grid-column: span 2; }
.b-4 { grid-column: span 4; }
.b-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-hi);
}
.b-card p { margin: 0; font-size: 14px; color: var(--muted); }
.b-art { margin-bottom: 22px; height: 110px; position: relative; }

/* bento art: color rows */
.art-rows { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.art-row {
  height: 26px;
  border-radius: 7px;
  border-left: 3px solid var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font: 700 9.5px var(--mono);
  color: color-mix(in srgb, var(--c) var(--mixpct), var(--mixbase));
  width: var(--w);
  transition: width 0.6s var(--ease);
}
.b-card:hover .art-row { width: calc(var(--w) + 9%); }

/* bento art: EN/FR flip */
.art-flip { perspective: 600px; display: flex; align-items: center; justify-content: center; height: 100%; }
.flip-inner {
  position: relative;
  width: 175px; height: 86px;
  transform-style: preserve-3d;
  animation: flip 6s var(--ease) infinite;
}
@keyframes flip {
  0%, 38% { transform: rotateX(0); }
  50%, 88% { transform: rotateX(180deg); }
  100% { transform: rotateX(360deg); }
}
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--sh-card-pop);
}
.flip-face.back { transform: rotateX(180deg); }
.flip-face .ff-label { font: 700 8.5px var(--mono); letter-spacing: 0.18em; color: #94a3b8; }
.flip-face .ff-line { font: 700 13px var(--mono); margin-top: 4px; }
.flip-face .ff-amount { font: 700 17px var(--mono); margin-top: 8px; }
.flip-face .ff-tag {
  position: absolute;
  top: 10px; right: 12px;
  font: 700 9px var(--mono);
  color: #0d9488;
  background: rgba(45, 212, 191, 0.14);
  padding: 2px 7px;
  border-radius: 99px;
}

/* bento art: tax chips */
.art-tax { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; padding-top: 12px; }
.tax-chip {
  font: 700 10.5px var(--mono);
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--line2);
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.b-card:hover .tax-chip { border-color: var(--accent-line); color: var(--accent-ink); }
.b-card:hover .tax-chip:nth-child(2) { transition-delay: 0.05s; }
.b-card:hover .tax-chip:nth-child(3) { transition-delay: 0.1s; }
.b-card:hover .tax-chip:nth-child(4) { transition-delay: 0.15s; }
.b-card:hover .tax-chip:nth-child(5) { transition-delay: 0.2s; }

/* bento art: activity feed */
.art-feed { display: flex; flex-direction: column; gap: 7px; padding-top: 4px; }
.feed-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 11px var(--mono);
  color: var(--muted);
  opacity: 0.45;
  transition: opacity 0.4s;
}
.b-card:hover .feed-line { opacity: 1; }
.b-card:hover .feed-line:nth-child(2) { transition-delay: 0.08s; }
.b-card:hover .feed-line:nth-child(3) { transition-delay: 0.16s; }
.b-card:hover .feed-line:nth-child(4) { transition-delay: 0.24s; }
.feed-line .fico {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.14);
  color: var(--accent-ink);
  flex-shrink: 0;
}
.feed-line .ftime { margin-left: auto; color: var(--dim); font-size: 10px; }

/* bento art: clock */
.art-clock { display: flex; align-items: center; justify-content: center; height: 100%; }
.clock-ring {
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 1.5px solid var(--line2);
  position: relative;
  background:
    conic-gradient(rgba(45, 212, 191, 0.3) 0deg 120deg, transparent 120deg);
}
.clock-ring::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 2px; height: 36px;
  background: var(--accent-ink);
  border-radius: 2px;
  transform-origin: top center;
  animation: hand 6s linear infinite;
}
@keyframes hand { to { transform: rotate(360deg); } }
.clock-ring::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--accent-ink);
}

/* ---------- invoice showcase ---------- */
.band { border-top: 1px solid var(--line); background: var(--band-bg); }
.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.show-copy h2 { margin-bottom: 18px; }
.show-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.show-points li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: var(--muted);
}
.show-points li b { color: var(--text-hi); font-weight: 600; }
.show-points .chk {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.inv-doc {
  position: relative;
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 42px 44px;
  box-shadow: var(--sh-doc);
  transform: rotate(-1deg);
}
.inv-doc .id-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.inv-doc .id-biz { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.inv-doc .id-label { font: 700 10px var(--mono); letter-spacing: 0.2em; color: #94a3b8; text-align: right; }
.inv-doc .id-num { font: 700 14px var(--mono); margin-top: 2px; }
.inv-doc .id-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}
.inv-doc .id-meta .k { font: 700 8.5px var(--mono); letter-spacing: 0.12em; color: #94a3b8; text-transform: uppercase; }
.inv-doc .id-meta .v { font-size: 12px; font-weight: 600; margin-top: 3px; }
.inv-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.in .inv-line { opacity: 1; transform: none; }
.in .inv-line:nth-child(1) { transition-delay: 0.25s; }
.in .inv-line:nth-child(2) { transition-delay: 0.4s; }
.in .inv-line:nth-child(3) { transition-delay: 0.55s; }
.inv-line .il-name { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.inv-line .il-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.inv-line .il-amt { font: 700 12.5px var(--sans); font-variant-numeric: tabular-nums; }
.inv-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
}
.inv-total .it-l { font-size: 14px; font-weight: 800; }
.inv-total .it-v { font: 700 24px var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.inv-total .it-cur { font: 700 10px var(--sans); color: #94a3b8; margin-right: 6px; font-variant-numeric: tabular-nums; }

.stamp {
  position: absolute;
  top: 30px; right: 34px;
  padding: 8px 18px;
  border: 3px solid #15803d;
  border-radius: 8px;
  color: #15803d;
  font: 700 20px var(--mono);
  letter-spacing: 0.18em;
  transform: rotate(10deg) scale(2.6);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.8, 0.64, 1), opacity 0.3s;
  transition-delay: 0.95s;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='r'%3E%3CfeTurbulence baseFrequency='0.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0.1'/%3E%3C/filter%3E%3Crect width='80' height='80' fill='%23fff' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-size: 110px;
}
.in .stamp { opacity: 0.92; transform: rotate(-8deg) scale(1); }

/* ---------- quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  background: linear-gradient(170deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.quote:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: var(--sh-card-pop); }
.quote .qmark {
  font: 700 44px var(--mono);
  line-height: 0.6;
  color: var(--accent-ink);
  opacity: 0.7;
}
.quote p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); flex: 1; }
.quote .qwho { font: 400 11.5px var(--mono); color: var(--dim); }
.quote .qwho b { color: var(--muted); }

/* ---------- pricing ---------- */
.bill-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 48px;
}
.bill-toggle button {
  height: 38px;
  padding: 0 20px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: 600 13.5px var(--sans);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.bill-toggle button.on { background: var(--accent); color: #042f2e; }
.bill-toggle .save {
  font: 700 10px var(--mono);
  color: var(--accent-ink);
  margin-left: 7px;
}
.bill-toggle button.on .save { color: #064e3b; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: linear-gradient(170deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-card-pop); }
.plan.hot {
  border-color: var(--accent-line);
  box-shadow: 0 0 70px -24px rgba(45, 212, 191, 0.45);
  background:
    linear-gradient(170deg, rgba(45, 212, 191, 0.07), transparent 38%),
    linear-gradient(170deg, var(--panel2), var(--panel));
}
.plan .hot-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #042f2e;
  font: 700 10.5px var(--mono);
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.plan h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--text-hi); }
.plan .pdesc { font-size: 13px; color: var(--muted); margin: 0 0 24px; min-height: 38px; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 26px; }
.price {
  font: 700 46px var(--sans);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text-hi);
  transition: opacity 0.2s, transform 0.2s;
}
.price.swap { opacity: 0; transform: translateY(8px); }
.price-per { font: 400 12px var(--sans); color: var(--dim); font-variant-numeric: tabular-nums; }
.plan ul {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.plan ul li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.plan ul li.yes { color: var(--text); }
.plan ul li .tick { color: var(--accent-ink); flex-shrink: 0; margin-top: 2px; }
.plan ul li .no-tick { color: var(--dim); opacity: 0.45; flex-shrink: 0; margin-top: 2px; }
.plan .btn { justify-content: center; width: 100%; }

.price-note {
  text-align: center;
  margin-top: 34px;
  font: 400 12px var(--mono);
  color: var(--dim);
}

/* ---------- early access / waitlist ---------- */
.plan .soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -14px 0 16px;
  font: 700 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.plan .soon-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------- waitlist form ---------- */
.wl-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; }
.wl-input {
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: #fff;
  color: #0f172a;
  font: 500 15px var(--sans);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wl-input::placeholder { color: #94a3b8; }
.wl-input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.wl-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wl-msg { flex-basis: 100%; margin: 10px 2px 0; font: 500 13px var(--sans); min-height: 16px; }
.wl-msg.ok { color: var(--accent-ink); }
.wl-msg.err { color: #ef4444; }
.wl-form.is-done .wl-input, .wl-form.is-done .wl-btn { display: none; }
.wl-btn[disabled] { opacity: 0.6; cursor: default; }
.cta-band .wl-form { justify-content: center; }
.cta-band .wl-msg { text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--tint);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--line2); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-hi);
  font: 600 15.5px var(--sans);
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}
.faq-q .fx {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 400 16px var(--mono);
  transition: transform 0.35s var(--ease), color 0.3s, border-color 0.3s;
}
.faq-item.open .fx { transform: rotate(45deg); color: var(--accent-ink); border-color: var(--accent-line); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(45, 212, 191, 0.12), transparent 70%);
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-band h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-hi);
}
.cta-band .sub { max-width: 480px; margin: 0 auto 38px; }
.cta-band .big-watermark {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  font: 700 200px var(--mono);
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--watermark);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  background: var(--foot-bg);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}
.foot-brand p { font-size: 13px; color: var(--dim); max-width: 30ch; margin: 14px 0 0; }
.foot-col h4 {
  margin: 0 0 16px;
  font: 700 10.5px var(--mono);
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
}
.foot-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s, transform 0.25s var(--ease);
}
.foot-col a:hover { color: var(--accent-ink); transform: translateX(3px); }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font: 400 11.5px var(--mono);
  color: var(--dim);
}
.foot-status { display: inline-flex; align-items: center; gap: 8px; }
.foot-status .sdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.4s infinite;
}

/* ---------- page hero (subpages) ---------- */
.page-hero {
  padding: 168px 0 64px;
  text-align: center;
}
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-hi);
}
.page-hero .sub { max-width: 540px; margin: 0 auto; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.c-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(170deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 22px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.c-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--sh-card-pop); }
.c-card .cic {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.c-card h3 { margin: 0 0 3px; font-size: 15px; font-weight: 700; color: var(--text-hi); }
.c-card p { margin: 0; font-size: 13px; color: var(--muted); }
.c-card .mono { color: var(--accent-ink); font-size: 12.5px; }

.form-card {
  background: linear-gradient(170deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { margin-bottom: 18px; }
.f-field label {
  display: block;
  margin-bottom: 7px;
  font: 700 10px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.f-field input, .f-field textarea, .f-field select {
  width: 100%;
  background: var(--field-bg);
  border: 1px solid var(--line2);
  border-radius: 10px;
  color: var(--text-hi);
  font: 400 14px var(--sans);
  padding: 13px 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.f-field textarea { resize: vertical; min-height: 130px; }
.f-field input:focus, .f-field textarea:focus, .f-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.14);
}
.form-ok {
  display: none;
  text-align: center;
  padding: 54px 20px;
}
.form-ok.show { display: block; animation: okin 0.5s var(--ease); }
@keyframes okin { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
.form-ok .ok-ring {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-ok h3 { margin: 0 0 8px; font-size: 22px; color: var(--text-hi); letter-spacing: -0.02em; }
.form-ok p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- legal ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 120px;
}
.legal-updated {
  font: 400 12px var(--mono);
  color: var(--dim);
  margin-bottom: 46px;
  text-align: center;
}
.legal section { margin-bottom: 44px; }
.legal h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin: 0 0 14px;
}
.legal h2 .idx {
  font: 700 12px var(--mono);
  color: var(--accent-ink);
}
.legal p, .legal li {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal strong { color: var(--text-hi); font-weight: 600; }
.legal a { color: var(--accent-ink); border-bottom: 1px solid var(--accent-line); }
.legal .legal-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  font: 400 13px var(--mono);
  color: var(--muted);
  margin: 18px 0;
}

/* ---------- bento art: live timer ---------- */
.art-timer { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.tm-pill {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  padding: 6px 12px 6px 10px;
  border-radius: 99px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.tm-pill .timer-proj { font-size: 12px; font-weight: 600; color: var(--text-hi); }
.tm-pill .timer-clock { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); }
.tdot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; flex-shrink: 0;
  animation: pulse-live 1.8s infinite;
}
@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.timer-earn { font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-hi); }
.timer-cap { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- dashboard showcase ---------- */
/* ---- real product screenshots in a browser chrome ---- */
.shotframe {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--sh-card-pop);
  overflow: hidden;
}
.shotframe .sf-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.shotframe .sf-dots { display: flex; gap: 7px; flex-shrink: 0; }
.shotframe .sf-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--line2); }
.shotframe .sf-dots span:nth-child(1) { background: #f87171; }
.shotframe .sf-dots span:nth-child(2) { background: #fbbf24; }
.shotframe .sf-dots span:nth-child(3) { background: #34d399; }
.shotframe .sf-url {
  flex: 1;
  max-width: 320px;
  font: 600 11.5px var(--mono);
  color: var(--dim);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shotframe img { display: block; width: 100%; height: auto; }

/* product tour gallery */
.tour { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tour-item.wide { grid-column: 1 / -1; }
.tour-cap { margin-top: 16px; }
.tour-cap h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 5px; }
.tour-cap p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.tour-cap .tc-idx { font: 700 10.5px var(--mono); letter-spacing: 0.1em; color: var(--accent-ink); margin-bottom: 8px; }
@media (max-width: 820px) {
  .tour { grid-template-columns: 1fr; gap: 22px; }
  .shotframe .sf-url { max-width: 180px; }
}

.dash-shot {
  background: linear-gradient(170deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--sh-card-pop);
}
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.dk {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 15px 16px;
}
.dk-alert { border-color: rgba(239, 68, 68, 0.28); }
.dk-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dk-l { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.dk-ic {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(148, 163, 184, 0.14); color: var(--muted);
}
.dk-ic-red { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.dk-v { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-hi); font-variant-numeric: tabular-nums; }
.dk-red { color: #ef4444; }
.dk-s { margin-top: 4px; font-size: 11px; color: var(--muted); }

.dash-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.dash-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 16px 18px;
}
.dash-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.dash-card-title { font-size: 13px; font-weight: 700; color: var(--text-hi); }
.dash-card-meta { font-size: 11px; color: var(--dim); }
.dash-figure { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-hi); font-variant-numeric: tabular-nums; }
.dash-figure-sub { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.dash-area { display: block; width: 100%; height: 120px; }
.dash-x { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--dim); font-family: var(--mono); }

.dash-donut-row { display: flex; align-items: center; gap: 18px; padding: 6px 0; }
.dash-donut {
  position: relative;
  width: 132px; height: 132px; flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(
    #6366F1 0deg 140deg,
    #2DD4BF 140deg 223deg,
    #F59E0B 223deg 276deg,
    #F472B6 276deg 329deg,
    #38BDF8 329deg 360deg
  );
}
.dash-donut-hole {
  position: absolute; inset: 22px;
  border-radius: 50%;
  background: var(--panel);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ddh-v { font-size: 16px; font-weight: 700; color: var(--text-hi); font-variant-numeric: tabular-nums; }
.ddh-l { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.dash-legend { display: flex; flex-direction: column; gap: 9px; }
.dl { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text); }
.dl .lg { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-charts { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .cal-card { transform: none; max-width: 560px; }
  .float-inv { right: 0; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-3, .b-2, .b-4 { grid-column: span 2; }
  .showcase { grid-template-columns: 1fr; gap: 56px; }
  .inv-doc { transform: none; }
  .quotes { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .burger { display: block; }
  .pipe-track::before { left: 16px; right: 16px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 130px; }
  .section { padding: 80px 0; }
  .f-row { grid-template-columns: 1fr; }
  .pipe-track { flex-wrap: wrap; gap: 18px; justify-content: center; }
  .pipe-track::before, .pipe-track::after { display: none; }
  .cal-days { grid-template-columns: repeat(3, 1fr); }
  .cal-col:nth-child(n+4) { display: none; }
  .big-watermark { font-size: 110px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
