@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/poppins-latin-ext-400.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,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:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/poppins-latin-400.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/poppins-latin-ext-500.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,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:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/poppins-latin-500.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/poppins-latin-ext-600.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,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:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/poppins-latin-600.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/poppins-latin-ext-700.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,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:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/poppins-latin-700.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Acenta fair demos: brand shell (dark) + light "app" surface for the tools.
   Every colour is a token. @font-face rules are prepended by build.mjs. */
:root {
  --bg: #0b1011;
  --bg-2: #0f1718;
  --card: #121c1d;
  --card-2: #172324;
  --line: rgba(255, 255, 255, 0.11);
  --line-teal: rgba(30, 201, 182, 0.45);
  --ink: #f2f5f4;
  --ink-2: rgba(242, 245, 244, 0.7);
  --ink-3: rgba(242, 245, 244, 0.5);
  --teal: #1ec9b6;
  --teal-ink: #06110f;
  --red: #ff0a60;
  --red-hover: #e60052;
  --on-red: #ffffff;

  /* light surface used inside .app */
  --a-bg: #ffffff;
  --a-bg-2: #f3f7f7;
  --a-ink: #14202a;
  --a-muted: #55626c;
  --a-line: #dfe7e9;
  --a-accent: #0f8f82;
  --a-accent-tint: #e2f5f2;
  --a-ok: #1b7a55;
  --a-ok-tint: #e4f3ec;
  --a-warn: #8a5a08;
  --a-warn-tint: #fcf1dc;
  --a-bad: #b3261e;
  --a-bad-tint: #fbe8e6;
  --a-new: #fff6d6;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: Poppins, system-ui, 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.5;
  min-height: 100dvh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
body.has-bar { padding-bottom: 84px; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
svg { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ── Top bar ─────────────────────────────── */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.top .logo { display: flex; align-items: center; text-decoration: none; }
.top .logo svg { height: 15px; width: auto; display: block; }
.top .spacer { flex: 1; }
.top .back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; padding: 8px 0; }
.top .back:hover { color: var(--ink); }
.top .who { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }

/* ── Type ─────────────────────────────── */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
h1 { font-size: clamp(28px, 7.4vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(21px, 5.4vw, 28px); line-height: 1.2; font-weight: 700; text-wrap: balance; }
.lead { font-size: 16.5px; color: var(--ink-2); max-width: 46ch; }
.accent { color: var(--red); }

/* ── Buttons ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; line-height: 1.25; text-decoration: none; text-align: left; transition: background 0.18s, transform 0.18s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { background: var(--red-hover); }
.btn-teal { background: var(--teal); color: var(--teal-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn .arr { margin-left: auto; }
.btn-block .arr { margin-left: auto; }

/* ── Landing ─────────────────────────────── */
.hero { padding: 34px 0 8px; display: grid; gap: 14px; }
.hero .lead { margin-top: 2px; }
.locknote { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.locknote svg { margin-top: 2px; color: var(--teal); }
.tools { display: grid; gap: 18px; padding: 22px 0 40px; grid-template-columns: 1fr; }
.tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.tool .shot { background: radial-gradient(120% 90% at 50% 0%, rgba(30, 201, 182, 0.16), transparent 70%), var(--card-2); padding: 20px 20px 0; height: 250px; overflow: hidden; position: relative; }
.tool .shot img { display: block; width: 100%; max-width: 330px; margin: 0 auto; border-radius: 16px 16px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.tool .shot::after { content: ''; position: absolute; inset: auto 0 0 0; height: 56px; background: linear-gradient(transparent, var(--card)); }
.tool .body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.tool h2 { font-size: 21px; }
.tool p { color: var(--ink-2); font-size: 15px; }
.tool .btn { margin-top: 8px; }
body:not(.unlocked) .when-unlocked, body.unlocked .when-locked { display: none !important; }
.soon { color: var(--ink-2); font-size: 15.5px; border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 22px; grid-column: 1 / -1; }
.cta-block { border: 1px solid var(--line-teal); border-radius: var(--r-lg); background: var(--card); padding: 24px 22px; display: grid; gap: 12px; margin-bottom: 44px; }
.cta-block p { color: var(--ink-2); font-size: 15.5px; }
.foot { margin-top: auto; border-top: 1px solid var(--line); padding: 18px 0; font-size: 12.5px; color: var(--ink-3); }
.groups { display: grid; gap: 12px; padding: 22px 0 44px; }

/* ── Demo page ─────────────────────────────── */
.demo { padding-top: 24px; padding-bottom: 36px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.intro { display: grid; gap: 10px; }
.intro h1 { font-size: clamp(27px, 7vw, 38px); }
.after { display: grid; gap: 16px; }
.proof { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 22px; display: grid; gap: 8px; }
.proof .big { font-size: 40px; font-weight: 700; line-height: 1.1; display: flex; align-items: center; gap: 12px; }
.proof .big .from { color: var(--red); }
.proof .big .to { color: var(--teal); }
.proof .big svg { color: var(--ink-3); }
.proof p { color: var(--ink-2); font-size: 15px; }

/* sticky call-to-action bar */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(11, 16, 17, 0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.cta-bar .btn { max-width: 520px; margin: 0 auto; }

/* ── App surface (the tool itself) ─────────────────────────────── */
.app { background: var(--a-bg); color: var(--a-ink); border-radius: var(--r-lg); overflow: hidden; font-size: 15px; min-width: 0; }
.app-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--a-line); }
.app-head .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--a-accent-tint); color: var(--a-accent); display: grid; place-items: center; }
.app-head .t { font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.app-head .s { font-size: 12.5px; color: var(--a-muted); }
.app-head .tag { margin-left: auto; }
.app-body { padding: 18px; display: grid; gap: 16px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.tag-wait { background: var(--a-warn-tint); color: var(--a-warn); }
.tag-ok { background: var(--a-ok-tint); color: var(--a-ok); }
.tag-ai { background: var(--a-accent-tint); color: var(--a-accent); }
.tag-new { background: var(--a-new); color: var(--a-warn); }
.a-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border-radius: 13px; font-weight: 600; font-size: 15.5px; padding: 12px 18px; transition: transform 0.18s var(--ease), background 0.18s; }
.a-btn:active { transform: scale(0.98); }
.a-btn-primary { background: var(--teal); color: var(--teal-ink); }
.a-btn-line { border: 1px solid var(--a-line); color: var(--a-ink); background: var(--a-bg); }
.a-btn[disabled] { opacity: 0.45; cursor: default; }
.a-link { color: var(--a-muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; padding: 6px; justify-self: center; }
.a-empty { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 6px 0 2px; }
.a-empty h3 { font-size: 18px; line-height: 1.3; font-weight: 700; text-wrap: balance; }
.a-empty p { color: var(--a-muted); font-size: 14px; max-width: 34ch; }
.a-facts { display: grid; border: 1px solid var(--a-line); border-radius: var(--r-md); }
.a-facts > div { padding: 12px 14px; font-size: 13.5px; color: var(--a-muted); }
.a-facts > div + div { border-top: 1px solid var(--a-line); }
.a-facts b { display: block; color: var(--a-ink); font-weight: 600; font-size: 13.5px; }
.a-steps { display: grid; gap: 10px; padding: 4px 2px; }
.a-steps li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--a-muted); opacity: 0.35; transition: opacity 0.3s; }
.a-steps li.on { opacity: 1; color: var(--a-ink); }
.a-steps li .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--a-line); display: grid; place-items: center; color: transparent; }
.a-steps li.done .dot { background: var(--a-ok); border-color: var(--a-ok); color: #fff; }
.a-steps li.on:not(.done) .dot { border-color: var(--a-accent); border-top-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.a-note { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r-sm); padding: 11px 13px; font-size: 13.5px; line-height: 1.45; }
.a-note svg { margin-top: 2px; }
.a-note-ok { background: var(--a-ok-tint); color: var(--a-ok); }
.a-note-warn { background: var(--a-warn-tint); color: var(--a-warn); }
.a-note-bad { background: var(--a-bad-tint); color: var(--a-bad); }
.a-note-hint { background: var(--a-bg-2); color: var(--a-muted); }
.a-checks { display: grid; gap: 7px; font-size: 13.5px; color: var(--a-muted); }
.a-checks div { display: flex; gap: 8px; align-items: center; }
.a-checks svg { color: var(--a-ok); }

/* bottom sheet (used by tools and by the shell dialogs) */
dialog.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 520px; max-height: 88dvh; border-radius: 22px 22px 0 0; background: var(--a-bg); color: var(--a-ink); overflow: auto; }
dialog.sheet::backdrop { background: rgba(4, 8, 9, 0.66); }
dialog.sheet[open] { animation: up 0.28s var(--ease); }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.sheet-in { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 14px; }
.sheet-in h3 { font-size: 19px; line-height: 1.25; font-weight: 700; padding-right: 34px; }
.sheet-in .sub { color: var(--a-muted); font-size: 14px; margin-top: -8px; }
.sheet-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--a-muted); }
.sheet-x:hover { background: var(--a-bg-2); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--a-muted); }
.field input { width: 100%; min-height: 50px; border: 1px solid var(--a-line); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: var(--a-bg); color: var(--a-ink); }
.field input:focus { outline: 2px solid var(--a-accent); outline-offset: 1px; border-color: transparent; }
.field input.err { border-color: var(--a-bad); }
.field .msg { font-size: 12.5px; color: var(--a-bad); }
.fine { font-size: 12.5px; color: var(--a-muted); line-height: 1.45; }
.thanks { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 14px 0 6px; }
.thanks .ok { width: 54px; height: 54px; border-radius: 50%; background: var(--a-ok-tint); color: var(--a-ok); display: grid; place-items: center; }
.thanks p { color: var(--a-muted); font-size: 14.5px; }

@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  dialog.sheet { margin: auto; border-radius: 22px; }
  .cta-bar .btn { max-width: 440px; }
  .groups { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .hero { padding-top: 56px; }
  .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-areas: 'intro app' 'after app' '. app'; column-gap: 64px; align-items: start; padding-top: 48px; }
  .demo .intro { grid-area: intro; }
  .demo .app { grid-area: app; }
  .demo .after { grid-area: after; }
}
/* Preview mode (#predogled): only the tool, used by capture.mjs for the landing-page screenshots */
.preview body { background: var(--a-bg); padding: 0; }
.preview .top, .preview .intro, .preview .after, .preview .cta-bar, .preview .a-note-hint { display: none; }
.preview .wrap { padding: 0; max-width: none; }
.preview .demo { padding: 0; width: 360px; margin: 0; }
.preview .app { border-radius: 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
