:root {
  --navy: #091a38;
  --navy-2: #102a50;
  --ink: #10233c;
  --muted: #5f6e7f;
  --aqua: #16d8cc;
  --aqua-dark: #087f7a;
  --coral: #ff6d5d;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --line: #d8e0e7;
  --soft: #eef5f5;
  --danger: #a72e2e;
  --radius: 18px;
  --container: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  --section-space: 28px;
  --section-space-compact: 17px;
}

* { box-sizing: border-box; }
*, *::before, *::after { border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); line-height: 1.65; }
body.menu-open { overflow: hidden; }
em, i, cite, dfn, var { font-style: normal !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: 48px !important; }
h2 { font-size: 28px !important; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p { margin-bottom: 1.1rem; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow, .content-measure { max-width: none; }
.section { padding: var(--section-space) 0; }
.compact-section { padding: var(--section-space-compact) 0; }
.light-section { background: #fff; }
.lead { color: #3d526a; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.58; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--aqua); color: var(--navy); font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 200; background: rgba(9, 26, 56, .98); color: #fff; }
.nav-shell { width: min(1320px, calc(100% - 40px)); min-height: 84px; display: flex; align-items: center; gap: 20px; }
.brand { width: 270px; flex: 0 0 270px; }
.brand img { width: 100%; }
.desktop-nav { display: flex; flex: 0 1 auto; flex-wrap: nowrap; align-items: center; gap: clamp(14px, 1.45vw, 24px); min-width: 0; margin-left: auto; }
.desktop-nav > a, .nav-dropdown > summary { flex: 0 0 auto; color: #dce7f2; font-size: .88rem; font-weight: 680; line-height: 1.2; white-space: nowrap; }
.desktop-nav > a:hover, .desktop-nav > a:focus-visible, .nav-dropdown > summary:hover, .nav-dropdown > summary:focus-visible, .nav-dropdown[open] > summary { color: var(--aqua); }
.desktop-nav > .free-demo-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: #dce7f2;
  font-weight: 720;
}
.free-demo-nav-icon { width: 23px; height: 23px; flex: 0 0 23px; fill: none; stroke: var(--aqua); stroke-linecap: square; stroke-linejoin: miter; stroke-width: 1.8; }
.free-demo-nav-icon path:last-child { fill: rgba(22, 216, 204, .18); }
.desktop-nav > .free-demo-nav-link:hover,
.desktop-nav > .free-demo-nav-link:focus-visible {
  color: var(--aqua);
  background: transparent;
}
.desktop-nav > .free-demo-nav-link:focus-visible { outline: 2px solid var(--aqua); outline-offset: 5px; }
.desktop-nav > .pricing-nav-link, .mobile-utility .pricing-nav-link { display: inline-flex; align-items: center; gap: 7px; }
.pricing-star { width: 22px; height: 22px; flex: 0 0 22px; overflow: visible; fill: #ffd43b; stroke: #ffb703; stroke-linejoin: round; stroke-width: 1.15; filter: drop-shadow(0 0 5px rgba(255, 212, 59, .25)); }
.pricing-star circle { fill: #fff1a8; stroke-width: 1; }
.pricing-nav-link:hover .pricing-star, .pricing-nav-link:focus-visible .pricing-star { fill: #ffe66d; stroke: #ffd43b; }
.nav-dropdown { position: relative; flex: 0 0 auto; }
.nav-dropdown > summary { display: inline-flex; align-items: center; gap: 7px; padding: 12px 0; cursor: pointer; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary:focus-visible { outline: 2px solid var(--aqua); outline-offset: 5px; border-radius: 3px; }
.nav-dropdown > summary::after { content: "+"; color: var(--aqua); font-size: 1.05rem; font-weight: 800; line-height: 1; }
.nav-dropdown[open] > summary::after { content: "−"; }
.nav-dropdown-panel { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 230; display: grid; width: 430px; padding: 12px; border: 1px solid #345172; border-radius: 14px; background: var(--navy-2); color: #fff; transform: translateX(-50%); }
.nav-dropdown-panel a { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; align-items: center; padding: 10px; border-radius: 8px; color: #fff; white-space: normal; }
.nav-dropdown-panel a:hover, .nav-dropdown-panel a:focus-visible { background: rgba(22, 216, 204, .1); color: #fff; outline: none; }
.nav-dropdown-panel a:focus-visible { outline: 2px solid var(--aqua); outline-offset: -2px; }
.nav-guide-icon { width: 32px; height: 32px; color: var(--aqua); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.nav-link-copy, .nav-link-copy strong, .nav-link-copy small { display: block; }
.nav-link-copy strong { color: #fff; font-size: .88rem; line-height: 1.25; }
.nav-link-copy small { margin-top: 2px; color: #aebfd1; font-size: .71rem; font-weight: 550; line-height: 1.35; }
.nav-dropdown-panel .nav-dropdown-featured .nav-guide-icon { stroke-width: 1.9; }
.nav-cta { flex: 0 0 auto; white-space: nowrap; }
.menu-button { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 15px; border: 2px solid var(--aqua); border-radius: 999px; color: #fff; background: transparent; cursor: pointer; font-weight: 800; letter-spacing: .01em; }
.menu-mark { position: relative; width: 20px; height: 18px; }
.menu-mark i { position: absolute; right: 0; display: block; width: 19px; height: 2px; background: currentColor; transition: transform .18s, top .18s; }
.menu-mark i:first-child { top: 5px; }
.menu-mark i:last-child { top: 12px; width: 14px; }
.menu-button:hover, .menu-button:focus-visible { background: rgba(22, 216, 204, .12); outline: none; }
.menu-button:focus-visible { outline: 3px solid rgba(126, 245, 237, .5); outline-offset: 3px; }
.menu-button.open { background: var(--aqua); color: var(--navy); }
.menu-button.open i { top: 9px; width: 18px; }
.menu-button.open i:first-child { transform: rotate(45deg); }
.menu-button.open i:last-child { transform: rotate(-45deg); }

.mobile-menu { display: block; position: fixed; inset: 84px 0 0; z-index: 180; overflow-y: auto; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; pointer-events: none; overscroll-behavior: contain; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; min-height: 100%; padding-top: 22px; padding-bottom: 24px; }
.mobile-intro { max-width: 680px; }
.mobile-intro strong { display: block; color: #fff; font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.1; letter-spacing: -.025em; }
.mobile-intro p { max-width: 620px; margin: 8px 0 0; color: #b8c8d9; line-height: 1.5; }
.mobile-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 12px; }
.mobile-card { position: relative; padding: 16px 17px; border: 1px solid #345172; border-radius: 13px; background: transparent; transition: border-color .16s ease, background .16s ease; }
.mobile-card:hover, .mobile-card:focus-within { border-color: var(--aqua); background: rgba(22, 216, 204, .07); }
.mobile-card strong, .mobile-card span { display: block; }
.mobile-card strong a { color: #fff; font-size: .98rem; line-height: 1.3; }
.mobile-card strong a:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; border-radius: 2px; }
.mobile-card span { margin-top: 5px; color: #aabdd1; font-size: .82rem; line-height: 1.42; }
.free-demo-mobile-card { border: 2px solid var(--aqua); background: var(--aqua); }
.free-demo-mobile-card strong a { color: var(--navy); font-size: 1.04rem; font-weight: 900; }
.free-demo-mobile-card span { color: #183a4b; font-weight: 700; }
.free-demo-mobile-card:hover, .free-demo-mobile-card:focus-within { border-color: #7ef5ed; background: #7ef5ed; }
.free-demo-mobile-card strong a:focus-visible { outline-color: var(--navy); }
.mobile-menu details { border: 1px solid #345172; border-radius: 13px; }
.mobile-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 17px; cursor: pointer; color: #fff; font-weight: 800; list-style: none; }
.mobile-menu summary::after { content: "+"; color: var(--aqua); font-size: 1.1rem; line-height: 1; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary:focus-visible { outline: 2px solid var(--aqua); outline-offset: -2px; border-radius: 12px; }
.mobile-menu details[open] summary::after { content: "−"; }
.mobile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; padding: 1px 17px 14px; }
.mobile-links a { padding: 9px 0; color: #c4d3e2; font-size: .9rem; font-weight: 650; }
.mobile-links a:hover, .mobile-links a:focus-visible { color: var(--aqua); }
.mobile-utility { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0; }
.mobile-utility a { padding: 8px 11px; border: 1px solid #345172; border-radius: 999px; color: #c4d3e2; font-size: .82rem; font-weight: 720; }
.mobile-utility a:hover, .mobile-utility a:focus-visible { border-color: var(--aqua); color: var(--aqua); outline: none; }
.mobile-menu-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: auto; padding-top: 5px; }
.mobile-menu-actions > .free-demo-mobile-action { border-color: var(--aqua); background: var(--aqua); color: var(--navy); font-weight: 900; }
.mobile-menu-actions > .free-demo-mobile-action:hover,
.mobile-menu-actions > .free-demo-mobile-action:focus-visible { border-color: #7ef5ed; background: #7ef5ed; color: var(--navy); }
.mobile-account-action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border: 2px solid #4a6584; border-radius: 10px; color: #fff; font-weight: 820; line-height: 1.2; text-align: center; }
.mobile-account-action:hover, .mobile-account-action:focus-visible { border-color: var(--aqua); color: var(--aqua); outline: none; }

/* Full-width trail adapted from the SHAREITONL breadcrumb pattern. */
.breadcrumb-bar { border: 0; outline: 0; background: rgba(9, 26, 56, .98); box-shadow: none; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin: 0; padding: .7rem 0; color: #c5d3e2; font-size: .85rem; line-height: 1.35; }
.breadcrumb a { color: var(--aqua); font-weight: 750; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: #7ef5ed; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb-home-link { display: inline-flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; }
.breadcrumb-home-link:hover, .breadcrumb-home-link:focus-visible { text-decoration: none !important; }
.breadcrumb-home-icon { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.breadcrumb .sep { display: inline-flex; align-items: center; justify-content: center; width: 1.15rem; color: #7188a2; }
.breadcrumb-chevron { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.breadcrumb [aria-current="page"] { color: #f4f8fc; font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 2px solid var(--aqua); border-radius: 10px; background: var(--aqua); color: var(--navy); cursor: pointer; font-weight: 850; line-height: 1.2; transition: background .16s, border-color .16s, color .16s; }
.button:hover, .button:focus-visible { border-color: #7ef5ed; background: #7ef5ed; }
.button-small { min-height: 40px; padding: 9px 16px; font-size: .86rem; }
.button-large { min-height: 56px; }
.button-full { width: 100%; }
.button-secondary { border-color: var(--navy); background: transparent; color: var(--navy); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.text-link { color: var(--aqua-dark); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: var(--navy); }
.card-title-link { text-decoration: none; }
.card-title-link:hover, .card-title-link:focus-visible { color: var(--aqua-dark); text-decoration: underline; text-underline-offset: 4px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.hero-background-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(9,26,56,.98) 0%,rgba(9,26,56,.9) 42%,rgba(9,26,56,.32) 78%,rgba(9,26,56,.18) 100%); }
.hero-grid { display: flex; align-items: center; width: min(var(--container), calc(100% - 40px)); min-height: 720px; }
.hero-copy { width: 100%; padding: 22px 0; }
.hero h1 { width: 100%; max-width: none; overflow-wrap: normal; word-break: normal; text-wrap: pretty; color: #fff; }
.page-hero h1, .article-hero h1 { width: 100%; max-width: none; overflow-wrap: normal; word-break: normal; text-wrap: pretty; }
.hero .lead { width: 100%; max-width: none; color: #c8d5e2; }
.quick-form { width: 100%; max-width: none; margin-top: 11px; padding: 24px; border: 1px solid rgba(126,245,237,.34); border-radius: 18px; background: rgba(9,26,56,.76); }
.quick-form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; margin-bottom: 12px; }
.quick-form-heading > div { display: grid; gap: 3px; }
.quick-form-heading label { color: #fff; font-size: 1.15rem; font-weight: 850; }
.quick-form-heading a { color: var(--aqua); font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.input-action { display: grid; grid-template-columns: minmax(0,1fr) 245px; min-height: 82px; padding: 7px; border: 1px solid #7d91a9; border-radius: 15px; background: #fff; }
.input-action input { min-width: 0; padding: 16px 19px; border: 0; outline: 0; color: var(--ink); font-size: 1.08rem; }
.input-action .button { min-height: 66px; font-size: 1.08rem; }
.validator-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.validator-rules span { padding: 9px 11px; border-left: 0; background: rgba(16,59,83,.72); color: #c6d4e1; font-size: .78rem; line-height: 1.35; }
.validator-rules strong { display: block; color: #fff; }
.quick-form small { display: block; margin-top: 11px; color: #afc0d2; font-size: .9rem; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.outcome-grid article { padding-left: 19px; border-left: 4px solid var(--aqua); }
.outcome-grid h2, .outcome-grid h3 { margin-bottom: 8px; }
.outcome-grid p { margin-bottom: 0; color: var(--muted); }
.split-heading { margin-bottom: 11px; }
.split-heading > div { width: 100%; max-width: none; }
.split-heading h2 { margin-bottom: 10px; }
.split-heading p { margin-bottom: 0; color: var(--muted); }
.section-followup { display: flex; justify-content: flex-start; margin-top: 9px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-grid article { padding: 24px; border: 1px solid #cbd7df; border-radius: var(--radius); background: #fff; }
.process-grid h3 { margin-bottom: 10px; }
.process-grid p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }
.answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.answer-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.answer-grid h3 { margin-bottom: 10px; }
.answer-grid p { color: var(--muted); }

.magazine-section { background: #fff; }
.magazine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.article-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.article-card > img { width: calc(100% + 50px); max-width: none; margin: -25px -25px 22px; border-radius: 17px 17px 0 0; aspect-ratio: 16/10; object-fit: cover; }
.article-card h2, .article-card h3 { margin-bottom: 13px; }
.article-card p { color: var(--muted); font-size: .94rem; }
.home-discovery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-discovery-card { display: flex; flex-direction: column; min-height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.home-discovery-card h3 { margin-bottom: 10px; }
.home-discovery-card p { flex: 1; margin-bottom: 13px; color: var(--muted); font-size: .94rem; }
.home-discovery-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sitemap-page-directory { border: 1px solid var(--line); background: #fff; }
.sitemap-page-directory > summary { display: flex; align-items: center; gap: 12px; padding: 20px 24px; color: var(--ink); cursor: pointer; font-size: 1.12rem; font-weight: 850; list-style: none; }
.sitemap-page-directory > summary::-webkit-details-marker { display: none; }
.sitemap-page-directory > summary::before { content: "▸"; color: var(--aqua-dark); font-size: .95rem; }
.sitemap-page-directory[open] > summary::before { content: "▾"; }
.sitemap-directory-groups { display: grid; gap: 38px; padding: 8px 48px 42px; }
.sitemap-directory-group h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.sitemap-directory-group ul { display: grid; gap: 9px; margin: 0; padding-left: 28px; }
.sitemap-directory-group a { color: var(--ink); font-size: 1.05rem; text-decoration: none; }
.sitemap-directory-group a:hover, .sitemap-directory-group a:focus-visible { color: var(--aqua-dark); text-decoration: underline; text-underline-offset: 3px; }
.topic-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.topic-filter a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: .84rem; font-weight: 800; }
.topic-filter a[aria-current="page"], .topic-filter a:focus-visible, .topic-filter a:hover { border-color: var(--aqua-dark); color: var(--aqua-dark); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 38px; color: var(--muted); font-weight: 750; }
.pagination a { color: var(--aqua-dark); text-decoration: underline; text-underline-offset: 4px; }
.blog-library-intro { margin-top: 19px; }
.blog-library-intro > p:last-child { margin: 8px 0 0; }
.dark-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, #07172f 0%, var(--navy) 62%, #0b3150 100%); color: #fff; }
.dark-cta::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 34%; background: linear-gradient(135deg, transparent 0 42%, rgba(27,207,198,.08) 42% 58%, transparent 58%); pointer-events: none; }
.dark-cta h2 { margin-bottom: 10px; color: #fff; font-size: clamp(1.85rem, 3vw, 2.65rem); }
.dark-cta p { max-width: 780px; margin-bottom: 0; color: #c4d5e6; font-size: 1.06rem; line-height: 1.65; }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); align-items: stretch; gap: 52px; }
.cta-copy { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 22px; }
.cta-capture-icon { display: grid; width: 64px; height: 64px; place-items: center; border: 1px solid rgba(27,207,198,.7); background: rgba(27,207,198,.1); color: var(--aqua); }
.cta-capture-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; stroke-width: 2.25; }
.cta-primary-action { align-self: center; min-height: 76px; padding-inline: 28px; border-color: var(--aqua); background: var(--aqua); box-shadow: 8px 8px 0 rgba(0,0,0,.22); text-align: center; font-size: 1.05rem; }
.cta-primary-action:hover, .cta-primary-action:focus-visible { border-color: #7ef5ed; background: #7ef5ed; box-shadow: 4px 4px 0 rgba(0,0,0,.28); transform: translate(4px,4px); }

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 32px 0 23px; background: var(--navy); color: #fff; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(9,26,56,.98) 0%,rgba(9,26,56,.9) 52%,rgba(9,26,56,.72) 100%); }
.page-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .28; }
.page-hero > .container { width: min(var(--container), calc(100% - 40px)); }
.page-hero h1 { color: #fff; margin-bottom: 20px; }
.page-hero p { width: 100%; max-width: none; color: #c4d2e1; font-size: 1.2rem; }
.direct-answer { width: 100%; max-width: none; font-size: clamp(1.08rem, 1.55vw, 1.25rem); line-height: 1.58; }
.direct-answer strong { color: var(--aqua-dark); }
.hero .direct-answer strong, .page-hero .direct-answer strong { color: var(--aqua); }
.article-hero .direct-answer { max-width: none; color: #334b65; }
.answer-summary { color: #465b72; font-weight: 650; }
.magazine-hero { background: var(--navy-2); }
.tool-hero { padding-bottom: 33px; }
.tool-hero-downloader::after { background: linear-gradient(90deg,rgba(9,26,56,.99) 0%,rgba(9,26,56,.9) 60%,rgba(7,98,107,.65) 100%); }
.tool-hero-archive-rebuilder::after { background: linear-gradient(90deg,rgba(9,26,56,.99) 0%,rgba(9,26,56,.9) 58%,rgba(161,58,50,.58) 100%); }
.tool-section { padding-top: 0; background: #fff; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; transform: translateY(-16px); }
.tool-layout-archive-rebuilder { grid-template-columns: 300px minmax(0, 1fr); }
.tool-layout-archive-rebuilder .capture-workbench { grid-column: 2; }
.tool-layout-archive-rebuilder .tool-aside { grid-column: 1; grid-row: 1; }
.rebuild-form, .tool-aside { border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.rebuild-form { padding: 32px; }
.capture-workbench { overflow: hidden; }
.capture-workbench-header { margin: -32px -32px 26px; padding: 28px 32px; background: var(--navy); color: #d6e2ee; }
.capture-workbench-header h2 { margin-bottom: 8px; color: #fff; }
.capture-workbench-header > div > p { max-width: none; margin: 0; color: #b9c9da; }
.capture-workbench-header dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 22px 0 0; border: 1px solid #294564; background: #294564; }
.capture-workbench-header dl > div { padding: 15px; background: #0d2342; }
.capture-workbench-header dt { color: var(--aqua); font-weight: 900; }
.capture-workbench-header dd { margin: 5px 0 0; color: #bed0e1; font-size: .84rem; line-height: 1.45; }
.capture-workbench-archive-rebuilder .capture-workbench-header { background: #132d4e; border-bottom: 6px solid var(--coral); }
.capture-workbench-archive-rebuilder .capture-workbench-header dt { color: #ff8d81; }
.capture-source-inputs { padding: 20px; border: 2px solid var(--line); border-radius: 14px; }
.tool-aside-downloader { border-top: 6px solid var(--aqua-dark); }
.tool-aside-archive-rebuilder { border-top: 6px solid var(--coral); }
.clone-website-form { max-width: 1080px; margin: 0 auto; }
.clone-tool-hero::after { background: linear-gradient(90deg,rgba(9,26,56,.99) 0%,rgba(9,26,56,.92) 56%,rgba(25,111,132,.62) 100%); }
.clone-survey { padding-top: 0; overflow: hidden; }
.clone-survey-header { margin: 26px -32px 26px; padding: 28px 32px; background: var(--soft); }
.clone-survey-header > div { display: block; }
.clone-survey-header h2 { margin: 0; }
.clone-survey-header p { margin: 10px 0 0; color: var(--muted); }
.clone-survey-header dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.clone-survey-header dl > div { padding: 15px 17px; background: #fff; }
.clone-survey-header dt { color: var(--navy); font-weight: 900; }
.clone-survey-header dd { margin: 5px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.clone-source-block h2, .clone-consent-block h2 { margin-bottom: 10px; }
.clone-source-block { padding-top: 28px; }
.clone-source-block > p { max-width: none; margin: 10px 0 0; color: var(--muted); }
.clone-source-block > input { min-height: 78px; margin-top: 2px; padding: 17px 19px; border: 2px solid #8295aa; font-size: 1.15rem; }
.clone-source-block > input:focus { border-color: var(--aqua-dark); outline: 3px solid rgba(22,216,204,.2); outline-offset: 2px; }
.clone-survey-header + .stack-detection-notice { margin-top: 18px; }
.stack-detection-notice { overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.stack-detection-notice summary { display: flex; align-items: center; gap: 12px; padding: 22px; color: var(--ink); cursor: pointer; font-size: 1.75rem; font-weight: 850; line-height: 1.2; list-style: none; }
.stack-detection-notice summary::-webkit-details-marker { display: none; }
.stack-detection-notice summary::before { content: "+"; flex: 0 0 auto; color: var(--aqua-dark); font-size: 1.1rem; line-height: 1; }
.stack-detection-notice[open] summary::before { content: "−"; }
.stack-detection-body { padding: 0 22px 22px 48px; }
.stack-detection-notice p { margin: 0 0 10px; color: var(--muted); }
.stack-detection-notice p:last-child { margin-bottom: 0; }
.clone-consent-block { display: grid; gap: 16px; }
.clone-includes-section { padding-bottom: 8px; }
.clone-use-cases-section { padding-top: 8px; }
.converter-form { max-width: 1080px; margin: 0 auto; }
.converter-tool-hero::after { background: linear-gradient(90deg,rgba(9,26,56,.99) 0%,rgba(9,26,56,.91) 56%,rgba(62,74,137,.6) 100%); }
.conversion-workspace { padding-top: 0; overflow: hidden; border: 0 !important; }
.conversion-workspace-header { margin: 0 -32px 26px; padding: 28px 32px; background: var(--navy); color: #d6e2ee; }
.conversion-workspace-header > div { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.3fr); gap: 26px; }
.conversion-workspace-header h2 { margin: 0; color: #fff; }
.conversion-workspace-header p { margin: 0; color: #c2d2e2; }
.conversion-workspace-header dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.conversion-workspace-header dl > div { padding: 14px 16px; border: 1px solid #35516f; border-radius: 10px; }
.conversion-workspace-header dt { color: var(--aqua); font-weight: 900; }
.conversion-workspace-header dd { margin: 5px 0 0; color: #bdd0e1; font-size: .84rem; line-height: 1.45; }
.converter-form > * + * { margin-top: 18px; }
.converter-upload-block h2, .converter-delivery-block h2 { margin-bottom: 10px; }
.converter-upload-block > p { max-width: none; color: var(--muted); }
.converter-upload-block input[type="file"] { display: block; width: 100%; min-height: 58px; padding: 12px; border: 1px solid #aebbc7; border-radius: 9px; background: #fff; }
.converter-dropzone { display: grid; gap: 10px; padding: 25px; border: 2px dashed #7283a0; border-radius: 14px; background: #f8faff; text-align: center; }
.converter-dropzone label { color: var(--navy); font-weight: 900; }
.converter-dropzone input[type="file"] { max-width: 640px; margin: 0 auto; border-style: solid; }
.converter-dropzone span { color: var(--muted); font-size: .86rem; }
.converter-targets { padding: 22px; border: 1px solid var(--line); border-radius: 13px; }
.converter-targets legend { padding: 0 8px; color: var(--ink); font-weight: 850; }
.converter-target-group + .converter-target-group { margin-top: 26px; }
.converter-target-group h3 { margin: 0 0 10px; color: var(--ink); }
.converter-target-group .stack-choice { min-height: 132px; border-top: 1px solid var(--line) !important; box-shadow: none !important; }
.converter-target-group .stack-choice:has(input:checked) { border-top-color: var(--aqua-dark) !important; }
.converter-delivery-block { display: grid; gap: 16px; padding: 22px; border-radius: 14px; background: var(--soft); }
.converter-delivery-block > label:not(.check-row) { color: var(--ink); font-weight: 800; }
.legal-notice { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.converter-delivery-block .legal-notice { background: #fff; }
.conversion-contract { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 0; }
.conversion-contract > div { padding: 20px; border: 1px solid var(--line); border-top-width: 1px !important; border-radius: 12px; background: #fff; box-shadow: none !important; }
.conversion-contract dt { color: var(--navy); font-size: 1.08rem; font-weight: 900; }
.conversion-contract dd { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.legal-notice p { margin: 0 0 12px; color: var(--muted); }
.legal-notice p:last-child { margin-bottom: 0; }
.tool-aside { position: sticky; top: 102px; padding: 28px; }
.form-block + .option-group, .option-group + .option-group, .option-group + .form-block { margin-top: 18px; }
.form-block > label:not(.check-row), .option-fields > label:not(.check-row), .order-fields > label:not(.check-row) { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 800; }
input[type="url"], input[type="email"], input[type="text"], input[type="date"], select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #aebbc7; border-radius: 9px; color: var(--ink); background: #fff; }
input:focus, select:focus { outline: 3px solid rgba(22, 216, 204, .25); border-color: var(--aqua-dark); }
.account-email-locked:disabled { border-color: #c4ced6; color: #526273; background: #e7edef; cursor: not-allowed; opacity: 1; -webkit-text-fill-color: #526273; }
.account-email-lock-note::before { content: "Locked · "; color: var(--ink); font-weight: 800; }
.field-error { display: grid; gap: 4px; margin: 10px 0 0; padding: 13px 15px; border: 1px solid #f2b2aa; border-radius: 10px; background: #fff0ee; color: var(--danger); }
.field-error strong { font-weight: 800; }
.field-error span { color: #713a36; font-size: .9rem; font-weight: 550; }
.field-error a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.capture-result { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 13px; padding: 14px; border-radius: 10px; background: #e4faf7; color: #165d59; font-size: .9rem; }
.site-inputs > label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 800; }
.site-inputs > select { max-width: 320px; }
.site-url-list { display: grid; gap: 14px; margin-top: 20px; }
.site-url-row label { display: block; margin-bottom: 7px; font-weight: 800; }
.option-group { border: 1px solid var(--line); border-radius: 13px; }
.option-group summary { padding: 17px 18px; cursor: pointer; color: var(--ink); font-weight: 850; list-style-position: inside; }
.option-list { display: grid; gap: 12px; padding: 0 18px 18px; }
.check-row { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; cursor: pointer; }
.form-block > label.check-row, .option-fields > label.check-row, .order-fields > label.check-row { display: grid; margin-bottom: 0; }
.check-row input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--aqua-dark); }
.check-row strong, .check-row small { display: block; }
.check-row small { margin-top: 3px; color: var(--muted); line-height: 1.45; }
.option-with-help { display: flex; align-items: flex-start; gap: 8px; min-width: 0; width: fit-content; max-width: 100%; }
.option-with-help .check-row { flex: 0 1 auto; min-width: 0; }
.help-tip { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 30px; min-height: 30px; margin-top: -2px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--aqua-dark); cursor: help; font: 850 .82rem/1 var(--font); }
.help-tip > span:first-child { text-decoration: underline; text-underline-offset: 2px; }
.help-tip:focus-visible { outline: 3px solid rgba(22, 216, 204, .3); outline-offset: 2px; }
.help-tooltip { position: absolute; right: 0; bottom: calc(100% + 9px); z-index: 50; width: min(320px, calc(100vw - 42px)); padding: 11px 13px; border: 1px solid #3c587a; border-radius: 10px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 650; line-height: 1.45; text-align: left; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; pointer-events: none; }
.help-tip:hover .help-tooltip, .help-tip:focus-visible .help-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.option-fields fieldset { display: flex; gap: 22px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.option-fields legend { padding: 0 6px; font-weight: 800; }
.option-fields fieldset label { display: flex; gap: 7px; align-items: center; }
.option-fields .stack-fieldset { display: block; padding: 18px; }
.stack-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.stack-choice { display: grid !important; grid-template-columns: 22px minmax(0, 1fr); gap: 10px !important; align-items: start !important; padding: 16px; border: 1px solid #c7d3dc; border-radius: 11px; background: #fff; cursor: pointer; }
.stack-choice:has(input:checked) { border-color: var(--aqua-dark); background: #e9fbf9; }
.stack-choice input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--aqua-dark); }
.stack-choice strong, .stack-choice small { display: block; }
.stack-choice small { margin-top: 5px; color: var(--muted); line-height: 1.42; }
.field-help { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.dependent-fields { display: grid; gap: 12px; margin-left: 33px; padding: 17px; border-radius: 12px; background: var(--soft); }
.dependent-fields[hidden] { display: none; }
.dependent-fields > label, .replacement-row label { color: var(--ink); font-weight: 800; }
.replacement-list { display: grid; gap: 12px; }
.replacement-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.replacement-row input { display: block; margin-top: 6px; font-weight: 500; }
.replacement-remove { min-height: 52px; }
.date-range { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.date-range input { display: block; margin-top: 6px; }
.risk-confirmation { background: #fff1ef; }
.compact-fieldset { display: grid !important; gap: 10px !important; padding: 16px !important; }
.legend-with-help { display: flex; align-items: center; gap: 7px; }
.legend-with-help .help-tip { display: inline-flex; }
.compact-fieldset label { align-items: flex-start !important; }
.compact-fieldset input { margin-top: 5px; accent-color: var(--aqua-dark); }
.is-disabled { color: #526273; cursor: not-allowed; }
.is-disabled input, .is-disabled select { opacity: .64; }
.order-fields { margin-top: 22px; padding: 22px; border-radius: 14px; background: var(--soft); }
.order-fields input, .order-fields select { margin-bottom: 15px; }
.order-fields .check-row input { margin-bottom: 0; }
.order-summary { display: grid; gap: 3px; margin: 16px 0 20px; padding: 17px; border-radius: 12px; background: #fff; }
.order-summary span { color: var(--ink); font-weight: 750; }
.order-summary small { color: var(--muted); }
.recovery-estimate-panel { display: grid; gap: 5px; margin: 16px 0 0; padding: 17px; border: 1px solid #8adbd4; background: #e4faf7; color: #165d59; }
.recovery-estimate-panel[hidden] { display: none; }
.recovery-estimate-panel strong { color: var(--ink); font-size: 1.05rem; }
.recovery-estimate-panel.is-error { border-color: #f2b2aa; background: #fff0ee; color: #713a36; }
.authorization { margin: 6px 0 20px; }
.plain-list { margin: 0 0 24px; padding: 0; list-style: none; }
.plain-list li { position: relative; padding: 7px 0 7px 24px; }
.plain-list li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua-dark); font-weight: 900; }
.safety-note { margin: 24px 0; padding: 18px; border-radius: 13px; background: var(--cream); }
.safety-note strong { color: #b33b30; }
.safety-note p { margin: 6px 0 0; font-size: .88rem; }

.free-demo-hero { padding: 23px 0 19px; }
.free-demo-hero p { max-width: none; margin-bottom: 0; }
.free-demo-action-section, .free-demo-section, .free-demo-explainer { background: #fff; }
.free-demo-action-section { padding: 14px 0 13px; }
.free-demo-section { padding-top: 17px; }
.free-demo-copy .split-heading { margin-bottom: 9px; }
.free-demo-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.free-demo-benefits article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.free-demo-benefits h3 { margin-bottom: 7px; }
.free-demo-benefits p { margin-bottom: 0; color: var(--muted); }
.free-demo-form-card { padding: 34px; border: 2px solid var(--navy); border-radius: 18px; background: #fff; }
.demo-output-intro { max-width: none; }
.demo-output-receipt { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.5fr); gap: 22px; margin-top: 16px; padding: 24px; border: 2px solid var(--navy); border-radius: 16px; background: #fff; }
.demo-receipt-main { padding: 20px; border-radius: 12px; background: var(--navy); color: #d2dfeb; }
.demo-receipt-main h3 { color: #fff; }
.demo-receipt-main p { margin: 8px 0 0; color: #c4d3e1; }
.demo-output-receipt dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.demo-output-receipt dl > div { padding: 15px; border: 1px solid var(--line); background: var(--soft); }
.demo-output-receipt dt { color: var(--navy); font-weight: 900; }
.demo-output-receipt dd { margin: 5px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.demo-receipt-limit { grid-column: 1 / -1; margin: 0; padding-top: 14px; color: var(--muted); }
.demo-pipeline { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; }
.demo-pipeline li { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 26px; align-items: start; padding: 20px 0; }
.demo-pipeline h3 { margin-bottom: 7px; }
.demo-pipeline p { margin: 0; color: var(--muted); }
.demo-pipeline li > strong { color: var(--aqua-dark); font-size: .86rem; text-align: right; }
.free-demo-form-heading h2 { margin-bottom: 8px; }
.free-demo-form-heading p { margin-bottom: 24px; color: var(--muted); }
.free-demo-form-heading strong { color: var(--aqua-dark); }
.free-demo-form > label:first-of-type { display: block; margin-bottom: 7px; font-weight: 850; }
.free-demo-form > input[type="url"] { width: 100%; min-height: 80px; padding: 18px 20px; border: 2px solid #9cadbd; border-radius: 13px; color: var(--ink); background: #fff; font-size: 1.12rem; }
.free-demo-form > input[type="url"]:focus { border-color: var(--aqua-dark); outline: 3px solid rgba(22, 216, 204, .2); outline-offset: 2px; }
.free-demo-form > small { display: block; margin: 10px 0 24px; color: var(--muted); line-height: 1.45; }
.free-demo-form > small a { color: var(--aqua-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.free-demo-submit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.free-demo-authorize { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 0; cursor: pointer; font-size: .94rem; }
.free-demo-authorize input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--aqua-dark); }
.free-demo-limit p { color: var(--muted); }
.free-demo-explainer { padding-top: 0; }
.free-demo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.free-demo-steps article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.free-demo-steps h3 { margin-bottom: 9px; }
.free-demo-steps p { margin-bottom: 0; color: var(--muted); }
.signup-modal { width: min(520px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); }
.signup-modal::backdrop { background: rgba(9, 26, 56, .72); }
.signup-modal h2 { margin: 0 38px 12px 0; }
.signup-modal p { color: var(--muted); }
.signup-modal small { display: block; margin-top: 18px; color: var(--muted); line-height: 1.5; }
.signup-modal-close { position: absolute; top: 15px; right: 15px; display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.signup-modal-cancel { display: block; margin: 14px auto 0; padding: 4px 8px; border: 0; background: transparent; color: var(--aqua-dark); cursor: pointer; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.google-signin-button { display: block; width: 180px; height: 40px; margin: 20px auto 0; padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: #fff; cursor: pointer; }
.google-signin-button img { width: 180px; height: 40px; }
.google-signin-button:focus-visible { outline: 3px solid rgba(22, 216, 204, .38); outline-offset: 3px; }

.billing-modal { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 2px solid var(--navy); border-radius: 0; background: #fff; color: var(--ink); }
.billing-modal[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.billing-modal::backdrop { background: rgba(5, 18, 43, .82); }
.billing-modal-open { overflow: hidden; }
.billing-modal-header { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) 34px; gap: 12px; align-items: center; padding: 11px 14px; background: var(--navy); color: #fff; }
.billing-modal-header > div { display: flex; min-width: 0; align-items: baseline; gap: 10px; overflow: hidden; white-space: nowrap; }
.billing-modal-header h2 { flex: 0 0 auto; margin: 0; color: #fff; font-size: 1.16rem; line-height: 1.2; white-space: nowrap; }
.billing-modal-header p { min-width: 0; max-width: none; margin: 0; overflow: hidden; color: #cbd9e8; font-size: .82rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.billing-lock { display: grid; width: 38px; height: 38px; place-items: center; background: var(--aqua); color: var(--navy); }
.billing-lock svg { width: 20px; height: 20px; }
.billing-modal-close { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid #4e6685; border-radius: 0; background: transparent; color: #fff; cursor: pointer; font-size: 1.35rem; line-height: 1; }
.billing-modal-close:hover, .billing-modal-close:focus-visible { border-color: var(--aqua); background: var(--aqua); color: var(--navy); }
.billing-modal-body { min-height: 0; padding: 28px; overflow-y: auto; }
.billing-embedded-body { min-height: 0; overflow-y: auto; background: #fff; }
.billing-embedded-body[hidden], .billing-embedded-loading[hidden], .billing-embedded-checkout[hidden], .billing-embedded-error[hidden] { display: none; }
.billing-embedded-loading { display: grid; min-height: 480px; padding: 40px; place-items: center; align-content: center; gap: 12px; color: var(--muted); text-align: center; }
.billing-embedded-loading span { width: 44px; height: 44px; border: 4px solid #d7e2ea; border-top-color: var(--coral); border-radius: 50% !important; animation: billing-spinner .8s linear infinite; }
.billing-embedded-loading strong { color: var(--navy); font-size: 1.15rem; }
.billing-embedded-loading p { margin: 0; }
.billing-embedded-checkout { min-height: 600px; padding: 10px 18px 0; }
.billing-embedded-error { display: grid; min-height: 420px; padding: 40px; place-items: center; align-content: center; gap: 14px; text-align: center; }
.billing-embedded-error strong { color: var(--navy); font-size: 1.2rem; }
.billing-embedded-error p { margin: 0; color: var(--muted); }
.billing-embedded-note { margin: 0; padding: 15px 22px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-align: center; }
@keyframes billing-spinner { to { transform: rotate(360deg); } }
.billing-order-summary { margin: 0; border: 1px solid var(--line); background: #f5f8fa; }
.billing-order-summary > div { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.billing-order-summary > div:last-child { border-bottom: 0; }
.billing-order-summary dt { color: var(--muted); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.billing-order-summary dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--ink); font-weight: 800; text-align: right; }
.billing-order-summary .billing-order-total { align-items: center; background: #fff; }
.billing-order-summary .billing-order-total dd { color: var(--navy); font-size: 1.7rem; font-weight: 950; letter-spacing: -.035em; }
.billing-estimate-note { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--teal); background: #eef7f6; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.billing-assurances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0; padding: 0; list-style: none; }
.billing-assurances li { padding: 16px 18px; }
.billing-assurances strong, .billing-assurances span { display: block; }
.billing-assurances strong { margin-bottom: 6px; color: var(--navy); font-size: .88rem; }
.billing-assurances span { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.billing-confirm-button { width: 100%; min-height: 58px; border-color: var(--coral); border-radius: 0; background: var(--coral); color: var(--navy); font-size: 1.03rem; }
.billing-confirm-button:hover, .billing-confirm-button:focus-visible { border-color: #ff9b90; background: #ff9b90; color: var(--navy); }
.billing-cancel-button { display: block; margin: 12px auto 0; padding: 7px 10px; border: 0; border-radius: 0; background: transparent; color: var(--aqua-dark); cursor: pointer; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.billing-terms-note { margin: 14px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.5; text-align: center; }
.billing-terms-note a { color: var(--aqua-dark); font-weight: 800; }

.pricing-modal { width: min(1180px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 2px solid var(--navy); border-radius: 0; background: #fff; color: var(--ink); }
.pricing-modal[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.pricing-modal::backdrop { background: rgba(5, 18, 43, .82); }
.pricing-modal-open { overflow: hidden; }
.pricing-modal-header { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 20px; align-items: start; padding: 24px 28px; background: var(--navy); color: #fff; }
.pricing-modal-header h2 { margin: 0 0 7px; color: #fff; font-size: 1.65rem; }
.pricing-modal-header p { max-width: none; margin: 0; color: #cbd9e8; line-height: 1.5; }
.pricing-modal-body { min-height: 0; padding: 24px; overflow-y: auto; }
.pricing-modal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pricing-modal-grid .membership-card { padding: 20px; }
.pricing-modal-grid .price-card-title-row h3 { margin: 0; color: var(--navy); font-size: 1.45rem; }
.pricing-modal-grid .featured-price .price-card-title-row h3 { color: #fff; }
.pricing-modal-grid .membership-price-row { margin-top: 20px; }
.pricing-modal-grid .membership-price-row strong { font-size: clamp(1.8rem, 2.6vw, 2.8rem); }
.pricing-modal-grid .plan-summary { min-height: 4.65em; }
.pricing-modal-note { margin: 18px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.55; text-align: center; }

@media (max-width: 1040px) {
  .pricing-modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; padding-top: 18px; }
.pricing-grid-simple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.membership-pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.membership-card { min-width: 0; min-height: 0; padding: 26px; border-radius: 0; }
.membership-price-row { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 8px; margin: 25px 0 12px; }
.membership-price-row strong { min-width: 0; color: var(--navy); font-size: clamp(2.15rem, 2.65vw, 3.35rem); font-weight: 950; letter-spacing: -.065em; line-height: .95; white-space: nowrap; }
.membership-price-row span { color: var(--muted); font-size: .9rem; font-weight: 800; white-space: nowrap; }
.membership-card .membership-quota { margin: 0 0 8px; color: var(--ink); font-size: 1rem; font-weight: 750; }
.membership-card .membership-quota strong { color: var(--navy); font-size: 1.35rem; font-weight: 950; }
.membership-card > p.plan-summary { min-height: 4.65em; margin: 0 0 20px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.membership-economics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 22px; padding: 15px 0; border-block: 1px solid var(--line); }
.membership-economics div { min-width: 0; }
.membership-economics dt { margin-bottom: 5px; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.membership-economics dd { margin: 0; color: var(--ink); font-size: .95rem; font-weight: 900; line-height: 1.35; }
.membership-card .button { margin-top: auto; }
.membership-card > form { width: 100%; margin-top: auto; }
.membership-card > form .button { width: 100%; }
.membership-card[data-plan-card] { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.membership-card[data-plan-card]:hover { border-color: var(--aqua); box-shadow: 0 12px 28px rgba(9, 26, 56, .12); transform: translateY(-2px); }
.membership-card.featured-price .membership-price-row strong, .membership-card.featured-price .membership-quota strong, .membership-card.featured-price .membership-economics dd { color: #fff; }
.membership-card.featured-price .membership-price-row span, .membership-card.featured-price .membership-quota, .membership-card.featured-price .membership-economics dt { color: #b9ccdd; }
.membership-card.featured-price .membership-economics { border-color: #405778; }
.plan-recommended { padding: 5px 9px; background: var(--aqua); color: var(--navy); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.price-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.price-card h3 { margin-bottom: 16px; }
.price-card .plain-list { margin-top: auto; }
.price-card .button { margin-top: 4px; }
.price { color: var(--navy); font-size: 2.35rem; font-weight: 900; letter-spacing: -.045em; }
.price-card > p:not(.price) { color: var(--muted); }
.featured-price { position: relative; z-index: 1; padding: 26px; border: 3px solid var(--aqua); background: var(--navy); color: #fff; transform: none; }
.price-card-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.price-card-title-row h2 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 2.1vw, 1.8rem); }
.featured-price .price-card-title-row h2 { color: #fff; }
.featured-price-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 34px 0 14px; color: #fff; }
.featured-price-amount span { color: #a9bfd4; font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.featured-price-amount strong { color: #fff; font-size: clamp(4rem, 6.8vw, 5.5rem); line-height: .9; letter-spacing: -.075em; }
.featured-price > p.plan-summary { color: #c9d8e6; }
.featured-price-cta { min-height: 62px; border-color: var(--coral); background: var(--coral); color: var(--navy); font-size: 1.05rem; }
.featured-price-cta:hover, .featured-price-cta:focus-visible { border-color: #ff9b90; background: #ff9b90; color: var(--navy); }
.featured-price .plain-list { margin-top: 0; color: #e1eaf2; }
.featured-price .plain-list li::before { color: var(--aqua); }
.plan-shared-benefits { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; margin-top: 16px; padding: 22px 26px; border: 1px solid var(--line); background: #eef5f6; }
.plan-shared-benefits h3 { margin: 0 0 5px; font-size: 1.2rem; }
.plan-shared-benefits p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.plan-shared-benefits ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.plan-shared-benefits li { position: relative; padding-left: 22px; color: var(--ink); font-size: .9rem; font-weight: 750; }
.plan-shared-benefits li::before { position: absolute; left: 0; color: var(--aqua-dark); content: "\2713"; font-weight: 950; }
.pricing-breakdown-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr); gap: 24px; align-items: stretch; margin-top: 18px; }
.pricing-breakdown-grid .table-shell { margin: 0; }
.pricing-size-note { padding: 28px; border: 2px solid var(--navy); background: var(--navy); color: #fff; }
.pricing-size-note h3 { color: #fff; }
.pricing-size-note p { color: #c9d8e6; }
.pricing-size-note .plain-list { margin-bottom: 0; color: #e1eaf2; }
.pricing-size-note .plain-list li::before { color: var(--aqua); }
.pricing-total-row th, .pricing-total-row td { border-top: 2px solid var(--navy); background: #eef5f6; color: var(--navy); font-weight: 900; }
.case-study-measures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0; }
.case-study-measures > div { padding: 22px 24px; }
.case-study-measures strong, .case-study-measures span { display: block; }
.case-study-measures strong { color: var(--navy); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.05em; }
.case-study-measures span { margin-top: 8px; color: var(--muted); font-weight: 750; }

.hub-stack { display: grid; gap: 19px; }
.hub-group { display: grid; grid-template-columns: 270px 1fr; gap: 11px; }
.hub-heading p { color: var(--muted); }
.hub-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hub-cards .article-card { min-height: 250px; }
.hub-cards .article-card > img { aspect-ratio: 16 / 9; object-fit: cover; }

.article-hero { padding: 25px 0 19px; background: #fff; }
.article-hero > .container { width: min(var(--container), calc(100% - 40px)); }
.article-head-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: end; }
.article-head-grid > div, .article-head-grid > aside { min-width: 0; }
.guide-page .article-head-grid h1 { margin-bottom: .335em; }
.article-head-grid > div > p { width: 100%; max-width: none; }
.article-head-grid aside { padding: 22px; border-radius: 16px; background: var(--navy); color: #d3dfeb; }
.article-head-grid aside strong { color: var(--aqua); }
.article-head-grid aside p { margin: 8px 0 0; }
.article-hero .article-head-grid aside .direct-answer { margin: 0; color: #fff; }
.article-hero .article-head-grid aside .direct-answer strong { color: var(--aqua); }
.article-head-grid aside .article-hero-context { margin-top: 18px; }
.article-head-grid aside .article-hero-context > strong { font-size: clamp(1.08rem, 1.55vw, 1.25rem); line-height: 1.58; }
.article-head-grid aside .article-hero-context p { color: #d3dfeb; }
.byline { color: #9aa8b7; font-size: calc(.36rem + 2px); line-height: 1.4; font-weight: 500; }
.article-cover-shell { margin-top: 13px; }
.article-cover { width: 100%; border-radius: 20px; aspect-ratio: 1200 / 630; object-fit: cover; }
.guide-page .article-cover-shell .article-cover { border-radius: 0; aspect-ratio: 16 / 9; }
.guide-workflow-visual { padding-top: 24px; scroll-margin-top: 110px; }
.guide-workflow-heading { display: block; margin-bottom: 18px; }
.guide-workflow-heading h2, .guide-workflow-heading p { max-width: none; }
.guide-workflow-heading h2 { margin: 0 0 10px; }
.guide-workflow-heading p { margin: 0; }
.guide-workflow-heading p { color: var(--muted); }
.guide-workflow-visual figure { margin: 0; }
.guide-workflow-visual .article-cover { display: block; border: 1px solid var(--line); border-radius: 0; aspect-ratio: auto; object-fit: contain; background: #fff; }
.guide-workflow-visual figcaption { padding: 10px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.visual-workflow-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; }
.visual-workflow-actions article { padding: 18px; border: 1px solid var(--line); background: #fff; }
.visual-workflow-actions h3 { margin: 0 0 8px; font-size: 1.15rem; }
.visual-workflow-actions p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; justify-content: stretch; padding-top: 21px; padding-bottom: 27px; }
.article-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.82; }
.article-body h2, .article-body h3 { font-family: var(--display); }
.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body section:first-child h2 { margin-top: 0; }
.article-summary, .article-toc, .read-next {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--soft);
  font-family: var(--font);
}
.article-summary > :first-child, .article-toc > :first-child, .read-next > :first-child { margin-top: 0; }
.article-summary > :last-child, .article-toc > :last-child, .read-next > :last-child { margin-bottom: 0; }
.article-toc ul { columns: 2; gap: 2rem; margin-bottom: 0; }
.article-toc a, .read-next a { font-weight: 800; }
@media (max-width: 720px) { .article-toc ul { columns: 1; } }
.guide-section-set { display: grid; gap: 18px; }
.guide-section-set section { scroll-margin-top: 110px; }
.guide-section-set h2 { margin-top: 0; }
.guide-section-set a { color: var(--aqua-dark); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.guide-section-set a:hover { color: var(--navy); }

/* Editorial layouts follow the reader's task instead of a shared article shell. */
.capability-panel { display: grid; grid-template-columns: minmax(190px, .72fr) minmax(0, 1.5fr); gap: 24px; padding: 22px 0; }
.capability-copy p:last-child { margin-bottom: 0; }

.field-guide-entry { padding: 24px; border-left: 5px solid var(--aqua); background: #fff; }
.field-guide-finding { color: var(--navy); font-size: 1.12em; }
.field-guide-note { margin-top: 15px; padding: 16px 18px; border-radius: 12px; background: var(--soft); }
.field-guide-note p { margin: 0; }
.field-guide-summary dl, .scope-dimensions dl, .migration-records dl,
.cdx-field-reference dl, .release-checks dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; font-family: var(--font); }
.field-guide-summary dl > div, .scope-dimensions dl > div,
.migration-records dl > div, .cdx-field-reference dl > div,
.release-checks dl > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.field-guide-summary dt, .scope-dimensions dt, .migration-records dt,
.cdx-field-reference dt, .release-checks dt { color: var(--navy); font-weight: 900; }
.field-guide-summary dd, .scope-dimensions dd, .migration-records dd,
.cdx-field-reference dd, .release-checks dd { margin: 5px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.architecture-layer { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 1.45fr); gap: 28px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.architecture-layer:nth-child(even) .architecture-heading { order: 2; }
.architecture-layer:nth-child(even) .architecture-copy { order: 1; }
.architecture-copy p:last-child { margin-bottom: 0; }
.architecture-model { padding: 22px; border-radius: 16px; background: var(--navy); color: #d8e4ef; }
.architecture-model h2, .architecture-model h3 { color: #fff; }
.architecture-model > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.architecture-model article { padding: 16px; border: 1px solid #284464; border-radius: 12px; }
.architecture-model article p { margin: 7px 0 0; color: #c3d3e2; font-size: .9rem; line-height: 1.55; }

.tutorial-set { position: relative; gap: 0; }
.tutorial-set::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; width: 3px; background: var(--aqua); }
.tutorial-stage { position: relative; padding: 0 0 24px 42px; }
.tutorial-stage::before { content: ""; position: absolute; top: 8px; left: 1px; width: 21px; height: 21px; border: 4px solid var(--aqua); border-radius: 50%; background: #fff; }
.tutorial-stage:last-child { padding-bottom: 0; }

.scope-plan-block { padding: 22px 24px; border: 2px solid var(--navy); border-radius: 14px; }
.scope-plan-block + .scope-plan-block { border-color: var(--line); }
.scope-plan-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.scope-plan-copy p { margin: 0; }

.scorecard-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scorecard-criterion { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.scorecard-criterion:first-child { grid-column: 1 / -1; border: 3px solid var(--aqua); }
.scorecard-table, .diagnostic-matrix, .url-anatomy,
.comparison-table { grid-column: 1 / -1; }

.diagnostic-case { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.diagnostic-case h2 { padding: 20px 22px; background: var(--navy); color: #fff; }
.diagnostic-answer { padding: 0 22px; color: var(--navy); font-weight: 700; }
.diagnostic-detail { margin: 0 22px 22px; padding: 16px 18px; border-left: 4px solid var(--coral); background: var(--soft); }
.diagnostic-detail p { margin: 0; }

.migration-map-stage { display: grid; grid-template-columns: minmax(170px, .65fr) minmax(0, 1.35fr); gap: 24px; padding: 24px; border-radius: 16px; background: var(--soft); }
.migration-map-stage:nth-child(even) { background: #fff; border: 1px solid var(--line); }
.migration-map-stage p:last-child { margin-bottom: 0; }

.compliance-set { gap: 14px; }
.compliance-gate { padding: 22px 24px; border: 1px solid var(--line); border-left: 7px solid var(--coral); border-radius: 0 14px 14px 0; }
.compliance-gate:nth-child(2) { border-left-color: var(--aqua-dark); }
.compliance-rule { color: var(--navy); font-weight: 700; }
.permission-gates { padding: 22px 24px; border-radius: 16px; background: var(--soft); }
.permission-gates ul, .audit-release-list ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.permission-gates li, .audit-release-list li { padding: 14px 16px; border-radius: 10px; background: #fff; font-family: var(--font); font-size: .92rem; line-height: 1.55; }

.syntax-reference-row { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.4fr); gap: 26px; padding: 22px 0; }
.reference-definition { padding: 15px 17px; border-radius: 10px; background: var(--soft); color: var(--navy); font-family: var(--font); }

.data-reference-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.data-reference-record { padding: 22px; border-top: 6px solid var(--navy); background: var(--soft); }
.data-reference-record:first-child { grid-column: 1 / -1; border-color: var(--aqua-dark); }
.cdx-field-reference { grid-column: 1 / -1; }
.cdx-field-reference dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.comparison-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comparison-section { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.comparison-intro { grid-column: 1 / -1; border: 0; border-radius: 0; background: var(--soft); }

.tool-comparison-set { gap: 26px; }
.tool-choice-ledger { padding: 22px 0; }
.tool-choice-ledger > p { color: var(--muted); }
.tool-choice-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.tool-choice-row { padding: 18px 0; }
.tool-choice-row h3 { margin-bottom: 12px; }
.tool-choice-row dl { display: grid; gap: 11px; margin: 0; font-family: var(--font); }
.tool-choice-row dl > div { display: grid; grid-template-columns: minmax(145px, .75fr) minmax(0, 1.25fr); gap: 16px; }
.tool-choice-row dt { color: var(--navy); font-weight: 850; }
.tool-choice-row dd { margin: 0; color: var(--muted); line-height: 1.55; }
.tool-comparison-section { display: grid; grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr); gap: 28px; padding: 22px 0; }
.tool-choice-answer { color: var(--navy); font-weight: 700; }
.tool-comparison-decisions { margin: 20px 0 0; font-family: var(--font); }
.tool-comparison-decisions > div { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); gap: 22px; padding: 17px 0; }
.tool-comparison-decisions dt { color: var(--navy); font-weight: 900; }
.tool-comparison-decisions dd { margin: 0; color: var(--muted); line-height: 1.55; }
.tool-comparison-decisions ul { margin: 0; padding-left: 20px; }

.audit-group { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.audit-group ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.audit-group li { position: relative; padding: 15px 16px 15px 46px; border-radius: 10px; background: var(--soft); }
.audit-group li::before { content: "✓"; position: absolute; left: 17px; color: var(--aqua-dark); font-family: var(--font); font-weight: 900; }
.audit-release-list { padding: 22px; border-radius: 16px; background: var(--navy); color: #fff; }
.audit-release-list h2 { color: #fff; }
.audit-release-list li { color: var(--navy); }

.runbook-phase { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.4fr); gap: 26px; padding: 24px 0; }
.runbook-phase p:last-child { margin-bottom: 0; }
.release-checks { padding: 22px; border: 2px solid var(--aqua-dark); border-radius: 16px; }

.evidence-ledger { padding: 22px 0; }
.evidence-ledger dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; font-family: var(--font); }
.evidence-ledger dl > div { padding: 18px 20px; border-left: 4px solid var(--aqua); }
.evidence-ledger dt { color: var(--navy); font-weight: 900; }
.evidence-ledger dd { margin: 6px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.evidence-ledger-stage { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr); gap: 28px; padding: 24px 0; }
.evidence-ledger-stage p:last-child { margin-bottom: 0; }

.risk-review-bands { padding: 24px; border: 2px solid var(--navy); background: var(--soft); }
.risk-review-bands > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.risk-review-bands article { padding-top: 14px; border-top: 5px solid var(--aqua-dark); }
.risk-review-bands article:nth-child(3) { border-color: var(--coral); }
.risk-review-bands h3 { margin-bottom: 8px; }
.risk-review-bands p { margin: 0; color: var(--muted); font-family: var(--font); font-size: .9rem; line-height: 1.55; }
.risk-review-case { padding: 24px 0; }
.risk-review-rule { color: var(--navy); font-weight: 700; }
.risk-review-case aside { margin-top: 14px; padding: 16px 20px; border-left: 6px solid var(--coral); background: #fff; }
.risk-review-case aside p { margin: 0; }

.glossary-introduction { padding: 22px 24px; border-radius: 16px; background: var(--soft); }
.glossary-introduction section + section { padding-top: 18px; }
.article-body table { display: block; width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; border-collapse: separate; border-spacing: 0; font-family: var(--font); font-size: .95rem; }
.article-body th, .article-body td { min-width: 180px; padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body thead th { background: var(--soft); color: var(--navy); }
.article-body tbody th { color: var(--navy); }
.article-body tbody td { color: var(--muted); }
.article-body tbody tr:last-child th, .article-body tbody tr:last-child td { border-bottom: 0; }
.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; font-family: var(--font); }
.glossary-grid article { scroll-margin-top: 110px; padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.glossary-grid h3 { margin-bottom: 10px; }
.glossary-grid p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.glossary-grid a { color: var(--aqua-dark); font-size: .86rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.stack-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; font-family: var(--font); }
.stack-guide-grid article { padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.stack-guide-grid h3 { margin-bottom: 16px; }
.stack-guide-grid dl, .stack-guide-grid dd { margin: 0; }
.stack-guide-grid dl { display: grid; gap: 13px; }
.stack-guide-grid dt { color: var(--aqua-dark); font-size: .74rem; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }
.stack-guide-grid dd { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.article-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; font-family: var(--font); }
.article-checklist li { position: relative; padding: 15px 16px 15px 43px; border-radius: 12px; background: var(--soft); font-size: .92rem; line-height: 1.5; }
.article-checklist li::before { content: "✓"; position: absolute; left: 17px; top: 14px; color: var(--aqua-dark); font-weight: 900; }
.numbered-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-family: var(--font); }
.numbered-list li { padding: 16px 0; background: transparent; line-height: 1.55; }
.decision-support-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: 24px; font-family: var(--font); }
.decision-support-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.decision-support-grid h3 { margin-bottom: 12px; }
.decision-support-grid p, .decision-support-grid li { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.decision-support-grid p { margin-bottom: 0; }
.decision-support-grid ul { margin: 0; padding-left: 20px; }
.decision-support-grid li + li { margin-top: 8px; }
.decision-support-compliance .decision-support-grid article:last-child,
.decision-support-diagnostic .decision-support-grid article:last-child { border-color: var(--coral); }
.decision-support-scorecard .decision-support-grid article:first-child,
.decision-support-audit .decision-support-grid article:first-child { border-width: 2px; border-color: var(--aqua-dark); }
.decision-support-comparison .decision-support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.source-list { padding-left: 22px; }
.source-list a { color: var(--aqua-dark); font-family: var(--font); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.article-cta { margin-top: 14px; padding: 30px; border-radius: 18px; background: var(--navy); color: #d6e0ea; font-family: var(--font); }
.article-cta h2 { margin-top: 0; color: #fff; }
.article-aside { position: static; display: flex; flex-wrap: wrap; align-items: center; align-self: start; gap: 10px 18px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.article-aside strong { flex: 0 0 100%; }
.article-aside a { color: var(--muted); font-size: .9rem; }
.article-aside a:hover { color: var(--aqua-dark); }
.related-grid { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.hub-introduction { padding: 0 0 34px; }
.hub-introduction p { max-width: none; color: var(--muted); }
.article-context { padding: 4px 0 12px; }
.article-context p { max-width: none; }
p.section-followup { display: block; max-width: none; }
.table-shell, .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.content-table { width: 100%; min-width: 780px; border-collapse: collapse; font-family: var(--font); }
.content-table th, .content-table td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content-table thead th { background: var(--soft); color: var(--navy); font-size: .86rem; }
.content-table tbody th { color: var(--navy); }
.content-table tbody td { color: var(--muted); }
.content-table tbody tr:last-child th, .content-table tbody tr:last-child td { border-bottom: 0; }
.empty-state { grid-column: 1/-1; padding: 50px; border-radius: 18px; background: var(--cream); text-align: center; }
.reference { overflow-wrap: anywhere; color: #93a7bc !important; font-size: .82rem !important; }

.flash-stack { position: relative; z-index: 20; margin-top: 15px; }
.flash { padding: 13px 16px; border-radius: 10px; background: #e4faf7; font-weight: 700; }
.flash-error { background: #ffe9e6; color: #81231f; }

.site-footer { padding: 20px 0 7px; background: #061429; color: #9fb0c3; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 70px; }
.footer-brand img { width: 310px; margin-bottom: 18px; }
.footer-brand p { max-width: 520px; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.footer-grid strong { color: #fff; margin-bottom: 6px; }
.footer-grid a:hover { color: var(--aqua); }
.footer-note { margin-top: 15px; color: #71849a; font-size: .8rem; }

@media (max-width: 1080px) {
  .membership-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-shell { gap: 14px; }
  .brand { width: 230px; flex-basis: 230px; }
  .desktop-nav { gap: 12px; }
  .desktop-nav > a, .nav-dropdown > summary { font-size: .82rem; }
  .desktop-nav > .free-demo-nav-link { min-height: 40px; padding-inline: 12px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .magazine-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1040px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-button { display: flex; margin-left: auto; }
}

@media (max-width: 900px) {
  .hero-grid, .page-hero > .container, .article-hero > .container { width: min(var(--container), calc(100% - 40px)); }
  .hero-grid { min-height: 680px; }
  .hero-copy { width: 100%; }
  .hero::before { background-position: 62% center; }
  .hero::after { background: linear-gradient(90deg,rgba(9,26,56,.98) 0%,rgba(9,26,56,.91) 58%,rgba(9,26,56,.5) 100%); }
  .outcome-grid { grid-template-columns: 1fr; gap: 24px; }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-aside { position: static; }
  .tool-layout-archive-rebuilder .capture-workbench,
  .tool-layout-archive-rebuilder .tool-aside { grid-column: auto; grid-row: auto; }
  .tool-layout-archive-rebuilder .tool-aside { order: 2; }
  .clone-survey-header > div, .conversion-workspace-header > div { grid-template-columns: 1fr; gap: 10px; }
  .demo-output-receipt { grid-template-columns: 1fr; }
  .free-demo-submit-row { grid-template-columns: 1fr; }
  .free-demo-submit-row .button { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-simple { grid-template-columns: 1fr; }
  .membership-pricing-grid { grid-template-columns: 1fr; }
  .plan-shared-benefits { grid-template-columns: 1fr; gap: 14px; }
  .pricing-breakdown-grid { grid-template-columns: 1fr; }
  .featured-price { order: -1; transform: none; }
  .hub-group { grid-template-columns: 1fr; gap: 18px; }
  .article-head-grid { grid-template-columns: 1fr; gap: 30px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .capability-panel, .architecture-layer, .migration-map-stage,
  .syntax-reference-row, .runbook-phase { grid-template-columns: 1fr; gap: 12px; }
  .architecture-model > div, .cdx-field-reference dl { grid-template-columns: 1fr; }
  .architecture-layer:nth-child(even) .architecture-heading,
  .architecture-layer:nth-child(even) .architecture-copy { order: initial; }
  .home-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-study-measures { grid-template-columns: 1fr; }
  .case-study-measures > div { border-right: 0; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero-grid, .page-hero > .container, .article-hero > .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 20px 0; }
  h1 { font-size: clamp(2.1rem, 11vw, 48px); overflow-wrap: anywhere; }
  .nav-shell { min-height: 68px; }
  .brand { width: 212px; flex-basis: 212px; }
  .mobile-menu { top: 68px; }
  .menu-button { min-width: 44px; padding: 0 10px; }
  .menu-button > span:first-child { display: none; }
  .mobile-menu-inner { padding-top: 17px; padding-bottom: 18px; }
  .mobile-featured, .mobile-links, .mobile-menu-actions { grid-template-columns: 1fr; }
  .mobile-card { padding-block: 14px; }
  .mobile-utility { margin: 11px 0; }
  .breadcrumb { flex-wrap: nowrap; overflow-x: auto; padding-block: .6rem; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .breadcrumb::-webkit-scrollbar { display: none; }
  .hero-grid { min-height: 0; }
  .hero-copy { width: 100%; padding: 17px 0 19px; }
  .quick-form { padding: 17px; }
  .quick-form-heading { display: block; }
  .quick-form-heading a { display: inline-block; margin-top: 5px; }
  .input-action { grid-template-columns: 1fr; min-height: 0; }
  .input-action input { min-height: 64px; font-size: 1rem; }
  .input-action .button { width: 100%; }
  .validator-rules { grid-template-columns: 1fr; }
  .hero::before { background-position: 70% center; }
  .hero::after { background: rgba(9,26,56,.76); }
  .cta-grid { grid-template-columns: 1fr; gap: 22px; }
  .cta-primary-action { width: 100%; min-height: 64px; }
  .cta-copy { grid-template-columns: 48px minmax(0, 1fr); gap: 15px; }
  .cta-capture-icon { width: 48px; height: 48px; }
  .cta-capture-icon svg { width: 30px; height: 30px; }
  .process-grid, .magazine-grid, .hub-cards, .related-grid, .home-discovery-grid { grid-template-columns: 1fr; }
  .sitemap-page-directory > summary { padding: 17px 18px; }
  .sitemap-directory-groups { gap: 30px; padding: 5px 24px 30px; }
  .answer-grid, .glossary-grid { grid-template-columns: 1fr; }
  .free-demo-benefits, .free-demo-steps { grid-template-columns: 1fr; }
  .free-demo-form-card, .signup-modal { padding: 22px; }
  .billing-modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .billing-modal-header { grid-template-columns: 34px minmax(0, 1fr) 32px; gap: 8px; padding: 9px 10px; }
  .billing-modal-header h2 { font-size: 1rem; }
  .billing-modal-header p { display: none; }
  .billing-lock { width: 34px; height: 34px; }
  .billing-lock svg { width: 18px; height: 18px; }
  .billing-modal-close { width: 32px; height: 32px; font-size: 1.2rem; }
  .billing-modal-body { padding: 18px 16px; }
  .pricing-modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .pricing-modal-header { grid-template-columns: minmax(0, 1fr) 36px; gap: 12px; padding: 20px 16px; }
  .pricing-modal-header h2 { font-size: 1.35rem; }
  .pricing-modal-body { padding: 16px; }
  .pricing-modal-grid { grid-template-columns: 1fr; }
  .billing-embedded-checkout { min-height: 640px; padding-inline: 0; }
  .billing-embedded-loading, .billing-embedded-error { min-height: 520px; padding: 24px 18px; }
  .billing-order-summary > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; }
  .billing-order-summary dd { text-align: left; }
  .billing-order-summary .billing-order-total dd { font-size: 1.45rem; }
  .billing-assurances { grid-template-columns: 1fr; margin: 18px 0; }
  .billing-assurances li { padding: 12px 4px; border-right: 0; }
  .clone-includes-section { padding-bottom: 6px; }
  .clone-use-cases-section { padding-top: 6px; }
  .price-card, .featured-price { padding: 26px; }
  .plan-shared-benefits { padding: 20px; }
  .plan-shared-benefits ul { grid-template-columns: 1fr; }
  .featured-price-amount strong { font-size: clamp(3.6rem, 20vw, 4.8rem); }
  .page-hero { padding: 23px 0 17px; }
  .rebuild-form { padding: 18px; }
  .capture-workbench-header { margin: -18px -18px 20px; padding: 22px 18px; }
  .capture-workbench-header dl, .clone-survey-header dl,
  .conversion-workspace-header dl, .conversion-contract,
  .demo-output-receipt dl { grid-template-columns: 1fr; }
  .clone-survey-header { margin: 22px -18px; padding: 22px 18px; }
  .conversion-workspace-header { margin: 0 -18px 22px; padding: 22px 18px; }
  .clone-source-block { padding-top: 20px; }
  .clone-source-block > input { min-height: 68px; font-size: 1rem; }
  .demo-receipt-limit { grid-column: auto; }
  .demo-pipeline li { grid-template-columns: 1fr; gap: 7px; }
  .demo-pipeline li > strong { text-align: left; }
  .tool-layout { transform: translateY(-9px); }
  .option-fields fieldset { display: grid; }
  .stack-choice-grid { grid-template-columns: 1fr; }
  .dependent-fields { margin-left: 0; }
  .replacement-row, .date-range { grid-template-columns: 1fr; }
  .replacement-remove { width: 100%; }
  .article-hero { padding: 17px 0 13px; }
  .article-layout { padding-top: 14px; padding-bottom: 20px; }
  .article-cover-shell { margin-top: 7px; }
  .stack-guide-grid, .article-checklist, .decision-support-grid,
  .scope-plan-copy, .scorecard-set, .data-reference-set,
  .comparison-set, .decision-support-comparison .decision-support-grid { grid-template-columns: 1fr; }
  .scorecard-criterion:first-child, .data-reference-record:first-child,
  .comparison-intro { grid-column: auto; }
  .scorecard-table, .diagnostic-matrix, .url-anatomy,
  .comparison-table, .cdx-field-reference { grid-column: auto; }
  .field-guide-summary dl, .scope-dimensions dl, .migration-records dl,
  .release-checks dl { grid-template-columns: 1fr; }
  .tool-choice-rows, .tool-choice-row dl > div,
  .tool-comparison-section, .tool-comparison-decisions > div { grid-template-columns: 1fr; }
  .evidence-ledger dl, .evidence-ledger-stage,
  .risk-review-bands > div { grid-template-columns: 1fr; }
  .tutorial-stage { padding-left: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 10px; }
}

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

.narrow-container { max-width: 920px; }
.confirmation-card { padding: 40px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.confirmation-card h2 { margin-top: 0; }
.confirmation-card dl { margin: 0 0 30px; }
.confirmation-card dl > div { margin-bottom: 18px; }
.confirmation-card dt { margin-bottom: 4px; font-weight: 800; color: var(--ink); }
.confirmation-card dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.confirmation-card .capture-url { color: var(--teal-dark); }
.confirmation-card form + p { margin: 20px 0 0; text-align: center; }

@media (max-width: 640px) {
  .confirmation-card { padding: 26px 20px; }
}
