: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: 46px 0 68px; 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: start; }
.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.button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.button.button:disabled:hover { background: var(--brand); transform: none; }
.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 span .icon { width: 14px; height: 14px; }
.signal-strip i { width: 28px; height: 1px; background: var(--line-strong); }
.home-silo-index { border-bottom: 1px solid var(--line); background: white; }
.home-silo-index .shell { min-height: 58px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.home-silo-index span { flex: 0 0 auto; margin-right: 6px; color: var(--muted); font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.home-silo-index a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .74rem; font-weight: 800; text-decoration: none; }
.home-silo-index a:hover, .home-silo-index a:focus-visible { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.featured-entry { padding-block: 72px; }

.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: repeat(2, 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; }
.silo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.silo-card { min-height: 315px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.silo-card-primary { border-color: #91bbde; background: linear-gradient(145deg, #f8fbff, #eaf3fb); }
.silo-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: white; }
.silo-kicker { margin: 21px 0 8px; color: var(--brand); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.silo-card h3 { margin: 0; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.025em; }
.silo-card > p:not(.silo-kicker) { max-width: 540px; margin: 12px 0 22px; color: var(--muted); font-size: .87rem; }
.silo-links { display: grid; gap: 0; margin-top: auto; border-top: 1px solid var(--line); }
.silo-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--brand-dark); font-size: .8rem; line-height: 1.35; font-weight: 800; text-decoration: none; }
.silo-links a:last-child { border-bottom: 0; }
.silo-links .icon { width: 16px; flex: 0 0 auto; }
.priority-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: stretch; }
.priority-card { display: flex; flex-direction: column; padding: clamp(27px, 4vw, 43px); border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-sm); }
.priority-card.priority-main { border-color: #91bbde; background: linear-gradient(145deg, #f9fcff, #edf5fc); }
.priority-card > div:first-child { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.priority-card h2 { max-width: 650px; margin: 26px 0 14px; font-size: clamp(1.65rem, 3.2vw, 2.55rem); line-height: 1.06; letter-spacing: -.042em; }
.priority-card > p { margin: 0; color: var(--muted); font-size: .92rem; }
.priority-card ul { display: grid; gap: 8px; padding-left: 19px; margin: 24px 0 28px; color: var(--ink-2); font-size: .82rem; }
.priority-card .button, .priority-card .text-link { align-self: flex-start; margin-top: auto; }
.priority-card .priority-limit { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .72rem; }
.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-link-button { width: fit-content; padding: 0; border: 0; background: transparent; color: #a8b9c9; font-size: .8rem; line-height: 1.6; text-align: left; cursor: pointer; }
.footer-link-button:hover, .footer-link-button:focus-visible { color: white; text-decoration: underline; }
.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; }
.consent-banner { position: fixed; z-index: 80; left: 50%; bottom: 18px; width: min(940px, calc(100% - 32px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 21px 23px; border: 1px solid #b9cde0; border-radius: 16px; background: white; box-shadow: 0 22px 70px rgba(7, 29, 53, .25); transform: translateX(-50%); }
.consent-banner strong { display: block; font-size: .98rem; }
.consent-banner p { max-width: 650px; margin: 5px 0 2px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.consent-banner a { color: var(--brand-dark); font-size: .74rem; font-weight: 800; }
.consent-actions { display: flex; gap: 9px; }
.consent-actions .button { min-height: 44px; white-space: nowrap; font-size: .78rem; }

.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-index { position: sticky; top: 0; z-index: 8; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.catalog-index .shell { min-height: 58px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.catalog-index a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .75rem; font-weight: 800; text-decoration: none; }
.catalog-index a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.catalog-silos { display: grid; gap: 82px; }
.tool-silo { scroll-margin-top: 78px; }
.tool-silo-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 60px; align-items: end; margin-bottom: 28px; }
.tool-silo-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -7px; }
.tool-silo-heading h2 { margin: 0; font-size: clamp(1.75rem, 3.5vw, 2.65rem); line-height: 1.08; letter-spacing: -.04em; }
.tool-silo-heading > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.catalog-grid-single { grid-template-columns: minmax(0, 760px); }
.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, .tool-card h3 { 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; }
.breadcrumbs { border-bottom: 1px solid var(--line); background: white; }
.breadcrumbs ol { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .72rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; color: var(--line-strong); }
.breadcrumbs a { color: var(--brand-dark); font-weight: 750; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.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, .field select, .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, .field select: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"], .field textarea[aria-invalid="true"], .field select[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.2fr .8fr .48fr .42fr 1fr 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; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.pdf-builder-section { padding: 48px 0 78px; background: #f6f8fb; }
.pdf-builder-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; align-items: start; }
.pdf-tool { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-sm); overflow: hidden; }
.pdf-process { display: flex; align-items: center; gap: 14px; padding: 20px 28px; border-bottom: 1px solid var(--line); background: #fbfcfe; color: var(--muted); font-size: .76rem; font-weight: 750; }
.pdf-process span { display: flex; align-items: center; gap: 8px; }
.pdf-process b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: .68rem; }
.pdf-process i { height: 1px; flex: 1; background: var(--line-strong); }
.pdf-dropzone { margin: 30px; padding: 46px 26px; border: 2px dashed #9cb7cf; border-radius: 16px; background: #f8fbfe; text-align: center; cursor: pointer; outline: none; transition: border .15s, background .15s, box-shadow .15s; }
.pdf-dropzone:hover, .pdf-dropzone:focus-visible, .pdf-dropzone.drag-over { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 4px rgba(11,79,138,.1); }
.pdf-dropzone[aria-busy="true"] { cursor: progress; opacity: .75; }
.pdf-drop-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 15px; background: var(--ink); color: white; }
.pdf-drop-icon .icon { width: 28px; height: 28px; }
.pdf-dropzone h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.03em; }
.pdf-dropzone p { margin: 6px 0 19px; color: var(--muted); }
.pdf-dropzone .button { pointer-events: none; }
.pdf-dropzone small { display: block; margin-top: 13px; color: var(--muted); font-size: .7rem; }
.pdf-status { min-height: 44px; display: flex; align-items: center; margin: 0 30px 30px; padding: 10px 13px; border-radius: 9px; background: var(--canvas); color: var(--muted); font-size: .75rem; }
.pdf-status[data-tone="success"] { background: #eaf7ef; color: #176438; }
.pdf-status[data-tone="error"] { background: #fff0ee; color: var(--danger); }
.pdf-workspace { border-top: 1px solid var(--line); }
.pdf-workspace-head { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; padding: 30px 30px 21px; }
.pdf-workspace-head h2 { margin: 0; font-size: 1.7rem; letter-spacing: -.035em; }
.pdf-workspace-head p:last-child { max-width: 620px; margin: 7px 0 0; color: var(--muted); font-size: .82rem; }
.pdf-add { flex: 0 0 auto; cursor: pointer; }
.pdf-summary { display: grid; grid-template-columns: repeat(3,1fr); margin: 0 30px 24px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pdf-summary div { padding: 12px 15px; background: #fbfcfe; }
.pdf-summary div + div { border-left: 1px solid var(--line); }
.pdf-summary span { display: block; color: var(--muted); font-size: .65rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.pdf-summary strong { display: block; margin-top: 2px; font-size: .95rem; }
.pdf-page-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(175px,1fr)); gap: 13px; padding: 0 30px 30px; }
.pdf-page-card { position: relative; min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 2px 8px rgba(16,42,67,.05); outline: none; transition: border .15s, box-shadow .15s, opacity .15s; }
.pdf-page-card:focus-visible { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,79,138,.12); }
.pdf-page-card.dragging { opacity: .45; }
.pdf-page-card.drag-target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(213,43,30,.1); }
.pdf-page-position { position: absolute; z-index: 2; top: 17px; left: 17px; min-width: 28px; height: 28px; display: grid; place-items: center; padding-inline: 6px; border-radius: 7px; background: var(--ink); color: white; font-size: .7rem; font-weight: 800; box-shadow: 0 3px 8px rgba(16,42,67,.22); }
.pdf-thumbnail { height: 208px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #edf2f7; }
.pdf-thumbnail img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 8px rgba(16,42,67,.12); }
.pdf-page-copy { min-width: 0; display: grid; margin-top: 9px; }
.pdf-page-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; }
.pdf-page-copy span { margin-top: 2px; color: var(--muted); font-size: .63rem; }
.pdf-page-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin-top: 9px; }
.pdf-page-actions button { min-height: 32px; padding: 5px 3px; border: 1px solid var(--line); border-radius: 7px; background: #f7f9fb; color: var(--ink-2); font-size: .62rem; font-weight: 750; cursor: pointer; }
.pdf-page-actions button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-dark); }
.pdf-page-actions button:last-child:hover { border-color: var(--accent); color: var(--danger); }
.pdf-page-actions button:disabled { opacity: .38; cursor: default; }
.pdf-output { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 25px 30px; border-top: 1px solid var(--line); background: #fbfcfe; }
.pdf-output .field { flex: 1 1 340px; max-width: 520px; }
.pdf-name-control { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; padding-right: 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: white; }
.pdf-name-control input { min-width: 0; border: 0; box-shadow: none !important; }
.pdf-name-control b { color: var(--muted); font-size: .8rem; }
.pdf-output-actions { display: flex; gap: 9px; }
.pdf-result { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 24px 30px 30px; padding: 18px; border: 1px solid #acd7bb; border-radius: 13px; background: #eff9f2; }
.pdf-result > div { display: flex; align-items: center; gap: 12px; }
.pdf-result-check { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #217a43; color: white; }
.pdf-result-check .icon { width: 21px; }
.pdf-result strong { display: block; }
.pdf-result p { margin: 2px 0 0; color: #41664e; font-size: .72rem; }
.pdf-help { position: sticky; top: 24px; padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: var(--shadow-sm); }
.pdf-help h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }
.pdf-help ul { display: grid; gap: 14px; padding: 0; margin: 22px 0; list-style: none; }
.pdf-help li { display: flex; gap: 9px; color: var(--ink-2); font-size: .76rem; }
.pdf-help li .icon { width: 17px; color: var(--brand); }
.pdf-warning { padding: 15px; border-left: 3px solid var(--accent); background: #fff8f5; }
.pdf-warning strong { font-size: .75rem; }
.pdf-warning p { margin: 5px 0 0; color: var(--muted); font-size: .7rem; }
.pdf-explainer ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding: 0; margin: 30px 0 0; list-style: none; }
.pdf-explainer li { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; }
.pdf-explainer li > span { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--brand); color: white; font-weight: 800; }
.pdf-explainer li strong { font-size: .88rem; }
.pdf-explainer li p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; }
.pdf-limits { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.pdf-limits h2 { margin: 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.08; letter-spacing: -.045em; }
.pdf-limits > div:last-child { padding-left: 28px; border-left: 2px solid var(--line-strong); }
.pdf-limits > div:last-child p { margin-top: 0; color: var(--ink-2); }
.pdf-check-section { background: white; }
.pdf-check-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.pdf-check-grid h2 { max-width: 560px; margin: 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.08; letter-spacing: -.045em; }
.pdf-check-grid > div > p:last-child { color: var(--muted); }
.pdf-checklist { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.pdf-checklist li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); color: var(--muted); font-size: .82rem; }
.pdf-checklist > li > .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); }
.pdf-checklist span { display: grid; gap: 3px; }
.pdf-checklist strong { color: var(--ink); font-size: .88rem; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: white; }
.faq-list summary { position: relative; padding: 18px 52px 18px 20px; color: var(--ink); font-size: .9rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); color: var(--brand); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 850px; padding: 0 20px 19px; margin: 0; color: var(--muted); font-size: .84rem; }
.related-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-tool-grid a { min-height: 165px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }
.related-tool-grid a:hover, .related-tool-grid a:focus-visible { border-color: var(--brand); transform: translateY(-2px); }
.related-tool-grid span { color: var(--brand); font-size: .66rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.related-tool-grid strong { margin-top: 13px; font-size: 1rem; line-height: 1.25; }
.related-tool-grid small { margin-top: 8px; color: var(--muted); font-size: .74rem; line-height: 1.45; }

#sernacForm, #licenseForm, #authorityClaimForm { min-width: 0; }
.field select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.choice-list, .choice-grid { margin: 24px 0 0; padding: 0; border: 0; }
.choice-list legend, .choice-grid legend { margin-bottom: 10px; font-size: .78rem; font-weight: 800; }
.choice-list legend b { color: var(--accent); }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-list legend { grid-column: 1 / -1; }
.choice-list label, .choice-grid label, .accuracy-check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; cursor: pointer; }
.choice-list input, .choice-grid input, .accuracy-check input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--brand); }
.choice-list label span { display: grid; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.choice-list label strong { color: var(--ink); font-size: .78rem; }
.choice-list label.disabled-choice { opacity: .55; cursor: not-allowed; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice-grid legend { grid-column: 1 / -1; }
.choice-grid label { color: var(--ink-2); font-size: .73rem; }
.accuracy-check { margin-top: 22px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.accuracy-check strong { display: block; color: var(--ink); font-size: .78rem; }
.contact-details { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.form-error { margin: 0 34px 10px; padding: 11px 13px; border: 1px solid #efb4ad; border-radius: 9px; background: #fff4f2; color: var(--danger); font-size: .75rem; font-weight: 700; }
.official-note { padding: 15px; border: 1px solid #b0cde6; border-radius: 11px; background: #f5f9fd; }
.official-note p { margin: 6px 0 10px; color: var(--muted); font-size: .72rem; }
.official-note a { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-dark); font-size: .72rem; font-weight: 800; text-decoration: none; }
.official-note .icon, .source-links .icon { width: 15px; }
.claim-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.claim-paper { min-height: 850px; }
.claim-paper .paper-section p { white-space: pre-wrap; overflow-wrap: anywhere; }
.claim-paper .paper-section ul { padding-left: 20px; }
.claim-paper .paper-section li + li { margin-top: 5px; }
.claim-paper .claim-summary { padding: 14px; border-left: 3px solid #173d63; background: #f3f7fb; }
.claim-paper .claim-warning { margin-top: 30px; padding: 12px; border: 1px solid #d5dfe9; color: #60758a; font-size: 9px; }
.claim-explainer .article-cards { margin-top: 28px; }
.source-links { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 8px; }
.source-links a { display: inline-flex; align-items: center; gap: 5px; }
.stage-list { grid-template-columns: 1fr; }
.route-preview { margin: 22px 0 0; padding: 14px 16px; border-left: 3px solid var(--brand); background: var(--brand-soft); color: var(--ink-2); font-size: .78rem; }
.route-preview { display: grid; gap: 6px; }
.route-preview p { margin: 0; }
.route-preview a { width: fit-content; color: var(--brand-dark); font-weight: 800; }
.scope-choice { grid-template-columns: 1fr; }
.identity-fields, .evidence-status { margin: 24px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.identity-fields > legend, .evidence-status > legend { padding: 0 5px; font-size: .78rem; font-weight: 800; }
.identity-fields > p, .evidence-status > p { margin: 0 0 15px; color: var(--muted); font-size: .72rem; }
.identity-fields .form-grid { margin: 0; }
.evidence-status-list { display: grid; gap: 10px; }
.evidence-status-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 18px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.evidence-status-row > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
.evidence-status-row strong { font-size: .76rem; }
.evidence-status-row small { grid-column: 1 / -1; color: var(--muted); font-size: .68rem; }
.evidence-status-row select { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink); }
.evidence-level { padding: 4px 7px; border-radius: 999px; background: #e6eef7; color: var(--brand-dark); font-size: .58rem; white-space: nowrap; }
.evidence-level.conditional { background: #fff3cf; color: #735b18; }
.evidence-level.desirable { background: #edf0ef; color: var(--muted); }
.route-card { width: min(850px, 100%); display: grid; gap: 6px; margin: 0 auto 22px; padding: 20px 22px; border: 1px solid #b0cde6; border-radius: 14px; background: #f5f9fd; }
.route-card > span { color: var(--brand); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.route-card > strong { font-size: 1.05rem; }
.route-card p { margin: 0; color: var(--ink-2); font-size: .78rem; }
.route-card .deadline-note { margin-top: 4px; padding-top: 10px; border-top: 1px solid #c9dceb; font-weight: 750; }
.route-card a { width: fit-content; margin-top: 5px; color: var(--brand-dark); font-size: .75rem; font-weight: 850; }
@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; }
  .catalog-grid-single { grid-template-columns: minmax(0, 680px); }
  .builder-layout { grid-template-columns: 1fr; }
  .builder-help { position: static; order: -1; }
  .pdf-builder-layout { grid-template-columns: 1fr; }
  .pdf-help { position: static; }
}

@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; }
  .home-silo-index .shell { width: 100%; padding-inline: 14px; }
  .section { padding-block: 65px; }
  .section-heading, .promise-grid { grid-template-columns: 1fr; gap: 24px; }
  .silo-grid, .priority-grid, .tool-silo-heading { grid-template-columns: 1fr; }
  .catalog-promise { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid, .catalog-grid { grid-template-columns: 1fr; }
  .catalog-grid-single { 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; }
  .pdf-check-grid { grid-template-columns: 1fr; gap: 28px; }
  .related-tool-grid { grid-template-columns: 1fr; }
  .consent-banner { grid-template-columns: 1fr; gap: 15px; }
  .consent-actions { justify-content: flex-end; }
}

@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; }
  .home-silo-index .shell { flex-wrap: wrap; padding-block: 10px; }
  .home-silo-index span { width: 100%; }
  .home-silo-index a { flex: 1 1 calc(50% - 8px); text-align: center; }
  .featured-entry { padding-block: 54px; }
  .section { padding-block: 54px; }
  .section-heading h2, .promise-grid h2, .final-cta h2 { font-size: 2rem; }
  .silo-card { min-height: 0; padding: 22px 19px; }
  .priority-card { padding: 25px 20px; }
  .priority-card > div:first-child { align-items: center; }
  .priority-card .button { width: 100%; }
  .catalog-index .shell { width: 100%; min-height: 0; flex-wrap: wrap; padding: 10px 12px; }
  .catalog-index a { flex: 1 1 calc(50% - 8px); text-align: center; }
  .catalog-silos { gap: 62px; }
  .tool-silo { scroll-margin-top: 108px; }
  .tool-card { min-height: 0; padding: 23px 19px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { flex-direction: column; }
  .consent-banner { bottom: 10px; width: calc(100% - 20px); padding: 17px; border-radius: 13px; }
  .consent-actions { display: grid; grid-template-columns: 1fr; }
  .consent-actions .button { width: 100%; }
  .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; }
  .choice-list { grid-template-columns: 1fr; }
  .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; }
  .evidence-status-row { grid-template-columns: 1fr; gap: 10px; }
  .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; }
  .pdf-explainer ol { grid-template-columns: 1fr; }
  .pdf-limits { grid-template-columns: 1fr; gap: 25px; }
  .pdf-limits > div:last-child { padding: 0; border-left: 0; }
}

@media (max-width: 640px) {
  .pdf-builder-section { padding-block: 25px 52px; }
  .pdf-tool { border-radius: 14px; }
  .pdf-process { gap: 6px; padding: 15px 13px; }
  .pdf-process span { gap: 5px; font-size: .65rem; }
  .pdf-process b { width: 23px; height: 23px; }
  .pdf-dropzone { margin: 17px; padding: 34px 16px; }
  .pdf-status { margin: 0 17px 17px; }
  .pdf-workspace-head { align-items: stretch; flex-direction: column; padding: 24px 17px 18px; }
  .pdf-add { width: 100%; }
  .pdf-summary { margin: 0 17px 20px; }
  .pdf-summary div { padding: 10px; }
  .pdf-summary strong { font-size: .8rem; }
  .pdf-page-grid { grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 17px 22px; }
  .pdf-thumbnail { height: 190px; }
  .pdf-page-actions { grid-template-columns: 1fr; }
  .pdf-output { align-items: stretch; flex-direction: column; padding: 22px 17px; }
  .pdf-output .field { width: 100%; flex-basis: auto; }
  .pdf-output-actions { display: grid; grid-template-columns: 1fr; }
  .pdf-result { align-items: stretch; flex-direction: column; margin: 18px 17px 22px; }
  .pdf-result .button { width: 100%; }
  .paper-header { padding-bottom: 12px; }
}

@media (max-width: 390px) {
  .pdf-page-grid { grid-template-columns: 1fr; }
  .pdf-thumbnail { height: 260px; }
}

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

@media print {
  @page { size: A4; margin: 10mm; }
  body { background: white; color: #000; }
  .skip-link, .site-header, main > :not(.document-result), .result-toolbar, .result-foot, .route-card, .site-footer, .consent-banner { display: none !important; }
  .document-result, #documentResult, .document-result .shell { display: block !important; width: 100%; padding: 0; border: 0 !important; background: white; }
  .paper { display: block !important; width: 100%; min-height: 0; margin: 0; padding: 0; background: #fff !important; box-shadow: none; color: #000 !important; font-size: 8.5pt; line-height: 1.3; }
  .paper *, .paper *::before, .paper *::after { color: #000 !important; border-color: #000 !important; background-color: transparent !important; box-shadow: none !important; }
  .paper-brand span, .paper-code, .paper-subtitle, .paper-disclaimer { color: #000 !important; }
  .paper .mini-mark { background: #fff !important; border: 1px solid #000 !important; }
  .paper-header { border-color: #000; }
  .paper-section h2 { margin-bottom: 6px; padding: 4px 6px; background: #fff !important; border-top: 1px solid #000; border-bottom: 1px solid #000; }
  .paper-data div, .paper-disclaimer { border-color: #000; }
  .paper h1 { margin: 16px 0 3px; font-size: 14pt; }
  .paper-subtitle { margin-bottom: 14px; }
  .paper-section { margin-top: 12px; }
  .paper-data { gap: 4px 18px; }
  .paper-data div { min-height: 28px; }
  .paper th, .paper td { padding: 5px 4px; background: #fff !important; }
  .paper-declarations li + li { margin-top: 3px; }
  .paper-observations { min-height: 42px; }
  .signature-grid { margin-top: 45px; }
  .paper-disclaimer { margin-top: 18px; padding-top: 8px; font-size: 7px; }
  .paper-section, .evidence-status-row { break-inside: avoid; }
}
