/*
 * Ripado — demonstração fictícia criada pela Zenite Web.
 * Estilos próprios e isolados (não partilham CSS com o site). Sem dependências externas.
 * Tipos de letra locais: Bricolage Grotesque e Onest (SIL OFL 1.1, ver ../fonts/OFL-1.1.txt).
 * Ícones: Tabler Icons (MIT), ver img/sprite.svg.
 */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; 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: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; 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: "Onest"; src: url("../fonts/onest-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* Fallbacks with adjusted metrics, so the swap does not move the layout. */
@font-face { font-family: "Onest Fallback"; src: local("Arial"); size-adjust: 101%; ascent-override: 96%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; src: local("Arial"); size-adjust: 96%; ascent-override: 100%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --paper: #f6f4ee;
  --paper-2: #edeae0;
  --card: #ffffff;
  --ink: #0f1224;
  --ink-2: #2a2e45;
  --ink-3: #1a1e38;
  --muted: #565b73;
  --brand: #2b3cf0;
  --brand-d: #1b28c4;
  --brand-soft: #e4e7ff;
  --lime: #d4f53c;
  --coral: #ff6a4d;
  --teal: #0b7a5e;
  --line: #d9d5c8;
  --edge: #6e7391;
  --err: #b8341a;
  --err-bg: #fdebe6;
  --on-ink: #f6f4ee;
  --on-ink-2: #b8bcd6;

  --f-display: "Bricolage Grotesque", "Bricolage Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-body: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 3rem);
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head-h: 72px;
  --strip-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); scroll-padding-bottom: calc(var(--strip-h) + 24px); }
body { margin: 0; padding-bottom: var(--strip-h); background: var(--paper); color: var(--ink-2); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.4rem, 1.1rem + 4.6vw, 4.1rem); letter-spacing: -0.04em; line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand-d); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .foot :focus-visible, .strip :focus-visible { outline-color: var(--lime); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; max-width: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.period-wrap, .faq-tools, .success { position: relative; }
.skip { position: absolute; left: 0.75rem; top: -4rem; z-index: 200; padding: 0.7rem 1.1rem; background: var(--ink); color: var(--paper); border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 0.75rem; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0.7rem 1.4rem; border: 2px solid transparent; border-radius: 14px; font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, box-shadow 0.25s, border-color 0.2s; overflow-wrap: anywhere; }
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i-go { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -10px rgba(43, 60, 240, 0.6); }
.btn--brand:hover { background: var(--brand-d); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); box-shadow: 0 10px 24px -12px rgba(15, 18, 36, 0.6); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #e2fb6b; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.on-ink .btn--line { border-color: var(--on-ink); color: var(--on-ink); }
.on-ink .btn--line:hover { background: var(--on-ink); color: var(--ink); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.spin { display: none; width: 1.1em; height: 1.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
.is-sending .spin { display: inline-block; }
.is-sending .i-go { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 80; background: rgba(246, 244, 238, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background-color 0.3s; }
.head.is-stuck { border-bottom-color: var(--line); background: rgba(246, 244, 238, 0.94); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.mark { width: 38px; height: 38px; flex: none; }
.brand-name { display: grid; line-height: 1.1; min-width: 0; }
.brand-name b { font: 800 1.45rem/1 var(--f-display); letter-spacing: -0.04em; }
.brand-name small { font-size: 0.74rem; color: var(--muted); font-weight: 500; letter-spacing: 0.01em; }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 14px; background: transparent; cursor: pointer; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav { position: absolute; inset: var(--head-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gut) 1.5rem; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s; }
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
.nav ul { display: grid; gap: 0.25rem; }
.nav a { display: flex; align-items: center; min-height: 48px; padding: 0.4rem 0.2rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.1rem; border-radius: 10px; }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a:not(.nav-cta):hover { color: var(--brand-d); }
.nav .nav-cta { justify-content: center; margin-top: 0.75rem; background: var(--ink); color: var(--paper); border-radius: 14px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--brand); }
html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; border: 0; padding: 0; }
html:not(.js) .head-in { flex-wrap: wrap; padding-block: 0.5rem; }
html:not(.js) .nav-toggle { display: none; }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .nav, .nav.is-open { position: static; visibility: visible; opacity: 1; transform: none; border: 0; padding: 0; background: none; transition: none; }
  .nav ul { display: flex; align-items: center; gap: 0.25rem; }
  .nav a { padding: 0.4rem 0.95rem; font-size: 1rem; min-height: 44px; }
  .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-d); }
  .nav .nav-cta { margin: 0 0 0 0.6rem; padding-inline: 1.2rem; }
  .nav a.nav-cta[aria-current="page"] { background: var(--ink); color: var(--paper); }
}

/* ---------- demonstration strip ---------- */
.strip { position: fixed; inset: auto 0 0 0; z-index: 90; min-height: var(--strip-h); background: var(--ink); color: var(--on-ink); font-size: 0.875rem; line-height: 1.3; padding-bottom: env(safe-area-inset-bottom); }
.strip-in { display: flex; align-items: center; gap: 0.75rem; min-height: var(--strip-h); padding: 0.4rem var(--gut); max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; }
.strip-back { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(246, 244, 238, 0.4); flex: none; text-decoration: none; transition: background-color 0.2s; }
.strip-back:hover { background: rgba(246, 244, 238, 0.14); }
.strip-back .i { transform: scaleX(-1); }
.strip-text { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.6rem; }
.strip-text > a { flex: none; display: inline-flex; }
.strip-text img { width: 28px; height: 28px; flex: none; background: var(--paper); border-radius: 8px; padding: 3px; }
.strip-by { display: none; }
.strip a { color: inherit; }
.strip-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 1.1rem; border-radius: 12px; background: var(--lime); color: var(--ink) !important; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 0.2s; }
.strip-cta:hover { background: #e2fb6b; }
.strip-repo { display: none; }
@media (max-width: 359px) { .strip-in { gap: 0.5rem; } .strip-cta { padding-inline: 0.75rem; font-size: 0.8rem; } .strip-text > a { display: none; } }
@media (min-width: 720px) {
  .strip { font-size: 0.9375rem; }
  .strip-by { display: inline; }
  .strip-by::before { content: "·"; margin-inline: 0.6rem; opacity: 0.6; }
  .strip-by a { text-underline-offset: 3px; }
  .strip-repo { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 1.1rem; border: 1px solid rgba(246, 244, 238, 0.4); border-radius: 12px; text-decoration: none; font-weight: 500; transition: background-color 0.2s; }
  .strip-repo:hover { background: rgba(246, 244, 238, 0.14); }
  .strip-back { display: none; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); position: relative; }
.sec--tint { background: var(--paper-2); }
.sec--ink { background: var(--ink); color: var(--on-ink-2); }
.sec--ink h2, .sec--ink h3 { color: var(--on-ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font: 600 0.8125rem/1.2 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 8px; background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px); border-radius: 2px; }
.sec--ink .eyebrow { color: var(--lime); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.sec-head p { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }
.sec--ink .sec-head p { color: var(--on-ink-2); }
.sec-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-2); max-width: 40rem; }
.fake { display: inline-block; padding: 0.05rem 0.5rem; border-radius: 6px; background: var(--brand-soft); color: var(--brand-d); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; vertical-align: middle; }
.badge-ex { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.15rem 0.6rem; border: 1.5px dashed var(--edge); border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: var(--ink-2); background: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); overflow: clip; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1; background: repeating-linear-gradient(90deg, rgba(15, 18, 36, 0.055) 0 2px, transparent 2px 26px); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.hero-copy .lead { margin-top: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 3rem; }
.hero-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-note .i { color: var(--teal); }
.hl { background: linear-gradient(var(--lime), var(--lime)) no-repeat left 88% / 100% 0.42em; padding-inline: 0.06em; margin-inline: -0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }

/* product visual */
.stage { position: relative; perspective: 1400px; container-type: inline-size; padding: 0.25rem 0.25rem 2.25rem; margin-top: 3rem; }
@media (min-width: 700px) { .stage { padding-inline: 1.25rem; } }
.app { position: relative; background: var(--card); border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 8px 10px 0 -1px var(--ink), 0 40px 80px -30px rgba(15, 18, 36, 0.35); overflow: hidden; transform-style: preserve-3d; transition: transform 0.5s var(--ease); font-size: 0.8125rem; color: var(--ink-2); }
.app-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.65rem 0.9rem; background: var(--ink); color: var(--on-ink); }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--on-ink-2); opacity: 0.6; }
.app-bar i:nth-child(2) { background: var(--lime); opacity: 1; }
.app-title { margin-left: 0.6rem; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-body { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.app-side { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 0.9rem 0; background: var(--paper); border-right: 1px solid var(--line); }
.side-i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--muted); }
.side-i.is-on { background: var(--ink); color: var(--lime); }
.app-main { padding: 0.9rem; display: grid; gap: 0.75rem; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.app-head b { font: 700 1.05rem/1.1 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-d); font-size: 0.6875rem; font-weight: 600; white-space: nowrap; }
.chip--lime { background: var(--lime); color: var(--ink); }
.chip--warn { background: #ffe5de; color: #8c2610; }
.chip--ok { background: #d9f4ea; color: #075a43; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
.kpi { position: relative; padding: 0.65rem 0.7rem 0.55rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.kpi small { display: block; font-size: 0.6875rem; color: var(--muted); font-weight: 500; line-height: 1.2; }
.kpi b { display: block; margin-top: 0.15rem; font: 700 1.3rem/1.1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 0.6875rem; color: var(--teal); font-weight: 600; }
.kpi .spark { width: 100%; height: 22px; margin-top: 0.3rem; }
.app-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0.55rem; }
.pane { border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem; background: var(--card); min-width: 0; }
.pane .h4 { font: 600 0.75rem/1.2 var(--f-body); letter-spacing: 0; color: var(--ink); display: flex; justify-content: space-between; gap: 0.4rem; margin-bottom: 0.5rem; }
.pane .h4 span { font-weight: 500; color: var(--muted); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font: 500 8px var(--f-body); fill: #565b73; }
.chart .grid { stroke: #e5e1d4; stroke-width: 1; }
.tasks li { display: flex; align-items: center; gap: 0.5rem; padding: 0.38rem 0; border-top: 1px solid var(--line); font-size: 0.75rem; line-height: 1.25; color: var(--ink); min-width: 0; }
.tasks li:first-child { border-top: 0; }
.tasks .tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; border: 1.5px solid var(--edge); border-radius: 5px; }
.tk svg { width: 11px; height: 11px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.tk.is-done { background: var(--lime); border-color: var(--ink); }
.tk.is-done svg { opacity: 1; }
.is-done-text { color: var(--muted) !important; text-decoration: line-through; }

.float { position: absolute; z-index: 2; background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; padding: 0.7rem 0.85rem; box-shadow: 5px 6px 0 -1px var(--ink); font-size: 0.8125rem; transition: transform 0.5s var(--ease); }
.f1 { left: 0; bottom: 0.4rem; display: flex; gap: 0.6rem; align-items: center; background: var(--lime); max-width: 15rem; }
.f1 b { display: block; font: 700 0.9rem/1.2 var(--f-display); color: var(--ink); }
.f1 small { color: var(--ink); font-size: 0.75rem; }
.f1 .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--lime); flex: none; }
.f2 { right: 0.25rem; top: -4.6rem; display: grid; place-items: center; gap: 0.2rem; text-align: center; }
.f2 svg { width: 62px; height: 62px; transform: rotate(-90deg); }
.f2 b { position: absolute; top: 0.7rem; left: 0; right: 0; height: 62px; display: grid; place-items: center; font: 700 0.95rem var(--f-display); color: var(--ink); }
.f2 small { font-size: 0.6875rem; color: var(--muted); font-weight: 500; }
.toast { position: absolute; right: 2rem; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.85rem; border-radius: 12px; background: var(--ink); color: var(--on-ink); font-size: 0.78rem; box-shadow: 0 14px 30px -12px rgba(15, 18, 36, 0.6); max-width: calc(100% - 1rem); }
.toast .ic { color: var(--lime); }
@container (max-width: 470px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .kpi small { font-size: 0.625rem; }
  .kpi b { font-size: 1.1rem; }
  .kpi .spark, .kpi em { display: none; }
  .app-row { grid-template-columns: minmax(0, 1fr); }
  .tasks li:nth-child(n+4) { display: none; }
  .f1, .f2 { display: none; }
  .toast { right: 0.5rem; bottom: -1.2rem; }
}
@container (max-width: 330px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi:nth-child(3) { display: none; } }
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) {
  .rv .app { transform: rotateY(calc(var(--rx, 0) * -5deg - 5deg)) rotateX(calc(var(--ry, 0) * 4deg + 2deg)); }
  .rv .f1 { transform: translate3d(calc(var(--rx, 0) * -14px), calc(var(--ry, 0) * -10px), 60px); }
  .rv .f2 { transform: translate3d(calc(var(--rx, 0) * 18px), calc(var(--ry, 0) * 12px), 70px); }
}

/* ---------- audience chips ---------- */
.for { border-block: 1px solid var(--line); background: var(--paper-2); padding-block: 1.25rem; }
.for-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 0.75rem; }
.for p { font-weight: 600; color: var(--ink); margin-right: 0.5rem; }
.pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.9rem; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 0.9375rem; font-weight: 500; }

/* ---------- bento ---------- */
.bento { display: grid; gap: 1rem; }
.cardx { position: relative; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.cardx:hover { transform: translateY(-4px); box-shadow: 6px 8px 0 -1px var(--ink); }
.cardx .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: var(--lime); }
.cardx p { color: var(--muted); }
.cardx--lime { background: var(--lime); }
.cardx--lime p { color: var(--ink-2); }
.cardx--lime .ico { background: var(--ink); }
.cardx--ink { background: var(--ink); color: var(--on-ink-2); }
.cardx--ink h3 { color: var(--on-ink); }
.cardx--ink p { color: var(--on-ink-2); }
.cardx--ink .ico { background: var(--lime); color: var(--ink); }
.cardx .more { margin-top: auto; padding-top: 0.5rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; color: inherit; text-decoration: none; }
.cardx .more:hover { text-decoration: underline; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: auto; padding-top: 0.5rem; }
.mini-bars i { flex: 1; background: var(--ink); border-radius: 5px 5px 2px 2px; transform-origin: bottom; }
.mini-bars i:nth-child(even) { background: var(--brand); }
.cardx--ink .mini-bars i { background: var(--on-ink-2); }
.cardx--ink .mini-bars i:nth-child(odd) { background: var(--lime); }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .bento .span2 { grid-column: span 2; } .bento .span3 { grid-column: span 3; } .bento .span4 { grid-column: span 4; } }

/* ---------- steps (dark) ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: st; position: relative; }
.step { position: relative; padding: 1.5rem; border: 1.5px solid rgba(246, 244, 238, 0.28); border-radius: 20px; background: var(--ink-3); }
.step::before { counter-increment: st; content: "0" counter(st); display: block; font: 800 2.6rem/1 var(--f-display); letter-spacing: -0.05em; color: var(--lime); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.step p { margin-top: 0.5rem; }
.step .demo { margin-top: 1.25rem; padding: 0.75rem; border-radius: 12px; background: var(--ink); border: 1px solid rgba(246, 244, 238, 0.18); font-size: 0.8125rem; display: grid; gap: 0.45rem; }
.step .demo div { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.4rem 0.55rem; border-radius: 8px; background: rgba(246, 244, 238, 0.06); color: var(--on-ink); }
.step .demo .chip { background: var(--lime); color: var(--ink); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 3.4rem; height: 2px; background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 16px); opacity: 0.45; z-index: 0; } .step { z-index: 1; } }

/* ---------- integrations ---------- */
.integ { display: grid; gap: 0.85rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.node { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; min-width: 0; }
.node .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-d); flex: none; }
.node b { display: block; color: var(--ink); font: 700 1rem/1.15 var(--f-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.node small { display: flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.8125rem; }
.node small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.integ-split { display: grid; gap: 2rem; align-items: center; }
.integ-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start; }
@media (min-width: 560px) { .integ { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .integ-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .integ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .integ { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 1rem; }
.quote { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: 20px; }
.quote blockquote { margin: 0; font: 500 1.125rem/1.45 var(--f-display); letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.quote footer { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.avatar { position: relative; width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; border: 1.5px solid var(--ink); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; line-height: 1.2; }
.quote small { color: var(--muted); font-size: 0.875rem; }
.quote-tools { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .quote:nth-child(2) { transform: translateY(1.5rem); } }

/* ---------- CTA ---------- */
.cta { margin-block: 0; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.cta-box { position: relative; overflow: hidden; display: grid; gap: 1.5rem; padding: clamp(1.75rem, 1rem + 4vw, 4rem); background: var(--lime); border: 1.5px solid var(--ink); border-radius: 28px; box-shadow: 8px 10px 0 -1px var(--ink); color: var(--ink); isolation: isolate; }
.cta-box::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 46%; z-index: -1; background: repeating-linear-gradient(90deg, rgba(15, 18, 36, 0.12) 0 3px, transparent 3px 22px); -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-box h2 { color: var(--ink); max-width: 18ch; }
.cta-box p { max-width: 36rem; color: var(--ink); font-size: 1.125rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--on-ink-2); padding-block: 3.5rem 2rem; }
.foot a { color: var(--on-ink); }
.foot .brand { color: var(--on-ink); }
.foot .brand-name small { color: var(--on-ink-2); }
.foot-grid { display: grid; gap: 2rem; }
.foot h2 { font: 600 0.8125rem/1.2 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); margin-bottom: 0.85rem; }
.foot ul { display: grid; gap: 0.35rem; }
.foot li a { display: inline-flex; min-height: 32px; align-items: center; text-underline-offset: 3px; }
.foot-disc { margin-top: 1rem; max-width: 30rem; font-size: 0.9375rem; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(246, 244, 238, 0.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.875rem; }
.made { display: inline-flex; align-items: center; gap: 0.6rem; }
.made img { width: 112px; height: auto; background: var(--paper); padding: 6px 10px; border-radius: 8px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }

/* ---------- inner page hero ---------- */
.phero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1rem + 3vw, 3.5rem); overflow: clip; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(15, 18, 36, 0.05) 0 2px, transparent 2px 26px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.phero h1 { font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.2rem); max-width: 18ch; }
.phero .lead { margin-top: 1.25rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; font-size: 0.9375rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--edge); }
.crumbs a { color: var(--ink-2); }

/* ---------- feature rows ---------- */
.frow { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2rem, 1rem + 3vw, 4rem); }
.frow + .frow { border-top: 1px solid var(--line); }
.frow h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem); }
.frow .txt p { margin-top: 1rem; color: var(--ink-2); }
.ticks { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.ticks li { display: flex; align-items: flex-start; gap: 0.6rem; }
.ticks .i { margin-top: 0.2em; color: var(--teal); }
.num { font: 800 0.9rem var(--f-display); letter-spacing: 0.04em; color: var(--brand-d); margin-bottom: 0.75rem; display: block; }
@media (min-width: 900px) { .frow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; } .frow:nth-of-type(even) .viz { order: -1; } }
.viz { position: relative; padding: 1.1rem; background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 22px; overflow: hidden; }
.viz::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(15, 18, 36, 0.05) 0 2px, transparent 2px 22px); pointer-events: none; }
.viz > * { position: relative; }
.ui { background: var(--card); border: 1px solid var(--ink); border-radius: 14px; padding: 0.9rem; font-size: 0.8125rem; color: var(--ink-2); }
.ui + .ui { margin-top: 0.7rem; }
.ui .h4 { font: 700 0.875rem/1.2 var(--f-display); letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.ui-row { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0; border-top: 1px solid var(--line); min-width: 0; }
.ui-row:first-of-type { border-top: 0; }
.ui-row .av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-d); font: 700 0.6875rem var(--f-body); flex: none; }
.ui-row .t { flex: 1; min-width: 0; color: var(--ink); font-weight: 500; }
.ui-row .t small { display: block; font-weight: 400; color: var(--muted); font-size: 0.75rem; }
.ui-row time, .ui-row .when { color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
.col { background: var(--paper); border-radius: 10px; padding: 0.5rem; display: grid; gap: 0.45rem; align-content: start; }
.col .h4 { font: 600 0.6875rem/1.2 var(--f-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 0.1rem 0.15rem 0.1rem; display: flex; justify-content: space-between; }
.kc { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.55rem; font-size: 0.75rem; line-height: 1.3; color: var(--ink); }
.kc small { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.6875rem; }
.kc.is-hot { border-color: var(--ink); background: var(--lime); }
.kc.is-hot small { color: var(--ink); }
.invoice dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 0; }
.invoice dt { color: var(--ink-2); }
.invoice dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.invoice .tot { border-top: 1.5px solid var(--ink); padding-top: 0.55rem; margin-top: 0.3rem; font: 800 1.15rem var(--f-display); }
.invoice .tot-l { font: 700 1rem var(--f-display); color: var(--ink); }
.flow { display: grid; gap: 0.55rem; justify-items: stretch; }
.flow .nd { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.75rem; background: var(--card); border: 1px solid var(--ink); border-radius: 12px; color: var(--ink); font-weight: 500; font-size: 0.8125rem; }
.flow .nd .ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--lime); flex: none; }
.flow .nd.is-then { background: var(--lime); }
.flow .ln { width: 2px; height: 18px; margin-inline: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 4px, transparent 4px 7px); }
.matrix { width: 100%; border-collapse: collapse; font-size: 0.8125rem; background: var(--card); border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; }
.matrix caption { text-align: left; font: 700 0.875rem var(--f-display); padding: 0.7rem 0.8rem 0.3rem; color: var(--ink); background: var(--card); }
.matrix th, .matrix td { padding: 0.5rem 0.55rem; border-top: 1px solid var(--line); text-align: center; color: var(--ink); }
.matrix thead th { background: var(--card); font-weight: 600; font-size: 0.75rem; }
.matrix tbody th { text-align: left; font-weight: 500; }
.matrix .i { width: 1.1em; height: 1.1em; margin-inline: auto; color: var(--teal); }
.matrix .no { color: var(--muted); }

/* ---------- pricing ---------- */
.period { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 0 auto; padding: 5px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--card); min-width: min(100%, 20rem); }
.period legend { padding: 0; }
.thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 11px; background: var(--ink); transition: transform 0.35s var(--ease); }
.period[data-per="a"] .thumb { transform: translateX(100%); }
.seg { position: relative; z-index: 1; display: block; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 46px; padding: 0.4rem 1rem; border-radius: 11px; font-weight: 600; color: var(--ink); transition: color 0.25s; white-space: nowrap; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.js .seg input:checked + span { background: transparent; }
.seg input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.save { padding: 0.05rem 0.45rem; border-radius: 6px; background: var(--lime); color: var(--ink); font-size: 0.75rem; font-weight: 700; }
.period-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 2.25rem; }
.period-wrap .hint { font-size: 0.9375rem; color: var(--muted); }
.plans { display: grid; gap: 1.1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: 24px; }
.plan.is-feat { background: var(--ink); color: var(--on-ink-2); box-shadow: 8px 10px 0 -1px var(--lime); }
.plan.is-feat h2, .plan.is-feat .amount { color: var(--on-ink); }
.plan h2 { font-size: 1.6rem; }
.plan .tag { position: absolute; top: -0.85rem; left: 1.5rem; padding: 0.2rem 0.8rem; background: var(--lime); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; font-size: 0.8125rem; font-weight: 700; }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem; }
.amount { font: 800 3.4rem/1 var(--f-display); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cur { font: 700 1.5rem var(--f-display); color: inherit; }
.per { font-size: 0.9375rem; }
.billing { font-size: 0.875rem; min-height: 1.4em; }
.plan .ticks { margin-top: 0; }
.plan .ticks .i { color: var(--teal); }
.plan.is-feat .ticks .i { color: var(--lime); }
.plan .btn { margin-top: auto; }
.is-feat .btn--line { border-color: var(--on-ink); color: var(--on-ink); }
.is-feat .btn--line:hover { background: var(--on-ink); color: var(--ink); }
.price-note { text-align: center; margin-top: 1.5rem; font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plan.is-feat { transform: translateY(-14px); } }
.tablewrap { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); -webkit-overflow-scrolling: touch; }
.tablewrap:focus-visible { outline-offset: 2px; }
.cmp { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; }
.cmp caption { text-align: left; padding: 1rem 1rem 0.25rem; font: 700 1.1rem var(--f-display); color: var(--ink); }
.cmp th, .cmp td { padding: 0.8rem 1rem; text-align: center; border-top: 1px solid var(--line); color: var(--ink); }
.cmp thead th { position: sticky; top: 0; background: var(--card); font: 700 1rem var(--f-display); border-top: 0; border-bottom: 1.5px solid var(--ink); z-index: 1; }
.cmp tbody th[scope="row"] { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--card); z-index: 1; min-width: 11rem; }
.cmp tbody th[scope="rowgroup"] { text-align: left; background: var(--paper-2); font: 700 0.8125rem var(--f-body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); }
.cmp .is-feat { background: var(--brand-soft); }
.cmp thead .is-feat { background: var(--brand-soft); }
.cmp .i { width: 1.2em; height: 1.2em; margin-inline: auto; color: var(--teal); }
.cmp .no { color: var(--muted); font-weight: 400; }
.cmp small { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 400; }

/* ---------- FAQ ---------- */
.faq-tools { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.search { position: relative; }
.search .i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 0.7rem 1rem 0.7rem 2.9rem; border: 1.5px solid var(--edge); border-radius: 14px; background: var(--card); color: var(--ink); }
.search input:focus-visible { outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chipb { min-height: 44px; padding: 0.4rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; font-size: 0.9375rem; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.chipb:hover { background: var(--brand-soft); }
.chipb[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.faq-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; color: var(--muted); font-size: 0.9375rem; }
.linkbtn { min-height: 44px; padding: 0.3rem 0.4rem; background: none; border: 0; color: var(--brand-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qa { border-top: 1.5px solid var(--ink); }
.qa:last-child { border-bottom: 1.5px solid var(--ink); }
.qa h3 { font: inherit; letter-spacing: 0; }
.qbtn { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 64px; padding: 1rem 0.25rem; background: none; border: 0; text-align: left; cursor: pointer; font: 700 1.15rem/1.25 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.qbtn:hover { color: var(--brand-d); }
.qbtn .pm { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 10px; flex: none; transition: transform 0.35s var(--ease), background-color 0.2s; }
.qbtn[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--lime); }
.ans p { padding: 0 0.25rem 1.25rem; max-width: 46rem; color: var(--ink-2); }
.js .ans { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.35s var(--ease), visibility 0s 0.35s; }
.js .ans > div { overflow: hidden; min-height: 0; }
.js .qa.is-open .ans { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.35s var(--ease), visibility 0s; }
html:not(.js) .qbtn .pm { display: none; }
html:not(.js) .js-only, .js-only[hidden] { display: none; }
.empty { padding: 2rem; border: 1.5px dashed var(--edge); border-radius: 18px; text-align: center; background: var(--card); }
.empty[hidden] { display: none; }

/* ---------- forms ---------- */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; } .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel { position: relative; padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); background: var(--card); border: 1.5px solid var(--ink); border-radius: 24px; box-shadow: 8px 10px 0 -1px var(--ink); }
.fgrid { display: grid; gap: 1.15rem; }
@media (min-width: 560px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.form-sec { font-size: 1.35rem; margin-bottom: 1.25rem; }
.field { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.field > label, .field > .lbl, .fieldset legend { font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.field > label span, .lbl span { font-weight: 400; color: var(--muted); }
.in { width: 100%; min-height: 50px; padding: 0.65rem 0.9rem; border: 1.5px solid var(--edge); border-radius: 12px; background: var(--card); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
textarea.in { min-height: 8rem; resize: vertical; }
.in:hover { border-color: var(--ink); }
.in:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--ink); }
.hint { font-size: 0.875rem; color: var(--muted); }
.count { font-size: 0.8125rem; color: var(--muted); text-align: right; }
.err { display: none; align-items: flex-start; gap: 0.4rem; color: var(--err); font-size: 0.9rem; font-weight: 500; }
.has-err .err { display: flex; }
.err .i { margin-top: 0.15em; }
.has-err .in, .has-err .fieldset { border-color: var(--err); }
.has-err .in { background: var(--err-bg); }
.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 0.5rem; }
.opts { display: grid; gap: 0.5rem; }
@media (min-width: 560px) { .opts { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; display: flex; align-items: center; gap: 0.6rem; min-height: 50px; padding: 0.5rem 0.8rem; border: 1.5px solid var(--edge); border-radius: 12px; background: var(--card); cursor: pointer; color: var(--ink); transition: border-color 0.2s, background-color 0.2s; }
.opt:hover { border-color: var(--ink); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--brand-soft); }
.opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); flex: none; }
.has-err .opt { border-color: var(--err); }
.check { display: flex; gap: 0.7rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--brand); flex: none; }
.check label { font-weight: 400; color: var(--ink-2); font-size: 0.9375rem; }
.summary-err { display: none; margin-bottom: 1.25rem; padding: 1rem 1.15rem; border: 1.5px solid var(--err); border-radius: 14px; background: var(--err-bg); color: var(--err); }
.summary-err.is-on { display: block; }
.summary-err h3 { font: 700 1rem var(--f-body); letter-spacing: 0; color: var(--err); margin-bottom: 0.4rem; }
.summary-err li { margin-top: 0.2rem; }
.summary-err a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.success { display: none; text-align: center; padding: 0.5rem 0; }
.is-done .success { display: block; }
.is-done form, .is-done .summary-err { display: none; }
.big-check { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); }
.big-check svg { width: 38px; height: 38px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.rv .is-done .big-check svg path { animation: draw 0.6s var(--ease) 0.15s both; }
.success dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; text-align: left; margin: 1.5rem 0; padding: 1.15rem; border-radius: 16px; background: var(--paper-2); }
.success dt { color: var(--muted); font-size: 0.9rem; }
.success dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.sim-note { display: flex; gap: 0.5rem; align-items: flex-start; justify-content: center; margin-bottom: 1.25rem; font-size: 0.9rem; color: var(--muted); text-align: left; }
.sim-note .i { margin-top: 0.15em; flex: none; }
.agenda { display: grid; gap: 1rem; margin-top: 2rem; counter-reset: ag; }
.agenda li { position: relative; padding: 1rem 1rem 1rem 3.6rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; }
.agenda li::before { counter-increment: ag; content: counter(ag); position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--lime); font: 800 1rem var(--f-display); }
.agenda b { display: block; color: var(--ink); font: 700 1.05rem var(--f-display); letter-spacing: -0.01em; }
.agenda small { color: var(--muted); }

/* ---------- info cards, hours ---------- */
.info-cards { display: grid; gap: 1rem; }
@media (min-width: 760px) { .info-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info-card { padding: 1.5rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: 20px; display: grid; gap: 0.5rem; align-content: start; }
.info-card .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: var(--lime); margin-bottom: 0.4rem; }
.info-card b { font: 700 1.1rem var(--f-display); color: var(--ink); letter-spacing: -0.01em; }
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours th, .hours td { padding: 0.65rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours th { color: var(--ink); font-weight: 600; padding-right: 1rem; }
.photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1.5px solid var(--ink); }
.photo img { width: 100%; height: auto; }
.photo figcaption { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 0.75rem; font-weight: 600; }
.sim-banner { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.9rem 1rem; margin-top: 1.5rem; border: 1.5px dashed var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 0.9375rem; }
.sim-banner .i { margin-top: 0.15em; }

/* ---------- reveal and entrance motion (only when scripts run and motion is allowed) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { from { opacity: 0; transform: scale(0.92) translateY(8px); } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes mark { from { background-size: 0 0.42em; } }
@keyframes slidein { from { opacity: 0; transform: translateX(24px); } }
@keyframes tick { from { opacity: 0; transform: scale(0.4); } }
.draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.rv .stage { animation: rise 0.9s var(--ease) both; }
.rv .app-bar { animation: fade 0.5s 0.2s both; }
.rv .app-side .side-i { animation: pop 0.45s var(--ease) both; animation-delay: calc(0.35s + var(--i, 0) * 70ms); }
.rv .app-head { animation: rise 0.5s 0.5s var(--ease) both; }
.rv .kpi { animation: pop 0.55s var(--ease) both; animation-delay: calc(0.6s + var(--i, 0) * 110ms); }
.rv .kpi .draw { animation: draw 1.1s 1.1s var(--ease) both; }
.rv .pane { animation: pop 0.6s 0.95s var(--ease) both; }
.rv .pane + .pane { animation-delay: 1.15s; }
.rv .chart .draw { animation: draw 1.5s 1.5s var(--ease) both; }
.rv .chart .area { animation: fade 0.8s 2.5s both; }
.rv .chart .dot { animation: pop 0.4s 2.9s both; transform-box: fill-box; transform-origin: center; }
.rv .tasks li { animation: slidein 0.5s var(--ease) both; animation-delay: calc(1.5s + var(--i, 0) * 120ms); }
.rv .tk.is-done svg { animation: tick 0.35s var(--ease) both; animation-delay: calc(2.3s + var(--i, 0) * 250ms); }
.rv .f1 > *, .rv .f2 > * { animation: pop 0.6s var(--ease) both; }
.rv .f1 > * { animation-delay: 2.1s; }
.rv .f2 > * { animation-delay: 2.5s; }
.rv .f2 .ring { animation: draw 1.4s 2.7s var(--ease) both; }
.rv .toast { animation: rise 0.6s 3.4s var(--ease) both; }
.rv .hl { animation: mark 0.9s 0.7s var(--ease) both; }
.rv .hero-copy > * { animation: rise 0.7s var(--ease) both; }
.rv .hero-copy > :nth-child(2) { animation-delay: 0.08s; } .rv .hero-copy > :nth-child(3) { animation-delay: 0.16s; } .rv .hero-copy > :nth-child(4) { animation-delay: 0.24s; } .rv .hero-copy > :nth-child(5) { animation-delay: 0.32s; }

.rv [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.rv [data-reveal].is-in { opacity: 1; transform: none; }
.rv [data-reveal] .draw { stroke-dashoffset: 1; }
.rv [data-reveal].is-in .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) 0.3s; }
.rv [data-reveal] .grow { transform: scaleY(0); }
.rv [data-reveal].is-in .grow { transform: none; transition: transform 0.7s var(--ease); transition-delay: calc(0.2s + var(--i, 0) * 70ms); }
.rv [data-reveal] .stag { opacity: 0; transform: translateY(10px); }
.rv [data-reveal].is-in .stag { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(0.25s + var(--i, 0) * 110ms); }
.grow { transform-box: fill-box; transform-origin: bottom; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .strip, .nav-toggle, .head { display: none; } body { padding: 0; } }

/* The wide comparison table scrolls inside its own region; the section contains it so the page never measures wider than the viewport. */
#comparar { overflow-x: clip; }
.tablewrap { contain: paint; }
