:root {
  --yellow: #ffc400;
  --yellow-2: #ffda47;
  --yellow-dark: #d99e00;
  --blue: #0b3d91;
  --blue-2: #1257c9;
  --blue-dark: #061b46;
  --ink: #07152f;
  --text: #1f2d45;
  --muted: #68758a;
  --line: #dfe6f1;
  --soft-line: rgba(255, 255, 255, 0.14);
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --green: #0f8f57;
  --red: #b32324;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 18px 50px rgba(7, 21, 47, 0.10);
  --shadow-blue: 0 30px 90px rgba(11, 61, 145, 0.22);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 999; background: var(--yellow); color: var(--ink); padding: .75rem 1rem; border-radius: 999px; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(223, 230, 241, .9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-weight: 900; color: var(--ink); letter-spacing: -.03em; font-size: 1.25rem; }
.brand-logo { width: 164px; height: auto; object-fit: contain; flex: 0 0 auto; display: block; }
.brand-text { line-height: 1; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 5px; border-radius: 10px; background: linear-gradient(145deg, var(--blue), var(--blue-dark)); box-shadow: 0 10px 24px rgba(11,61,145,.22); }
.brand-mark span { border-radius: 3px; background: var(--yellow); }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav a:not(.button) { font-size: .93rem; font-weight: 750; color: #45546a; }
.site-nav a:not(.button):hover { color: var(--blue); }
.nav-login { padding-left: .8rem; border-left: 1px solid var(--line); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: white; place-items: center; gap: 4px; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: var(--blue); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.25rem; border: 1px solid transparent; border-radius: 999px; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 1rem; }
.button-primary { background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); color: #1c1700; box-shadow: 0 18px 38px rgba(255, 196, 0, .28); }
.button-secondary { background: white; color: var(--blue); border-color: var(--line); box-shadow: 0 12px 26px rgba(7,21,47,.05); }
.button-dark-outline { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.button-light { background: white; color: var(--blue-dark); }
.button-full { width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(255,196,0,.65); outline-offset: 3px; }

.section-dark { color: white; background: radial-gradient(circle at 8% 20%, rgba(255,196,0,.22), transparent 22rem), radial-gradient(circle at 90% 18%, rgba(63,137,255,.32), transparent 30rem), linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 48%, #0b58cc 100%); }
.hero-section { position: relative; isolation: isolate; padding: 6.2rem 0 5.5rem; overflow: hidden; }
.hero-section::before, .hero-section::after { content: ""; position: absolute; border-radius: 999px; z-index: -1; }
.hero-section::before { width: 46rem; height: 46rem; right: -20rem; top: 3rem; background: rgba(255,255,255,.08); }
.hero-section::after { width: 70rem; height: 18rem; left: -14rem; bottom: -8rem; background: linear-gradient(90deg, transparent, var(--yellow), transparent); transform: rotate(-12deg); opacity: .86; }
.hero-orb { position: absolute; border-radius: 999px; z-index: -1; opacity: .55; filter: blur(2px); }
.hero-orb-one { width: 12rem; height: 12rem; background: var(--yellow); right: 18%; top: 11%; }
.hero-orb-two { width: 9rem; height: 9rem; background: #58a1ff; left: 45%; bottom: 9%; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.eyebrow { color: var(--blue); text-transform: uppercase; font-weight: 900; letter-spacing: .16em; font-size: .76rem; margin: 0 0 .85rem; }
.eyebrow-yellow { color: var(--yellow); }
.hero-copy h1 { margin: 0; font-size: clamp(3.2rem, 6vw, 6.25rem); line-height: .88; letter-spacing: -.075em; max-width: 9.7ch; }
.hero-lead { color: rgba(255,255,255,.82); margin: 1.45rem 0 0; font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-showcase { position: relative; min-height: 500px; }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: white; border: 1px solid rgba(255,255,255,.32); box-shadow: var(--shadow-blue); }
.image-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 28%, rgba(11,61,145,.10)); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame { width: min(720px, 100%); transform: rotate(-2.5deg); }
.metric-card { position: absolute; z-index: 3; width: 160px; padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid rgba(223,230,241,.9); box-shadow: 0 20px 50px rgba(7,21,47,.18); }
.metric-card span { display: block; color: var(--muted); font-size: .78rem; font-weight: 800; }
.metric-card strong { display: block; margin-top: .25rem; color: var(--blue); font-size: 1.45rem; letter-spacing: -.04em; }
.metric-card-a { left: -1rem; bottom: 5.5rem; }
.metric-card-b { right: -1rem; top: 4rem; }

.trust-strip { margin-top: -2.4rem; position: relative; z-index: 5; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust-grid article { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 20px; padding: 1.15rem; box-shadow: var(--shadow-soft); }
.mini-icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; color: var(--blue); background: rgba(11,61,145,.08); font-weight: 900; font-size: .75rem; }
.trust-grid strong { display: block; margin-top: .75rem; color: var(--ink); }
.trust-grid p { margin: .35rem 0 0; color: var(--muted); font-size: .93rem; }

.content-section { padding: 6rem 0; }
.section-heading { max-width: 780px; margin-bottom: 2.3rem; }
.center-heading { text-align: center; margin-inline: auto; }
.section-heading h2, .section-copy h2, .feature-copy-card h2, .report-copy h2, .contact-copy h2 { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 4vw, 4.05rem); line-height: .98; letter-spacing: -.06em; }
.section-heading p, .section-copy p, .feature-copy-card p, .report-copy p, .contact-copy p { color: var(--muted); font-size: 1.04rem; }
.split-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 3rem; align-items: center; }
.insight-panel { border-radius: var(--radius-lg); padding: .7rem; background: linear-gradient(145deg, white, #f8fbff); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.insight-row { padding: 1.35rem; border-radius: 22px; background: white; border: 1px solid #edf2f8; }
.insight-row + .insight-row { margin-top: .7rem; }
.insight-row span { color: var(--blue); font-weight: 900; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.insight-row strong { display: block; margin-top: .35rem; color: var(--muted); font-size: 1.15rem; font-weight: 500; }

.visual-section { padding-top: 2rem; }
.visual-grid, .report-grid, .workflow-grid, .contact-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 3rem; align-items: center; }
.feature-image-large { min-height: 0; height: auto; }
.feature-image-large img { height: auto; object-fit: contain; }
.feature-copy-card { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); }
.check-list { margin: 1.4rem 0 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 2rem; color: #405066; font-weight: 650; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .18rem; width: 1.15rem; height: 1.15rem; border-radius: 999px; background: var(--yellow); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px rgba(255,196,0,.5); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 240px; padding: 1.5rem; border-radius: 24px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(7,21,47,.13); }
.feature-number { color: var(--blue); background: rgba(11,61,145,.08); border-radius: 999px; padding: .38rem .6rem; font-size: .78rem; font-weight: 900; }
.feature-card h3 { margin: 1.2rem 0 .65rem; color: var(--ink); font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--muted); }

.app-showcase-section { padding-top: 2rem; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.showcase-grid .image-frame { min-height: 340px; }
.workflow-section { background: linear-gradient(180deg, transparent, #edf4ff); }
.steps-list { display: grid; gap: 1rem; }
.steps-list article { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; background: white; border: 1px solid var(--line); border-radius: 22px; padding: 1.25rem; box-shadow: 0 16px 36px rgba(7,21,47,.06); }
.steps-list span { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 999px; background: var(--blue); color: white; font-weight: 900; }
.steps-list h3 { margin: 0 0 .25rem; color: var(--ink); }
.steps-list p { margin: 0; color: var(--muted); }

.report-section { color: white; background: radial-gradient(circle at 20% 20%, rgba(255,196,0,.22), transparent 22rem), linear-gradient(135deg, var(--blue-dark), var(--blue)); overflow: hidden; }
.report-section .report-copy h2, .report-section .report-copy p { color: white; }
.report-section .report-copy p { color: rgba(255,255,255,.78); }
.report-frame { transform: rotate(2deg); }

.pricing-section { background: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow-soft); }
.pricing-card-featured { border-color: rgba(255,196,0,.6); transform: translateY(-10px); }
.plan-badge { position: absolute; top: 1rem; right: 1rem; background: rgba(255,196,0,.18); color: var(--blue-dark); border-radius: 999px; padding: .38rem .65rem; font-size: .75rem; font-weight: 900; }
.plan-name { color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-weight: 950; font-size: .78rem; margin: 0; }
.pricing-top h3 { margin: .25rem 0 .6rem; color: var(--ink); font-size: 2.7rem; letter-spacing: -.06em; }
.pricing-top h3 span { color: var(--muted); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.pricing-top p { color: var(--muted); min-height: 3.2rem; }
.pricing-card ul { margin: 1rem 0 1.6rem; padding: 0; list-style: none; display: grid; gap: .72rem; }
.pricing-card li { color: #43536a; position: relative; padding-left: 1.55rem; }
.pricing-card li::before { content: ""; position: absolute; left: 0; top: .45rem; width: .58rem; height: .58rem; border-radius: 999px; background: var(--yellow); }
.pricing-card .button { margin-top: auto; }
.pricing-note { margin: 1rem auto 0; text-align: center; max-width: 760px; color: var(--muted); font-size: .95rem; }

.comparison-table-wrap { overflow-x: auto; border-radius: 26px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 1rem 1.15rem; border-bottom: 1px solid #edf2f8; text-align: left; }
.comparison-table thead th { color: var(--muted); background: #f4f8ff; font-weight: 500; }
.comparison-table tbody th { color: var(--muted); font-weight: 500; }
.comparison-table tbody td { color: var(--muted); font-weight: 500; }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-bottom: 0; }

.faq-layout { display: grid; grid-template-columns: .72fr 1fr; gap: 3rem; align-items: start; }
.faq-list { display: grid; gap: .9rem; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 30px rgba(7,21,47,.05); overflow: hidden; }
.faq-item button { width: 100%; border: 0; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem; text-align: left; font-weight: 500; cursor: pointer; }
.faq-icon { width: 1.8rem; height: 1.8rem; border-radius: 999px; display: grid; place-items: center; background: rgba(11,61,145,.08); color: var(--blue); }
.faq-answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq-answer p { margin: 0; }

.contact-section { background: radial-gradient(circle at 0 0, rgba(255,196,0,.18), transparent 24rem), linear-gradient(135deg, var(--blue-dark), var(--blue)); color: white; }
.contact-copy h2, .contact-copy p { color: white; }
.contact-copy p { color: rgba(255,255,255,.8); }
.contact-copy a { color: var(--yellow); font-weight: 900; }
.contact-form { background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.35); border-radius: 28px; padding: 1.5rem; box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.form-row { display: grid; gap: .45rem; margin-bottom: 1rem; }
.form-row label { color: var(--ink); font-weight: 850; }
.form-row input, .form-row select, .form-row textarea { width: 100%; border: 1px solid var(--line); border-radius: 15px; background: white; color: var(--ink); padding: .95rem 1rem; }
.form-row textarea { resize: vertical; min-height: 9rem; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 0; border-color: rgba(11,61,145,.44); box-shadow: 0 0 0 4px rgba(11,61,145,.09); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.site-footer { background: var(--blue-dark); color: white; padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr 1.2fr; gap: 2rem; align-items: start; }
.footer-brand { margin-bottom: .85rem; }
.site-footer p { color: rgba(255,255,255,.72); margin: .5rem 0 0; }
.site-footer nav { display: grid; gap: .55rem; }
.site-footer nav a { color: rgba(255,255,255,.82); font-weight: 700; }
.site-footer nav a:hover { color: var(--yellow); }
.footer-disclaimer strong { color: var(--yellow); }

/* Legal pages */
.legal-hero {
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.legal-hero__inner {
  max-width: 860px;
}

.legal-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.legal-updated {
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 700;
}

.legal-section {
  padding-top: 1rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.legal-nav-card {
  position: sticky;
  top: 110px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.legal-nav-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: .85rem;
}

.legal-nav-card nav {
  display: grid;
  gap: .65rem;
}

.legal-nav-card a {
  color: var(--muted);
  font-weight: 600;
}

.legal-nav-card a:hover {
  color: var(--blue);
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.legal-card--warning {
  border-color: rgba(255, 196, 0, .75);
  background: linear-gradient(180deg, #fffdf3, #ffffff);
}

.legal-card h2,
.legal-card h3 {
  margin: 0 0 .85rem;
  color: var(--ink);
  letter-spacing: -.03em;
}

.legal-card h2 {
  font-size: 1.45rem;
}

.legal-card h3 {
  margin-top: 1.15rem;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li,
.legal-card td,
.legal-card th {
  color: var(--text);
  font-size: .98rem;
}

.legal-card p {
  margin: 0 0 .9rem;
}

.legal-card ul {
  margin: 0 0 1rem 1.15rem;
  padding: 0;
}

.legal-card li + li {
  margin-top: .35rem;
}

.legal-card a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.legal-card .comparison-table {
  min-width: 0;
}

/* Help centre */
.help-hero {
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.help-hero__inner {
  max-width: 860px;
}

.help-hero__inner h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.help-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.help-search-card,
.help-panel,
.article-card,
.category-card,
.toc-card,
.related-card,
.note-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.help-search-card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
}

.help-search-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: .35rem;
}

.help-search-card p {
  margin: 0;
  color: var(--muted);
}

.help-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.2rem;
  align-items: start;
}

.help-panel {
  padding: 1.5rem;
}

.help-panel h2,
.article-card h2,
.category-card h2,
.category-card h3,
.related-card h2,
.toc-card h2 {
  margin: 0 0 .9rem;
  color: var(--ink);
  letter-spacing: -.03em;
}

.help-panel p,
.article-card p,
.category-card p,
.related-card p,
.toc-card p,
.note-card p,
.help-panel li,
.article-card li,
.category-card li,
.related-card li,
.toc-card li,
.note-card li {
  color: var(--text);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  padding: 1.35rem;
}

.category-card ul,
.help-panel ul,
.article-card ul,
.toc-card ul,
.related-card ul,
.note-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.category-card li + li,
.help-panel li + li,
.article-card li + li,
.toc-card li + li,
.related-card li + li,
.note-card li + li {
  margin-top: .35rem;
}

.category-card a,
.help-panel a,
.article-card a,
.toc-card a,
.related-card a,
.breadcrumb a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.help-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.help-sidebar,
.article-layout aside {
  display: grid;
  gap: 1rem;
}

.toc-card,
.related-card,
.article-card,
.note-card {
  padding: 1.35rem;
}

.toc-card {
  position: sticky;
  top: 110px;
}

.toc-card nav,
.toc-card ul {
  display: grid;
  gap: .65rem;
  padding-left: 0;
  list-style: none;
}

.toc-card a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.toc-card a:hover {
  color: var(--blue);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: .92rem;
}

.breadcrumb span[aria-hidden="true"] {
  color: #9aa6b8;
}

.article-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.article-card h1 {
  margin: 0 0 .85rem;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.article-card h2 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.article-card h3 {
  margin: 1rem 0 .65rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.article-card p {
  margin: 0 0 .95rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1rem;
}

.article-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 .8rem;
  border-radius: 999px;
  background: rgba(11, 61, 145, .08);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 700;
}

.article-intro {
  color: var(--muted);
  font-size: 1.04rem;
}

.note-card {
  border-color: rgba(255, 196, 0, .7);
  background: linear-gradient(180deg, #fffdf3, #ffffff);
}

.note-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: .5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.article-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1rem;
}

.article-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(7,21,47,.05);
}

@media (max-width: 1100px) {
  .hero-grid, .visual-grid, .report-grid, .workflow-grid, .contact-grid, .split-grid, .faq-layout { grid-template-columns: 1fr; }
  .hero-showcase { min-height: auto; }
  .metric-card { display: none; }
  .trust-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav-card { position: static; }
  .help-grid,
  .help-layout,
  .article-layout { grid-template-columns: 1fr; }
  .toc-card { position: static; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 68px; flex-wrap: wrap; }
  .nav-toggle { display: grid; }
  .site-nav { display: none; width: 100%; padding: 0 0 1rem; flex-direction: column; align-items: stretch; gap: .8rem; }
  .site-nav.is-open { display: flex; }
  .nav-login { padding-left: 0; border-left: 0; }
  .site-nav .button { width: 100%; }
  .hero-section { padding-top: 4rem; }
  .hero-copy h1 { max-width: none; }
  .hero-frame, .report-frame { transform: none; }
  .trust-grid, .feature-grid, .showcase-grid { grid-template-columns: 1fr; }
  .feature-image-large, .showcase-grid .image-frame { min-height: 260px; }
  .feature-image-large { height: auto; }
  .category-grid,
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .hero-copy h1 { font-size: 3.2rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .content-section { padding: 4rem 0; }
  .section-heading h2, .section-copy h2, .feature-copy-card h2, .report-copy h2, .contact-copy h2 { font-size: 2.35rem; }
  .feature-copy-card, .contact-form, .pricing-card { padding: 1.1rem; border-radius: 22px; }
  .comparison-table { min-width: 650px; }
}
