:root {
  --ink: #102a43;
  --ink-2: #28445f;
  --muted: #60758a;
  --paper: #ffffff;
  --canvas: #f4f7fb;
  --line: #dce5ef;
  --line-strong: #c6d4e2;
  --brand: #0b4f8a;
  --brand-dark: #083b67;
  --brand-soft: #e9f2fb;
  --accent: #d52b1e;
  --warning: #fff6df;
  --danger: #b42318;
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, .05), 0 8px 24px rgba(16, 42, 67, .07);
  --shadow-lg: 0 24px 70px rgba(7, 35, 64, .16);
  --radius: 18px;
  --sans: Inter, Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; transform: translateY(-150%); padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { transform: none; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand-mark { position: relative; width: 37px; height: 37px; border-radius: 10px; background: var(--ink); color: white; display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: -.08em; overflow: hidden; }
.brand-mark span:first-child { transform: translate(-3px, -2px); }
.brand-mark span:last-child { position: absolute; transform: translate(5px, 5px); color: var(--accent); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { letter-spacing: -.035em; font-size: 1.06rem; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .67rem; }
.header-inner nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.header-inner nav a { position: relative; display: grid; place-items: center; padding: 0 15px; color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 650; }
.header-inner nav a::after { content: ""; position: absolute; height: 3px; left: 15px; right: 15px; bottom: -1px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.header-inner nav a:hover::after, .header-inner nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { padding: 10px 15px; border-radius: 9px; background: var(--ink); color: white; text-decoration: none; font-size: .84rem; font-weight: 750; }
.mobile-menu { position: relative; display: none; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 4px; border: 1px solid var(--line-strong); border-radius: 9px; background: white; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.mobile-menu nav { position: absolute; top: calc(100% + 10px); right: 0; width: min(280px, calc(100vw - 28px)); display: grid; padding: 9px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: var(--shadow-lg); }
.mobile-menu nav a { padding: 12px 13px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 700; }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }

.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: .75rem; line-height: 1.3; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero { overflow: hidden; padding: 86px 0 76px; background: radial-gradient(circle at 82% 30%, #e3effa 0, rgba(227,239,250,0) 34%), linear-gradient(180deg, #fbfdff, #f2f6fb); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); gap: clamp(42px, 7vw, 88px); align-items: center; }
.hero h1, .page-hero h1, .article-hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.8rem, 6vw, 5.1rem); line-height: .98; letter-spacing: -.065em; font-weight: 760; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-lead { max-width: 640px; margin: 25px 0 0; color: var(--ink-2); font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 11px 18px; border: 1px solid transparent; border-radius: 10px; font-weight: 750; font-size: .9rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--brand); color: white; box-shadow: 0 8px 18px rgba(11,79,138,.22); }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { background: white; border-color: var(--line-strong); color: var(--ink); }
.button.light { background: white; color: var(--ink); }
.trust-list { display: flex; flex-wrap: wrap; gap: 16px 22px; padding: 0; margin: 28px 0 0; list-style: none; color: var(--muted); font-size: .8rem; font-weight: 650; }
.trust-list li { display: inline-flex; align-items: center; gap: 6px; }
.trust-list .icon { width: 16px; height: 16px; color: var(--brand); }
.independence-note { max-width: 590px; margin: 15px 0 0; padding-left: 11px; border-left: 3px solid var(--accent); color: var(--muted); font-size: .72rem; }

.product-preview { position: relative; padding: 14px; border-radius: 24px; background: var(--ink); box-shadow: var(--shadow-lg); transform: rotate(1deg); }
.preview-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 5px; color: #bdcad8; }
.preview-bar span { width: 7px; height: 7px; border-radius: 50%; background: #66809a; }
.preview-bar span:first-child { background: var(--accent); }
.preview-bar small { margin-left: auto; font-size: .65rem; }
.preview-sheet { min-height: 395px; padding: 31px; border-radius: 13px; background: white; }
.preview-heading { display: flex; align-items: center; gap: 12px; }
.mini-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: white; font-size: .68rem; font-weight: 800; }
.preview-heading div { display: grid; line-height: 1.25; }
.preview-heading b { font-size: .76rem; }
.preview-heading small { margin-top: 3px; color: #73879b; font-size: .55rem; }
.status { margin-left: auto; padding: 4px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: .55rem; font-weight: 800; }
.preview-progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin: 25px 0 24px; }
.preview-progress span { height: 4px; border-radius: 3px; background: var(--brand); }
.preview-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.preview-fields span { display: block; height: 34px; border-radius: 5px; background: #f2f6fa; border: 1px solid #e3eaf2; }
.preview-fields span:first-child { grid-column: 1 / -1; }
.preview-table { margin-top: 20px; border: 1px solid #dce6f0; border-radius: 6px; overflow: hidden; }
.preview-table b, .preview-table i { display: block; height: 25px; border-bottom: 1px solid #e3eaf2; }
.preview-table b { background: #eaf2fa; }
.preview-table i:last-child { border: 0; }
.preview-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 36px; }
.preview-sign span { border-top: 1px solid #96aabd; }
.preview-tool-list { display: grid; gap: 10px; margin-top: 25px; }
.preview-tool { display: grid; grid-template-columns: 38px 1fr auto; gap: 11px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9fc; }
.preview-tool > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: #e8eef5; color: var(--ink-2); }
.preview-tool.available { border-color: #b5cee5; background: #f5f9fd; }
.preview-tool.available > span { background: var(--brand); color: white; }
.preview-tool div { min-width: 0; display: grid; }
.preview-tool small { color: var(--muted); font-size: .56rem; }
.preview-tool strong { margin-top: 2px; font-size: .72rem; }
.preview-tool > b { color: var(--muted); font-size: .55rem; }
.preview-tool.available > b { color: var(--brand-dark); }
.preview-message { display: grid; gap: 4px; margin: 20px 0 0; padding: 14px; border-radius: 9px; background: var(--ink); color: white; }
.preview-message strong { font-size: .68rem; }
.preview-message span { color: #c0cfdd; font-size: .57rem; line-height: 1.45; }
.privacy-note { margin: 13px 5px 2px; color: #c0cfdd; text-align: center; font-size: .7rem; }

.signal-strip { background: white; border-bottom: 1px solid var(--line); }
.signal-strip .shell { min-height: 72px; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.signal-strip p { margin: 0; color: var(--muted); font-size: .88rem; }
.signal-strip p strong { color: var(--ink); }
.signal-strip div div { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.signal-strip span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-size: .65rem; }
.signal-strip i { width: 28px; height: 1px; background: var(--line-strong); }

.section { padding-top: 92px; padding-bottom: 92px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin-bottom: 38px; }
.section-heading h2, .promise-grid h2, .final-cta h2 { max-width: 680px; margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1rem; }
.feature-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.feature { min-height: 320px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.feature.featured { border-color: #aac9e4; background: linear-gradient(145deg, #f8fbff, #eef5fb); box-shadow: var(--shadow-sm); }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: white; }
.feature .tag { align-self: flex-start; margin: 20px 0 11px; }
.tag { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: .65rem; line-height: 1; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.tag.neutral { background: #eef2f1; color: var(--muted); }
.feature h3 { margin: 0; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
.feature p { margin: 12px 0 20px; color: var(--muted); font-size: .88rem; }
.feature a, .text-link, .builder-help a, .source-band a { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--brand-dark); font-size: .82rem; font-weight: 800; text-decoration: none; }
.feature a .icon, .text-link .icon, .builder-help a .icon, .source-band a .icon { width: 16px; }
.feature-note { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 750; }
.section-tint { background: var(--canvas); border-block: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 100px); align-items: center; }
.promise-grid > div > p:not(.eyebrow) { max-width: 590px; color: var(--muted); }
.principles { padding: 0; margin: 0; list-style: none; }
.principles li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.principles li:first-child { border-top: 1px solid var(--line-strong); }
.principles > li > span { color: var(--brand); font-size: .7rem; font-weight: 900; }
.principles strong { display: block; margin-bottom: 3px; }
.principles p { margin: 0; color: var(--muted); font-size: .85rem; }
.final-cta { padding: 65px 0; background: var(--ink); color: white; }
.final-cta .shell { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.final-cta p:not(.eyebrow) { margin: 10px 0 0; color: #c4d2df; }
.final-cta .eyebrow { color: #ff8a80; }

.site-footer { padding: 58px 0 20px; background: #071d35; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 50px; }
.site-footer .brand { color: white; }
.site-footer .brand-mark { background: #edf5ff; color: var(--ink); }
.site-footer .brand-copy small { color: #9eb1c3; }
.footer-grid > div:first-child > p { max-width: 380px; color: #a8b9c9; font-size: .83rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid strong { margin-bottom: 7px; font-size: .78rem; letter-spacing: .04em; }
.footer-grid a { color: #a8b9c9; font-size: .8rem; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 18px; border-top: 1px solid #1c3c5e; color: #839bb1; font-size: .72rem; }

.page-hero, .article-hero { padding: 82px 0 70px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero.compact { padding-block: 70px 60px; }
.page-hero h1, .article-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); }
.page-hero p:last-child, .article-hero > .article-shell > p { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { min-height: 430px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.tool-card.available { border-color: #aac9e4; box-shadow: var(--shadow-sm); }
.tool-top { display: flex; justify-content: space-between; align-items: center; color: var(--brand); }
.tool-top > .icon { width: 27px; height: 27px; }
.tool-card h2 { margin: 28px 0 10px; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
.tool-card p, .tool-card li { color: var(--muted); font-size: .86rem; }
.tool-card .tool-category { margin: 24px 0 -18px; color: var(--brand-dark); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.tool-card ul { padding-left: 19px; }
.tool-card .button, .tool-card .coming { margin-top: auto; }
.coming { padding-top: 18px; border-top: 1px solid var(--line); }
.planned { background: #fcfdfd; }
.roadmap-card { background: var(--canvas); }
.catalog-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.catalog-promise h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.045em; }
.catalog-promise > p { margin: 0; color: var(--muted); font-size: 1rem; }

.tool-hero { padding: 54px 0; background: var(--canvas); border-bottom: 1px solid var(--line); }
.tool-hero .shell { display: flex; justify-content: space-between; gap: 50px; align-items: center; }
.tool-hero h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.7rem); line-height: 1; letter-spacing: -.05em; }
.tool-hero p:not(.eyebrow) { max-width: 700px; margin: 18px 0 0; color: var(--muted); }
.tool-hero aside { max-width: 330px; display: flex; gap: 12px; padding: 16px; border: 1px solid #b0cde6; border-radius: 13px; background: #f5f9fd; color: var(--brand-dark); }
.tool-hero aside div { display: grid; }
.tool-hero aside strong { font-size: .8rem; }
.tool-hero aside span { margin-top: 3px; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.builder-section { padding: 52px 0 80px; background: #f8faf9; }
.builder-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: start; }
.builder-main { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-sm); overflow: hidden; }
.stepper { display: flex; align-items: center; padding: 22px 30px; border-bottom: 1px solid var(--line); background: #fbfcfc; }
.stepper i { height: 1px; flex: 1; background: var(--line-strong); }
.step { display: flex; align-items: center; gap: 8px; color: #8a9a9d; }
.step span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; background: white; font-size: .7rem; font-weight: 800; }
.step b { font-size: .72rem; }
.step.active, .step.complete { color: var(--ink); }
.step.active span { border-color: var(--brand); background: var(--brand); color: white; }
.step.complete span { border-color: var(--brand); color: var(--brand); }
#eppForm { min-width: 0; }
.form-step { min-height: 465px; padding: 34px; }
.form-heading { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 30px; }
.form-heading > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand-dark); }
.form-heading p { margin: 0 0 2px; color: var(--brand); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.form-heading h2 { margin: 0; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; }
.form-heading small { display: block; margin-top: 4px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: .78rem; font-weight: 750; }
.field > span b { color: var(--accent); }
.field input, .field textarea, .item-field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: white; color: var(--ink); outline: none; transition: border .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .item-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,79,138,.13); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field small { min-height: 17px; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.field-error { color: var(--danger) !important; }
.form-actions { min-height: 76px; display: flex; align-items: center; gap: 10px; padding: 13px 34px; border-top: 1px solid var(--line); background: #fbfcfc; }
.form-actions > span { margin-right: auto; color: var(--muted); font-size: .7rem; }
.item-rows { display: flex; flex-direction: column; gap: 12px; }
.item-row { position: relative; display: grid; grid-template-columns: 1.4fr .8fr .55fr .55fr 36px; gap: 9px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfc; }
.item-field { min-width: 0; }
.item-field label { display: block; margin-bottom: 5px; font-size: .65rem; font-weight: 750; color: var(--muted); }
.item-field input { min-height: 41px; padding: 8px 9px; font-size: .8rem; }
.remove-item { align-self: end; width: 36px; height: 41px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #f1f3f2; color: var(--muted); cursor: pointer; font-size: 1.15rem; }
.remove-item:hover { background: #feecea; color: var(--danger); }
.add-item { display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 20px; padding: 8px 0; border: 0; background: transparent; color: var(--brand-dark); font-size: .8rem; font-weight: 800; cursor: pointer; }
.add-item .icon { width: 17px; }
.observations { margin-top: 3px; }
.review-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.review-block { padding: 15px; border: 1px solid var(--line); border-radius: 11px; }
.review-block > span { display: block; color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.review-block strong { display: block; margin-top: 5px; font-size: .85rem; }
.review-block small { display: block; margin-top: 3px; color: var(--muted); }
.review-block.full { grid-column: 1 / -1; }
.declarations { display: grid; gap: 9px; padding: 0; border: 0; }
.declarations legend { margin-bottom: 8px; font-size: .78rem; font-weight: 800; }
.declarations label { display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.declarations input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--brand); flex: 0 0 auto; }
.declarations label span { display: grid; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.declarations strong { color: var(--ink); font-size: .78rem; }
.legal-callout { display: flex; gap: 10px; margin-top: 16px; padding: 13px; border-radius: 10px; background: var(--warning); color: #66531e; }
.legal-callout p { margin: 0; font-size: .72rem; }
.builder-help { position: sticky; top: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.builder-help > strong { font-size: .85rem; }
.builder-help ul { padding-left: 18px; margin: 13px 0 20px; color: var(--muted); font-size: .75rem; }
.builder-help li + li { margin-top: 8px; }
.document-result { padding: 70px 0; background: var(--canvas); border-top: 1px solid var(--line); }
.result-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 25px; }
.result-toolbar h2 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.result-toolbar > div:last-child { display: flex; gap: 9px; }
.paper { width: min(850px, 100%); min-height: 1080px; margin-inline: auto; padding: 64px 68px; background: white; box-shadow: 0 18px 55px rgba(16,42,67,.13); color: #172f47; font-family: Arial, sans-serif; font-size: 12px; line-height: 1.45; }
.paper-header { display: flex; justify-content: space-between; gap: 25px; padding-bottom: 20px; border-bottom: 2px solid #173d63; }
.paper-brand { display: flex; align-items: center; gap: 10px; }
.paper-brand .mini-mark { width: 30px; height: 30px; }
.paper-brand strong { display: block; font-size: 13px; }
.paper-brand span { display: block; color: #60758a; font-size: 9px; }
.paper-code { text-align: right; color: #60758a; font-size: 9px; }
.paper h1 { margin: 28px 0 5px; font-size: 21px; letter-spacing: -.02em; text-align: center; text-transform: uppercase; }
.paper-subtitle { margin: 0 0 26px; color: #60758a; text-align: center; }
.paper-section { margin-top: 22px; }
.paper-section h2 { margin: 0 0 10px; padding: 7px 9px; background: #eaf2fa; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.paper-data { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 25px; }
.paper-data div { min-height: 35px; padding-bottom: 4px; border-bottom: 1px solid #cbd8d6; }
.paper-data span { display: block; color: #60758a; font-size: 8px; text-transform: uppercase; }
.paper-data strong { overflow-wrap: anywhere; }
.paper table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.paper th, .paper td { padding: 8px 6px; border: 1px solid #b9c8c6; text-align: left; overflow-wrap: anywhere; }
.paper th { background: #edf3f9; font-size: 8px; text-transform: uppercase; }
.paper th:nth-child(1) { width: 25%; }.paper th:nth-child(2) { width: 22%; }.paper th:nth-child(3), .paper th:nth-child(4) { width: 10%; }.paper th:nth-child(5) { width: 33%; }
.paper-declarations { padding-left: 18px; }
.paper-declarations li + li { margin-top: 6px; }
.paper-observations { min-height: 55px; padding: 9px; border: 1px solid #cbd8d6; white-space: pre-wrap; overflow-wrap: anywhere; }
.signature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 70px; }
.signature { padding-top: 8px; border-top: 1px solid #526f8b; text-align: center; }
.signature span { display: block; color: #60758a; font-size: 9px; }
.paper-disclaimer { margin-top: 35px; padding-top: 12px; border-top: 1px solid #d5dfe9; color: #60758a; font-size: 8px; }
.result-foot { display: flex; justify-content: space-between; gap: 20px; align-items: center; width: min(850px,100%); margin: 16px auto 0; color: var(--muted); font-size: .75rem; }
.text-button { padding: 0; border: 0; background: none; color: var(--brand-dark); font-weight: 800; cursor: pointer; white-space: nowrap; }
.source-band { padding: 27px 0; border-top: 1px solid var(--line); background: white; }
.source-band .shell { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.source-band p { margin: 0; color: var(--muted); font-size: .75rem; }
.source-band strong { color: var(--ink); }
.source-band a { flex: 0 0 auto; margin: 0; }

.article-hero .article-shell { width: min(880px, calc(100% - 40px)); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.article-meta span { padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 999px; background: white; color: var(--muted); font-size: .68rem; font-weight: 700; }
.article { padding-top: 65px; padding-bottom: 95px; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: clamp(50px, 8vw, 100px); justify-content: center; align-items: start; }
.toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-left: 2px solid var(--line-strong); }
.toc strong { margin-bottom: 5px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.toc a { color: var(--muted); font-size: .75rem; text-decoration: none; }
.toc a:hover { color: var(--brand); }
.prose section { scroll-margin-top: 30px; padding-bottom: 50px; }
.prose h2, .simple-prose h2 { margin: 0 0 15px; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.18; letter-spacing: -.035em; }
.prose p, .prose li, .simple-prose p, .simple-prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 7px; }
.prose-callout { margin: 27px 0 0; padding: 20px 22px; border-left: 3px solid var(--brand); background: var(--brand-soft); }
.prose-callout p { margin: 5px 0 0; font-size: .9rem; }
.article-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.article-cards div { padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.article-cards p { margin: 4px 0 0; font-size: .82rem; }
.source-list { padding: 0 !important; list-style: none; }
.source-list li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.source-list a { display: block; color: var(--brand-dark); font-weight: 800; }
.source-list span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.review-note { padding: 15px; border-radius: 10px; background: var(--canvas); font-size: .83rem; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; border-radius: 14px; background: var(--ink); color: white; }
.article-cta p { margin: 3px 0 0; color: #b9ceca; font-size: .82rem; }
.simple-prose { padding-top: 65px; padding-bottom: 90px; }
.simple-prose h2 { margin-top: 42px; }
.simple-prose h2:first-child { margin-top: 0; }

@media (max-width: 960px) {
  .header-inner { gap: 20px; }
  .brand-copy small { display: none; }
  .header-inner nav a { padding-inline: 9px; }
  .hero-grid { grid-template-columns: 1fr 380px; gap: 38px; }
  .hero h1 { font-size: clamp(2.7rem, 6vw, 4rem); }
  .feature-grid, .catalog-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid > :last-child, .catalog-grid > :last-child { grid-column: 1 / -1; }
  .builder-layout { grid-template-columns: 1fr; }
  .builder-help { position: static; order: -1; }
}

@media (max-width: 760px) {
  .shell, .narrow, .article-hero .article-shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 66px; }
  .header-inner nav { display: none; }
  .header-cta { margin-left: auto; }
  .mobile-menu { display: block; }
  .mobile-menu nav { display: grid; }
  .brand-copy strong { font-size: .95rem; }
  .hero { padding: 58px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .product-preview { width: min(480px,100%); margin-inline: auto; transform: none; }
  .signal-strip .shell, .tool-hero .shell, .source-band .shell { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  .signal-strip div div { width: 100%; justify-content: center; }
  .section { padding-block: 65px; }
  .section-heading, .promise-grid { grid-template-columns: 1fr; gap: 24px; }
  .catalog-promise { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid, .catalog-grid { grid-template-columns: 1fr; }
  .feature-grid > :last-child, .catalog-grid > :last-child { grid-column: auto; }
  .feature { min-height: 270px; }
  .final-cta .shell, .result-toolbar, .result-foot { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; }
  .toc strong { grid-column: 1 / -1; }
  .item-row { grid-template-columns: 1fr 1fr; }
  .item-field:first-child { grid-column: 1 / -1; }
  .remove-item { position: absolute; right: 8px; top: 8px; }
  .paper { padding: 40px 35px; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .shell, .narrow, .article-hero .article-shell { width: min(100% - 24px, 1180px); }
  .site-header .brand-mark { width: 34px; height: 34px; }
  .brand-copy { display: none; }
  .header-cta { display: none; }
  .mobile-menu { margin-left: auto; }
  .hero h1, .page-hero h1, .article-hero h1 { font-size: clamp(2.3rem, 13vw, 3.2rem); }
  .hero-lead { font-size: 1rem; }
  .actions .button { width: 100%; }
  .trust-list { align-items: flex-start; flex-direction: column; gap: 9px; }
  .preview-sheet { min-height: 340px; padding: 22px 18px; }
  .preview-tool { grid-template-columns: 34px 1fr; }
  .preview-tool > span { width: 34px; height: 34px; }
  .preview-tool > b { display: none; }
  .signal-strip p { display: none; }
  .signal-strip div div { gap: 6px; font-size: .62rem; }
  .signal-strip i { width: 16px; }
  .section { padding-block: 54px; }
  .section-heading h2, .promise-grid h2, .final-cta h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { flex-direction: column; }
  .page-hero, .article-hero { padding-block: 55px 48px; }
  .tool-hero { padding-block: 42px; }
  .tool-hero aside { max-width: none; }
  .builder-section { padding-block: 28px 55px; }
  .builder-main { border-radius: 14px; }
  .stepper { padding: 16px 13px; }
  .step b { display: none; }
  .stepper i { margin-inline: 4px; }
  .form-step { min-height: 0; padding: 25px 17px; }
  .form-heading { margin-bottom: 24px; }
  .form-heading > span { width: 37px; height: 37px; }
  .form-heading h2 { font-size: 1.25rem; }
  .form-grid, .review-summary { grid-template-columns: 1fr; gap: 15px; }
  .field.full, .review-block.full { grid-column: auto; }
  .form-actions { flex-wrap: wrap; padding: 13px 17px; }
  .form-actions > span { width: 100%; order: -1; }
  .form-actions .button { flex: 1 1 120px; }
  .item-row { grid-template-columns: 1fr; padding-top: 49px; }
  .item-field:first-child { grid-column: auto; }
  .result-toolbar > div:last-child { width: 100%; flex-direction: column; }
  .result-toolbar .button { width: 100%; }
  .paper { min-height: 900px; padding: 28px 20px; font-size: 10px; }
  .paper-header, .paper-data { grid-template-columns: 1fr; }
  .paper-header { flex-direction: column; }
  .paper-code { text-align: left; }
  .paper-data { display: grid; }
  .paper table { font-size: 8px; }
  .paper th, .paper td { padding: 5px 3px; }
  .signature-grid { gap: 25px; }
  .source-band a { white-space: normal; }
  .toc { grid-template-columns: 1fr; }
  .toc strong { grid-column: auto; }
  .article-cards { grid-template-columns: 1fr; }
  .article-cta { align-items: stretch; flex-direction: column; }
}

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

@media print {
  @page { size: A4; margin: 13mm; }
  body { background: white; }
  .site-header, main > :not(.document-result), .result-toolbar, .result-foot, .site-footer { display: none !important; }
  .document-result, #documentResult, .document-result .shell { display: block !important; padding: 0; background: white; width: 100%; }
  .paper { display: block !important; width: 100%; min-height: 0; margin: 0; padding: 0; box-shadow: none; font-size: 10pt; }
  .paper h1 { font-size: 16pt; }
  .paper-section { break-inside: avoid; }
}
