:root {
  --blue-950: #0a2558;
  --blue-800: #123f91;
  --blue-700: #1652b8;
  --blue-600: #1967d2;
  --blue-100: #e9f2ff;
  --blue-50: #f5f9ff;
  --cyan: #18b6b2;
  --ink: #15233c;
  --muted: #64748b;
  --line: #dce5f2;
  --surface: #ffffff;
  --background: #f7faff;
  --success: #178860;
  --warning: #d97706;
  --danger: #d64045;
  --shadow-sm: 0 8px 24px rgba(32, 63, 113, .08);
  --shadow-lg: 0 22px 60px rgba(31, 67, 129, .14);
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -100px; padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--blue-950); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(25, 103, 210, .38); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 20; height: 76px; background: rgba(255,255,255,.93); border-bottom: 1px solid rgba(220, 229, 242, .85); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { position: relative; display: grid; place-items: center; width: 39px; height: 39px; overflow: hidden; border-radius: 11px; background: var(--blue-600); box-shadow: 0 7px 17px rgba(25,103,210,.25); }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; width: 8px; border-radius: 3px; background: #fff; transform: rotate(28deg); }
.brand-mark::before { height: 17px; left: 11px; top: 14px; }
.brand-mark::after { height: 25px; right: 10px; top: 7px; opacity: .96; }
.brand-mark span { height: 10px; left: 18px; top: 16px; opacity: .78; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-size: 1.15rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .68rem; letter-spacing: .035em; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a, .nav-link { position: relative; padding: 8px 0; border: 0; color: #42526b; background: transparent; text-decoration: none; font-size: .91rem; font-weight: 600; cursor: pointer; }
.primary-nav a:hover, .primary-nav a.active, .nav-link:hover { color: var(--blue-600); }
.primary-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; background: var(--blue-600); border-radius: 2px; }
.mobile-menu { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mobile-menu span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 11px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.button-primary { color: #fff; background: var(--blue-600); box-shadow: 0 8px 16px rgba(25,103,210,.18); }
.button-primary:hover { background: #145aba; box-shadow: 0 10px 22px rgba(25,103,210,.25); }
.button-secondary { color: var(--blue-700); background: var(--blue-50); border-color: #c9dcfa; }
.button-secondary:hover { background: var(--blue-100); }
.button-outline { color: var(--blue-700); background: #fff; border-color: #b9d1f4; }

.hero { position: relative; overflow: hidden; padding: 62px 0 66px; background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%); }
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.hero-accent { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero-accent-one { width: 360px; height: 360px; top: -200px; left: -130px; background: rgba(25,103,210,.07); }
.hero-accent-two { width: 260px; height: 260px; right: -100px; bottom: -130px; background: rgba(24,182,178,.07); }
.hero-grid { position: relative; display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: 66px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--blue-700); font-size: .79rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.eyebrow span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #fff; background: var(--cyan); font-size: .72rem; }
h1 { margin: 0; max-width: 590px; color: var(--blue-950); font-size: clamp(2.45rem, 4.4vw, 4.05rem); line-height: 1.06; letter-spacing: -.048em; }
h1 span { color: var(--blue-600); }
.hero-lead { max-width: 560px; margin: 23px 0 24px; color: #53647c; font-size: 1.08rem; line-height: 1.72; }
.free-callout { display: inline-flex; align-items: center; gap: 13px; padding: 10px 16px 10px 10px; border: 1px solid #cae9e6; border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.free-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 11px; color: #fff; background: var(--cyan); font-size: .77rem; font-weight: 800; }
.free-callout > span:last-child { display: flex; flex-direction: column; }
.free-callout strong { color: var(--blue-950); font-size: .94rem; }
.free-callout small { color: var(--muted); font-size: .79rem; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 9px 21px; margin: 24px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: .78rem; font-weight: 600; }
.hero-benefits li::before { content: "✓"; margin-right: 7px; color: var(--success); font-weight: 800; }

.upload-panel { padding: 25px; border: 1px solid rgba(210, 224, 243, .9); border-radius: 23px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-lg); }
.upload-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.section-kicker { display: block; margin-bottom: 2px; color: var(--blue-600); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.upload-panel h2 { margin: 0; color: var(--blue-950); font-size: 1.28rem; letter-spacing: -.025em; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; color: var(--success); background: #edfbf5; font-size: .73rem; font-weight: 700; }
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: #2ab27b; box-shadow: 0 0 0 4px rgba(42,178,123,.1); }
.drop-zone { padding: 36px 23px 29px; border: 2px dashed #a9c8f3; border-radius: 17px; background: linear-gradient(180deg, #fafdff, #f6faff); text-align: center; cursor: pointer; transition: border .2s ease, background .2s ease, transform .2s ease; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--blue-600); background: #f1f7ff; transform: translateY(-1px); }
.upload-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 15px; border-radius: 17px; color: var(--blue-600); background: var(--blue-100); box-shadow: inset 0 0 0 1px #cfe1fb; }
.upload-icon span { font-size: 1.65rem; font-weight: 600; transform: translateY(-1px); }
.drop-zone h3 { margin: 0; color: var(--blue-950); font-size: 1.13rem; }
.drop-zone > p { margin: 6px 0 18px; color: var(--muted); font-size: .87rem; }
.upload-actions { display: flex; justify-content: center; gap: 10px; }
.drop-zone .file-types { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 18px 0 0; color: #8a98aa; font-size: .68rem; letter-spacing: .06em; }
.file-types strong { color: #6a7a91; font-weight: 800; }
.demo-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 4px 5px; color: var(--muted); font-size: .77rem; }
.text-button, .inline-button { padding: 0; border: 0; color: var(--blue-600); background: transparent; font-weight: 700; cursor: pointer; }
.text-button:hover, .inline-button:hover { text-decoration: underline; }
.privacy-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #edf1f7; color: #7a8799; font-size: .71rem; line-height: 1.55; }
.privacy-note > span[aria-hidden="true"] { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 4px; border: 1px solid #b7c5d8; border-radius: 50%; }

.trust-strip { background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid div { padding: 24px 32px; border-right: 1px solid #e9eef5; text-align: center; }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { margin-bottom: 3px; color: var(--blue-950); font-size: .85rem; }
.trust-grid span { color: var(--muted); font-size: .72rem; }

.app-dialog { width: min(500px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 28px 85px rgba(15, 39, 82, .28); }
.app-dialog::backdrop { background: rgba(10, 28, 58, .55); backdrop-filter: blur(3px); }
.dialog-content { position: relative; padding: 32px; }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 35px; height: 35px; border: 0; border-radius: 50%; color: var(--muted); background: #f2f5f9; cursor: pointer; font-size: 1.35rem; }
.dialog-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 15px; border-radius: 13px; color: var(--blue-700); background: var(--blue-100); font-weight: 800; }
.dialog-content h2 { margin: 0 0 10px; color: var(--blue-950); }
.dialog-content p { color: var(--muted); font-size: .93rem; }
.dialog-content .button { margin-top: 8px; }

[hidden] { display: none !important; }
.demo-picker { position: relative; }
.demo-picker summary { color: var(--blue-600); font-weight: 700; cursor: pointer; list-style: none; }
.demo-picker summary::-webkit-details-marker { display: none; }
.demo-menu { position: absolute; z-index: 8; top: calc(100% + 10px); right: 0; width: 220px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-lg); }
.demo-menu button { display: flex; flex-direction: column; width: 100%; padding: 10px 11px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.demo-menu button:hover { background: var(--blue-50); }
.demo-menu strong { color: var(--ink); font-size: .8rem; }
.demo-menu span { color: var(--muted); font-size: .7rem; }

.workflow-section { padding: 50px 0 80px; background: var(--background); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.flow-steps { display: flex; align-items: center; gap: 10px; color: #8a96a8; font-size: .76rem; font-weight: 700; }
.flow-steps span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.flow-steps i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #cdd7e5; border-radius: 50%; background: #fff; font-style: normal; font-size: .72rem; }
.flow-steps span.active { color: var(--blue-700); }
.flow-steps span.active i { color: #fff; border-color: var(--blue-600); background: var(--blue-600); }
.flow-steps b { width: 38px; height: 1px; background: #cdd7e5; }
.reset-flow { font-size: .82rem; }
.analysis-loading, .analysis-result { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.analysis-result { scroll-margin-top: 90px; }
.analysis-loading { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.spinner { width: 46px; height: 46px; border: 4px solid var(--blue-100); border-top-color: var(--blue-600); border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.analysis-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.analysis-heading h2 { margin: 0; color: var(--blue-950); font-size: 1.35rem; }
.analysis-heading strong { color: var(--blue-700); font-size: .86rem; }
.progress-track { grid-column: 1 / -1; height: 9px; overflow: hidden; border-radius: 999px; background: #e9eff7; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--cyan)); transition: width .12s linear; }
.analysis-loading > p { grid-column: 1 / -1; margin: -4px 0 0; color: var(--muted); font-size: .8rem; }
.section-heading { margin-bottom: 26px; }
.section-heading h2 { margin: 3px 0 8px; color: var(--blue-950); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.18; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading.centered { max-width: 670px; margin-inline: auto; text-align: center; }
.row-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.complete-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; color: var(--success); background: #ecfaf4; white-space: nowrap; font-size: .74rem; font-weight: 700; }
.complete-badge span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--success); font-size: .68rem; }
.summary-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.summary-card { position: relative; overflow: hidden; min-height: 118px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.summary-card::after { content: ""; position: absolute; right: -19px; bottom: -25px; width: 58px; height: 58px; border-radius: 50%; background: var(--card-tint, var(--blue-50)); }
.summary-card span { display: block; margin-bottom: 9px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.summary-card strong { display: block; color: var(--blue-950); font-size: 1.55rem; line-height: 1; }
.summary-card small { display: block; margin-top: 7px; color: #8a97a9; font-size: .67rem; }
.summary-card.duplicate { --card-tint: #f3efff; }
.summary-card.problem { --card-tint: #fff3e1; }
.analysis-notices { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 18px; }
.notice { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
.notice-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #7058bd; background: #f0ecff; font-weight: 800; }
.notice-warning .notice-icon { color: var(--warning); background: #fff4dd; }
.notice strong { display: block; color: var(--ink); font-size: .8rem; }
.notice p { margin: 3px 0 0; color: var(--muted); font-size: .7rem; }
.notice .text-button { font-size: .72rem; }
.credit-summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 14px; padding: 17px 20px; border: 1px solid #bfe3d5; border-radius: 13px; background: #f3fcf8; }
.credit-summary > div { display: flex; align-items: center; gap: 12px; }
.credit-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--success); }
.credit-summary p { margin: 0; }
.credit-summary p strong, .credit-summary p small { display: block; }
.credit-summary p strong { color: #116e4d; font-size: .9rem; }
.credit-summary p small { margin-top: 2px; color: #5d806f; font-size: .7rem; }
.credit-total { display: flex; align-items: baseline; gap: 6px; color: #116e4d; white-space: nowrap; }
.credit-total strong { font-size: 1.45rem; }
.credit-total small { font-size: .71rem; font-weight: 700; }

.configuration { margin-top: 54px; padding-top: 50px; border-top: 1px solid var(--line); }
.config-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.config-fieldset legend { width: 100%; margin-bottom: 12px; color: var(--blue-950); font-size: .95rem; font-weight: 800; }
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.preset-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: border .17s ease, background .17s ease, box-shadow .17s ease; }
.preset-card:hover { border-color: #aac8f1; }
.preset-card.selected { border-color: var(--blue-600); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-600); }
.preset-card input { position: absolute; opacity: 0; pointer-events: none; }
.preset-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; color: var(--blue-600); background: var(--blue-100); font-size: 1rem; font-weight: 800; }
.preset-card > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.preset-card strong { color: var(--ink); font-size: .81rem; }
.preset-card small { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.custom-builder, .name-builder { margin-top: 14px; padding: 18px; border: 1px solid #c9dcf7; border-radius: 13px; background: var(--blue-50); }
.builder-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.builder-heading div, .builder-heading strong, .builder-heading small { display: block; }
.builder-heading strong { color: var(--blue-950); font-size: .86rem; }
.builder-heading small { color: var(--muted); font-size: .7rem; }
.builder-heading > span { color: var(--muted); font-size: .68rem; }
.folder-level { display: grid; grid-template-columns: 96px 1fr 34px; align-items: center; gap: 10px; margin-bottom: 9px; }
.folder-level label { color: #4f6079; font-size: .75rem; font-weight: 700; }
.folder-level select, .pdf-options select { width: 100%; min-height: 42px; padding: 8px 35px 8px 12px; border: 1px solid #c7d5e8; border-radius: 9px; color: var(--ink); background: #fff; }
.remove-level { width: 34px; height: 34px; border: 0; border-radius: 8px; color: var(--danger); background: #fff; cursor: pointer; font-size: 1rem; }
.config-columns { display: grid; grid-template-columns: 1fr .9fr; gap: 19px; margin-top: 30px; }
.config-panel, .preview-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.name-presets { display: grid; gap: 8px; }
.name-presets label { position: relative; display: flex; align-items: flex-start; padding: 11px 12px 11px 39px; border: 1px solid #e2e8f1; border-radius: 10px; cursor: pointer; }
.name-presets label:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); }
.name-presets input { position: absolute; left: 13px; top: 15px; accent-color: var(--blue-600); }
.name-presets strong, .name-presets small { display: block; }
.name-presets strong { color: var(--ink); font-size: .78rem; }
.name-presets small { margin-top: 2px; color: var(--muted); font-size: .67rem; }
.name-builder p { margin: 0 0 9px; color: var(--muted); font-size: .7rem; }
.block-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.block-picker button { padding: 6px 10px; border: 1px solid #bcd0ec; border-radius: 8px; color: var(--blue-700); background: #fff; cursor: pointer; font-size: .72rem; font-weight: 700; }
.block-picker button.selected { color: #fff; border-color: var(--blue-600); background: var(--blue-600); }
.selected-blocks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 39px; margin-top: 12px; padding: 8px; border: 1px dashed #b7cbe7; border-radius: 9px; background: #fff; }
.selected-blocks span { padding: 4px 7px; border-radius: 6px; color: var(--blue-800); background: var(--blue-100); font-size: .7rem; font-weight: 700; }
.selected-blocks i { color: #8b99ad; font-style: normal; font-size: .7rem; }
.preview-panel { color: #d8e6ff; background: var(--blue-950); border-color: var(--blue-950); }
.preview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.preview-panel .section-kicker { color: #85bbff; }
.preview-panel h3 { margin: 2px 0 0; color: #fff; font-size: 1rem; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #b9d3fa; font-size: .62rem; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.tree-preview { min-height: 222px; margin-top: 20px; padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.045); font-family: "Cascadia Code", Consolas, monospace; font-size: .72rem; line-height: 1.9; overflow-x: auto; white-space: nowrap; }
.tree-preview .folder { color: #88baff; font-weight: 700; }
.tree-preview .file { color: #e5efff; }
.tree-preview .tree-line { display: block; }
.filename-preview { margin: 12px 0 0; color: #9eb5d8; font-size: .66rem; word-break: break-word; }
.filename-preview strong { color: #fff; }
.output-fieldset { margin-top: 30px; }
.output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.output-grid label { position: relative; display: flex; align-items: flex-start; gap: 11px; min-height: 71px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
.output-grid label:has(input:checked) { border-color: #acc8f0; background: var(--blue-50); }
.output-grid input { position: absolute; opacity: 0; }
.check-ui { display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; border: 1px solid #b7c4d7; border-radius: 6px; color: transparent; background: #fff; font-size: .7rem; font-weight: 800; }
.output-grid input:checked + .check-ui { color: #fff; border-color: var(--blue-600); background: var(--blue-600); }
.output-grid strong, .output-grid small { display: block; }
.output-grid strong { color: var(--ink); font-size: .76rem; }
.output-grid small { margin-top: 2px; color: var(--muted); font-size: .65rem; }
.pdf-options { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 13px 15px; border: 1px solid #c8dbf6; border-radius: 11px; background: var(--blue-50); }
.pdf-options label { min-width: 210px; color: var(--ink); font-size: .77rem; font-weight: 700; }
.pdf-options select { max-width: 260px; }
.process-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 18px 20px; border-radius: 14px; color: #fff; background: var(--blue-950); }
.process-bar > div { display: flex; flex-direction: column; }
.process-bar strong { font-size: .9rem; }
.process-bar span { color: #b6cae8; font-size: .7rem; }
.process-bar .button span { color: inherit; font-size: inherit; }
.button-lg { min-height: 51px; padding-inline: 23px; }
.form-error { margin: 10px 0 0; color: var(--danger); text-align: right; font-size: .75rem; }

.commercial-section, .before-after-section, .steps-section, .pricing-section, .faq-section { padding: 92px 0; }
.commercial-section { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid article { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 25px rgba(28, 63, 115, .05); }
.feature-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 18px; border-radius: 12px; font-size: .72rem; font-weight: 800; }
.feature-icon.blue { color: var(--blue-700); background: var(--blue-100); }
.feature-icon.teal { color: #0e8582; background: #e2f8f6; }
.feature-icon.purple { color: #7058bd; background: #f0ecff; }
.feature-icon.amber { color: #a45f05; background: #fff2dc; }
.feature-grid h3 { margin: 0 0 7px; color: var(--blue-950); font-size: 1rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: .8rem; }
.before-after-section { background: var(--background); }
.before-after-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 75px; }
.check-list { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; color: #53647c; font-size: .82rem; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; color: var(--success); background: #e7f8f1; font-size: .65rem; font-weight: 800; }
.comparison-card { display: grid; grid-template-columns: 1fr 50px 1fr; align-items: center; }
.messy-card, .organized-card { min-height: 310px; padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.organized-card { border-color: #bcd4f4; background: var(--blue-950); transform: translateY(12px); }
.comparison-label { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.comparison-label span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.comparison-label small { color: #94a1b2; font-size: .62rem; }
.organized-card .comparison-label { border-color: rgba(255,255,255,.13); }
.organized-card .comparison-label span { color: #86b8ff; }
.organized-card .comparison-label small { color: #8fa9cf; }
.messy-card > p { display: flex; align-items: center; gap: 9px; margin: 13px 0; padding: 10px; border: 1px solid #edf0f5; border-radius: 8px; color: #68788e; background: #fafbfc; font-family: Consolas, monospace; font-size: .7rem; transform: rotate(var(--tilt, -1deg)); }
.messy-card > p:nth-of-type(2) { --tilt: 1deg; }
.messy-card > p:nth-of-type(3) { --tilt: -.5deg; }
.messy-card > p span { padding: 3px 5px; border-radius: 4px; color: #8c6471; background: #fdebf0; font-family: inherit; font-size: .55rem; font-weight: 800; }
.messy-card > p:nth-of-type(2) span, .messy-card > p:nth-of-type(3) span { color: var(--blue-700); background: var(--blue-100); }
.comparison-arrow { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin: auto; border: 5px solid var(--background); border-radius: 50%; color: #fff; background: var(--cyan); font-weight: 800; }
.mini-tree { padding: 25px 10px; color: #c6d9f5; font-family: Consolas, monospace; font-size: .78rem; line-height: 1.8; }
.mini-tree strong { color: #fff; }
.mini-tree p { margin: 3px 0; padding-left: 14px; }
.mini-tree b { color: #88baff; }
.steps-section { background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-grid article { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps-grid article:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -24px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue-600); background: #fff; transform: translateY(-50%); }
.step-number { position: absolute; top: 19px; right: 22px; color: #dce8f8; font-size: 1.35rem; font-weight: 800; }
.step-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 18px; border-radius: 13px; color: var(--blue-600); background: var(--blue-100); font-size: 1.1rem; font-weight: 800; }
.steps-grid h3 { margin: 0 0 7px; color: var(--blue-950); font-size: 1rem; }
.steps-grid p { margin: 0; color: var(--muted); font-size: .78rem; }
.pricing-section { background: var(--background); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 16px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price-card.featured { border: 2px solid var(--blue-600); box-shadow: 0 15px 35px rgba(25,103,210,.12); }
.popular-pill { position: absolute; top: -13px; left: 50%; padding: 5px 12px; border-radius: 999px; color: #fff; background: var(--blue-600); transform: translateX(-50%); font-size: .64rem; font-weight: 800; }
.plan-name { color: var(--blue-700); font-size: .82rem; font-weight: 800; }
.price { display: flex; align-items: baseline; gap: 5px; margin: 10px 0 8px; }
.price strong { color: var(--blue-950); font-size: 2rem; letter-spacing: -.04em; }
.price small { color: var(--muted); font-size: .73rem; }
.price-card > p { min-height: 39px; margin: 0; color: var(--muted); font-size: .77rem; }
.price-card ul { display: grid; gap: 10px; margin: 23px 0 28px; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; color: #53647c; font-size: .75rem; }
.price-card li::before { content: "✓"; margin-right: 8px; color: var(--success); font-weight: 800; }
.price-card .button { width: 100%; margin-top: auto; }
.credit-offer { display: flex; align-items: center; gap: 16px; margin-top: 17px; padding: 19px 24px; border: 1px solid #bfe1dd; border-radius: 14px; background: #f0fbf9; }
.credit-offer-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; color: #fff; background: var(--cyan); font-weight: 800; }
.credit-offer div { flex: 1; }
.credit-offer strong { color: var(--blue-950); font-size: .82rem; }
.credit-offer p { margin: 2px 0 0; color: var(--muted); font-size: .72rem; }
.credit-offer > span:last-child { color: #69857f; font-size: .67rem; }
.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .42fr .58fr; gap: 75px; }
.text-link { display: inline-block; margin-top: 20px; color: var(--blue-600); text-decoration: none; font-size: .78rem; font-weight: 800; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 2px; color: var(--ink); cursor: pointer; list-style: none; font-size: .86rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue-600); font-size: 1.2rem; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -4px 35px 18px 2px; color: var(--muted); font-size: .78rem; }
.site-footer { color: #b6c8e4; background: #091e47; }
.footer-main { display: flex; align-items: center; gap: 30px; padding-block: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand strong { color: #fff; }
.footer-brand small { color: #9fb3d1; }
.footer-main > p { flex: 1; color: #92a8c8; font-size: .74rem; }
.footer-main nav { display: flex; gap: 22px; }
.footer-main nav a { color: #b6c8e4; text-decoration: none; font-size: .73rem; }
.footer-main nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 18px; color: #7e97bb; font-size: .65rem; }
.detail-dialog { width: min(580px, calc(100% - 32px)); }
.detail-list { max-height: 265px; overflow: auto; margin: 15px 0; border: 1px solid var(--line); border-radius: 10px; }
.detail-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 13px; border-bottom: 1px solid #edf1f6; }
.detail-item:last-child { border-bottom: 0; }
.detail-item strong { color: var(--ink); font-size: .75rem; word-break: break-all; }
.detail-item span { color: var(--muted); font-size: .68rem; }
.detail-footnote { padding: 10px 12px; border-radius: 8px; color: #577069 !important; background: #f0faf6; font-size: .7rem !important; }

.flow-page { min-height: 100vh; background: var(--background); }
.flow-header { height: 76px; border-bottom: 1px solid var(--line); background: #fff; }
.flow-header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.processing-main, .result-main { padding: 46px 0 70px; }
.processing-container { max-width: 790px; }
.flow-steps-centered { justify-content: center; margin-bottom: 27px; }
.flow-steps span.done { color: var(--success); }
.flow-steps span.done i { color: #fff; border-color: var(--success); background: var(--success); }
.flow-steps b.done { background: var(--success); }
.flow-steps b.active { background: var(--blue-600); }
.processing-card { overflow: hidden; padding: 38px 42px 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.processing-card h1, .success-card h1 { margin: 5px 0 8px; color: var(--blue-950); font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.04em; }
.processing-card > p { margin: 0; color: var(--muted); font-size: .86rem; }
.processing-visual { position: relative; width: 270px; height: 126px; margin: 0 auto 15px; }
.document-card, .folder-card { position: absolute; top: 29px; display: grid; place-items: center; width: 55px; height: 68px; border: 1px solid #bfd3f1; border-radius: 9px; color: var(--blue-700); background: #fff; box-shadow: var(--shadow-sm); font-size: .61rem; font-weight: 800; }
.document-card::before { content: ""; position: absolute; top: 23px; width: 28px; height: 3px; border-radius: 2px; background: var(--blue-100); box-shadow: 0 8px 0 var(--blue-100), 0 16px 0 var(--blue-100); }
.doc-one { left: 3px; transform: rotate(-5deg); }
.doc-two { left: 46px; top: 38px; transform: rotate(4deg); }
.processing-core { position: absolute; z-index: 3; left: 50%; top: 18px; display: grid; place-items: center; width: 88px; height: 88px; border: 9px solid #ecf3fd; border-radius: 50%; color: #fff; background: var(--blue-600); transform: translateX(-50%); box-shadow: 0 10px 25px rgba(25,103,210,.22); }
.processing-core i { position: absolute; inset: -9px; border: 2px dashed #8ab5ed; border-radius: 50%; animation: spin 5s linear infinite; }
.processing-core b { font-size: 1.5rem; }
.folder-card { right: 11px; width: 70px; height: 60px; color: var(--success); border-color: #bfe2d4; background: #f2fbf7; font-size: 1.2rem; transform: rotate(3deg); }
.folder-card::before { content: ""; position: absolute; top: -10px; left: 7px; width: 30px; height: 13px; border: 1px solid #bfe2d4; border-bottom: 0; border-radius: 7px 7px 0 0; background: #f2fbf7; }
.processing-progress { margin: 30px 0 28px; }
.processing-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: .73rem; }
.processing-progress strong { color: var(--blue-700); }
.status-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; text-align: left; }
.status-list li { position: relative; display: grid; grid-template-columns: 34px 1fr 15px; align-items: center; gap: 12px; min-height: 58px; padding: 6px 0; color: #8b98aa; }
.status-list li:not(:last-child)::after { content: ""; position: absolute; top: 42px; bottom: -5px; left: 16px; width: 2px; background: #e1e8f1; }
.status-list li > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #d2dce9; border-radius: 50%; background: #fff; font-size: .72rem; font-weight: 800; }
.status-list li strong, .status-list li small { display: block; }
.status-list li strong { font-size: .78rem; }
.status-list li small { margin-top: 1px; font-size: .66rem; }
.status-list li.active { color: var(--blue-700); }
.status-list li.active > span { color: #fff; border-color: var(--blue-600); background: var(--blue-600); }
.status-list li.active > i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 5px var(--blue-100); }
.status-list li.done { color: var(--success); }
.status-list li.done > span { color: #fff; border-color: var(--success); background: var(--success); }
.status-list li.done:not(:last-child)::after { background: #8fd2b8; }
.keep-open { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 24px 0 0 !important; padding: 13px; border-radius: 10px; color: #63738a !important; background: #f5f8fc; font-size: .7rem !important; }
.keep-open span { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #aebed1; border-radius: 50%; font-weight: 800; }

.result-container { max-width: 940px; }
.success-card { padding: 37px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.success-card > p { margin: 0; color: var(--muted); font-size: .85rem; }
.success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 13px; border-radius: 50%; background: #e8f8f1; }
.success-icon span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: var(--success); box-shadow: 0 9px 22px rgba(23,136,96,.23); font-size: 1.6rem; font-weight: 800; }
.result-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 29px 0; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
.result-stats div { padding: 16px 9px; border-right: 1px solid var(--line); }
.result-stats div:last-child { border-right: 0; }
.result-stats strong, .result-stats span { display: block; }
.result-stats strong { color: var(--blue-950); font-size: 1.35rem; }
.result-stats span { margin-top: 3px; color: var(--muted); font-size: .62rem; }
.result-stats .credit-stat strong { color: var(--success); }
.download-card { display: flex; align-items: center; gap: 15px; padding: 18px; border: 1px solid #b9d4f4; border-radius: 14px; background: var(--blue-50); text-align: left; }
.download-file-icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 57px; border-radius: 10px; color: #fff; background: var(--blue-600); font-size: .62rem; font-weight: 800; }
.download-file-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.download-file-copy span { color: var(--muted); font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.download-file-copy strong { overflow: hidden; color: var(--blue-950); font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.download-file-copy small { color: var(--muted); font-size: .68rem; }
.availability { margin: 10px 0 0 !important; color: #718096 !important; font-size: .68rem !important; }
.availability strong { color: var(--ink); }
.download-confirmation { margin-top: 14px; padding: 10px 14px; border: 1px solid #bce2d3; border-radius: 9px; color: #267458; background: #effaf5; font-size: .71rem; }
.result-actions { display: flex; align-items: center; gap: 18px; margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--line); }
.result-actions > span { flex: 1; }
.result-actions > div { display: flex; align-items: center; gap: 8px; }
.result-actions small { color: var(--muted); font-size: .68rem; }
.result-actions .text-button { font-size: .72rem; }
.feedback-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; margin-top: 18px; padding: 23px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border .2s ease, box-shadow .2s ease; }
.feedback-card.highlight { border-color: #9fc2ef; box-shadow: 0 8px 24px rgba(25,103,210,.1); }
.feedback-card > div:first-child { display: flex; align-items: center; gap: 13px; }
.feedback-icon { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 11px; color: var(--blue-600); background: var(--blue-100); font-weight: 800; }
.feedback-card h2 { margin: 0; color: var(--blue-950); font-size: .91rem; }
.feedback-card p { margin: 3px 0 0; color: var(--muted); font-size: .68rem; }
.feedback-buttons { display: flex; gap: 8px; }
.feedback-buttons .button { min-height: 40px; padding: 7px 14px; font-size: .74rem; }
.feedback-buttons .selected { color: #fff; border-color: var(--blue-600); background: var(--blue-600); }
.feedback-form { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid var(--line); }
.feedback-form label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .74rem; font-weight: 700; }
.feedback-form label span { color: var(--muted); font-weight: 400; }
.feedback-form textarea, .report-form input, .report-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd7e6; border-radius: 9px; color: var(--ink); background: #fff; resize: vertical; }
.feedback-form .button { margin-top: 9px; }
.feedback-thanks { grid-column: 1 / -1; margin: 0 !important; padding: 9px 12px; border-radius: 8px; color: var(--success) !important; background: #eefaf5; font-weight: 700; }
.report-form label { display: block; margin: 12px 0 5px; color: var(--ink); font-size: .72rem; font-weight: 700; }
.report-form .button { width: 100%; margin-top: 16px; }
.form-success { margin-top: 11px; padding: 9px; border-radius: 8px; color: var(--success); background: #edf9f4; text-align: center; font-size: .7rem; }

@media (max-width: 970px) {
  .mobile-menu { display: block; }
  .primary-nav { position: fixed; top: 76px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a, .nav-link { width: 100%; padding: 10px; text-align: left; }
  .primary-nav a.active::after { display: none; }
  .primary-nav .button { width: 100%; }
  .hero { padding-top: 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 39px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-lead { margin-inline: auto; }
  .hero-benefits { justify-content: center; }
  .summary-grid { grid-template-columns: repeat(3, 1fr); }
  .analysis-notices { grid-template-columns: 1fr; }
  .preset-grid { grid-template-columns: repeat(2, 1fr); }
  .config-columns { grid-template-columns: 1fr; }
  .output-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .before-after-grid { grid-template-columns: 1fr; gap: 35px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .result-stats { grid-template-columns: repeat(3, 1fr); }
  .result-stats div:nth-child(3) { border-right: 0; }
  .result-stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

.consumption-preview { margin: 18px 0 0; padding: 18px 20px; border: 1px solid #cfe1f7; border-radius: 14px; background: #f7fbff; }
.consumption-preview.is-insufficient { border-color: #f0c3c8; background: #fff8f8; }
.consumption-preview-heading { display: flex; align-items: flex-start; gap: 12px; }
.consumption-preview-heading > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; color: var(--primary); background: #e6f1ff; font-weight: 800; }
.consumption-preview.is-insufficient .consumption-preview-heading > span { color: #b52b3b; background: #ffe7ea; }
.consumption-preview-heading strong { display: block; color: var(--ink); }
.consumption-preview-heading p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.consumption-source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.consumption-source-grid > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.consumption-source-grid span { color: var(--muted); font-size: .76rem; }
.consumption-source-grid strong { color: var(--ink); }
.consumption-source-grid small { grid-column: 1 / -1; color: var(--muted); font-size: .68rem; }
.consumption-info { margin: 12px 0 0; color: #176958; font-size: .8rem; font-weight: 650; }
.result-consumption { margin: -4px 0 22px; padding: 14px 16px; border: 1px solid #d5e5f6; border-radius: 12px; background: #f7fbff; text-align: left; }
.result-consumption > strong { display: block; color: var(--ink); font-size: .84rem; }
.result-consumption > div { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 7px; color: var(--muted); font-size: .78rem; }
.result-consumption small { display: block; margin-top: 7px; color: var(--muted); font-size: .7rem; }

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { height: 68px; }
  .primary-nav { top: 68px; }
  .hero { padding: 36px 0 44px; }
  .hero-grid { gap: 30px; }
  h1 { font-size: clamp(2.18rem, 10.5vw, 3rem); }
  .hero-lead { margin-top: 17px; font-size: .98rem; line-height: 1.62; }
  .eyebrow { font-size: .7rem; }
  .free-callout { width: 100%; justify-content: flex-start; text-align: left; }
  .hero-benefits { display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
  .upload-panel { padding: 18px; border-radius: 18px; }
  .upload-panel-heading { margin-bottom: 14px; }
  .drop-zone { padding: 27px 15px 23px; }
  .upload-actions { flex-direction: column; }
  .upload-actions .button { width: 100%; }
  .demo-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .demo-picker, .demo-picker summary { width: 100%; }
  .demo-menu { left: 0; right: auto; width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { padding: 18px 16px; border-right: 0; border-bottom: 1px solid #e9eef5; }
  .trust-grid div:last-child { border-bottom: 0; }
  .dialog-content { padding: 28px 22px 24px; }
  .workflow-section { padding: 32px 0 50px; }
  .workflow-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .workflow-toolbar .reset-flow { align-self: flex-end; }
  .flow-steps { gap: 6px; }
  .flow-steps span { gap: 5px; font-size: .64rem; }
  .flow-steps i { width: 23px; height: 23px; }
  .flow-steps b { width: 12px; }
  .analysis-loading, .analysis-result { padding: 20px 16px; border-radius: 15px; }
  .analysis-loading { grid-template-columns: 36px 1fr; gap: 12px; }
  .spinner { width: 35px; height: 35px; }
  .analysis-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .analysis-heading h2 { font-size: 1.12rem; }
  .row-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-card { min-height: 106px; padding: 14px; }
  .summary-card strong { font-size: 1.35rem; }
  .notice { grid-template-columns: 34px 1fr; }
  .notice .text-button { grid-column: 2; justify-self: start; }
  .credit-summary { align-items: flex-start; flex-direction: column; }
  .credit-total { align-self: flex-end; }
  .consumption-source-grid { grid-template-columns: 1fr; }
  .configuration { margin-top: 38px; padding-top: 38px; }
  .preset-grid { grid-template-columns: 1fr; }
  .folder-level { grid-template-columns: 77px 1fr 32px; }
  .config-panel, .preview-panel { padding: 17px; }
  .output-grid { grid-template-columns: 1fr; }
  .pdf-options { align-items: flex-start; flex-direction: column; }
  .pdf-options label { min-width: 0; }
  .pdf-options select { max-width: none; }
  .process-bar { align-items: stretch; flex-direction: column; }
  .process-bar .button { width: 100%; }
  .form-error { text-align: left; }
  .commercial-section, .before-after-section, .steps-section, .pricing-section, .faq-section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .comparison-card { grid-template-columns: 1fr; gap: 0; }
  .comparison-arrow { transform: rotate(90deg); }
  .organized-card { transform: none; }
  .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid article:not(:last-child)::after { top: auto; right: 50%; bottom: -24px; transform: translateX(50%) rotate(90deg); }
  .pricing-grid { gap: 24px; }
  .credit-offer { align-items: flex-start; flex-wrap: wrap; }
  .credit-offer > span:last-child { width: 100%; padding-left: 55px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-main > p { margin: 0; }
  .footer-main nav { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .flow-header { height: 68px; }
  .flow-header .brand-copy small { display: none; }
  .flow-header .text-button { max-width: 150px; text-align: right; font-size: .7rem; }
  .processing-main, .result-main { padding: 30px 0 45px; }
  .flow-steps-centered { margin-bottom: 19px; }
  .processing-card, .success-card { padding: 27px 17px 22px; border-radius: 17px; }
  .processing-visual { width: 235px; transform: scale(.9); transform-origin: center bottom; }
  .processing-card h1, .success-card h1 { font-size: 2rem; }
  .status-list li { grid-template-columns: 31px 1fr 10px; }
  .status-list li > span { width: 31px; height: 31px; }
  .status-list li:not(:last-child)::after { left: 15px; }
  .keep-open { align-items: flex-start; text-align: left; }
  .result-stats { grid-template-columns: repeat(2, 1fr); }
  .result-stats div, .result-stats div:nth-child(3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .result-stats div:nth-child(even) { border-right: 0; }
  .result-stats div:nth-child(5) { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .download-card { align-items: flex-start; flex-wrap: wrap; }
  .download-card .button { width: 100%; }
  .result-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .result-actions > span { display: none; }
  .result-actions > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .feedback-card { grid-template-columns: 1fr; padding: 20px 17px; }
  .feedback-buttons { width: 100%; }
  .feedback-buttons .button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
