/* =====================================================
   Reddit Accelerator v5 — conversion layout, red / white
   Reference: WebDruids-style SaaS landing. Alternating
   white and Reddit-red sections, mono numerals, cards.
   ===================================================== */

:root {
  --white: #ffffff;
  --grey: #f6f5f4;
  --grey-2: #ecebe9;
  --line: #e4e2df;
  --ink: #141210;
  --ink-2: #4b4744;
  --mute: #8a847f;
  --red: #ff4500;
  --red-deep: #d93a00;
  --red-dark: #a82d00;
  --dark: #17120f;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 18px;
  --r-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1140px, calc(100% - 3rem)); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.mono { font-family: var(--mono); }

/* ---------- type ---------- */
h1 { font-size: clamp(2.8rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; max-width: 22ch; }
h3 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.accent { color: var(--red); }
.grey-text { color: var(--mute); }
.dim { color: rgba(255,255,255,0.72); }
.lead { max-width: 62ch; color: var(--ink-2); font-size: 1.08rem; }
.lead.left { text-align: left; }
.red .lead { color: rgba(255,255,255,0.86); }
.pill-label { display: inline-block; padding: 0.3rem 0.75rem; border-radius: 999px; background: #fff0e8; color: var(--red-deep); font-size: 0.8rem; font-weight: 600; }
.pill-label.light { background: rgba(255,255,255,0.16); color: #fff; }
.kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--ink); margin-top: 1rem; }
.note { font-size: 0.82rem; color: var(--mute); }
.red .note { color: rgba(255,255,255,0.7); }
.closer { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; max-width: 30ch; margin-top: 1rem; }
.disclaimer { font-size: 0.78rem; color: var(--mute); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem; border: 1px solid transparent; white-space: nowrap; transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn.lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
.btn.block { width: 100%; }
.btn.primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px -10px rgba(255,69,0,0.7); }
.btn.primary:hover { background: var(--red-deep); }
.btn.ghost { background: #fff; color: var(--ink); border-color: #d9d6d1; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.white { background: #fff; color: var(--red-deep); }
.btn.white:hover { background: #fff5f0; }
.btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn.outline:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.actions.center { justify-content: center; }

/* ---------- top bar + nav ---------- */
.topbar { background: var(--ink); color: #d8d3cf; font-size: 0.78rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 1rem; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 0.8rem; white-space: nowrap; }
.topbar b { color: #fff; font-weight: 600; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #35d07f; margin-right: 0.45rem; vertical-align: middle; }
.sep { width: 1px; height: 12px; background: rgba(255,255,255,0.2); display: inline-block; }
.trust .sep { background: var(--line); }
.topbar-right a:hover { color: #fff; }

.nav { position: sticky; top: 0; z-index: 60; background: #e9e7e3; border-bottom: 1px solid #d9d6d1; }
.lang { display: inline-flex; align-items: center; border: 1px solid #cfcbc5; border-radius: 999px; padding: 2px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; margin-right: 0.4rem; background: #fff; }
.lang span { padding: 0.3rem 0.6rem; border-radius: 999px; color: var(--mute); }
.lang span.on { background: var(--ink); color: #fff; }
.lang:hover span:not(.on) { color: var(--ink); }
.mobile-lang { font-size: 1rem !important; font-weight: 600 !important; color: var(--mute); margin-top: 1rem; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { height: 26px; width: auto; }
.links { display: flex; gap: 1.3rem; font-size: 0.9rem; color: var(--ink-2); white-space: nowrap; }
.links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 0.5rem; align-items: center; }
.burger { display: none; position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); }
.burger span { position: absolute; left: 12px; width: 16px; height: 2px; background: var(--ink); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 23px; }
.burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); } .burger.open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 50; background: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.5rem; padding: 0 2rem; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); background: radial-gradient(70% 60% at 85% 40%, #fff1ea 0%, #fff 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.hero-sub { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.hero-p { color: var(--ink-2); max-width: 52ch; font-size: 1.05rem; }
.hero-facts { display: flex; gap: 1.5rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); width: 100%; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-family: var(--mono); font-weight: 600; font-size: 1.05rem; }
.hero-facts span { font-size: 0.8rem; color: var(--mute); }
.trust { display: flex; align-items: center; gap: 0.8rem; font-size: 0.82rem; color: var(--ink-2); }
.hero-visual { display: flex; justify-content: center; }
.demo { width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 70px -40px rgba(20,18,16,0.35), 0 2px 6px rgba(20,18,16,0.04); padding: 1.1rem 1.25rem 1.25rem; position: relative; min-height: 400px; display: flex; flex-direction: column; gap: 0.9rem; text-align: left; }
.demo-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--ink-2); padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.demo-sub { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--ink); }
.demo-sub i { width: 18px; height: 18px; border-radius: 50%; background: var(--red); }
.demo-mode { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--mute); }
.demo-editor, .demo-live { display: flex; flex-direction: column; gap: 0.7rem; flex: 1; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.demo.published .demo-live { transition-delay: 0.3s; }
.demo:not(.published) .demo-editor { transition-delay: 0.3s; }
.demo-live { position: absolute; left: 1.25rem; right: 1.25rem; top: 3.6rem; opacity: 0; transform: translateY(8px); pointer-events: none; }
.demo.published .demo-editor { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.3s; }
.demo:not(.published) .demo-live { visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.3s; }
.demo.published .demo-live { opacity: 1; transform: none; }
.demo-field { border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem; min-height: 2.6rem; font-size: 0.9rem; line-height: 1.45; color: var(--ink); background: var(--grey); white-space: pre-wrap; }
.demo-title { font-weight: 700; font-size: 1rem; }
.demo-body { min-height: 6.2rem; color: var(--ink-2); }
.demo-field:empty::before { content: attr(data-placeholder); color: var(--mute); }
.demo-field.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--red); margin-left: 2px; vertical-align: -0.15em; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo-actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.demo-flair { font-size: 0.72rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: #fff3c4; color: #5a4a00; }
.demo-post { display: inline-flex; align-items: center; padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: 0.85rem; opacity: 0.45; transition: transform 0.25s var(--ease), opacity 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.demo-post.ready { opacity: 1; box-shadow: 0 8px 20px -10px rgba(255,69,0,0.8); }
.demo-post.pressed { transform: scale(0.92); }
.demo-meta { display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; color: var(--mute); }
.demo-meta i { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #ff8a4c, #ff4500); }
.demo-meta b { color: var(--ink); font-weight: 600; }
.demo-status { margin-left: auto; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; background: #e6f7ee; color: #157347; display: inline-flex; align-items: center; gap: 0.35rem; }
.demo-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1fa85a; box-shadow: 0 0 0 3px rgba(31,168,90,0.2); }
.demo-live h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.demo-live p { font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; }
.demo-votes { display: flex; gap: 0.5rem; font-size: 0.8rem; margin-top: 0.2rem; }
.demo-votes span { padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--grey); color: var(--ink-2); }
.demo-votes .up { background: var(--red); color: #fff; font-weight: 600; }
.demo-votes b { font-family: var(--mono); font-weight: 600; }
.demo-timeline { display: flex; align-items: center; gap: 0.7rem; font-size: 0.72rem; color: var(--mute); padding-top: 0.8rem; border-top: 1px solid var(--line); margin-top: auto; }
.demo-timeline .bar { flex: 1; height: 6px; border-radius: 999px; background: var(--grey-2); overflow: hidden; }
.demo-timeline .bar b { display: block; height: 100%; width: 0; background: var(--red); border-radius: 999px; transition: width 1.6s var(--ease); }
.demo.published .demo-timeline .bar b { width: 100%; }
.demo-day { font-weight: 600; color: var(--mute); transition: color 0.4s var(--ease); }
.demo.done .demo-day { color: #157347; }
.demo.done .demo-day::after { content: " ✓"; }
@media (prefers-reduced-motion: reduce) { .demo-field.typing::after { animation: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section.grey { background: var(--grey); }
.section.red { background: var(--red); color: #fff; }
.section.red h2 { color: #fff; }
.section.final { background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1rem; width: 100%; margin-top: 1.5rem; text-align: left; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.card p { font-size: 0.9rem; color: var(--ink-2); }
.card-head { display: flex; align-items: center; gap: 0.6rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); font-weight: 600; margin-bottom: 0.4rem; }
.ico { width: 34px; height: 34px; border-radius: 10px; background: #fff0e8; color: var(--red-deep); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 1rem; flex: none; }
.mono-big { font-family: var(--mono); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; margin: 0.2rem 0 0.3rem; }
.card.on-red { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); color: #fff; }
.card.on-red p { color: rgba(255,255,255,0.8); }
.card.on-red .ico { background: rgba(255,255,255,0.18); color: #fff; }
.products .card-head { justify-content: space-between; }
.price { font-family: var(--mono); font-weight: 600; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; text-transform: none; }
.job { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red-deep); font-weight: 700; }
.infobox { margin-top: 1.5rem; max-width: 720px; background: #fff0e8; border: 1px solid #ffd2bf; border-radius: var(--r); padding: 1.1rem 1.5rem; font-size: 0.92rem; color: var(--ink-2); }
.infobox b { color: var(--ink); }
.minis { margin-top: 1rem; }
.mini { background: var(--grey); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mini b { font-size: 0.9rem; }
.mini p { font-size: 0.82rem; color: var(--ink-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; width: 100%; margin-top: 1.5rem; text-align: left; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.plan.featured { border-color: var(--red); box-shadow: 0 20px 50px -30px rgba(255,69,0,0.5); margin-top: -0.75rem; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.tag { font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 999px; background: #fff0e8; color: var(--red-deep); }
.plan-price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.plan-price .mono { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.plan-price small { font-size: 0.82rem; color: var(--mute); }
.plan-sub { font-size: 0.82rem; color: var(--mute); }
.plan-sub.accent { color: var(--red-deep); font-weight: 600; }
.checks { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.6rem 0 0.8rem; font-size: 0.9rem; }
.checks li { position: relative; padding-left: 1.4rem; color: var(--ink-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.plan-foot { font-size: 0.76rem; color: var(--mute); text-align: center; }
.rowbox { width: 100%; margin-top: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left; }
.rowbox b { display: block; margin-bottom: 0.2rem; }
.rowbox p { font-size: 0.88rem; color: var(--ink-2); }
.rowbox.tint { background: #fff0e8; border-color: #ffd2bf; }
.steps-box { width: 100%; margin-top: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem; }
.steps-box .kicker { margin: 0 0 1rem; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; font-size: 0.88rem; color: var(--ink-2); }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.steps span { width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.1rem; }

/* ---------- proof ---------- */
.shot { width: 100%; max-width: 720px; margin-top: 1.5rem; background: var(--grey); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-align: left; }
.shot-head, .sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1.2rem; font-size: 0.82rem; font-weight: 600; }
.badge { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.55rem; color: var(--mute); background: #fff; }
.shot-body { background: var(--dark); padding: 1.5rem; }
.rpost { color: #eee; display: flex; flex-direction: column; gap: 0.7rem; }
.rmeta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: #aaa; }
.rmeta i { width: 20px; height: 20px; border-radius: 50%; background: var(--red); }
.rmeta b { color: #fff; }
.rpost h3 { font-size: 1.25rem; color: #fff; }
.flair { align-self: flex-start; font-size: 0.72rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: #fff3c4; color: #5a4a00; }
.rpost p { font-size: 0.92rem; color: #d6d6d6; line-height: 1.5; }
.ractions { display: flex; gap: 0.5rem; margin-top: 0.4rem; font-size: 0.8rem; }
.ractions span { padding: 0.35rem 0.7rem; border-radius: 999px; background: #2a2523; color: #ddd; }
.ractions .up { background: var(--red); color: #fff; font-weight: 600; }
.shot-foot { padding: 0.8rem 1.2rem; font-size: 0.82rem; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 900px; margin-top: 1.5rem; }
.stats > div { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 1rem; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats .mono { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; }
.stats small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); }
.sheet { width: 100%; max-width: 900px; margin-top: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-align: left; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.sheet th { text-align: left; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); font-weight: 600; padding: 0.6rem 1.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sheet td { padding: 0.7rem 1.2rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.sheet td.mono { font-size: 0.78rem; }
.st { font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 999px; }
.st.live { background: #e6f7ee; color: #157347; }
.st.next { background: #fff0e8; color: var(--red-deep); }
.st.re { background: #fff7d6; color: #7a5b00; }
.sheet-note { padding: 0.8rem 1.2rem; font-size: 0.78rem; color: var(--mute); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; width: 100%; margin-top: 1.5rem; text-align: left; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 0.85fr 1.15fr; }
.member figure { margin: 0; background: radial-gradient(110% 90% at 50% 100%, #d9d6d2 0%, #e8e6e3 50%, #f3f2f0 100%); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.member figure img { width: 88%; height: auto; max-height: 100%; object-fit: contain; object-position: 50% 100%; margin-top: 1.5rem; }
.member-text { padding: 1.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.member-text .role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red-deep); font-weight: 700; }
.member-text h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.member-text p { font-size: 0.9rem; color: var(--ink-2); flex: 1; }

/* ---------- guarantee ---------- */
.guarantee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.guarantee-grid > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.stack { display: flex; flex-direction: column; gap: 0.8rem; }

/* ---------- faq ---------- */
.faq-list { width: 100%; text-align: left; border-top: 1px solid var(--line); margin-top: 1rem; }
.q { border-bottom: 1px solid var(--line); }
.q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; text-align: left; font-weight: 600; font-size: 1rem; }
.q button i { width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.4s var(--ease); flex: none; margin-right: 0.3rem; }
.q.open button i { transform: rotate(-135deg); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.a > div { overflow: hidden; }
.a p { font-size: 0.9rem; color: var(--ink-2); padding-bottom: 0.9rem; max-width: 62ch; }
.q.open .a { grid-template-rows: 1fr; }

/* ---------- final ---------- */
.contact-line { font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.contact-line a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- call dialog ---------- */
.hp { position: absolute; left: -9999px; }
.call-dialog { border: 0; padding: 2rem; width: min(560px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(20,18,16,0.6); text-align: left; }
.call-dialog::backdrop { background: rgba(20,18,16,0.55); }
.call-dialog[open] { animation: dialog-in 0.35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.call-close { position: absolute; top: 0.9rem; right: 0.9rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.3rem; line-height: 1; color: var(--ink-2); background: #fff; }
.call-close:hover { border-color: var(--ink); color: var(--ink); }
.call-dialog h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 0.8rem 0 0.4rem; padding-right: 2rem; }
.call-lead { font-size: 0.92rem; color: var(--ink-2); }
.call-mail { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 1.2rem; padding: 0.7rem 0.7rem 0.7rem 1.1rem; border-radius: 14px; background: var(--grey); border: 1px solid var(--line); }
.call-mail .mono { font-size: 0.98rem; font-weight: 600; word-break: break-all; user-select: all; }
.call-or { display: flex; align-items: center; gap: 0.8rem; margin: 1.3rem 0 1rem; font-size: 0.78rem; color: var(--mute); }
.call-or::before, .call-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.call-form { display: flex; flex-direction: column; gap: 0.9rem; }
.call-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.call-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; font-weight: 600; }
.call-form input, .call-form textarea { font: inherit; font-weight: 400; font-size: 0.95rem; padding: 0.7rem 0.85rem; border-radius: 10px; border: 1px solid #d9d6d1; background: #fff; color: var(--ink); outline: none; resize: vertical; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.call-form input:focus, .call-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,69,0,0.15); }
.call-note { font-size: 0.76rem; color: var(--mute); text-align: center; }
.call-note a { text-decoration: underline; }
@media (max-width: 560px) { .call-dialog { padding: 1.4rem; } .call-row { grid-template-columns: 1fr; } .call-mail { flex-direction: column; align-items: stretch; text-align: center; } }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #cfc9c4; padding: 3.5rem 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-grid > div { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; font-size: 0.88rem; }
.foot-grid h4 { color: #fff; font-size: 0.85rem; margin-bottom: 0.3rem; }
.foot-grid a:hover { color: #fff; }
.foot-brand img { width: 150px; margin-bottom: 0.5rem; margin-left: -0.3rem; }
.foot-brand p { font-size: 0.85rem; max-width: 40ch; }
.foot-bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 0; font-size: 0.76rem; color: #8f8883; }
.foot-bar a { margin-left: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav-cta .btn.ghost { display: none; }
  .links { gap: 1.1rem; }
}
@media (max-width: 1000px) {
  .cards.three, .plans, .steps, .team { grid-template-columns: 1fr; }
  .cards.four { grid-template-columns: 1fr 1fr; }
  .plan.featured { margin-top: 0; }
  .hero-grid, .guarantee-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .demo { max-width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .topbar-left span:nth-child(n+2) { display: none; }
}
@media (max-width: 760px) {
  .links, .nav-cta { display: none; }
  .burger { display: block; }
  .topbar-right { display: none; }
  .hero-facts { gap: 1rem; }
  .rowbox { flex-direction: column; align-items: flex-start; }
  .member { grid-template-columns: 1fr; }
  .member figure { aspect-ratio: 4 / 3; }
  .member figure img { width: 62%; }
  .cards.four { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .sheet th:nth-child(5), .sheet td:nth-child(5) { display: none; }
  .sheet th, .sheet td { padding-left: 0.7rem; padding-right: 0.7rem; }
  .sheet td { font-size: 0.8rem; }
  .sheet td.mono { font-size: 0.72rem; }
  .st { white-space: normal; display: inline-block; line-height: 1.3; }
  .actions .btn { width: 100%; }
}
