/* Staging design review: product imagery, direct language, and open layouts. */
:root { --editorial-rule: #cbd5df; }
[data-theme="dark"] { --editorial-rule: #354b63; }
body:not(.page-tool) { --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-family: var(--font-sans); line-height: 1.58; }
body:not(.page-tool) :is(h1, h2, h3, .legal-banner-title) { font-family: 'IBM Plex Sans Condensed', 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.035em; }
body:not(.page-tool) footer h2 { font-family: var(--font-sans); }

/* Content is visible without scroll-triggered presentation effects. */
.reveal, .reveal.revealed, .reveal-stagger > .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.eyebrow { text-transform: none; letter-spacing: .01em; font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.eyebrow.light { color: #cbd9e6; }
.status-badge--live, .draft-badge {
  display: inline-block; padding: 0; border: 0; border-radius: 0;
  background: none !important; color: inherit !important; font-size: .82rem;
  font-weight: 600; letter-spacing: 0; text-transform: none;
}
.status-badge--live::before, .draft-badge::before { display: none !important; animation: none !important; }
.btn-primary, .btn-secondary { border-radius: 4px; box-shadow: none; }
.btn-primary:hover, .btn-secondary:hover { transform: none; }

/* Homepage: the products themselves provide the imagery. */
.home-hero { background: #0b2440; }
.home-hero::before, .services-section::after { display: none; }
.home-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); min-height: 570px; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.home-hero-copy { max-width: 680px; }
.home-hero h1 { max-width: 690px; font-size: clamp(3.25rem, 5.2vw, 5.1rem); letter-spacing: -.045em; line-height: 1.03; margin-bottom: 1.5rem; }
.home-hero-copy > p { max-width: 560px; font-size: 1.08rem; line-height: 1.58; }
.home-hero-art { height: auto; align-items: end; gap: clamp(.7rem, 2vw, 1.5rem); padding-top: 2rem; overflow: visible; }
.home-hero-art figure { width: min(45%, 205px); margin: 0; }
.home-hero-art figure:nth-child(2) { transform: translateY(2rem); }
.home-hero-art a { display: block; color: #fff; text-decoration: none; }
.home-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 415 / 900; object-fit: cover; object-position: top; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; box-shadow: none; transition: transform .18s cubic-bezier(.23,1,.32,1), border-color .18s ease; }
.home-hero-art figcaption { margin-top: .8rem; color: #cbd9e6; font-size: .875rem; font-weight: 600; }
.home-hero-art a:hover img, .home-hero-art a:focus-visible img { transform: translateY(-4px); border-color: #f37021; }
.home-hero-art a:focus-visible { outline: 2px solid #f37021; outline-offset: 7px; }
.home-products { padding-top: 6rem; padding-bottom: 6rem; }
.home-products .section-heading { border-bottom: 1px solid var(--editorial-rule); padding-bottom: 2rem; }
.section-heading h2 { letter-spacing: -.055em; }
.product-selector { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--editorial-rule); margin-top: .4rem; }
.product-selector button { position: relative; min-height: 56px; padding: .7rem 1rem; border: 0; background: none; color: var(--text-muted); text-align: left; font: inherit; font-size: .94rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .18s ease; }
.product-selector button::after { content: ''; position: absolute; height: 3px; left: 0; right: 0; bottom: -1px; background: #f37021; transform: scaleX(0); transform-origin: left; transition: transform .18s cubic-bezier(.23,1,.32,1); }
.product-selector button:hover, .product-selector button:focus-visible, .product-selector button.is-current { color: var(--brand-navy); }
.product-selector button.is-current::after { transform: scaleX(1); }
.product-selector button:focus-visible { outline: 2px solid #f37021; outline-offset: -4px; }
.showcase-rail { gap: 1.7rem; padding-top: 1rem; padding-bottom: 1rem; }
.showcase-card.is-current { border-top-color: #f37021; }
.showcase-card, .showcase-generator, .showcase-estimator, .showcase-keyper {
  flex-basis: min(1000px, 92%); min-height: 450px; border-radius: 0;
  border-top: 1px solid var(--editorial-rule); border-bottom: 1px solid var(--editorial-rule);
  background: var(--bg-color); color: var(--text-main); box-shadow: none;
}
.showcase-copy { justify-content: center; padding: clamp(1.5rem, 4vw, 4rem); }
.showcase-index, .showcase-generator .showcase-index, .showcase-estimator .showcase-index { color: #a94510; font-size: .78rem; letter-spacing: 0; font-weight: 650; }
.showcase-card h3 { color: var(--brand-navy); }
.showcase-copy p, .showcase-generator .showcase-copy p, .showcase-estimator .showcase-copy p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.showcase-copy ul { color: var(--text-main); padding-left: 1.1rem; list-style: disc; font-size: .86rem; line-height: 1.5; }
.showcase-copy li::before { display: none; }
.showcase-copy li::marker { color: var(--text-muted); }
.showcase-copy .btn-primary { margin-top: .6rem; }
.showcase-visual, .showcase-keyper .showcase-visual, .showcase-tool, .showcase-estimator .showcase-tool { background: #174669; }
.showcase-visual::before { display: none; }
.showcase-phone img { width: auto; height: 405px; border: 0; border-radius: 7px 7px 0 0; box-shadow: none; }
.showcase-tool picture { display: block; width: min(100%, 560px); }
.showcase-tool img { display: block; width: 100%; height: auto; max-height: 350px; object-fit: cover; object-position: top left; border: 1px solid var(--editorial-rule); border-radius: 4px; }
.future-note { border-color: var(--editorial-rule); }
.future-note .eyebrow { display: none; }

/* Consulting content reads as a set of services, not a row of tiles. */
.services-section { background: #0b2440; padding: 6rem 0; }
.services-grid { display: block; margin: 3rem 0 2rem; }
.services-grid article { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr); align-items: baseline; column-gap: 3rem; min-height: 0; padding: 1.45rem 0; border: 0; border-top: 1px solid rgba(255,255,255,.27); border-radius: 0; background: none; }
.services-grid article:last-child { border-bottom: 1px solid rgba(255,255,255,.27); }
.services-grid h3 { margin: 0; font-size: 1.23rem; }
.services-grid h3 a { color: inherit; text-decoration: none; }
.services-grid h3 a:hover { color: #ffad7d; text-decoration: underline; text-underline-offset: .18em; }
.services-grid h3 a:focus-visible { outline: 2px solid #f37021; outline-offset: 5px; }
.services-grid p { font-size: .98rem; line-height: 1.6; }
.principle-section { padding-top: 6rem; padding-bottom: 6rem; border-top: 1px solid var(--editorial-rule); }

.consulting-hero, .consulting-final { background: #0b2440; }
.consulting-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .65fr); gap: 5rem; }
.consulting-hero h1 { letter-spacing: -.055em; }
.consulting-hero-panel { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.consulting-hero-panel > div { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; align-items: baseline; border-top: 1px solid rgba(255,255,255,.27); border-bottom: 0; padding: 1.2rem 0; }
.consulting-hero-panel > div:last-child { border-top: 1px solid rgba(255,255,255,.27); border-bottom: 1px solid rgba(255,255,255,.27); padding-bottom: 1.2rem; }
.consulting-hero-panel strong { font-size: 1.08rem; }
.consulting-hero-panel small { font-size: .88rem; line-height: 1.45; }
.consulting-grid { display: block; }
.consulting-grid article[id] { scroll-margin-top: 6rem; }
.consulting-grid article { display: grid; grid-template-columns: minmax(200px, .72fr) minmax(0, 1.2fr) minmax(190px, .7fr); gap: 1.5rem 2rem; align-items: start; border: 0; border-top: 1px solid var(--editorial-rule); border-radius: 0; background: none; padding: 2rem 0; }
.consulting-grid article:last-child { border-bottom: 1px solid var(--editorial-rule); }
.consulting-grid h3 { grid-column: 1; grid-row: 1 / span 2; margin: 0; font-size: 1.45rem; }
.consulting-grid p { grid-column: 2; margin: 0; font-size: 1rem; }
.consulting-grid ul { grid-column: 3; margin: 0; padding-left: 1.1rem; font-size: .86rem; }
.consulting-grid li::marker { color: var(--text-muted); }
.consulting-method { background: #0b2440; }
.consulting-method li { padding: 1.3rem 0; }
.consulting-method li:first-child { border-top: 1px solid rgba(255,255,255,.27); padding-top: 1.3rem; }
.consulting-method li:last-child { border-bottom: 1px solid rgba(255,255,255,.27); }
.consulting-tool-grid { gap: 3rem; }
.consulting-tool-grid article { border-radius: 0; border-top: 1px solid var(--editorial-rule); background: none; padding: 1.6rem 0 0; }
.consulting-tool-grid h3 { margin-top: 0; }

/* Product pages put screenshots and detailed capabilities first. */
.page-product .hero-section--app { background: #0b2440; min-height: 0; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.page-product .hero-section h1 { letter-spacing: -.06em; }
.page-product .hero-section .status-badge--live { margin-bottom: 1rem; color: #c8d8e6 !important; }
.page-product .product-hero-glow { display: none; }
.page-product .product-hero-visual { height: auto; align-self: stretch; }
.page-product .product-hero-preview { display: grid; justify-items: center; }
.page-product .product-preview-open { display: block; width: 240px; max-width: 100%; padding: 0; border: 0; border-radius: 8px; background: none; cursor: zoom-in; }
.page-product .product-preview-open:focus-visible { outline: 2px solid #f37021; outline-offset: 5px; }
.page-product .product-hero-visual img { width: min(240px, 75%); height: auto; max-height: 440px; object-fit: cover; object-position: top; transform: none; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; box-shadow: none; }
.page-product .product-preview-open img { display: block; width: 100%; max-height: 440px; }
.page-product .product-preview-open::after { content: 'View larger'; display: block; margin-top: .55rem; color: #c7d7e4; font: 500 .875rem 'IBM Plex Sans', sans-serif; text-align: center; }
.page-product .feature-band, .page-product .feature-band--soft { margin-top: 0; margin-bottom: 0; padding-top: 5rem; padding-bottom: 5rem; border: 0; border-bottom: 1px solid var(--editorial-rule); border-radius: 0; background: none; }
.page-product .feature-band .section-header::before { display: none; }
.page-product .feature-band .section-header { margin-bottom: 1.5rem; }
.page-product .feature-band .app-grid, .page-keyper .feature-band[aria-labelledby="whats-new-heading"] .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.page-product .feature-band .app-card { padding: 1.35rem 0 1.7rem; border: 0; border-top: 1px solid var(--editorial-rule); background: none; box-shadow: none; transform: none; }
.page-product .feature-band .app-card:hover { transform: none; box-shadow: none; border-color: var(--editorial-rule); }
.page-product .feature-band .app-card h3 { font-size: 1.15rem; }
.page-product .feature-band .app-card p { font-size: .98rem; line-height: 1.65; }
.page-product .screenshot-section { background: #e7eef4; padding-top: 5rem; padding-bottom: 5rem; }
[data-theme="dark"] .page-product .screenshot-section { background: #152a42; }
.screenshot-gallery a { border-radius: 6px; box-shadow: none; transition: transform .18s cubic-bezier(.23,1,.32,1); }
.screenshot-gallery a:hover { transform: translateY(-3px); outline: 2px solid #f37021; }
.page-product .maker-section { margin-top: 0; padding: 5rem 0; }
.page-product .product-facts { background: var(--bg-color); }
.product-facts-inner span { font-size: .82rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.product-facts-inner strong, .product-facts-inner > a { font-size: .94rem; }
.page-product .btn-group .btn-primary { font-size: .875rem; }
footer#site-footer .footer-columns h2 { color: #c9d9e6; font-size: .82rem; letter-spacing: .04em; text-transform: none; }
footer#site-footer .footer-columns a { font-size: .9rem; }
.page-legal .legal-banner { background: #0b2440; }
.page-legal .legal-content, .page-legal .legal-content + .legal-content {
  border: 0; border-top: 1px solid var(--editorial-rule); border-radius: 0;
  background: none; padding: 2.5rem 0 0; margin-bottom: 2.5rem;
}
.page-legal .legal-nav { border: 0; border-top: 1px solid var(--editorial-rule); border-radius: 0; background: none; padding: .75rem 0; }
.page-legal .legal-nav::before { color: var(--text-muted); letter-spacing: 0; }
.page-legal .legal-banner .eyebrow { display: none; }
.page-legal #app-policies > div[style] { padding: 1.5rem 0 !important; border: 0 !important; border-top: 1px solid var(--editorial-rule) !important; border-radius: 0 !important; background: none !important; }

[data-theme="dark"] .showcase-visual, [data-theme="dark"] .showcase-keyper .showcase-visual, [data-theme="dark"] .showcase-tool, [data-theme="dark"] .showcase-estimator .showcase-tool { background: #174669; }
[data-theme="dark"] .showcase-index, [data-theme="dark"] .showcase-generator .showcase-index, [data-theme="dark"] .showcase-estimator .showcase-index { color: #ffad7d; }

@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 4rem; }
  .home-hero-art { justify-content: flex-start; padding-top: 0; }
  .home-hero-art figure { width: min(31%, 170px); }
  .consulting-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .consulting-grid article { grid-template-columns: minmax(170px, .65fr) 1fr; }
  .consulting-grid ul { grid-column: 2; }
}
@media (max-width: 700px) {
  .page-guide table { display: block; width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; }
  .home-hero-inner { min-height: 0; padding-top: 3.5rem; padding-bottom: 3rem; }
  .home-hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .home-hero-art { height: auto; }
  .home-hero-art figure { width: min(43%, 175px); }
  .home-hero-art figure:nth-child(2) { transform: translateY(1rem); }
  .home-products { padding-top: 4rem; padding-bottom: 4rem; }
  .product-selector { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .product-selector::-webkit-scrollbar { display: none; }
  .product-selector button { flex: 0 0 auto; padding: .65rem .9rem; font-size: .875rem; }
  .showcase-card { flex-basis: 92%; min-height: 0; }
  .showcase-copy { padding: 1.5rem; }
  .showcase-visual { min-height: 230px; }
  .showcase-phone img { width: auto; height: 220px; border: 0; border-radius: 5px 5px 0 0; }
  .services-section { padding: 4.5rem 0; }
  .services-grid article { grid-template-columns: 1fr; gap: .6rem; }
  .principle-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .consulting-grid article { grid-template-columns: 1fr; gap: .7rem; padding: 1.6rem 0; }
  .consulting-grid h3, .consulting-grid p, .consulting-grid ul { grid-column: 1; grid-row: auto; }
  .consulting-grid ul { margin-top: .2rem; }
  .consulting-tool-grid { gap: 2rem; }
  .page-product .hero-section--app { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .page-product .product-hero-visual img { max-height: 330px; width: auto; }
  .page-product .product-preview-open { width: 220px; max-width: 70vw; }
  .page-product .product-preview-open img { width: 100%; max-height: 330px; }
  .page-product .feature-band { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .page-product .feature-band .app-grid, .page-keyper .feature-band[aria-labelledby="whats-new-heading"] .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .showcase-card { flex-basis: 94%; border-radius: 0; }
  .showcase-copy p { font-size: .93rem; }
  .showcase-phone img { height: 195px; width: auto; }
  .home-hero-art figcaption { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-art img, .product-selector button,
  .product-selector button::after, .screenshot-gallery a { transition: none; }
  .home-hero-art a:hover img, .home-hero-art a:focus-visible img,
  .screenshot-gallery a:hover { transform: none; }
}

/* Shared type is local, including on the two privacy-sensitive browser tools. */
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Condensed';
  src: url('/fonts/ibm-plex-sans-condensed-600-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Condensed';
  src: url('/fonts/ibm-plex-sans-condensed-700-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* The selector underline is the single rule above the product surface. */
.showcase-card, .showcase-card.is-current { border-top: 0; }
.showcase-rail { padding-top: 0; }

/* Documents use an outline and open sections, while tables and warnings stay distinct. */
.page-document .guide-hero,
.page-legal .legal-banner { background: #0b2440; }
.page-document .guide-hero::after { display: none; }
.page-document .guide-hero .version-badge {
  border: 0; border-radius: 0; background: none; padding: 0;
  color: #c7d7e4; font-size: .875rem; letter-spacing: 0;
}
.page-document .guide-container { padding-top: 3.5rem; }
.page-document .guide-wrapper :is(h2, h3, h4) {
  font-family: 'IBM Plex Sans Condensed', 'IBM Plex Sans', sans-serif;
  letter-spacing: -.025em;
}
.page-document .guide-wrapper h2 { border: 0; }
.page-document .guide-wrapper :is(.card, .feature-card) {
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  text-align: left;
}
.page-document .guide-wrapper .card { padding: 0; margin: 1.25rem 0 2rem; }
.page-document .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 2.5rem; }
.page-document .feature-card { padding: .4rem 0; }
.page-document .feature-card strong { font-size: 1.05rem; }
.page-guide .guide-container > nav.toc {
  border: 0; border-radius: 0; background: none; padding: 0 1rem 0 0;
}
.page-guide nav.toc h2 {
  color: var(--text-main); font-size: .9rem; font-weight: 700;
  letter-spacing: 0; text-transform: none; padding: 0 .6rem;
}
.page-guide nav.toc a:hover { background: none; color: var(--link-color); text-decoration: underline; }
.page-guide nav.toc a:focus-visible { outline: 2px solid #f37021; outline-offset: 2px; }
.page-guide nav.toc .toc-toggle {
  display: block; width: 100%; border: 0; background: none; color: var(--brand-navy);
  padding: .45rem 0; text-align: left; font: inherit; font-weight: 700; cursor: pointer;
}
.page-guide nav.toc .toc-toggle::after { content: '+'; float: right; font-size: 1.25rem; line-height: 1; }
.page-guide nav.toc .toc-toggle[aria-expanded='true']::after { content: '−'; }
.page-guide nav.toc .toc-toggle:focus-visible { outline: 2px solid #f37021; outline-offset: 3px; }
.page-guide nav.toc .toc-toggle[hidden] { display: none; }
.page-guide .guide-container > section,
.page-comparison .guide-container > section {
  min-width: 0; margin: 0; padding: 2.2rem 0 2.8rem;
  border: 0; border-top: 1px solid var(--editorial-rule);
  border-radius: 0; background: none;
}
.page-guide .guide-container > section:first-of-type,
.page-comparison .guide-container > section:first-of-type { border-top: 0; padding-top: 0; }
.page-guide .guide-container > section .card,
.page-comparison .guide-container > section .card { padding: 0; }
.page-document .guide-wrapper .callout {
  border: 0; border-radius: 4px; background: var(--surface-alt);
  padding: 1.2rem 1.4rem;
}
.page-document .guide-wrapper pre { border-radius: 4px; }
.page-document .guide-wrapper th { background: var(--surface-alt); }

/* Support and beta content reads as a list of useful instructions. */
.page-support .guide-container,
.page-beta .guide-container { display: block; }
.page-support .guide-container > .card,
.page-beta .guide-container > .card,
.page-support .guide-container > .card:first-child {
  display: grid; grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr);
  gap: .45rem 2rem; margin: 0; padding: 1.8rem 0;
  border: 0; border-top: 1px solid var(--editorial-rule);
  border-radius: 0; background: none; color: var(--text-main);
}
.page-support .guide-container > .card:first-child { border-color: var(--editorial-rule); }
.page-support .guide-container > .card h4,
.page-beta .guide-container > .card h4 {
  grid-column: 1; grid-row: 1 / span 8; margin: 0;
  color: var(--brand-navy); font-size: 1.25rem;
}
.page-support .guide-container > .card > :not(h4),
.page-beta .guide-container > .card > :not(h4) { grid-column: 2; }
.page-support .guide-container > .card:first-child :is(p, li) { color: var(--text-muted); }
.page-support .guide-container > .card:first-child h4 { color: var(--brand-navy); }
.page-support .guide-container > .card:first-child a { color: var(--link-color); }
.page-beta .guide-container > .callout { margin-top: 1.5rem; }

/* Legal copy keeps its exact text and anchors in a document layout. */
.page-legal .legal-nav { border: 0; border-radius: 0; background: none; padding: 0; }
.page-legal .legal-nav::before {
  color: var(--text-main); font-size: .9rem; font-weight: 700;
  letter-spacing: 0; padding: 0 .65rem .75rem;
}
.page-legal .legal-nav-link:hover { background: none; color: var(--link-color); text-decoration: underline; }
.page-legal .legal-content,
.page-legal .legal-content + .legal-content { padding: 2.2rem 0 0; }

/* Tools share the product-page introduction; only the controls retain panels. */
.page-tool {
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  font-family: var(--font-sans);
}
.page-tool :is(h1, h2, h3, h4) {
  font-family: 'IBM Plex Sans Condensed', 'IBM Plex Sans', sans-serif;
  letter-spacing: -.035em;
}
.page-tool .tool-hero {
  box-sizing: border-box; width: 100vw; max-width: none;
  margin: 0 0 3rem; margin-left: calc(50% - 50vw);
  padding: 4.5rem max(1.25rem, calc((100vw - 1144px) / 2));
  border: 0; border-radius: 0; background: #0b2440;
}
.page-tool .tool-hero::after { display: none; }
.page-tool .tool-hero .eyebrow { color: #cbd9e6; text-transform: none; letter-spacing: 0; }
.page-tool .tool-hero :is(.estimator-title, .pwgen-title) {
  font-size: clamp(3rem, 5vw, 5.1rem); letter-spacing: -.055em;
}
.page-tool .tool-hero :is(.estimator-badge, .pwgen-badge) {
  border: 0; border-radius: 0; background: none; padding: 0;
  color: #ffad7d; font-size: .8rem; letter-spacing: 0;
}
.page-tool .tool-hero-subtitle,
.page-generator .tool-hero .pwgen-intro { max-width: 650px; font-size: 1.08rem; }
.page-generator .fk-banner {
  border: 0; border-top: 1px solid var(--editorial-rule);
  border-bottom: 1px solid var(--editorial-rule);
  border-radius: 0; background: none; padding: 1.25rem 0;
}
.page-generator .fk-banner:hover { transform: none; border-color: var(--editorial-rule); }
.page-generator .fk-banner-cta { border-radius: 4px; }
.page-generator .pw-output-card,
.page-generator .pw-controls-card,
.page-generator .pw-info-card,
.page-estimator .step-card,
.page-estimator .panel-right {
  border: 0; border-top: 1px solid var(--editorial-rule);
  border-radius: 0; background: none; box-shadow: none;
}
.page-generator .pw-output-card,
.page-generator .pw-controls-card,
.page-generator .pw-info-card { padding-left: 0; padding-right: 0; }
.page-estimator .step-card,
.page-estimator .panel-right { padding-left: 0; padding-right: 0; }
.page-estimator :is(.timeline-label, .timeline-row-label, .timeline-legend) { font-family: 'IBM Plex Sans', sans-serif; }
.page-estimator .timeline-val { font-family: 'JetBrains Mono', monospace; }

/* Error routes use the same solid brand surface and direct response language. */
.page-error main { background: #0b2440; }
.page-error .error-illustration { width: 105px; height: 105px; animation: none; }
.page-error .error-code { opacity: 1; font-size: 1rem; letter-spacing: .04em; margin-bottom: 1rem; }
.page-error .error-headline { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.page-error .error-btn { border-radius: 4px; }

@media (max-width: 760px) {
  .page-document .feature-grid { grid-template-columns: 1fr; }
  .page-support .guide-container > .card,
  .page-beta .guide-container > .card,
  .page-support .guide-container > .card:first-child { display: block; }
  .page-support .guide-container > .card h4,
  .page-beta .guide-container > .card h4 { margin-bottom: .75rem; }
  .page-tool .tool-hero { padding: 3.5rem 1.25rem; margin-top: 0; }
}
