/* Sleek website styles. Built from the approved mockup (sleek-vnext-web/design/website.html, 3 December 2026).
   design/DESIGN.md in sleek-vnext-web is the source of truth for tokens; change them there first. */

/* ---------- fonts: self-hosted variable woff2, Latin subset from Google Fonts (SIL OFL 1.1, see fonts/) ---------- */
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Mono'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-mono.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/sora.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --accent: #369EDC; --accent-hover: #2389C6; --accent-active: #1E79AF; --accent-tint: #E4F1FA;
  --accent-text: #1C71A3; --on-accent: #FFFFFF; /* white on the blue (Kobus, 3 Dec 2026, for the meeting; below WCAG AA at 2.97:1) */
  --dark: #1F2A37; --dark-2: #2E3D50; --on-dark: #FFFFFF; --on-dark-2: #B8C4D2;
  --bg: #F3F5F8; --surface: #FFFFFF; --surface-2: #F7F8FA; --selected: #EBEFF5;
  --border: #D7DDE5; --border-strong: #6E7A88;
  --text-1: #1F2A37; --text-2: #3E4A59; --text-3: #5B6573;
  --success: #14783A; --success-tint: #E3F4E8;
  --warning: #AD4F08; --warning-tint: #FBEEDF;
  --error: #B91C1C;
  --ai: #6D28D9; --ai-tint: #EFE8FC; --ai-solid: #7C3AED; --on-ai: #FFFFFF;
  --label-color: var(--text-2); --input-bg: var(--surface); --input-border: var(--border-strong);
  --input-border-focused: var(--accent-text); --placeholder-color: var(--text-3);
  --label-color-error: var(--error); --input-border-error: var(--error); --helper-color-error: var(--error);
  --focus-ring: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent-text); /* 2px ring with a 2px gap; the pale tint ring vanished on white and on dark (kobus-eye, 4 Dec 2026). DESIGN.md still has the old value. */
  --hover-tint: rgba(31, 42, 55, 0.04);
  --font-display: 'Sora', 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Atkinson Hyperlegible Mono', ui-monospace, 'Cascadia Mono', Menlo, monospace;
  --text-hero: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);
  --text-display: clamp(2rem, 1.6rem + 2vw, 3rem);
  --text-h1: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-h2: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --text-h3: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);
  --text-overline: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --text-body-lg: clamp(1.05rem, 1rem + 0.25vw, 1.125rem);
  --text-body: clamp(0.94rem, 0.9rem + 0.2vw, 1rem);
  --text-sm: clamp(0.875rem, 0.86rem + 0.1vw, 0.9375rem);
  --text-caption: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --mono-tracking: -0.02em; --mono-tracking-lg: -0.05em;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --max-prose: 65ch; --max-wide: 1200px;
  --control-h: 40px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(31, 42, 55, 0.08);
  --shadow-md: 0 2px 8px rgba(31, 42, 55, 0.10), 0 1px 2px rgba(31, 42, 55, 0.06);
  --shadow-lg: 0 12px 32px rgba(31, 42, 55, 0.18), 0 2px 6px rgba(31, 42, 55, 0.08);
  --duration-base: 150ms; --duration-slow: 250ms; --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --ease-spring: cubic-bezier(0.22, 1.18, 0.36, 1); /* close to a spring with a 0.2 bounce */
  --z-topbar: 300; --z-drawer: 400;
  --topbar-h: 64px;
}
@media (pointer: coarse) { :root { --control-h: 44px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #369EDC; --accent-hover: #2389C6; --accent-active: #1E79AF; --accent-tint: #133048; --accent-text: #7CC0E8;
    --dark: #121921; --dark-2: #2E3D50;
    --bg: #161D26; --surface: #1F2833; --surface-2: #1B232D; --selected: #2A3747; --border: #354352; --border-strong: #6F7D8E;
    --text-1: #F3F6FA; --text-2: #C2CBD6; --text-3: #94A0AE;
    --success: #4ADE80; --success-tint: #143D2A; --warning: #FBBF24; --warning-tint: #3D3115; --error: #FCA5A5;
    --ai: #C4B5FD; --ai-tint: #2C2350; --ai-solid: #C4B5FD; --on-ai: #1F2A37;
    --hover-tint: rgba(243, 246, 250, 0.05);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35); --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.45); --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);
  }
}
:root[data-theme="dark"] {
  --accent: #369EDC; --accent-hover: #2389C6; --accent-active: #1E79AF; --accent-tint: #133048; --accent-text: #7CC0E8;
  --dark: #121921; --dark-2: #2E3D50;
  --bg: #161D26; --surface: #1F2833; --surface-2: #1B232D; --selected: #2A3747; --border: #354352; --border-strong: #6F7D8E;
  --text-1: #F3F6FA; --text-2: #C2CBD6; --text-3: #94A0AE;
  --success: #4ADE80; --success-tint: #143D2A; --warning: #FBBF24; --warning-tint: #3D3115; --error: #FCA5A5;
  --ai: #C4B5FD; --ai-tint: #2C2350; --ai-solid: #C4B5FD; --on-ai: #1F2A37;
  --hover-tint: rgba(243, 246, 250, 0.05);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35); --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.45); --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);
}
@media (prefers-reduced-motion: reduce) { :root { --duration-base: 0ms; --duration-slow: 0ms; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* no orphan words (Kobus, 2 Dec 2026): headings balance, body text wraps "pretty" */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
body, button { text-wrap: pretty; } /* inherited by every block of text */
.ppanels, .ppanel, .ppanel > * { min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + var(--space-4)); }
body { margin: 0; background: var(--surface); color: var(--text-2); font: 400 var(--text-body)/1.6 var(--font-body); overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; color: var(--text-1); text-wrap: balance; }
h1 { font: 700 var(--text-h1)/1.15 var(--font-display); letter-spacing: -0.015em; }
h2 { font: 600 var(--text-display)/1.15 var(--font-display); letter-spacing: -0.02em; }
h3 { font: 700 var(--text-h3)/1.3 var(--font-body); }
p { margin: 0; max-width: var(--max-prose); }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.mono, .num { font-family: var(--font-mono); letter-spacing: var(--mono-tracking); font-variant-numeric: tabular-nums; }
.num { text-align: right; white-space: nowrap; }
:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.ic { display: inline-flex; flex: none; }
.ic svg { display: block; }
.only-dark { display: none; }
:root[data-theme="dark"] .only-light { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-light { display: none; }
  :root:not([data-theme="light"]) .only-dark { display: block; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--space-4); top: -60px; z-index: 999; padding: var(--space-2) var(--space-4); background: var(--surface); border-radius: var(--radius-md); }
.skip:focus { top: var(--space-2); }
.wrap { width: 100%; max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--space-5); }
.overline { display: inline-block; font: 700 var(--text-overline)/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.lead { font-size: var(--text-body-lg); line-height: 1.6; color: var(--text-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-h); padding: 0 var(--space-5);
  border: 1px solid transparent; border-radius: var(--radius-md); font: 700 var(--text-sm)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out); }
.btn-lg { min-height: 48px; padding: 0 var(--space-6); font-size: var(--text-body); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-active); }
.btn-outline { background: var(--surface); border-color: var(--border-strong); color: var(--text-1); }
.btn-outline:hover { background: var(--hover-tint); border-color: var(--text-3); }
.btn-ghost { background: none; color: var(--text-1); }
.btn-ghost:hover { background: var(--hover-tint); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 700; text-decoration: none; color: var(--accent); min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- topbar ---------- */
.topbar { position: sticky; top: 0; z-index: var(--z-topbar); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.topbar .wrap { display: flex; align-items: center; gap: var(--space-4); min-height: var(--topbar-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 44px; width: auto; } /* the full Sleek Accounting logo; below about 44px "ACCOUNTING" gets too small to read */
.nav { display: none; gap: var(--space-1); margin-left: var(--space-6); }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-md); color: var(--text-2); font-weight: 500; text-decoration: none; }
.nav a:hover { background: var(--hover-tint); color: var(--text-1); }
.nav a.active { color: var(--text-1); font-weight: 700; background: var(--accent-tint); }
.top-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.top-actions .signin, .top-actions .start { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: var(--control-h); height: var(--control-h); /* same height as the buttons beside it: 40px, 44px on touch (kobus-eye, 4 Dec 2026) */ padding: 0; border: 0; border-radius: var(--radius-md); background: none; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: var(--hover-tint); color: var(--text-1); }
.menu-btn { display: inline-grid; }
@media (min-width: 900px) {
  .nav, .top-actions .signin, .top-actions .start { display: inline-flex; }
  .menu-btn { display: none; }
}
/* phone drawer */
.drawer { position: fixed; inset: var(--topbar-h) 0 0 0; z-index: var(--z-drawer); display: grid; align-content: start; gap: var(--space-1); padding: var(--space-4) var(--space-5) var(--space-8);
  background: var(--surface); border-top: 1px solid var(--border); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 var(--space-3); border-radius: var(--radius-md); font: 600 var(--text-body-lg) var(--font-body); color: var(--text-1); text-decoration: none; }
.drawer a.active { background: var(--accent-tint); }
.drawer .btn { margin-top: var(--space-3); min-height: 48px; }

/* ---------- pages ---------- */
section.band { padding: var(--space-16) 0; }
@media (min-width: 900px) { section.band { padding: var(--space-24) 0; } }
.band-tint { background: var(--bg); }
.sec-head { display: grid; gap: var(--space-3); max-width: 46rem; margin-bottom: var(--space-10); }

/* ---------- footer ---------- */
.foot { background: var(--dark); color: var(--on-dark-2); padding: var(--space-12) 0; } /* even top and bottom (kobus-eye, 4 Dec 2026) */
.foot-grid { display: grid; gap: var(--space-10); }
@media (min-width: 600px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.foot img { height: 40px; width: auto; }
.foot p { margin-top: var(--space-4); max-width: 30ch; color: var(--on-dark-2); }
.foot h3 { font: 700 var(--text-overline)/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark); margin-bottom: var(--space-3); }
.foot ul { list-style: none; display: grid; gap: 2px; }
.foot a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark-2); text-decoration: none; }
.foot a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--dark-2); font-size: var(--text-caption); }
.foot-legal a { min-height: 24px; }

/* ---------- product pieces drawn in HTML (the app's own look, demo data) ---------- */
.win { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: var(--space-2); height: 34px; padding: 0 var(--space-3); background: var(--surface-2); border-bottom: 1px solid var(--border); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.win-bar span { margin-left: var(--space-2); font: 500 var(--text-caption) var(--font-mono); color: var(--text-3); }
.win-head { display: flex; align-items: baseline; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); }
.win-head b { color: var(--text-1); }
.win-head small { color: var(--text-3); font-size: var(--text-caption); }
.win-head .cnt { margin-left: auto; align-self: center; padding: var(--space-1) var(--space-2); border-radius: var(--radius-full); background: var(--warning-tint); color: var(--warning); font: 700 var(--text-caption) var(--font-body); }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.line:last-child { border-bottom: 0; }
.line:nth-child(even) { background: var(--surface-2); }
.line .what { color: var(--text-1); font-weight: 700; min-width: 0; }
.line .what small { display: block; font: 400 var(--text-caption) var(--font-mono); color: var(--text-3); }
.line .amt { font-family: var(--font-mono); letter-spacing: var(--mono-tracking); color: var(--text-1); text-align: right; }
.line .amt.in { color: var(--success); }
.line .amt.out { color: var(--error); }   /* money out is red (Andre, 3 Dec 2026) */
.alloc { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.alloc-btn { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--space-2); border: 1px solid var(--accent-text); border-radius: var(--radius-sm);
  color: var(--accent-text); font: 700 var(--text-caption)/1 var(--font-body); white-space: nowrap; }
.ai-chip { display: inline-flex; align-items: stretch; height: 24px; border: 1px solid var(--ai-solid); border-radius: var(--radius-sm); overflow: hidden; background: var(--ai-tint); font-size: var(--text-caption); white-space: nowrap; }
.ai-chip .tag { display: inline-flex; align-items: center; gap: var(--space-1); padding: 0 var(--space-2); background: var(--ai-solid); color: var(--on-ai); font: 700 11px/1 var(--font-body); }
.ai-chip .body { display: inline-flex; align-items: center; gap: var(--space-1); padding: 0 var(--space-2); color: var(--text-1); }
.ai-chip .body b { font: 700 0.75rem var(--font-mono); color: var(--ai); }
.posted { display: inline-flex; align-items: center; gap: var(--space-1); height: 24px; padding: 0 var(--space-2); border-radius: var(--radius-sm); background: var(--success-tint); color: var(--success); font: 700 var(--text-caption)/1 var(--font-body); }

/* ---------- home: hero ---------- */
.hero { padding: var(--space-12) 0 var(--space-16); }
.hero .wrap { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 1000px) { .hero { padding: var(--space-20) 0 var(--space-24); } .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hero-copy { display: grid; gap: var(--space-5); justify-items: start; }
.hero h1 { font: 700 var(--text-hero)/1.05 var(--font-display); letter-spacing: -0.03em; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--accent); }   /* website copy uses the brand blue (Kobus, 3 Dec 2026; 2.97:1 on white, under the 3:1 for large text) */
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero-note { font-size: var(--text-caption); color: var(--text-3); }
.hero-shot { position: relative; padding: var(--space-6) 0 calc(var(--space-12) + var(--space-4)) var(--space-6); }
/* soft blobs behind the hero, after stableapp.cloud: three blurred teal shapes that drift slowly; still for reduced motion */
.hero { position: relative; isolation: isolate; }
.hero .wrap { position: relative; z-index: 1; }
.hero { overflow: clip; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: inLeft 0.8s var(--ease-spring) 0.2s both; }
  .hero-shot .win { animation: inRight 1.2s var(--ease-spring) 0.4s both; }
  .hero-toast { animation: inRight 1.4s var(--ease-spring) 0.6s both; }
}
@keyframes inLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes inRight { from { opacity: 0; transform: translateX(260px); } to { opacity: 1; transform: none; } }
.blobs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.42; animation: drift 22s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 46vw; max-width: 620px; aspect-ratio: 1; right: -8vw; top: -12%; background: var(--accent); }
.blobs i:nth-child(2) { width: 30vw; max-width: 420px; aspect-ratio: 1.3; right: 22vw; bottom: -18%; background: var(--accent-tint); opacity: 0.6; animation-duration: 28s; }
.blobs i:nth-child(3) { width: 26vw; max-width: 360px; aspect-ratio: 1; left: -12vw; top: 4%; background: var(--accent); opacity: 0.25; animation-duration: 32s; animation-direction: alternate-reverse; }
:root[data-theme="dark"] .blobs i { opacity: 0.2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .blobs i { opacity: 0.2; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6vw, 5vh) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .blobs i { animation: none; } }
@media (max-width: 599px) { .blobs i:nth-child(1) { width: 90vw; top: 40%; } .blobs i:nth-child(3) { display: none; } }
.hero-shot .win { position: relative; z-index: 1; }
.hero-toast { position: absolute; z-index: 2; left: 0; bottom: 0; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5) var(--space-3) var(--space-4);
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); font-size: var(--text-sm); color: var(--text-2); }
.hero-toast b { display: block; color: var(--text-1); font: 600 var(--text-body)/1.3 var(--font-display); }
@media (max-width: 599px) { .hero-toast { position: relative; margin-top: calc(var(--space-2) * -1); margin-left: var(--space-4); width: max-content; max-width: calc(100% - var(--space-4)); } .hero-shot { padding-left: 0; padding-bottom: var(--space-6); } }

/* ---------- home: facts ---------- */
.facts { border-top: 1px solid var(--border); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.facts li { display: grid; align-content: start; gap: var(--space-1); padding: var(--space-8) var(--space-5) var(--space-6); border-left: 1px solid var(--border); }
.facts li:first-child { border-left: 0; }
.facts .duo { margin-bottom: var(--space-4); }
.facts b { font: 600 clamp(1.05rem, 0.8rem + 0.75vw, 1.5rem)/1.2 var(--font-display); color: var(--text-1); letter-spacing: -0.01em; white-space: nowrap; } /* one line each, so "Multi-currency" never splits */
.facts span { font-size: var(--text-sm); color: var(--text-3); }
@media (max-width: 599px) { .facts li { border-left: 0; border-top: 1px solid var(--border); } .facts li:first-child { border-top: 0; } }

/* hatched divider strip between sections, after stric.com.br: fine diagonal lines in the border colour */
.hatch { height: var(--space-12); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--border) 55%, transparent) 0 1px, transparent 1px 12px); }
@media (max-width: 599px) { .hatch { height: var(--space-8); } }

/* ---------- home: product sections (copy beside a product view, sides alternate) ---------- */
.split { display: grid; gap: var(--space-10); align-items: center; padding: var(--space-12) 0; border-top: 1px solid var(--border); }
.split:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } .split.flip .split-copy { order: 2; } }
.split-copy { display: grid; gap: var(--space-4); justify-items: start; }
.split-copy h3 { font: 600 var(--text-h1)/1.2 var(--font-display); letter-spacing: -0.015em; }
.ticks { list-style: none; display: grid; gap: var(--space-2); margin-top: var(--space-1); }
.ticks li { display: flex; gap: var(--space-2); align-items: flex-start; color: var(--text-1); }
.ticks .ic { margin-top: 3px; color: var(--accent); }
.stage { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--bg); }
.drop { display: grid; justify-items: center; gap: var(--space-1); padding: var(--space-5); border: 1.5px dashed var(--border-strong); border-radius: var(--radius-md); background: var(--surface); text-align: center; color: var(--text-2); font-size: var(--text-sm); }
.drop b { color: var(--text-1); }
.drop .ic { color: var(--accent); }
.file { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-3) 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); font-size: var(--text-sm); color: var(--text-1); }
.file small { margin-left: auto; white-space: nowrap; color: var(--success); font-weight: 700; }
table.tb { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
table.tb th { padding: var(--space-2) var(--space-4); text-align: left; font: 700 var(--text-overline)/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); border-bottom: 1px solid var(--border); background: var(--surface-2); }
table.tb td { padding: var(--space-2) var(--space-4); border-bottom: 1px solid var(--border); color: var(--text-1); }
table.tb td.code { width: 4.5rem; color: var(--text-3); }
table.tb th.num, table.tb td.num { width: 6.5rem; text-align: right; }
table.tb td:nth-child(2) { white-space: nowrap; }
table.tb tfoot td { font-weight: 700; border-bottom: 0; background: var(--surface-2); }
@media (max-width: 599px) {
  .stage { padding: var(--space-2); }
  .ppanel { padding: var(--space-6) var(--space-3); }
  table.tb { font-size: var(--text-caption); }
  table.tb th, table.tb td { padding: var(--space-2); }
  table.tb td.code { width: 2.75rem; }
  table.tb th.num, table.tb td.num { width: auto; }
}
@media (max-width: 379px) { table.tb { font-size: 11px; } table.tb th, table.tb td { padding: 6px 4px; } table.tb th:first-child, table.tb td.code, table.tb tfoot td:first-child { display: none; } .ppanel .stage { padding: 0; } } /* the smallest phones: the trial balance drops its GL codes in this illustration */
.balanced { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); font-size: var(--text-caption); color: var(--success); font-weight: 700; }
.trail { list-style: none; }
.trail li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); font-size: var(--text-sm); color: var(--text-1); }
.trail li:last-child { border-bottom: 0; }
.trail .ic { grid-row: span 2; margin-top: 2px; color: var(--text-3); }
.trail small { font: 400 var(--text-caption) var(--font-mono); color: var(--text-3); }
.years { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border); background: var(--surface-2); font-size: var(--text-caption); }
.years span { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-2); border-radius: var(--radius-full); background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-weight: 700; }
.offline { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-3); background: var(--warning-tint); color: var(--text-1); font-size: var(--text-caption); }
.offline .ic { color: var(--warning); }


/* ---------- product tabs (after stric.com.br: icon tabs over one framed panel, the active one fills its underline) ---------- */
.ptabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; background: var(--surface-2); }
@media (min-width: 900px) { .ptabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ptab { position: relative; display: grid; align-content: start; justify-items: start; gap: var(--space-1); min-height: 44px; padding: var(--space-5);
  border: 0; border-bottom: 1px solid var(--border); background: var(--surface-2); color: var(--text-3); font: inherit; text-align: left; cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-out); }
.ptab + .ptab { border-left: 1px solid var(--border); }
@media (max-width: 899px) { .ptab:nth-child(3) { border-left: 0; } }
.ptab:hover { background: var(--surface); }
.ptab .ic { margin-bottom: var(--space-3); }
.ptab .ic { opacity: 0.7; transition: opacity var(--duration-slow) var(--ease-out); }
.ptab .ic svg { stroke: var(--border-strong); }
.ptab[aria-selected="true"] .ic { opacity: 1; }
.ptab b { font: 600 var(--text-h3)/1.3 var(--font-display); color: var(--text-2); white-space: nowrap; }
.ptab span:last-child { font-size: var(--text-sm); line-height: 1.45; }
.ptab[aria-selected="true"] { background: var(--surface); border-bottom-color: transparent; box-shadow: 0 0 0 1px var(--border); z-index: 1; }
.ptab[aria-selected="true"] b { color: var(--accent); }
.ptab[aria-selected="true"] span:last-child { color: var(--text-2); }
.ptab[aria-selected="true"] .ic svg { stroke: url(#duo); }
.ptab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.ptab[aria-selected="true"]::after { width: 100%; }
.ptabs.auto .ptab[aria-selected="true"]::after { animation: tabFill 8s linear forwards; }
.ptabs.auto:hover .ptab::after, .ptabs.auto:focus-within .ptab::after,
.band:has(.ppanels:hover, .ppanels:focus-within) .ptabs.auto .ptab::after { animation-play-state: paused; }
@keyframes tabFill { from { width: 0; } to { width: 100%; } }
@media (max-width: 599px) { .ptab span:last-child { display: none; } .ptab { padding: var(--space-4); } .ptab .ic { margin-bottom: var(--space-2); } }
.ppanel { display: grid; gap: var(--space-10); align-items: center; padding: var(--space-8) var(--space-5); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.ppanels { display: grid; }
.ppanels > .ppanel { grid-area: 1 / 1; transition: opacity 0.3s ease-in-out, visibility 0s linear 0s; }
.ppanels > .ppanel:not(.on) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s; }
@media (min-width: 900px) { .ppanel.flip .split-copy { order: 2; } }
@media (max-width: 899px) { .ppanels > .ppanel:not(.on) { display: none; } }
@media (min-width: 900px) { .ppanel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-12); padding: var(--space-12); } }
.ppanel .split-copy h3 { font: 600 var(--text-h1)/1.2 var(--font-display); letter-spacing: -0.015em; }
.ppanel .ticks { grid-template-columns: 1fr; gap: var(--space-3) var(--space-6); }
@media (min-width: 1100px) { .ppanel .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ppanel .link-arrow { margin-top: var(--space-2); padding: 0 var(--space-5); border: 1px solid var(--border-strong); border-radius: var(--radius-full); }
.ppanel .link-arrow:hover { text-decoration: none; background: var(--hover-tint); }
.ppanel .stage { background: var(--accent-tint); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-full); font: 700 var(--text-overline)/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
/* two-tone line icons: one stroke running from text teal into bright teal (the gradient is defined once, at the top of the body) */
.duo svg { stroke: url(#duo); }
.duo-a { stop-color: var(--accent); }   /* icons are brand blue too (Kobus, 3 Dec 2026) */
.duo-b { stop-color: var(--accent); }
.win .offline { border-bottom: 1px solid var(--border); }
.sync { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border); background: var(--surface-2); font-size: var(--text-caption); color: var(--text-3); }

/* ---------- AI moments: purple and the sparkle mean "the AI did this", as in the app; teal stays the brand and you ---------- */
:root { --ai-on-dark: #C4B5FD; }
.overline .ai-spark { margin-right: var(--space-2); vertical-align: -2px; color: var(--ai); }
.ticks li.ai { color: var(--text-1); }
.ticks li.ai .ic { color: var(--ai); }
.steps li.ai::before { border-color: var(--ai-on-dark); color: var(--ai-on-dark); }
.steps b .ic { color: var(--ai-on-dark); vertical-align: -1px; }
.group dl > div.ai { --ai-row: var(--ai-tint);
  background: var(--ai-row); box-shadow: calc(var(--space-3) * -1) 0 0 var(--ai-row), var(--space-3) 0 0 var(--ai-row); } /* the tint reaches past the text without widening the page */

/* ---------- gentle parallax (icons and script below): the background drifts slower, the posted card faster ---------- */
[data-speed] { will-change: translate; }
@media (pointer: coarse) {
  .foot a, .foot-legal a, .feat-index a, .reach a, .closing-act small a { min-height: 44px; display: inline-flex; align-items: center; }
  .foot-legal a { min-width: 44px; }
}

/* ---------- home: in your control (the one dark band) ---------- */
.ink { background: var(--dark); color: var(--on-dark-2); }
.ink h2, .ink h3 { color: var(--on-dark); }
.ink .overline { color: var(--accent); }
.ink .wrap { display: grid; gap: var(--space-12); }
@media (min-width: 900px) { .ink .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: start; } }
.ink-copy { display: grid; gap: var(--space-5); }
.ink-copy p { color: var(--on-dark-2); }
.ink .ticks li { color: var(--on-dark); }
.ink .ticks .ic { color: var(--accent); }
.steps { list-style: none; counter-reset: step; display: grid; }
.steps li { counter-increment: step; position: relative; display: grid; gap: var(--space-1); padding: 0 0 var(--space-8) var(--space-12); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent); font: 700 var(--text-sm) var(--font-mono); }
.steps li::after { content: ""; position: absolute; left: 15px; top: 38px; bottom: 6px; width: 1.5px; background: var(--dark-2); }
.steps li:last-child::after { display: none; }
.steps li.you::before { background: var(--accent); color: var(--on-accent); }
.steps b { color: var(--on-dark); font: 600 var(--text-h3)/1.3 var(--font-display); }

/* ---------- home: who it is for (rows, not cards) ---------- */
.who { list-style: none; border-top: 1px solid var(--border); }
.who li { display: grid; gap: var(--space-3); padding: var(--space-8) 0; border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .who li { grid-template-columns: 3rem minmax(0, 0.9fr) minmax(0, 1.4fr); gap: var(--space-8); align-items: start; } }
.who .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--accent-tint); color: var(--accent); }
.who h3 { font: 600 var(--text-h2)/1.25 var(--font-display); }
.who p { color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.chips span { padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface); font-size: var(--text-caption); font-weight: 700; color: var(--text-2); }

/* ---------- home: nothing to install ---------- */
.plain { display: grid; gap: var(--space-10); }
@media (min-width: 900px) { .plain { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-16); } .plain .sec-head { position: sticky; top: calc(var(--topbar-h) + var(--space-8)); align-self: start; margin-bottom: 0; } }
.plain dl { margin: 0; display: grid; }
.plain dl > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-1) var(--space-4); padding: var(--space-6) 0; border-bottom: 1px solid var(--border); }
.plain dl > div:first-child { padding-top: 0; }
.plain dl > div:last-child { padding-bottom: 0; border-bottom: 0; } /* the list ends without a line (Kobus, 4 Dec 2026) */
.plain dt { grid-column: 2; color: var(--text-1); font: 700 var(--text-h3)/1.3 var(--font-body); }
.plain dd { grid-column: 2; margin: 0; color: var(--text-2); }
.plain dl .ic { grid-row: span 2; color: var(--accent); margin-top: 2px; }

/* ---------- home: closing ---------- */
.closing .wrap { display: grid; gap: var(--space-8); align-items: end; }
@media (min-width: 900px) { .closing .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.closing h2 { max-width: 16ch; }
.closing p { margin-top: var(--space-4); }
.closing-act { display: grid; gap: var(--space-4); justify-items: start; }
.closing-act .row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.closing-act small { color: var(--text-3); font-size: var(--text-sm); }

/* ---------- inner pages ---------- */
.page-head { padding: var(--space-12) 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.page-head .wrap { display: grid; gap: var(--space-4); justify-items: start; }
.page-head h2 { font: 700 var(--text-display)/1.1 var(--font-display); letter-spacing: -0.02em; max-width: 20ch; }

/* features: an index beside grouped lists (reads like a contents page, not a card grid) */
.feat { display: grid; gap: var(--space-10); padding-block: var(--space-12) var(--space-20); }
@media (min-width: 900px) { .feat { grid-template-columns: 14rem minmax(0, 1fr); gap: var(--space-16); } }
.feat-index { display: none; }
@media (min-width: 900px) { .feat-index { display: block; position: sticky; top: calc(var(--topbar-h) + var(--space-8)); align-self: start; } }
.feat-index ul { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--border); }
.feat-index a { display: flex; align-items: center; min-height: 36px; padding: 0 var(--space-4); margin-left: -2px; border-left: 2px solid transparent; color: var(--text-2); text-decoration: none; font-weight: 500; }
.feat-index a:hover { color: var(--text-1); border-left-color: var(--border-strong); }
.feat-index a.active { color: var(--text-1); font-weight: 700; border-left-color: var(--accent); } /* the group in view (kobus, 4 Dec 2026) */
.group { padding-bottom: var(--space-10); }
.group + .group { padding-top: var(--space-10); border-top: 1px solid var(--border); }
.group-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); }
.group-head .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--accent-tint); color: var(--accent); }
.group-head h3 { font: 600 var(--text-h1)/1.2 var(--font-display); letter-spacing: -0.02em; } /* h3 under the Features h2; looks as the mockup's h2 */
.group dl { margin: 0; display: grid; gap: 0 var(--space-10); }
@media (min-width: 700px) { .group dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.group dl > div { padding: var(--space-4) 0; border-top: 1px solid var(--border); }
.group dt { color: var(--text-1); font-weight: 700; }
.group .more { display: none; }
@media (max-width: 699px) {
  .group:not(.open) dl > div:nth-child(n+4) { display: none; }
  .group .more { display: inline-flex; margin-top: var(--space-3); }
}
.group dd { margin: var(--space-1) 0 0; color: var(--text-2); font-size: var(--text-sm); }
.ai-mark { display: inline-flex; align-items: center; gap: var(--space-1); margin-left: var(--space-2); padding: 0 var(--space-2); border-radius: var(--radius-sm); background: var(--ai-tint); color: var(--ai); font: 700 11px/1.4 var(--font-body); vertical-align: 2px; }

/* contact */
.contact { display: grid; gap: var(--space-12); padding-block: var(--space-12) var(--space-20); }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-16); } }
.reach { list-style: none; display: grid; align-content: start; }
.reach li { align-content: start; }
.reach li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px var(--space-3); padding: var(--space-5) 0; border-bottom: 1px solid var(--border); }
.reach li:first-child { padding-top: 0; }
.reach li:last-child { padding-bottom: 0; border-bottom: 0; }
.reach .ic { grid-row: span 2; color: var(--accent); margin-top: 2px; }
.reach b { color: var(--text-1); }
.reach a { font-weight: 700; }
.form { display: grid; gap: var(--space-6); padding: var(--space-8); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.form h3 { font: 600 var(--text-h1)/1.2 var(--font-display); letter-spacing: -0.02em; }
.form-row { display: grid; gap: var(--space-6); }
@media (min-width: 600px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fld { position: relative; display: grid; align-content: start; gap: var(--space-1); }
.fld label { font: 700 var(--text-sm) var(--font-body); color: var(--label-color); }
.fld label i { font-style: normal; color: var(--error); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: var(--control-h); padding: 0 var(--space-3); border: 1px solid var(--input-border); border-radius: var(--radius-md);
  background: var(--input-bg); color: var(--text-1); font: 400 var(--text-body) var(--font-body); }
.fld textarea { min-height: 120px; padding: var(--space-2) var(--space-3); resize: vertical; }
.fld ::placeholder { color: var(--placeholder-color); opacity: 1; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid transparent; border-color: var(--input-border-focused); box-shadow: var(--focus-ring); }
.fld.has-err label { color: var(--label-color-error); }
.fld [aria-invalid="true"], .fld [aria-invalid="true"]:focus { border-color: var(--input-border-error); }
.fld [aria-invalid="true"]:not(:focus) { box-shadow: inset 0 0 0 1px var(--input-border-error); }
/* the error sits in the gap under its field, so showing it never moves the form (Kobus, 4 Dec 2026) */
.fld-err { position: absolute; top: 100%; left: 0; right: 0; display: flex; align-items: flex-start; gap: var(--space-1); padding-top: 2px; color: var(--helper-color-error); font: 700 var(--text-caption)/1.3 var(--font-body); }
.fld-err svg { flex: none; width: 14px; height: 14px; margin-top: 0.1em; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.form-foot small { color: var(--text-3); font-size: var(--text-caption); }

/* ---------- contact form: send state (not in the mockup) ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* spam trap, hidden from people */
.form-status { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--success-tint); color: var(--text-1); font-weight: 700; }
.form-status.err { background: color-mix(in srgb, var(--error) 12%, var(--surface)); }
.form-status[hidden] { display: none; }
.form button[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.form-done { display: grid; gap: var(--space-4); justify-items: start; padding-block: var(--space-16); }

/* ---------- accessibility additions (tina4-a11y, 3 Dec 2026) ---------- */
@media (forced-colors: active) {
  .ptab[aria-selected="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
  .ai-chip, .posted, .alloc-btn, .cnt, .pill, .chips span { border: 1px solid CanvasText; }
}

/* ---------- cookie consent (tina4-analytics, 3 Dec 2026; not in the mockup) ---------- */
.cc { position: fixed; z-index: 500; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); display: grid; gap: var(--space-3); max-width: 26rem;
  padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); color: var(--text-2); font-size: var(--text-sm); }
.cc[hidden] { display: none; }
.cc-title { font: 600 var(--text-h3)/1.3 var(--font-display); letter-spacing: -0.01em; }
.cc-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.linkish { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; min-height: 24px; }
.foot .linkish { color: var(--on-dark-2); }
.foot .linkish:hover { color: var(--on-dark); text-decoration: underline; }
@media (pointer: coarse) { .foot .linkish { min-height: 44px; } }

/* ---------- privacy and other text pages ---------- */
.page-head h1 { font: 700 var(--text-display)/1.1 var(--font-display); letter-spacing: -0.02em; max-width: 20ch; }
.legal { display: grid; gap: var(--space-10); padding-block: var(--space-12) var(--space-20); }
.legal section { display: grid; gap: var(--space-3); max-width: var(--max-prose); }
.legal h2 { font: 600 var(--text-h1)/1.2 var(--font-display); letter-spacing: -0.015em; }
.legal h3 { margin-top: var(--space-3); }
.legal ul { display: grid; gap: var(--space-2); padding-left: var(--space-5); }
.legal li::marker { color: var(--accent); }
.legal .tb { border: 1px solid var(--border); }
.legal .tb td, .legal .tb td:nth-child(2) { vertical-align: top; white-space: normal; }
.legal-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.tbc { padding: 0 var(--space-1); border-radius: var(--radius-sm); background: var(--warning-tint); color: var(--warning); font-weight: 700; } /* draft items still to confirm */
.legal .tb th { white-space: nowrap; }
.legal .tb td:last-child { white-space: nowrap; }
@media (max-width: 379px) { .legal .tb th:first-child { display: table-cell; } } /* the demo trial balance hides its first column on small phones; this table must not */

/* soft blobs behind the head of the text pages, as in the hero (Kobus, 4 Dec 2026) */
.page-head.has-blobs { position: relative; isolation: isolate; overflow: clip; }
.page-head.has-blobs .wrap { position: relative; z-index: 1; }
