/* Replyfield — light, cool neutrals, navy ink, one amber accent. 23.10.2026 */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --ink: #0d1626;
  --ink-2: #364154;
  --muted: #5f6b7d;
  --line: #e1e6ee;
  --line-2: #cfd6e1;
  --accent: #f2a52b;
  --accent-soft: #fdf0d8;
  --accent-ink: #8a5300;
  --ok: #1f9d6b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 22, 38, .05), 0 8px 24px -12px rgba(13, 22, 38, .14);
  --shadow-lg: 0 2px 4px rgba(13, 22, 38, .05), 0 24px 48px -20px rgba(13, 22, 38, .22);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.hl { background: linear-gradient(transparent 62%, var(--accent-soft) 62%, var(--accent-soft) 92%, transparent 92%); padding: 0 .06em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.ic .icon { width: 22px; height: 22px; }
.ic-muted { background: var(--surface-2); color: var(--ink-2); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem/1 var(--font); padding: 13px 20px; border-radius: 12px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1d2a40; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #f6b648; }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 15px; font-size: .92rem; border-radius: 10px; }
.btn-lg { padding: 16px 24px; font-size: 1.02rem; }
.btn .icon-arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow, .text-link:hover .icon-arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link .icon-arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 247, 250, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 32px; height: 32px; }
.brand .word { font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--surface-2); color: var(--ink); }
.nav a.active { color: var(--ink); background: var(--surface-2); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }

/* sections */
.section { padding: 96px 0; }
.section-tight { padding-top: 24px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head .lead { margin-top: 14px; }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s var(--ease), box-shadow .25s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile p { color: var(--muted); }
.tile-plain { background: var(--bg); }

/* hero */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%); opacity: .7; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .lead { margin-top: 22px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.trust { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 28px; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .icon { color: var(--accent-ink); width: 18px; height: 18px; }
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-visual { animation: rise .8s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* chat mock */
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 460px; margin-left: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-avatar .mark { width: 36px; height: 36px; }
.chat-head strong { display: block; font-size: .98rem; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.chat-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(var(--surface), var(--bg)); }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.45; }
.msg-user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.msg-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; display: flex; flex-direction: column; gap: 10px; }
.msg-source, .msg-handoff { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .8rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.msg-source { background: var(--surface-2); color: var(--ink-2); }
.msg-handoff { background: var(--accent-soft); color: var(--accent-ink); }
.msg-source .icon, .msg-handoff .icon { width: 14px; height: 14px; }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 16px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; color: var(--muted); font-size: .92rem; }
.chat-input .icon { width: 18px; height: 18px; color: var(--ink); }

/* services teaser */
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-card p { color: var(--muted); font-size: .97rem; }

/* product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product .lead { margin-top: 16px; }
.product .checks { margin-top: 24px; }
.price-note { color: var(--muted); }
.price-note b { color: var(--ink); font-size: 1.1rem; }
.checks, .dots { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li, .dots li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--ok); stroke-width: 2.4; }
.dots .icon { display: none; }
.dots li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); margin-top: 10px; flex: none; margin-left: 5px; margin-right: 4px; }
.flow { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; align-items: center; }
.flow-step { width: 100%; display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.flow-step strong { display: block; font-size: 1rem; }
.flow-step span:not(.ic) { color: var(--muted); font-size: .9rem; }
.flow-main { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.flow-main .ic { background: var(--ink); color: var(--accent); }
.flow-line { width: 2px; height: 28px; background: var(--line-2); }
.flow-split { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flow-split .flow-step { flex-direction: column; align-items: flex-start; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 165, 43, .22), transparent); pointer-events: none; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: #c3cad6; margin-top: 12px; max-width: 56ch; }
.cta-band .btn { position: relative; z-index: 1; }

/* page hero */
.page-hero { padding: 72px 0 48px; }
.page-hero .lead { margin-top: 18px; }
.page-hero-center { text-align: center; }
.page-hero-center .lead { margin-left: auto; margin-right: auto; }

/* services page */
.svc-list { display: flex; flex-direction: column; gap: 20px; }
.svc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px; scroll-margin-top: 96px; }
.svc-main { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.svc-main h2 { font-size: 1.6rem; }
.svc-main p { color: var(--ink-2); }
.svc-main .btn { margin-top: 6px; }
.svc-lists { display: grid; gap: 24px; align-content: start; background: var(--bg); border-radius: 16px; padding: 24px; }
.svc-lists h3 { font: 600 .8rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.svc-lists li { font-size: .97rem; }

/* pricing */
.billing-toggle { display: inline-flex; gap: 4px; padding: 5px; margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.toggle-btn { font: 600 .95rem/1 var(--font); padding: 11px 18px; border-radius: 10px; border: 0; background: none; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.toggle-btn.active { background: var(--ink); color: #fff; }
.toggle-save { font-size: .75rem; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.plan-rec { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.plan-flag { position: absolute; top: -13px; left: 32px; background: var(--accent); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 8px; }
.plan h3 { font-size: 1.35rem; }
.plan-desc { color: var(--muted); margin-top: 8px; min-height: 3.2em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan-amount { font: 700 2.6rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-period { color: var(--muted); }
.plan-note { color: var(--muted); font-size: .9rem; margin: 8px 0 24px; }
.plan .checks { margin-bottom: 28px; flex: 1; }
.plan .checks li { font-size: .97rem; }
.plan .btn { width: 100%; }
.pkg { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.pkg-price b { font: 700 1.6rem/1.1 var(--display); letter-spacing: -.02em; }
.pkg-price span { color: var(--muted); }
.pkg .checks { flex: 1; }
.pkg .checks li { font-size: .97rem; }
.note-line { margin-top: 28px; color: var(--ink-2); }
.note-line a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.included li { display: flex; gap: 16px; }
.included strong { display: block; margin-bottom: 4px; }
.included span:not(.ic) { color: var(--muted); font-size: .97rem; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.faq-item p { color: var(--ink-2); margin-top: 10px; font-size: .98rem; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid p { color: var(--ink-2); margin-top: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: s; }
.steps li { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span:not(.ic) { color: var(--muted); font-size: .97rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .93rem; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.field.invalid input, .field.invalid textarea { border-color: #c2410c; }
.err { font-style: normal; font-weight: 500; font-size: .85rem; color: #c2410c; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: .9rem; }
.form-note a { text-underline-offset: 3px; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: #c2410c; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.side-card h2 { font-size: 1.2rem; }
.side-card p { color: var(--muted); margin-top: 6px; }
.contact-email { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; font: 600 1.02rem/1 var(--font); color: var(--ink); background: var(--accent-soft); border: 0; border-radius: 12px; padding: 13px 16px; cursor: pointer; max-width: 100%; overflow: hidden; }
.contact-email .copy-label { overflow: hidden; text-overflow: ellipsis; }
.copied .copy-label { color: var(--ok); }
.next { margin: 12px 0 0; padding-left: 20px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; }
.side-addr { display: flex; gap: 10px; color: var(--muted); font-size: .93rem; padding: 0 6px; }
.side-addr .icon { margin-top: 3px; }

/* legal */
.legal { padding: 56px 0 96px; }
.legal-wrap { max-width: 820px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-weight: 500; margin-bottom: 28px; }
.back-link:hover { color: var(--ink); }
.legal-wrap .eyebrow { display: flex; }
.legal-updated { color: var(--muted); margin-top: 10px; }
.legal-body { margin-top: 36px; color: var(--ink-2); }
.legal-body h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal-body p, .legal-body ul, .legal-body ol { margin: 0 0 14px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal-body address { font-style: normal; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* 404 */
.error-page { padding: 96px 0 120px; }
.error-code { font: 700 clamp(5rem, 14vw, 9rem)/1 var(--display); letter-spacing: -.05em; color: var(--line-2); }
.error-page .lead { margin-top: 16px; }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 36px; }
.site-footer .container { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; }
.tagline { color: var(--muted); margin-top: 14px; max-width: 36ch; }
.site-footer address { font-style: normal; color: var(--muted); font-size: .9rem; margin-top: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px; justify-content: end; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { text-decoration: none; color: var(--ink-2); }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.copyright { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; padding-top: 24px; border-top: 1px solid var(--line); }

/* responsive */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .product, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .chat { margin: 0 auto; }
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-desc { min-height: 0; }
  .included { grid-template-columns: 1fr 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .footer-cols { justify-content: start; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-tight { padding-top: 8px; }
  .hero { padding: 48px 0 64px; }
  .page-hero { padding: 48px 0 32px; }
  .grid-4, .included, .field-row, .flow-split { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .svc, .form, .plan { padding: 24px; }
  .svc-lists { padding: 20px; }
  .cta-band { padding: 32px 24px; border-radius: 22px; }
  .cta-band .btn { width: 100%; white-space: normal; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .billing-toggle { width: 100%; }
  .toggle-btn { flex: 1; justify-content: center; padding: 11px 10px; }
  .hero-actions .btn { width: 100%; }
}

/* ---- v2 (SaaS, 23.10.2026) ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a.svc-card { text-decoration: none; color: inherit; }
.msg-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; color: var(--ink-2); }
.quotes li span { font-style: italic; color: var(--ink-2); }
.quotes li span::before { content: "\201C"; } .quotes li span::after { content: "\201D"; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: how; }
.how li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.how p { color: var(--muted); }
.how-n { position: absolute; top: 22px; right: 26px; font: 700 2.4rem/1 var(--display); color: var(--line-2); letter-spacing: -.04em; }
.side-btn { margin-top: 16px; }

/* app */
.app-main { min-height: calc(100dvh - 72px); }
.app { padding: 40px 0 56px; }
.app-wrap { max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.app-bar h1 { font-size: 1.6rem; }
.app-bar p { color: var(--muted); margin-top: 4px; }
.thread { display: flex; flex-direction: column; gap: 16px; min-height: 340px; }
.welcome { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.welcome h2 { font-size: 1.45rem; }
.welcome p { color: var(--muted); }
.suggest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 8px; }
.suggest-btn { text-align: left; font: 500 .95rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.suggest-btn:hover { border-color: var(--ink); background: var(--surface); }
.suggest-btn:active { transform: translateY(1px); }
.turn { display: flex; flex-direction: column; gap: 6px; }
.turn-user { align-items: flex-end; }
.bubble { max-width: 88%; padding: 14px 18px; border-radius: 18px; line-height: 1.55; overflow-wrap: anywhere; }
.turn-user .bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.turn-bot .bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; max-width: 100%; }
.bubble > :first-child { margin-top: 0; } .bubble > :last-child { margin-bottom: 0; }
.bubble p, .bubble ul, .bubble ol, .bubble table, .bubble pre { margin: 0 0 12px; }
.bubble h1, .bubble h2, .bubble h3, .bubble h4 { font-size: 1.05rem; margin: 18px 0 8px; }
.bubble ul, .bubble ol { padding-left: 22px; }
.bubble li { margin-bottom: 4px; }
.bubble code { background: var(--surface-2); padding: 1px 5px; border-radius: 5px; font-size: .9em; }
.bubble pre { background: var(--surface-2); padding: 12px 14px; border-radius: 10px; overflow-x: auto; }
.bubble pre code { background: none; padding: 0; }
.bubble table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: .93rem; }
.bubble th, .bubble td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
.bubble th { background: var(--bg); }
.bubble a { color: var(--ink); text-decoration-color: var(--accent); }
.bubble.error { border-color: #f3c7b0; background: #fff7f2; color: #8a3410; }
.turn-actions { display: flex; gap: 6px; }
.act { display: inline-flex; align-items: center; gap: 6px; font: 600 .82rem/1 var(--font); color: var(--muted); background: none; border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; cursor: pointer; }
.act:hover { color: var(--ink); border-color: var(--line); background: var(--surface); }
.act .icon { width: 15px; height: 15px; }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); animation: blink 1.2s infinite both; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; background: var(--accent); } }
.composer { position: sticky; bottom: 16px; display: flex; gap: 10px; align-items: flex-end; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 18px; padding: 10px 10px 10px 18px; box-shadow: var(--shadow-lg); }
.composer:focus-within { border-color: var(--ink); }
.composer textarea { flex: 1; border: 0; outline: none; resize: none; background: none; font: 400 1rem/1.5 var(--font); color: var(--ink); padding: 8px 0; max-height: 200px; }
.composer-send { padding: 12px; border-radius: 12px; }
.composer-send .icon { width: 18px; height: 18px; }
.composer-send:disabled { opacity: .45; cursor: default; }
.app-note { color: var(--muted); font-size: .88rem; text-align: center; }
.app-note a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .suggest { grid-template-columns: 1fr; }
  .welcome { padding: 24px; }
  .bubble { max-width: 100%; }
  .app { padding-top: 24px; }
}
