/* Inlined from colors_and_type.css — Cobbo design tokens */
/* ============================================================
   Cobbo Design Tokens
   Colors, type, spacing, radii, shadows.
   Load Google Fonts separately in HTML:
   <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">
   ============================================================ */

:root {
  /* ---------- Brand palette ---------- */
  --cobbo-crimson:        #8B1313; /* primary CTA / accent */
  --cobbo-crimson-hover:  #630F0E; /* hover */
  --cobbo-crimson-active: #540C0D; /* pressed / active */
  --cobbo-crimson-tint:   #FBEAEA; /* 12% tint for badge bg, focus halo */

  --cobbo-navy:           #1A1A2E; /* modal headers, sidebar, dark sections */
  --cobbo-black:          #0C0D12; /* full-dark marketing pages */
  --cobbo-slate:          #15283A; /* section headings */

  /* ---------- Neutrals ---------- */
  --cobbo-fg:             #15283A; /* primary text / section headings */
  --cobbo-fg-body:        #3F444B; /* body text */
  --cobbo-fg-muted:       #6B7280; /* secondary / labels */
  --cobbo-fg-faint:       #9CA3AF; /* placeholder, captions */

  --cobbo-bg:             #FFFFFF;
  --cobbo-bg-alt:         #F4F4F5; /* email body, dashboard canvas */
  --cobbo-bg-soft:        #F9FAFB; /* table head, soft sections */
  --cobbo-border:         #E5E7EB; /* hairline */
  --cobbo-border-strong:  #D1D5DB;
  --cobbo-paper:          #FAF7F1; /* ledger-paper tint, used sparingly for the about strip */
  --cobbo-paper-rule:     rgba(139, 19, 19, 0.05); /* faint ruled line on paper sections */

  /* ---------- Status (Bootstrap contextual mapping) ---------- */
  --cobbo-success:        #16A34A;
  --cobbo-success-bg:     #DCFCE7;
  --cobbo-warning:        #D97706;
  --cobbo-warning-bg:     #FEF3C7;
  --cobbo-danger:         #DC2626;
  --cobbo-danger-bg:      #FEE2E2;
  --cobbo-info:           #0EA5E9;
  --cobbo-info-bg:        #E0F2FE;

  /* ---------- Type scale ---------- */
  --cobbo-font-display:   "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cobbo-font-body:      "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --cobbo-fs-display:     56px; /* hero */
  --cobbo-fs-h1:          40px;
  --cobbo-fs-h2:          32px;
  --cobbo-fs-h3:          24px;
  --cobbo-fs-h4:          20px;
  --cobbo-fs-lead:        18px;
  --cobbo-fs-body:        16px;
  --cobbo-fs-sm:          14px;
  --cobbo-fs-xs:          12px;

  --cobbo-lh-tight:       1.15;
  --cobbo-lh-snug:        1.3;
  --cobbo-lh-normal:      1.55;

  /* ---------- Spacing (4px base) ---------- */
  --cobbo-space-1:  4px;
  --cobbo-space-2:  8px;
  --cobbo-space-3:  12px;
  --cobbo-space-4:  16px;
  --cobbo-space-5:  20px;
  --cobbo-space-6:  24px;
  --cobbo-space-8:  32px;
  --cobbo-space-10: 40px;
  --cobbo-space-12: 48px;
  --cobbo-space-16: 64px;
  --cobbo-space-24: 96px;

  /* ---------- Radii ---------- */
  --cobbo-radius-xs: 4px;  /* inputs, badges */
  --cobbo-radius-sm: 8px;  /* buttons, small cards */
  --cobbo-radius-md: 12px; /* dashboard cards, modals (signature) */
  --cobbo-radius-lg: 16px; /* large feature cards on marketing */
  --cobbo-radius-pill: 999px;

  /* ---------- Shadows ---------- */
  --cobbo-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --cobbo-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --cobbo-shadow-focus: 0 0 0 3px rgba(139, 19, 19, 0.15);

  /* ---------- Motion ---------- */
  --cobbo-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --cobbo-dur-fast: 150ms;
  --cobbo-dur-base: 200ms;
  --cobbo-ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1); /* scroll reveals */
  --cobbo-ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);  /* hero load sequence */
}

/* ============================================================
   Semantic element styles — opt in by class on a root element.
   ============================================================ */
.cobbo {
  font-family: var(--cobbo-font-body);
  font-size: var(--cobbo-fs-body);
  line-height: var(--cobbo-lh-normal);
  color: var(--cobbo-fg-body);
  background: var(--cobbo-bg);
  -webkit-font-smoothing: antialiased;
}

.cobbo h1, .cobbo h2, .cobbo h3, .cobbo h4 {
  font-family: var(--cobbo-font-display);
  color: var(--cobbo-slate);
  letter-spacing: -0.01em;
  line-height: var(--cobbo-lh-tight);
  margin: 0;
}
.cobbo h1 { font-size: var(--cobbo-fs-h1); font-weight: 800; }
.cobbo h2 { font-size: var(--cobbo-fs-h2); font-weight: 700; }
.cobbo h3 { font-size: var(--cobbo-fs-h3); font-weight: 700; }
.cobbo h4 { font-size: var(--cobbo-fs-h4); font-weight: 600; }

.cobbo .display {
  font-family: var(--cobbo-font-display);
  font-weight: 800;
  font-size: var(--cobbo-fs-display);
  line-height: var(--cobbo-lh-tight);
  letter-spacing: -0.02em;
  color: var(--cobbo-slate);
}

.cobbo .lead {
  font-size: var(--cobbo-fs-lead);
  line-height: var(--cobbo-lh-normal);
  color: var(--cobbo-fg-body);
}

.cobbo .eyebrow {
  font-family: var(--cobbo-font-body);
  font-weight: 600;
  font-size: var(--cobbo-fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobbo-crimson);
}

.cobbo small, .cobbo .small { font-size: var(--cobbo-fs-sm); }
.cobbo .muted { color: var(--cobbo-fg-muted); }

.cobbo a {
  color: var(--cobbo-crimson);
  text-decoration: none;
  transition: color var(--cobbo-dur-fast) var(--cobbo-ease);
}
.cobbo a:hover { color: var(--cobbo-crimson-hover); text-decoration: underline; }

/* Dark surface helpers */
.cobbo-dark { background: linear-gradient(180deg, var(--cobbo-navy) 0%, var(--cobbo-black) 100%); color: #fff; }
.cobbo-dark h1, .cobbo-dark h2, .cobbo-dark h3, .cobbo-dark h4 { color: #fff; }
.cobbo-dark .muted { color: rgba(255, 255, 255, 0.7); }

/* ============= BASE ============= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--cobbo-font-body);
  color: var(--cobbo-fg-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ============= TYPE ============= */
h1, h2, h3, h4 { font-family: var(--cobbo-font-display); color: var(--cobbo-slate); margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 44px; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0; line-height: 1.6; }
.eyebrow {
  display: inline-block;
  font-family: var(--cobbo-font-body);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cobbo-crimson);
}
.lead { font-size: 18px; line-height: 1.6; color: var(--cobbo-fg-body); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin: 12px 0 16px; }
.section-head p { color: var(--cobbo-fg-muted); font-size: 17px; line-height: 1.55; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--cobbo-font-body);
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: all 150ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--cobbo-crimson); color: #fff; box-shadow: 0 6px 16px rgba(139,19,19,0.25); }
.btn-primary:hover { background: var(--cobbo-crimson-hover); box-shadow: 0 10px 24px rgba(139,19,19,0.32); transform: translateY(-1px); }
.btn-primary:active { background: var(--cobbo-crimson-active); transform: translateY(0); }
.btn-secondary { background: #fff; color: var(--cobbo-fg); border-color: var(--cobbo-border-strong); }
.btn-secondary:hover { background: var(--cobbo-bg-soft); border-color: var(--cobbo-fg-muted); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.22); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.btn-lg { padding: 16px 26px; font-size: 16px; }

/* ============= TEAR / PERFORATION ============= */
/* Signature motif: a row of punched holes marking the seam between two
   moods, the way a real invoice tears off its stub. --tear-bg is the
   fabric being torn, --tear-hole is the colour showing through the holes. */
.tear {
  height: 20px;
  background-color: var(--tear-bg, #fff);
  background-image: radial-gradient(circle, var(--tear-hole, #fff) 0 6px, transparent 6.5px);
  background-size: 26px 100%;
  background-position: center;
  background-repeat: repeat-x;
}
.hero > .tear, .showcase > .tear, .app-sec > .tear, .faq > .tear {
  position: absolute; left: 0; right: 0; bottom: 0;
}
.tear-sm {
  height: 13px;
  background-size: 18px 100%;
  background-image: radial-gradient(circle, var(--tear-hole, #fff) 0 3.5px, transparent 4px);
}

/* ============= NAV ============= */
.nav { position: sticky; top: 0; z-index: 50; height: 72px; transition: background 200ms ease, box-shadow 200ms ease, border-color 200ms ease; border-bottom: 1px solid transparent; }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav .brand img { height: 30px; display: block; filter: brightness(0) invert(1); transition: filter 200ms ease; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); text-decoration: none; transition: color 150ms; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .signin { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); text-decoration: none; }
.nav.scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--cobbo-border); }
.nav.scrolled .brand img { filter: none; }
.nav.scrolled .nav-links a, .nav.scrolled .signin { color: var(--cobbo-fg); }
.nav.scrolled .nav-links a:hover { color: var(--cobbo-crimson); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ============= HERO ============= */
.hero {
  position: relative;
  background: linear-gradient(180deg, #1A1A2E 0%, #0C0D12 100%);
  color: #fff;
  margin-top: -72px;
  padding: 168px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(139,19,19,0.28), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(139,19,19,0.10), transparent 60%),
    repeating-linear-gradient(to bottom, transparent 0 35px, rgba(255,255,255,0.025) 35px 36px);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; font-weight: 500; color: #fff;
}
.hero .badge .pill { background: var(--cobbo-crimson); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.hero h1 {
  font-family: var(--cobbo-font-display);
  font-weight: 800;
  font-size: 64px; line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff; margin: 20px 0 22px;
}
.hero h1 .accent { color: #fff; position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--cobbo-crimson); opacity: 0.5; z-index: -1; border-radius: 2px;
}
.hero .sub { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.6); }
.hero-trust .check { color: #16A34A; font-weight: 700; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* hero load sequence — the signature entrance. One orchestrated moment; nothing else on the
   page gets this treatment. */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .badge { animation: heroFadeUp 600ms var(--cobbo-ease-out-quint) 80ms both; }
.hero h1     { animation: heroFadeUp 650ms var(--cobbo-ease-out-quint) 160ms both; }
.hero .sub   { animation: heroFadeUp 650ms var(--cobbo-ease-out-quint) 240ms both; }
.hero-cta    { animation: heroFadeUp 650ms var(--cobbo-ease-out-quint) 320ms both; }
.hero-trust  { animation: heroFadeUp 650ms var(--cobbo-ease-out-quint) 400ms both; }

/* hero art — layered preview */
.hero-art { position: relative; min-height: 540px; }
.hero-art .invoice-card, .hero-art .reminder-card, .hero-art .paid-toast { position: absolute; }
.invoice-card {
  background: #fff;
  width: 100%; max-width: 480px;
  border-top: 3px solid var(--cobbo-crimson);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 12px 24px rgba(0,0,0,0.35);
  color: var(--cobbo-fg-body);
  font-family: var(--cobbo-font-body);
  transform: rotate(-1.5deg);
  top: 20px; left: 20px; z-index: 1;
}
.invoice-card .ic-body { padding: 28px 32px 22px; }
.invoice-card .ic-row { display: flex; justify-content: space-between; align-items: flex-start; }
.invoice-card .ic-title { font-family: var(--cobbo-font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cobbo-slate); }
.invoice-card .ic-meta { font-size: 12px; color: var(--cobbo-fg-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.invoice-card .ic-from { text-align: right; }
.invoice-card .ic-from img { height: 20px; }
.invoice-card .ic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.invoice-card .ic-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobbo-fg-muted); margin-bottom: 4px; }
.invoice-card .ic-strong { font-weight: 600; color: var(--cobbo-fg); font-size: 13px; }
.invoice-card .ic-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #FBEAEA; color: #8B1313; }
.invoice-card .ic-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 12px; font-variant-numeric: tabular-nums; }
.invoice-card .ic-table th { text-align: left; font-weight: 700; color: var(--cobbo-fg-muted); padding: 0 0 8px; border-bottom: 1px solid var(--cobbo-border); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.invoice-card .ic-table td { padding: 10px 0; border-bottom: 1px solid #F1F1F3; }
.invoice-card .ic-total { background: var(--cobbo-navy); color: #fff; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; }
.invoice-card .ic-total .l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.invoice-card .ic-total .v { font-family: var(--cobbo-font-display); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }

/* floating cards */
.reminder-card {
  background: #fff;
  width: 240px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  padding: 14px 16px;
  color: var(--cobbo-fg);
  font-size: 13px;
  right: 0; top: 280px; z-index: 2;
  transform: rotate(2deg);
}
.reminder-card .head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.reminder-card .icn { width: 26px; height: 26px; border-radius: 8px; background: var(--cobbo-crimson-tint); color: var(--cobbo-crimson); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.reminder-card .ttl { font-weight: 600; font-size: 13px; color: var(--cobbo-slate); }
.reminder-card .ts { font-size: 11px; color: var(--cobbo-fg-muted); margin-left: auto; }
.reminder-card .msg { font-size: 12px; color: var(--cobbo-fg-body); line-height: 1.5; }

.paid-toast {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
  right: 30px; bottom: 0px; z-index: 3;
  transform: rotate(-1deg);
}
.paid-toast .ring { width: 36px; height: 36px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.paid-toast .l { font-size: 11px; color: var(--cobbo-fg-muted); }
.paid-toast .v { font-weight: 700; font-size: 14px; color: var(--cobbo-slate); }

/* hero art entrance — the invoice settles in first, then the two notifications arrive just
   like a real reminder and a real payment would: this dramatizes the product's actual promise
   instead of decorating the page. Each keyframe's resting transform matches the element's own
   static rotate/position so reduced-motion (animation: none) falls back cleanly. */
@keyframes cardSettle {
  from { opacity: 0; transform: translateY(28px) rotate(-1.5deg) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) rotate(-1.5deg) scale(1); }
}
@keyframes reminderPop {
  from { opacity: 0; transform: translateY(14px) rotate(2deg) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) rotate(2deg) scale(1); }
}
@keyframes toastPop {
  from { opacity: 0; transform: translateY(14px) rotate(-1deg) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) rotate(-1deg) scale(1); }
}
.invoice-card  { animation: cardSettle 700ms var(--cobbo-ease-out-expo) 260ms both; }
.reminder-card { animation: reminderPop 550ms var(--cobbo-ease-out-expo) 820ms both; }
.paid-toast    { animation: toastPop 550ms var(--cobbo-ease-out-expo) 1080ms both; }

/* ============= LOGO STRIP ============= */
.logo-strip { background: #fff; padding: 56px 0 64px; border-bottom: 1px solid var(--cobbo-border); }
.logo-strip .label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobbo-fg-muted); margin-bottom: 24px; }
.logo-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.ghost-logo { font-family: var(--cobbo-font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.06em; color: #C4C8CE; }

/* ============= STATS ============= */
.stats {
  background: var(--cobbo-paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--cobbo-paper-rule) 31px 32px);
  padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .v { font-family: var(--cobbo-font-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--cobbo-slate); letter-spacing: -0.02em; }
.stat .v .unit { color: var(--cobbo-crimson); }
.stat .l { font-size: 14px; color: var(--cobbo-fg-muted); margin-top: 8px; }

/* ============= PROBLEM ============= */
.problem { background: #fff; }
.problem-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.problem h2 { color: var(--cobbo-slate); }
.problem .lead { margin-top: 18px; color: var(--cobbo-fg-body); }
.problem-list { display: flex; flex-direction: column; gap: 12px; }
.problem-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--cobbo-border);
  border-radius: 12px;
  transition: all 200ms;
}
.problem-item:hover { border-color: var(--cobbo-crimson); transform: translateX(4px); }
.problem-item .x { width: 28px; height: 28px; border-radius: 50%; background: #FEE2E2; color: var(--cobbo-danger); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.problem-item .check-i { width: 28px; height: 28px; border-radius: 50%; background: #DCFCE7; color: var(--cobbo-success); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.problem-item .t { font-weight: 600; color: var(--cobbo-fg); font-size: 15px; margin-bottom: 4px; }
.problem-item .d { font-size: 14px; color: var(--cobbo-fg-muted); line-height: 1.5; }

/* ============= HOW IT WORKS ============= */
.how { background: var(--cobbo-bg-alt); position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: ""; position: absolute;
  top: 32px; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cobbo-border-strong), transparent);
  z-index: 0;
}
.step { background: #fff; border: 1px solid var(--cobbo-border); border-radius: 16px; padding: 32px 28px; position: relative; z-index: 1; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.step:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.step .n { width: 64px; height: 64px; border-radius: 50%; background: var(--cobbo-crimson); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--cobbo-font-display); font-weight: 800; font-size: 26px; margin-bottom: 20px; box-shadow: 0 8px 20px rgba(139,19,19,0.3); }
.step h3 { color: var(--cobbo-slate); font-weight: 700; font-size: 22px; }
.step p { margin-top: 10px; color: var(--cobbo-fg-body); font-size: 15px; line-height: 1.55; }
.step .sn {
  margin-top: 18px; padding: 12px 14px;
  background: var(--cobbo-bg-soft);
  border-radius: 8px;
  font-size: 12px;
  color: var(--cobbo-fg);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  display: flex; align-items: center; gap: 8px;
}
.step .sn i { color: var(--cobbo-crimson); }

/* ============= FEATURES ============= */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff;
  border: 1px solid var(--cobbo-border);
  border-radius: 12px;
  padding: 28px;
  transition: all 200ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); border-color: var(--cobbo-border-strong); }
.feature .icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--cobbo-crimson-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--cobbo-crimson);
  font-size: 22px;
  margin-bottom: 18px;
}
.feature h4 { font-family: var(--cobbo-font-display); font-weight: 700; font-size: 18px; color: var(--cobbo-slate); margin: 0 0 8px; }
.feature p { font-size: 14px; line-height: 1.55; color: var(--cobbo-fg-body); }

/* ============= SHOWCASE — invoice editor preview ============= */
.showcase { position: relative; background: linear-gradient(180deg, var(--cobbo-bg-alt) 0%, #fff 100%); padding-bottom: 120px; }
.showcase-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.showcase h2 { color: var(--cobbo-slate); }
.showcase .lead { margin-top: 16px; color: var(--cobbo-fg-body); }
.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature-list .fli { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--cobbo-crimson); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 700; }
.feature-list .fli div { font-size: 15px; color: var(--cobbo-fg); }
.feature-list .fli strong { font-weight: 600; }

/* mock editor */
.editor {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.04);
  overflow: hidden;
  border: 1px solid var(--cobbo-border);
}
.editor .bar { background: var(--cobbo-bg-soft); padding: 10px 14px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--cobbo-border); }
.editor .bar .light { width: 10px; height: 10px; border-radius: 50%; background: #E5E7EB; }
.editor .bar .url { margin-left: 12px; font-size: 12px; color: var(--cobbo-fg-muted); font-family: ui-monospace, monospace; background: #fff; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--cobbo-border); flex: 1; max-width: 360px; }
.editor .body { display: grid; grid-template-columns: 280px 1fr; min-height: 460px; }
.editor .form-pane { background: #fff; padding: 22px; border-right: 1px solid var(--cobbo-border); display: flex; flex-direction: column; gap: 14px; }
.editor .form-pane .ft { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobbo-fg-muted); margin-top: 4px; }
.editor .form-pane .fld { display: flex; flex-direction: column; gap: 4px; }
.editor .form-pane label { font-size: 11px; font-weight: 600; color: var(--cobbo-fg); }
.editor .form-pane .input { padding: 8px 10px; border: 1px solid var(--cobbo-border-strong); border-radius: 6px; font-size: 12px; color: var(--cobbo-fg); background: #fff; }
.editor .form-pane .input.focused { border-color: var(--cobbo-crimson); box-shadow: 0 0 0 3px rgba(139,19,19,0.15); }
.editor .form-pane .input.focused::after {
  content: "";
  display: inline-block;
  width: 1px; height: 12px;
  margin-left: 2px; vertical-align: -2px;
  background: var(--cobbo-crimson);
  animation: caretBlink 1s linear infinite;
}
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.editor .form-pane .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.editor .form-pane .send { background: var(--cobbo-crimson); color: #fff; padding: 10px; border: none; border-radius: 8px; font-weight: 600; font-size: 12px; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.editor .preview-pane { background: var(--cobbo-bg-alt); padding: 28px; display: flex; align-items: center; justify-content: center; }
.editor .preview-pane .mini-inv {
  background: #fff; width: 100%; max-width: 340px;
  border-top: 3px solid var(--cobbo-crimson);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.editor .preview-pane .mini-body { padding: 20px; }
.editor .preview-pane .mini-h { display: flex; justify-content: space-between; }
.editor .preview-pane .mini-h .t { font-family: var(--cobbo-font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cobbo-slate); }
.editor .preview-pane .mini-h img { height: 14px; }
.editor .preview-pane .lns { margin-top: 16px; font-size: 11px; font-variant-numeric: tabular-nums; }
.editor .preview-pane .lns .ln { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #F1F1F3; }
.editor .preview-pane .mini-total { background: var(--cobbo-navy); color: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
.editor .preview-pane .mini-total .l { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.editor .preview-pane .mini-total .v { font-family: var(--cobbo-font-display); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }

/* ============= APP SECTION ============= */
.app-sec { background: linear-gradient(180deg, #1A1A2E 0%, #0C0D12 100%); color: #fff; position: relative; overflow: hidden; }
.app-sec::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 360px at 0% 100%, rgba(139,19,19,0.28), transparent 60%),
    radial-gradient(600px 320px at 100% 0%, rgba(139,19,19,0.12), transparent 60%);
  pointer-events: none;
}
.app-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.app-copy .eyebrow { color: #E08585; }
.app-copy h2 { color: #fff; margin: 14px 0 18px; font-size: 48px; line-height: 1.06; }
.app-copy .lead { color: rgba(255,255,255,0.78); font-size: 18px; max-width: 520px; }
.app-bullets { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.app-bullet { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.85); }
.app-bullet i { color: var(--cobbo-crimson); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.app-bullet .crimson-ring { width: 22px; height: 22px; border-radius: 50%; background: rgba(139,19,19,0.25); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-bullet .crimson-ring i { font-size: 12px; margin-top: 0; color: #fff; }

/* Store badges */
.stores { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 10px 18px;
  text-decoration: none;
  transition: all 150ms ease;
  min-width: 180px;
}
.store-badge:hover { background: #111; border-color: rgba(255,255,255,0.32); transform: translateY(-1px); }
.store-badge .glyph { font-size: 30px; line-height: 1; flex-shrink: 0; }
.store-badge .glyph i { font-size: 30px; }
.store-badge .tx { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .tx .pre { font-size: 10px; letter-spacing: 0.04em; color: rgba(255,255,255,0.72); font-weight: 400; }
.store-badge .tx .name { font-family: var(--cobbo-font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-top: 2px; }

.qr-note { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: rgba(255,255,255,0.55); font-size: 13px; }
.qr-note .qr {
  width: 56px; height: 56px;
  background:
    linear-gradient(45deg, #fff 25%, transparent 25%) 0 0/8px 8px,
    linear-gradient(-45deg, #fff 25%, transparent 25%) 0 0/8px 8px,
    #0C0D12;
  border: 3px solid #fff; border-radius: 6px;
  position: relative; flex-shrink: 0;
}
.qr-note .qr::before, .qr-note .qr::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  background: #fff; border: 3px solid #0C0D12; border-radius: 2px;
}
.qr-note .qr::before { top: 4px; left: 4px; }
.qr-note .qr::after { bottom: 4px; right: 4px; }

/* Phone mockup */
.app-art { display: flex; justify-content: center; align-items: center; position: relative; min-height: 600px; }
.phone {
  width: 300px; height: 612px;
  background: #0C0D12;
  border: 10px solid #15161B;
  border-radius: 44px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.6), 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.phone .notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #000; border-radius: 16px;
  z-index: 5;
}
.phone .screen {
  background: #F4F4F5;
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  font-family: var(--cobbo-font-body);
  color: var(--cobbo-fg);
}
.ph-status { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 11px; font-weight: 600; color: var(--cobbo-fg); z-index: 6; position: relative; }
.ph-status .right { display: inline-flex; gap: 4px; align-items: center; }
.ph-status .right i { font-size: 10px; }
.ph-header { padding: 36px 18px 14px; display: flex; justify-content: space-between; align-items: center; background: #fff; border-bottom: 1px solid var(--cobbo-border); }
.ph-header .hi { font-family: var(--cobbo-font-display); font-weight: 700; font-size: 18px; color: var(--cobbo-slate); }
.ph-header .hi .sub { display: block; font-family: var(--cobbo-font-body); font-weight: 400; font-size: 11px; color: var(--cobbo-fg-muted); margin-top: 2px; }
.ph-header .av { width: 32px; height: 32px; border-radius: 50%; background: var(--cobbo-crimson); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.ph-kpi { padding: 14px 18px; background: #fff; }
.ph-kpi .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobbo-fg-muted); }
.ph-kpi .val { font-family: var(--cobbo-font-display); font-weight: 800; font-size: 26px; color: var(--cobbo-slate); margin-top: 2px; font-variant-numeric: tabular-nums; }
.ph-kpi .delta { font-size: 11px; color: var(--cobbo-success); font-weight: 600; margin-top: 2px; }
.ph-tabs { display: flex; gap: 4px; padding: 12px 18px 4px; background: var(--cobbo-bg-alt); }
.ph-tab { font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: transparent; color: var(--cobbo-fg-muted); }
.ph-tab.active { background: var(--cobbo-slate); color: #fff; }
.ph-list { background: var(--cobbo-bg-alt); padding: 6px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ph-row { background: #fff; border-radius: 10px; padding: 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.ph-row .av { width: 30px; height: 30px; border-radius: 50%; background: var(--cobbo-bg-alt); color: var(--cobbo-fg); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 10px; flex-shrink: 0; }
.ph-row .info { flex: 1; min-width: 0; }
.ph-row .nm { font-weight: 600; font-size: 12px; color: var(--cobbo-fg); }
.ph-row .meta { font-size: 10px; color: var(--cobbo-fg-muted); margin-top: 1px; }
.ph-row .right { text-align: right; }
.ph-row .amt { font-family: var(--cobbo-font-display); font-weight: 700; font-size: 12px; color: var(--cobbo-slate); font-variant-numeric: tabular-nums; }
.ph-row .bdg-mini { display: inline-block; margin-top: 2px; font-size: 8px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 5px; border-radius: 3px; }
.ph-row .bdg-mini.paid { background: #DCFCE7; color: #16A34A; }
.ph-row .bdg-mini.sent { background: #FBEAEA; color: #8B1313; }
.ph-row .bdg-mini.overdue { background: #FEE2E2; color: #DC2626; }
.ph-row .bdg-mini.pending { background: #FEF3C7; color: #D97706; }
.ph-fab {
  position: absolute; right: 18px; bottom: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cobbo-crimson); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(139,19,19,0.5);
  z-index: 4;
}
.phone .tab-bar {
  background: #fff; border-top: 1px solid var(--cobbo-border);
  padding: 8px 12px 18px;
  display: flex; justify-content: space-around;
}
.tab-bar .tb { font-size: 9px; color: var(--cobbo-fg-muted); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tab-bar .tb i { font-size: 18px; }
.tab-bar .tb.active { color: var(--cobbo-crimson); }

/* ============= TESTIMONIALS ============= */
.quotes { background: var(--cobbo-bg-alt); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: #fff;
  border: 1px solid var(--cobbo-border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.quote .stars { color: #F59E0B; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-family: var(--cobbo-font-body); font-size: 16px; line-height: 1.55; color: var(--cobbo-fg); font-weight: 400; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--cobbo-border); }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: var(--cobbo-crimson); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.quote .nm { font-weight: 600; color: var(--cobbo-fg); font-size: 14px; }
.quote .ro { font-size: 12px; color: var(--cobbo-fg-muted); margin-top: 2px; }

/* ============= PRICING ============= */
.pricing { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: #fff;
  border: 1px solid var(--cobbo-border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  display: flex; flex-direction: column;
  transition: all 200ms;
}
.plan:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.plan-featured {
  background: var(--cobbo-slate);
  border-color: var(--cobbo-slate);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 24px 60px rgba(21,40,58,0.3);
}
.plan-featured:hover { transform: scale(1.04) translateY(-2px); }
.plan-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--cobbo-crimson); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(139,19,19,0.3); }
.plan h3 { font-family: var(--cobbo-font-display); font-weight: 700; font-size: 22px; color: var(--cobbo-slate); margin-bottom: 6px; }
.plan-featured h3 { color: #fff; }
.plan-desc { font-size: 14px; color: var(--cobbo-fg-muted); min-height: 40px; margin-bottom: 20px; }
.plan-featured .plan-desc { color: rgba(255,255,255,0.7); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--cobbo-border); }
.plan-featured .plan-price { border-bottom-color: rgba(255,255,255,0.12); }
.plan-price .amt { font-family: var(--cobbo-font-display); font-weight: 800; font-size: 42px; color: var(--cobbo-slate); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-featured .plan-price .amt { color: #fff; }
.plan-price .per { font-size: 13px; color: var(--cobbo-fg-muted); }
.plan-featured .plan-price .per { color: rgba(255,255,255,0.6); }
.plan-feats { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--cobbo-fg-body); flex: 1; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; }
.plan-feats li i { color: var(--cobbo-crimson); font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.plan-featured .plan-feats { color: rgba(255,255,255,0.85); }
.plan-featured .plan-feats li i { color: #fff; }
.plan .btn { width: 100%; justify-content: center; }

/* ============= FAQ ============= */
.faq { position: relative; background: var(--cobbo-bg-alt); }
.faq-list { max-width: 800px; margin: 0 auto; }
details.qa {
  background: #fff;
  border: 1px solid var(--cobbo-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 200ms;
}
details.qa[open] { border-color: var(--cobbo-crimson); box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
details.qa summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--cobbo-font-display);
  font-weight: 600; font-size: 16px; color: var(--cobbo-slate);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--cobbo-crimson);
  transition: transform 200ms var(--cobbo-ease);
  line-height: 1;
}
/* rotate the "+" into an "×" instead of swapping characters — the existing transform
   transition above was declared but never driven by anything until now */
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .a {
  padding: 0 24px 22px;
  font-size: 15px; line-height: 1.6;
  color: var(--cobbo-fg-body);
  transition: opacity 220ms var(--cobbo-ease), transform 220ms var(--cobbo-ease), display 220ms allow-discrete;
}
details.qa:not([open]) .a { opacity: 0; transform: translateY(-6px); }
@starting-style {
  details.qa[open] .a { opacity: 0; transform: translateY(-6px); }
}

/* ============= FINAL CTA ============= */
.final-cta {
  background: linear-gradient(180deg, #1A1A2E 0%, #0C0D12 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(139,19,19,0.3), transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; text-align: center; }
.final-cta h2 { color: #fff; max-width: 720px; margin: 0 auto 18px; font-size: 48px; line-height: 1.1; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 32px; }
.final-cta .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .micro { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ============= FOOTER ============= */
.footer { background: #0C0D12; color: rgba(255,255,255,0.7); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2.4fr; gap: 80px; padding-bottom: 48px; }
.footer-brand img { height: 28px; filter: brightness(0) invert(1); display: block; }
.footer-brand p { margin: 16px 0 0; font-size: 14px; max-width: 240px; color: rgba(255,255,255,0.55); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h5 { font-family: var(--cobbo-font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-cols a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 150ms; }
.footer-cols a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.5); }
.row-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); margin: 0; transition: all 150ms; }
.socials a:hover { background: var(--cobbo-crimson); color: #fff; }

/* ============= SCROLL REVEAL ============= */
/* Reserved for real lists/grids (steps, feature cards, quotes, plans, the problem list) where
   a sibling stagger conveys something true about the content. Single-block sections (the about
   strip, the editor/phone mockups, the final CTA) are deliberately left static — that restraint
   is the counterweight to the hero's one orchestrated entrance. Hidden only once JS confirms it
   can reveal them (.js-reveal-ready), so a no-JS visitor always sees full content. */
.js-reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--cobbo-ease-out-quint), transform 600ms var(--cobbo-ease-out-quint);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js-reveal-ready .reveal-group.is-visible .reveal-item { opacity: 1; transform: none; }

/* the problem list's resolution card gets its own arrival — marking the pivot from
   problem to solution, not just another list row */
.js-reveal-ready .reveal-item.is-solution { opacity: 0; }
.js-reveal-ready .reveal-group.is-visible .reveal-item.is-solution {
  animation: solutionPulse 900ms var(--cobbo-ease-out-quint) calc(var(--i, 0) * 70ms) both;
}
@keyframes solutionPulse {
  0%   { opacity: 0; transform: translateY(18px) scale(0.98); box-shadow: 0 0 0 0 rgba(139,19,19,0.35); }
  60%  { opacity: 1; transform: translateY(0) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 0 0 14px rgba(139,19,19,0); }
}

@media (prefers-reduced-motion: reduce) {
  /* disabling the animation alone is enough for the hero art: each card's static rule already
     declares its resting rotate/position as a fallback, so we must not force transform: none
     here or we'd undo the intentional tilt */
  .hero .badge, .hero h1, .hero .sub, .hero-cta, .hero-trust,
  .invoice-card, .reminder-card, .paid-toast {
    animation: none !important;
  }
  .editor .form-pane .input.focused::after { animation: none !important; opacity: 1 !important; }
  .reveal-item, .reveal-item.is-solution {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

/* ============= RESPONSIVE — tablet ============= */
@media (max-width: 960px) {
  section { padding: 64px 0; }
  h2 { font-size: 32px; }
  .hero { padding: 140px 0 80px; }
  .hero h1 { font-size: 44px; }
  .hero h1 .accent { white-space: normal; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { min-height: 460px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .problem-inner, .showcase-inner, .footer-inner, .app-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps, .feature-grid, .quotes-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-2px); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .editor .body { grid-template-columns: 1fr; }
  .editor .form-pane { border-right: none; border-bottom: 1px solid var(--cobbo-border); }
}

/* ============= RESPONSIVE — mobile ============= */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  section { padding: 48px 0; }
  h2 { font-size: 26px; line-height: 1.2; }

  /* Nav */
  .nav { height: 60px; }
  .nav-inner { height: 60px; }
  .nav .brand img { height: 24px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 13px; }

  /* Hero */
  .hero { padding: 100px 0 56px; }
  .hero h1 { font-size: 32px; line-height: 1.1; }
  .hero h1 .accent { white-space: normal; }
  .hero .sub { font-size: 15px; }
  .hero .badge { font-size: 11px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-wrap: wrap; gap: 10px; font-size: 12px; }

  /* Hero art — reflow on mobile */
  .hero-art { min-height: 0; display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
  .hero-art .invoice-card,
  .hero-art .reminder-card,
  .hero-art .paid-toast { position: relative; top: auto; right: auto; bottom: auto; left: auto; transform: none; }
  .invoice-card { max-width: 100%; box-shadow: 0 8px 32px rgba(0,0,0,.25); }
  .reminder-card { width: 100%; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
  .paid-toast { width: 100%; box-shadow: 0 4px 16px rgba(0,0,0,.15); }

  /* Logo strip */
  .logo-strip { padding: 32px 0 !important; }
  .logo-row { gap: 20px; justify-content: center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat .v { font-size: 36px; }

  /* Steps */
  .step { padding: 24px 20px; }

  /* Features */
  .feature-grid { gap: 16px; }

  /* Pricing */
  .plan { padding: 24px 20px; }
  .plan-price .amt { font-size: 36px; }

  /* Testimonials */
  .quotes-grid { gap: 16px; }
  .quote { padding: 20px; }

  /* FAQ */
  .qa summary { font-size: 15px; }

  /* Footer */
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
