/* ============================================================
   Ramelo Accounting — Landing
   Refined fintech, light. Fraunces display + Plus Jakarta Sans.
   Hand-authored, no framework.
   ============================================================ */

:root {
  /* Brand purple scale (from app tailwind config) */
  --brand-50:  #faf5ff;
  --brand-100: #f2e5ff;
  --brand-200: #e4caff;
  --brand-300: #cfa0fc;
  --brand-400: #b778f5;
  --brand:     #a960ee; /* brand-500 */
  --brand-600: #8f42d3;
  --brand-700: #7632ac;
  --brand-800: #5d2685;
  --brand-900: #3d1759;

  /* Ink & neutrals */
  --ink:    hsl(258 30% 11%);
  --ink-2:  hsl(255 14% 30%);
  --muted:  hsl(250 10% 46%);
  --line:   hsl(255 22% 90%);
  --line-2: hsl(255 24% 94%);

  /* Surfaces */
  --paper:  #faf8ff;   /* faint warm-violet tint */
  --paper-2:#f4f1fb;
  --card:   #ffffff;

  /* Utility (mock dashboard) */
  --pos: #059669;
  --neg: #dc2626;

  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-sm: 0.5rem;

  --shadow-sm: 0 1px 2px rgba(61, 23, 89, .05);
  --shadow:    0 12px 30px -12px rgba(61, 23, 89, .18);
  --shadow-lg: 0 40px 80px -32px rgba(61, 23, 89, .30);

  --maxw: 1160px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* Faint grain overlay for atmosphere */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  padding: .82em 1.5em; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 2em; font-size: 1.05rem; }
.btn--primary {
  background: var(--brand-700); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(118,50,172,.7);
}
.btn--primary:hover { background: var(--brand-800); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(118,50,172,.65); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(250,248,255,.72);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(250,248,255,.88); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__mark { border-radius: 8px; }
.brand__word {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  letter-spacing: -.02em; color: var(--ink);
}
.brand__suffix {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); align-self: flex-end; padding-bottom: .35rem; margin-left: -.25rem;
}

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links > a:not(.btn) {
  font-size: .96rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand); transition: width .25s var(--ease);
}
.nav__links > a:not(.btn):hover::after,
.nav__links > a.is-active::after { width: 100%; }
.nav__links > a:not(.btn):hover,
.nav__links > a.is-active { color: var(--ink); }
.nav__login { margin-left: -1rem; }

.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: 0;
  background:
    radial-gradient(42% 55% at 18% 22%, rgba(169,96,238,.30), transparent 70%),
    radial-gradient(38% 50% at 82% 8%,  rgba(183,120,245,.28), transparent 70%),
    radial-gradient(50% 60% at 60% 60%, rgba(207,160,252,.18), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
.hero::after { /* hairline grid */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(93,38,133,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(93,38,133,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--brand-700); background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: .42em 1em; border-radius: 999px; margin-bottom: 1.4rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(169,96,238,.18); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.03; letter-spacing: -.025em; color: var(--ink);
  margin-bottom: 1.4rem;
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--brand-700); }
.hero__title .hl { position: relative; white-space: nowrap; color: var(--brand-800); }
.hero__title .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em; z-index: -1;
  background: linear-gradient(transparent 40%, var(--brand-200) 40%);
}

.hero__sub { font-size: 1.18rem; color: var(--ink-2); max-width: 34ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- Hero mock dashboard ---------- */
.hero__art { perspective: 1600px; }
.mock {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg) translateZ(0);
  transition: transform .5s var(--ease);
}
.hero__art:hover .mock { transform: rotateY(-3deg) rotateX(1deg); }
.mock__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--paper-2);
}
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock__dot:nth-child(1) { background: #f0a8b4; }
.mock__dot:nth-child(2) { background: #f3d49a; }
.mock__dot:nth-child(3) { background: #a8e0bf; }
.mock__title { margin-left: 8px; font-size: .76rem; color: var(--muted); font-weight: 500; font-family: var(--font-mono); }
.mock__body { padding: 20px; }
.mock__period { display: flex; align-items: baseline; gap: .6rem; margin-bottom: 16px; }
.mock__label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mock__period strong { font-family: var(--font-display); font-size: 1.05rem; }

.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px; background: var(--paper); }
.stat--accent { background: linear-gradient(180deg, var(--brand-50), #fff); border-color: var(--brand-200); }
.stat__k { display: block; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.stat__v { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.stat__d { font-size: .72rem; font-weight: 600; font-family: var(--font-mono); }
.stat__d--up { color: var(--pos); }
.stat__d--down { color: var(--neg); }

.mock__report { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px; }
.mock__report-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; font-size: .9rem; }
.tag { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: .25em .6em; border-radius: 999px; }
.tag--light { color: #fff; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }

.row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: .86rem; color: var(--ink-2); border-bottom: 1px dashed var(--line-2); }
.row:last-child { border-bottom: 0; }
.row--total { font-weight: 700; color: var(--ink); border-top: 2px solid var(--line); border-bottom: 0; margin-top: 4px; padding-top: 9px; }
.num { font-family: var(--font-mono); font-size: .82rem; }
.num--neg { color: var(--neg); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px 24px; }
.trust__lead { font-size: .96rem; color: var(--ink-2); }
.trust__lead strong { color: var(--ink); }
.trust__badges { display: flex; flex-wrap: wrap; gap: 22px; }
.trust__badges li { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--muted); font-weight: 500; }
.trust__code { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: .25em .55em; border-radius: 6px; }

/* ---------- Generic section ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
/* Keep anchored headings clear of the 72px sticky nav when jumped to */
section[id], main[id] { scroll-margin-top: 84px; }
.section__head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.kicker { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-600); margin-bottom: .9rem; }
.kicker--light { color: var(--brand-200); }
.section__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.022em; }
.section__lead { font-size: 1.12rem; color: var(--muted); margin-top: 1rem; }
.section__lead--light { color: rgba(255,255,255,.78); }

/* ---------- Values ---------- */
.values { padding: clamp(48px, 6vw, 80px) 0; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value { padding-top: 24px; border-top: 2px solid var(--ink); }
.value h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: .5rem; letter-spacing: -.01em; }
.value p { font-size: .96rem; color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.feature__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-50), var(--brand-100));
  color: var(--brand-700); border: 1px solid var(--brand-100); margin-bottom: 18px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; margin-bottom: .55rem; letter-spacing: -.01em; }
.feature p { font-size: .96rem; color: var(--muted); }

/* ---------- Use cases (who is it for) ---------- */
.section--usecase { background: linear-gradient(180deg, transparent, var(--paper-2) 45%, transparent); }
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.usecase {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.usecases--4 { grid-template-columns: repeat(4, 1fr); }
.usecase--live { border-color: var(--brand-300); box-shadow: 0 24px 50px -28px rgba(118,50,172,.40); }
.usecase .badge { align-self: flex-start; }
.usecase__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-50), var(--brand-100));
  color: var(--brand-700); border: 1px solid var(--brand-100); margin-bottom: 16px;
}
.usecase__icon svg { width: 23px; height: 23px; }
.usecase h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: .45rem; letter-spacing: -.01em; }
.usecase p { font-size: .94rem; color: var(--muted); margin-bottom: 1rem; flex: 1; }
.usecase__tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .02em; color: var(--brand-700); background: var(--brand-50);
  border: 1px solid var(--brand-100); padding: .35em .75em; border-radius: 999px;
}
.usecase__note {
  text-align: center; max-width: 64ch; margin: 36px auto 0;
  font-size: .98rem; color: var(--muted);
}
.usecase__note strong { color: var(--ink); }
.usecase__note a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--brand-200); }
.usecase__note a:hover { text-decoration-color: var(--brand-700); }

/* ---------- Editions ---------- */
.section--editions { background: linear-gradient(180deg, transparent, var(--paper-2) 40%, transparent); }
.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.edition {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.edition:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.edition--featured {
  border-color: var(--brand-300);
  box-shadow: 0 30px 60px -28px rgba(118,50,172,.45);
}
.edition--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, var(--brand-400), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.edition__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.edition__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.badge { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35em .75em; border-radius: 999px; }
.badge--available { color: #fff; background: var(--brand-700); }
.badge--soon { color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); }
.badge--muted { color: var(--ink-2); background: #fff; border: 1px solid var(--line); }
.edition__price { margin-bottom: 1rem; display: flex; align-items: baseline; gap: .4rem; }
.edition__price strong { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; letter-spacing: -.02em; color: var(--ink); }
.edition__price span { font-size: .9rem; color: var(--muted); }
.edition__tagline { font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.edition__who { font-size: .92rem; color: var(--muted); margin-bottom: 1.4rem; }
.edition__list { display: grid; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.edition__list li { position: relative; padding-left: 1.6rem; font-size: .95rem; color: var(--ink-2); }
.edition__list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px;
  border-radius: 2px; background: var(--brand-300); transform: rotate(45deg);
}
.edition--featured .edition__list li::before { background: var(--brand); }
.edition__list strong { color: var(--ink); font-weight: 600; }
.edition__cta { width: 100%; justify-content: center; }

/* Comparison table */
.compare { margin-top: 40px; overflow-x: auto; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 540px; }
.compare__table th, .compare__table td { padding: 14px 16px; text-align: center; font-size: .94rem; border-bottom: 1px solid var(--line); }
.compare__table thead th { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.compare__table tbody th { text-align: left; font-weight: 500; color: var(--ink-2); }
.compare__table .yes { color: var(--brand-700); font-weight: 700; }
.compare__table td.yes { color: var(--brand-700); }
.compare__table .no { color: var(--line); }
.compare__table .soon { color: var(--muted); font-weight: 600; font-size: .82rem; }
.compare__table tbody tr:last-child td, .compare__table tbody tr:last-child th { border-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__num { font-family: var(--font-mono); font-size: .9rem; font-weight: 600; color: var(--brand); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin: .6rem 0 .5rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- Compliance section (dark) ---------- */
.section--compliance { background: radial-gradient(120% 120% at 80% 0%, var(--brand-800), var(--brand-900) 60%, #2c1042); color: #fff; position: relative; overflow: hidden; }
.section--compliance::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(40% 60% at 15% 90%, rgba(183,120,245,.35), transparent 70%);
}
.compliance { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.compliance .section__title { color: #fff; text-align: left; }
.compliance .section__head { text-align: left; margin: 0; }
.compliance__list { display: grid; gap: .9rem; margin-top: 1.8rem; }
.compliance__list li { position: relative; padding-left: 1.7rem; color: rgba(255,255,255,.82); font-size: 1rem; }
.compliance__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-200);
  font-weight: 700;
}
.compliance__list strong { color: #fff; }

.compliance__card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.lpk__head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.15); color: #fff; }
.lpk__group { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-200); font-weight: 700; margin: 14px 0 6px; }
.compliance__card .row { color: rgba(255,255,255,.78); border-bottom-color: rgba(255,255,255,.1); }
.compliance__card .row--total { color: #fff; border-top-color: rgba(255,255,255,.3); }
.compliance__card .num { color: rgba(255,255,255,.92); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 24px; box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease);
}
.faq__item[open] { border-color: var(--brand-200); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--brand-600);
  transition: transform .25s var(--ease); line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 20px; color: var(--muted); font-size: .98rem; max-width: 64ch; }

/* ---------- CTA band ---------- */
.ctaband { padding: clamp(56px, 7vw, 96px) 0; }
.ctaband__inner {
  text-align: center; background: linear-gradient(155deg, var(--brand-700), var(--brand-900));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px) 24px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.ctaband__inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background: radial-gradient(50% 80% at 100% 0%, rgba(207,160,252,.4), transparent 60%),
              radial-gradient(40% 70% at 0% 100%, rgba(183,120,245,.35), transparent 60%);
}
.ctaband__inner > * { position: relative; z-index: 1; }
.ctaband h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.02em; line-height: 1.1; }
.ctaband p { color: rgba(255,255,255,.82); margin: .9rem 0 1.8rem; }
.ctaband .btn--primary { background: #fff; color: var(--brand-800); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }
.ctaband .btn--primary:hover { background: var(--brand-50); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 32px; background: var(--paper-2); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.brand--footer .brand__word { font-size: 1.25rem; }
.footer__tag { color: var(--muted); font-size: .92rem; margin-top: 1rem; max-width: 30ch; }
.footer__col h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.footer__col a { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .95rem; padding: 5px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--brand-700); }
.footer__company { font-weight: 600; color: var(--ink); }
.footer__muted { color: var(--muted); font-size: .88rem; }
.pill { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: .2em .55em; border-radius: 999px; }
.pill--ok { color: var(--brand-700); background: var(--brand-50); border-color: var(--brand-100); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin-top: 8px; }
  .hero__sub { max-width: 46ch; }
  .compliance { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .editions { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Collapse the nav to a hamburger before the links can wrap (~960px) */
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .35s var(--ease);
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__login { margin: 0; }
  .nav__links .btn { margin-top: 12px; justify-content: center; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  /* The stacked tier cards already list every feature; the side-scrolling
     table just hides the last column on phones, so drop it here. */
  .compare { display: none; }
  .hero__title { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .values__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: 1fr; }
  .trust__inner { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .brand__suffix { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .mock { transform: none; }
}
