/* MakalahPro — gaya Minimalism & Swiss (rekomendasi UI UX Pro Max): teal + aksen oranye, Plus Jakarta Sans. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-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: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-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;
}

:root {
  --bg: #f6faf9;
  --surface: #ffffff;
  --surface-2: #eef6f4;
  --text: #0f172a;
  --heading: #0b3b37;
  --muted: #475569;
  --border: #dbe7e4;
  --border-strong: #b9d3ce;
  --primary: #0f766e;
  --primary-hover: #115e59;
  --primary-ink: #ffffff;
  --primary-soft: #e0f2ef;
  --brand: #0d9488;
  --accent: #ea580c;
  --accent-soft: #ffedd5;
  --accent-ink: #9a3412;
  --ok: #15803d; --ok-soft: #dcfce7;
  --warn: #92400e; --warn-soft: #fef3c7;
  --err: #b91c1c; --err-soft: #fee2e2;
  --paper: #ffffff; --ink-line: #cbd5e1;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -8px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 48px -16px rgba(11, 59, 55, .25);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1514; --surface: #10201e; --surface-2: #152a27; --text: #e6f0ee; --heading: #f0fdfa; --muted: #9db3af;
    --border: #22403b; --border-strong: #2f5650; --primary: #2dd4bf; --primary-hover: #5eead4; --primary-ink: #042f2e;
    --primary-soft: #11332f; --brand: #2dd4bf; --accent: #fb923c; --accent-soft: #3b200d; --accent-ink: #fdba74;
    --ok: #4ade80; --ok-soft: #0f2e1b; --warn: #fbbf24; --warn-soft: #33270b; --err: #f87171; --err-soft: #3a1414;
    --paper: #f8fafc; --ink-line: #cbd5e1;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .45);
    --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: var(--primary); }
h1, h2, h3 { color: var(--heading); line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--primary); color: var(--primary-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); text-decoration: none; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.brand b { color: var(--primary); font-weight: 800; }
.brand-sm { font-size: 1rem; }
.topnav { display: flex; align-items: center; gap: 6px; }
.topnav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 10px 12px; border-radius: 10px; transition: color .2s var(--ease), background .2s var(--ease); }
.topnav a:hover { color: var(--heading); background: var(--surface-2); }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; margin-left: 6px; }
.pill-accent { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 16%, transparent), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft); color: var(--primary); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  border-radius: 999px; padding: 6px 14px 6px 10px; font-size: .86rem; font-weight: 700; margin-bottom: 20px; }
.eyebrow-pill svg { width: 18px; height: 18px; }
.hl { color: var(--primary); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.lead strong { color: var(--heading); font-weight: 700; }

.dropzone { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 34px 24px 26px; background: var(--surface);
  border: 2px dashed var(--border-strong); border-radius: 20px; cursor: pointer; box-shadow: var(--shadow);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.dropzone:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.dropzone.drag { border-color: var(--brand); background: var(--primary-soft); transform: scale(1.01); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { outline: 3px solid var(--brand); outline-offset: 4px; }
.dz-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); }
.dz-icon svg { width: 28px; height: 28px; }
.dz-text { display: grid; gap: 2px; }
.dz-title { font-weight: 700; color: var(--heading); font-size: 1.05rem; }
.dz-hint { color: var(--muted); font-size: .9rem; }
.dz-foot { color: var(--muted); font-size: .82rem; }
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.6; }

/* halaman asli sebelum/sesudah (diburamkan) */
.hero-visual { margin: 0; }
.shots { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; padding: 18px 8px 28px; }
.shot { position: relative; border-radius: 10px; background: #fff; box-shadow: var(--shadow-lg); }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.shot-before { transform: rotate(-4deg) translate(14%, 7%); z-index: 1; border: 1px solid #e2e8f0; }
.shot-before img { opacity: .9; }
.shot-after { transform: translateX(-6%); z-index: 2; outline: 3px solid var(--brand); outline-offset: 0; }
.shot-tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; font-size: .8rem; font-weight: 800; letter-spacing: .02em;
  border-radius: 999px; padding: 5px 14px; box-shadow: var(--shadow-sm); }
.tag-before { background: #fee2e2; color: #b91c1c; }
.tag-after { background: var(--primary); color: var(--primary-ink); }
.shot-check { position: absolute; top: -16px; right: -16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 4px solid var(--bg); }
.shot-check svg { width: 22px; height: 22px; stroke-width: 3.2; }
/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid transparent; border-radius: 12px; padding: 10px 18px;
  font: 700 1rem var(--font); letter-spacing: -.005em; cursor: pointer; text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .1), 0 6px 16px -6px color-mix(in srgb, var(--primary) 60%, transparent); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 1.05rem; border-radius: 14px; }

/* ---------- Stepper ---------- */
.stepper-wrap { padding-top: 28px; }
.stepper { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; max-width: 520px; }
.stepper li { display: flex; align-items: center; gap: 10px; flex: 1; color: var(--muted); font-weight: 600; font-size: .92rem; }
.stepper li:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--border); border-radius: 2px; margin: 0 12px; }
.stepper .num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--surface); font-size: .85rem; font-weight: 800; flex: none; }
.stepper li.done { color: var(--heading); }
.stepper li.done .num { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.stepper li.done:not(:last-child)::after { background: var(--primary); }
.stepper li[aria-current="step"] { color: var(--heading); }
.stepper li[aria-current="step"] .num { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

/* ---------- Panels & cards ---------- */
.panel-section { padding: 20px 0 32px; animation: rise .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 8px 0 20px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 4px; }
.file-line { font-weight: 500; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); min-width: 0; }
.card h3 { margin-bottom: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; align-items: start; }
.cta-bar { display: flex; justify-content: center; padding: 8px 0 28px; }

/* outline */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.chip { background: var(--surface-2); border-radius: 999px; padding: 4px 11px; font-size: .84rem; color: var(--muted); font-weight: 500; }
.chip b { color: var(--heading); font-weight: 800; }
.outline { list-style: none; margin: 0; padding: 0; max-height: 500px; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.outline li { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-bottom: 1px solid var(--border); }
.outline li:last-child { border-bottom: 0; }
.outline .txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .94rem; }
.outline .lvl-chapter, .outline .lvl-front-heading, .outline .lvl-back-heading { background: color-mix(in srgb, var(--primary-soft) 55%, transparent); }
.outline .lvl-chapter .txt, .outline .lvl-front-heading .txt, .outline .lvl-back-heading .txt { font-weight: 750; color: var(--heading); }
.outline .lvl-h2 .txt { padding-left: 16px; }
.outline .lvl-h3 .txt { padding-left: 32px; font-style: italic; }
.outline .lvl-caption-table .txt, .outline .lvl-caption-figure .txt { padding-left: 16px; color: var(--muted); }
.outline select, .field input, .field select {
  font: 500 .95rem var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; min-height: 44px; padding: 8px 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.outline select { flex: none; width: 136px; min-height: 36px; padding: 4px 8px; font-size: .85rem; cursor: pointer; }
.outline select:hover, .field select:hover, .field input:hover { border-color: var(--brand); }
.outline select:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
.tag-role { flex: none; width: 136px; text-align: center; font-size: .76rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); border-radius: 8px; padding: 4px 8px; }
.candidates { margin-top: 12px; }
.candidates summary, .faq summary { cursor: pointer; list-style: none; }
.candidates summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.candidates summary { font-weight: 650; font-size: .93rem; padding: 8px 0; display: flex; align-items: center; gap: 8px; }
.candidates summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s var(--ease); }
.candidates[open] summary::before { transform: rotate(45deg); }
.outline-cand { max-height: 280px; }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; padding: 0 9px; font-size: .78rem; font-weight: 800; }
.empty-note { padding: 14px; color: var(--muted); font-size: .93rem; }

/* settings */
.settings { display: grid; gap: 14px; margin-top: 10px; }
.field { display: grid; gap: 5px; }
.field > span { color: var(--muted); font-weight: 600; font-size: .86rem; }
.field input, .field select { width: 100%; min-width: 0; }
.margins { border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; }
.margins legend { font-size: .86rem; font-weight: 600; color: var(--muted); padding: 0 4px; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks { display: grid; gap: 4px; padding-top: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; padding: 8px 10px; border-radius: 10px; cursor: pointer; transition: background .2s var(--ease); }
.check:hover { background: var(--surface-2); }
.check input { margin: 2px 0 0; accent-color: var(--primary); width: 18px; height: 18px; flex: none; cursor: pointer; }

/* alerts */
.alert { border-radius: 12px; padding: 11px 14px; font-size: .92rem; margin: 12px 0 0; text-align: left; border: 1px solid transparent; }
.alert-error { background: var(--err-soft); color: var(--err); border-color: color-mix(in srgb, var(--err) 25%, transparent); }
.alert-warn { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 20%, transparent); }
.alert + .alert { margin-top: 8px; }

/* ---------- Result ---------- */
.result-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  background: linear-gradient(135deg, var(--primary-soft), var(--surface) 60%); }
.result-status { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 360px; }
.result-status p { margin: 6px 0 0; }
.status-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; flex: none; box-shadow: 0 0 0 6px var(--ok-soft); }
.status-icon svg { width: 28px; height: 28px; stroke-width: 3; }
.status-icon.warn { background: var(--warn); box-shadow: 0 0 0 6px var(--warn-soft); }
.status { display: inline-block; font-weight: 800; font-size: .76rem; letter-spacing: .08em; border-radius: 999px; padding: 4px 10px; }
.status.ok { background: var(--ok-soft); color: var(--ok); }
.status.warn { background: var(--warn-soft); color: var(--warn); }
.steps-card { margin-bottom: 20px; border-left: 4px solid var(--accent); }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.steps li::marker { color: var(--accent); font-weight: 800; }
kbd { font: 700 .8rem var(--font); background: var(--surface-2); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
.ticks { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: .94rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border-right: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(45deg); }
.table-scroll { overflow-x: auto; }
.integrity { width: 100%; border-collapse: collapse; font-size: .9rem; }
.integrity th, .integrity td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.integrity th { color: var(--muted); font-weight: 650; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.integrity tbody tr:hover { background: var(--surface-2); }
.integrity td:nth-child(2), .integrity td:nth-child(3) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.integrity .note { display: block; color: var(--muted); font-size: .8rem; }
.pass, .fail { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 800; font-size: .8rem; }
.pass { color: var(--ok); background: var(--ok-soft); }
.fail { color: var(--err); background: var(--err-soft); }
.spell { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spell li { background: var(--surface-2); border-radius: 10px; padding: 5px 11px; font-size: .9rem; }
.spell s { color: var(--err); }
.spell b { color: var(--ok); }

/* ---------- Info sections ---------- */
.info { padding: 72px 0; }
.info-alt { background: var(--surface); border-block: 1px solid var(--border); }
.info-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.info-head p { margin: 0; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.feature:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.f-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; }
.f-icon svg { width: 22px; height: 22px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: how; position: relative; }
.how li { position: relative; text-align: center; padding: 0 12px; }
.how li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 14px); }
.how-num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--primary); color: var(--primary-ink); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; box-shadow: 0 8px 20px -8px var(--primary); }
.how p { color: var(--muted); font-size: .95rem; margin: 0 auto; max-width: 300px; }
.privacy { display: flex; gap: 18px; align-items: flex-start; margin-top: 44px; padding: 24px; border-radius: var(--radius); background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.privacy p { margin: 0; color: var(--text); }
.privacy-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary); color: var(--primary-ink); flex: none; }
.privacy-icon svg { width: 24px; height: 24px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details:hover { border-color: var(--border-strong); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; color: var(--heading); padding: 16px 18px; min-height: 52px; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { color: var(--muted); padding: 0 18px 16px; margin: 0; }

.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .9rem; background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer p { margin: 0; }

/* ---------- Busy overlay ---------- */
.busy { position: fixed; inset: 0; background: rgba(4, 20, 18, .45); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 50; }
.busy-card { display: grid; justify-items: center; gap: 14px; background: var(--surface); color: var(--heading); padding: 28px 36px; border-radius: 18px; box-shadow: var(--shadow-lg); font-weight: 700; }
.busy-card p { margin: 0; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--primary-soft); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .spinner { animation: spin 2.4s linear infinite !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 28px; }
  .how li:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 48px; }
  .topnav a { display: none; }
  .info { padding: 52px 0; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .feature .f-icon { grid-row: span 2; margin: 0; }
  .feature h3 { margin-bottom: 2px; }
  .integrity { font-size: .84rem; }
  .integrity td:nth-child(2), .integrity td:nth-child(3) { white-space: normal; }
  .integrity th, .integrity td { padding: 8px 5px; }
  .margins { grid-template-columns: 1fr 1fr; }
  .row-3 { grid-template-columns: 1fr 1fr; }
  .row-3 .field:first-child { grid-column: 1 / -1; }
  .row-2 { grid-template-columns: 1fr; }
  .outline select, .tag-role { width: 112px; }
  .result-hero .btn, .cta-bar .btn { width: 100%; }
  .stepper .lbl { font-size: .84rem; }
  .stepper li:not(:last-child)::after { margin: 0 8px; }
  .privacy { flex-direction: column; }
  .card { padding: 18px; }
}
