/* FMS product site (fms.dvsoft.in). Built on tokens.css (loaded first):
   Noto Sans, one interactive colour (field green), Microsoft-style page
   anatomy — slim header with mega menus, breadcrumb, sticky section nav,
   alternating feature rows, card grids, accordions, a CTA band and a large
   light footer. See docs/premium-design-brief.md §4–§5.
   No Bootstrap, no inline styles (the CSP forbids them). pricing.css loads
   after this file and owns the pricing page's own look. */

/* The old product variables, kept for the order views and
   mapped onto the tokens. New rules use the tokens directly. */
:root {
  --paper: var(--surface-alt);
  --paper-2: var(--canvas);
  --deep: var(--brand-900);
  --deep-2: var(--brand-700);
  --deep-3: var(--brand-600);
  --mint: var(--brand-100);
  --rule: var(--line);
  --rule-strong: var(--line-strong);
  --accent: var(--brand-600);
  --accent-2: var(--brand-800);
  --accent-soft: var(--brand-50);
  --good: var(--ok);
  --good-soft: var(--ok-bg);
  --display: var(--font-sans);
  --mono: var(--font-mono);
  --radius: var(--r-md);
  --radius-lg: var(--r-lg);
  --shadow: var(--sh-4);
  --wrap: var(--container);
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.product { margin: 0; background: var(--surface); color: var(--ink); font-size: var(--fs-body); line-height: 1.6; }
main { display: block; overflow-x: clip; }
img, svg { max-width: 100%; }
svg { flex: none; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1, .h1 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -.018em; font-weight: 700; }
.display { font-size: var(--fs-display); line-height: 1.08; letter-spacing: -.022em; font-weight: 700; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -.014em; font-weight: 600; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.28; letter-spacing: -.01em; font-weight: 600; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -.005em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand-600); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
.mono { font-family: var(--font-mono); font-size: .92em; }
.muted { color: var(--ink-2); }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 720px; margin-inline: auto; }

main [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.has-section-nav main [id] { scroll-margin-top: calc(var(--section-nav-h) + 16px); }

/* The skip link (tokens.css) in the brand colour on the website. */
.skip-link:focus { background: var(--brand-600); color: #fff; }

/* The trap field on every public form: out of sight for people, there for bots. */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.eyebrow, .kicker { display: block; margin: 0 0 12px; font-size: var(--fs-eyebrow); font-weight: 600; line-height: 1.4; color: var(--brand-600); letter-spacing: 0; text-transform: none; }
.eyebrow-icon { display: flex; align-items: center; gap: 8px; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.actions-center { justify-content: center; }

/* ------------------------------------------------------------------
   Buttons and links
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-md);
  font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2);
}
.btn-sm { min-height: 32px; padding: 0 14px; font-size: .875rem; }
.btn-lg { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary, .btn-accent { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-primary:hover, .btn-accent:hover, .btn-primary:focus-visible, .btn-accent:focus-visible { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.btn-primary:active, .btn-accent:active { background: var(--brand-800); }
.btn-secondary, .btn-outline { background: #fff; border-color: var(--line-input); color: var(--ink); }
.btn-secondary:hover, .btn-outline:hover { background: var(--surface-alt); border-color: var(--ink-3); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--brand-600); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-on-dark, .btn-light { background: #fff; border-color: #fff; color: var(--brand-900); }
.btn-on-dark:hover, .btn-light:hover { background: var(--brand-50); border-color: var(--brand-50); color: var(--brand-900); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--brand-600); text-decoration: none; }
.link-more:hover { color: var(--brand-700); text-decoration: underline; }
.link-more svg { transition: transform var(--dur-2) var(--ease-out); }
.link-more:hover svg { transform: translateX(2px); }
.link-on-dark, .link-on-dark:hover { color: #fff; }

/* ------------------------------------------------------------------
   Header and mega menus
   ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
body.has-section-nav .site-header { position: relative; }
.header-inner { display: flex; align-items: center; gap: var(--s-6); min-height: var(--header-h); }
.header-inner > .lockup { flex: none; }

.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle-close, .is-open .nav-toggle-open { display: none; }
.is-open .nav-toggle-close { display: block; }
.nav-toggle span { line-height: 0; }

.site-nav { display: flex; align-items: center; flex: 1; gap: var(--s-4); min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-top {
  display: inline-flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 12px;
  border-bottom: 2px solid transparent; color: var(--ink); font-size: .9375rem; font-weight: 500;
  text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap;
}
.nav-top::-webkit-details-marker { display: none; }
.nav-top:hover, .nav-top.is-active { color: var(--brand-600); }
.nav-top.is-active { border-bottom-color: var(--brand-600); }
.nav-top:focus-visible { outline-offset: -4px; }
.nav-chev { transition: transform var(--dur-2); }
.nav-menu[open] > .nav-top { color: var(--brand-600); border-bottom-color: var(--brand-600); }
.nav-menu[open] .nav-chev { transform: rotate(180deg); }

/* The mega menu: 70% of the screen's width at every desktop size, centred
   under the header (the owner's rule). Below 1084px it becomes the drawer. */
.nav-panel {
  position: absolute; left: 50%; top: 100%; z-index: 60;
  width: 70%; max-width: 100%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: var(--sh-16);
  animation: panel-in var(--dur-2) var(--ease-out);
}
.nav-panel .wrap { max-width: none; padding-inline: var(--s-7); }
@keyframes panel-in { from { opacity: 0; margin-top: -4px; } to { opacity: 1; margin-top: 0; } }
.nav-panel-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7); padding-block: var(--s-7); }
.nav-panel-inner.has-feature { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.05fr); }
.nav-col-title { margin: 0 0 8px; padding-left: 12px; color: var(--ink-3); font-size: .8125rem; font-weight: 600; }
.nav-col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-link { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; }
.nav-link:hover { background: var(--surface-alt); color: var(--ink); }
.nav-link:hover strong { color: var(--brand-600); }
.nav-link-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--r-lg); background: var(--brand-50); color: var(--brand-600); }
.nav-link-text strong { display: block; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.nav-link-text span { display: block; color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
.nav-feature { align-self: start; padding: var(--s-6); border-radius: var(--r-xl); background: var(--brand-900) radial-gradient(rgba(143, 199, 185, .16) 1px, transparent 1.4px) 0 0 / 16px 16px; color: var(--on-dark-2); }
.nav-feature-title { margin: 0 0 8px; color: #fff; font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.nav-feature p { font-size: .875rem; }

.nav-actions { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
.nav-signin { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-signin:hover { color: var(--brand-600); }
.nav-demo { color: var(--brand-600); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-demo:hover { text-decoration: underline; }
.nav-buy { white-space: nowrap; }

@media (max-width: 1279.98px) {
  .nav-top { padding: 0 9px; }
  .nav-actions { gap: var(--s-4); }
}

/* Below 1084px: a drawer under the header (product.js), the menus as
   stacked accordions. Without JavaScript the nav simply shows, in flow. */
@media (max-width: 1083.98px) {
  .header-inner { flex-wrap: wrap; gap: 0 12px; }
  .header-inner > .lockup { min-height: var(--header-h); }
  .js .nav-toggle { display: inline-grid; }
  html:not(.js) .site-header { position: static; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 16px; }
  .js .site-nav { display: none; }
  .js .site-header.is-open { position: fixed; top: 0; left: 0; right: 0; }
  .js .is-open .site-nav {
    display: flex; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 60;
    overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 32px; background: #fff; border-top: 1px solid var(--line);
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-top { width: 100%; height: auto; min-height: 52px; justify-content: space-between; padding: 0 4px; border-bottom: 0; font-size: 1.0625rem; font-weight: 600; }
  .nav-top.is-active { border-bottom: 0; }
  .nav-menu[open] > .nav-top { border-bottom: 0; }
  .nav-panel { position: static; width: auto; max-width: none; transform: none; border: 0; border-radius: 0; box-shadow: none; animation: none; }
  .nav-panel-inner, .nav-panel-inner.has-feature { grid-template-columns: 1fr; gap: 4px; padding: 0 0 12px; }
  .nav-panel .wrap { padding-inline: 0; }
  .nav-col-title { padding-left: 4px; margin-top: 4px; }
  .nav-col-title.is-empty { display: none; }
  .nav-link { padding: 8px 4px; }
  .nav-feature { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin: 24px 0 0; }
  .nav-buy { order: 1; min-height: 48px; }
  .nav-demo { order: 2; display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--line-input); border-radius: var(--r-md); color: var(--ink); }
  .nav-demo:hover { text-decoration: none; background: var(--surface-alt); }
  .nav-signin { order: 3; justify-content: center; min-height: 44px; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------------
   Notices
   ------------------------------------------------------------------ */
.flash-stack { padding-top: 16px; }
.notice { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); }
.notice svg { margin-top: 2px; }
.notice-success { border-color: #b5dbc3; background: var(--ok-bg); }
.notice-success svg { color: var(--ok); }
.notice-info { border-color: var(--brand-300); background: var(--brand-50); }
.notice-warning { border-color: #ecc98e; background: var(--warn-bg); }
.notice-warning svg { color: var(--warn); }
.notice-danger { border-color: #f1b4ad; background: var(--danger-bg); }
.notice-danger svg { color: var(--danger); }

/* ------------------------------------------------------------------
   Breadcrumb, section nav, page hero
   ------------------------------------------------------------------ */
.breadcrumb { margin: 0 0 20px; font-size: var(--fs-sm); color: var(--ink-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-600); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.crumb-sep { color: var(--ink-3); }

.section-nav { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.section-nav-inner { display: flex; align-items: center; gap: var(--s-6); height: var(--section-nav-h); }
.section-nav-title { flex: none; font-weight: 600; font-size: .9375rem; }
.section-nav-links { display: flex; flex: 1; align-items: stretch; gap: 2px; height: 100%; min-width: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.section-nav-links::-webkit-scrollbar { display: none; }
.section-nav-links a { display: flex; align-items: center; height: 100%; padding: 0 12px; border-bottom: 2px solid transparent; color: var(--ink-2); font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.section-nav-links a:hover { color: var(--ink); }
.section-nav-links a.is-active { color: var(--brand-600); border-bottom-color: var(--brand-600); font-weight: 500; }
.section-nav-links a:focus-visible { outline-offset: -4px; }
.section-nav-links.has-more-end { mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.section-nav-links.has-more-start { mask-image: linear-gradient(90deg, transparent, #000 48px); }
.section-nav-links.has-more-start.has-more-end { mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.section-nav-cta { display: none; flex: none; }
@media (min-width: 1084px) { .section-nav-cta { display: inline-flex; } }
@media (max-width: 539.98px) { .section-nav-title { display: none; } .section-nav-inner { gap: 0; } .section-nav-links a { padding: 0 10px; } }

.page-hero { padding: 32px 0 56px; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 24ch; margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-compact { padding-bottom: 40px; }
.page-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
.page-hero-copy { grid-column: span 5; }
.page-hero-media { grid-column: 6 / span 7; container-type: inline-size; }
.updated { margin: 16px 0 0; color: var(--ink-3); font-size: var(--fs-sm); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.hero-chips a svg { color: var(--brand-600); }
.hero-chips a:hover { border-color: var(--brand-600); color: var(--brand-700); }

/* ------------------------------------------------------------------
   Sections, home hero, facts band
   ------------------------------------------------------------------ */
.section { padding: var(--section-y) 0; }
.section-alt, .section-white { background: var(--surface-alt); }
.section-head { max-width: 760px; margin-bottom: var(--s-9); }
.section-head h2 { margin-bottom: 12px; }
.section-head > p:not(.eyebrow):not(.kicker) { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.section-head .link-more { margin-top: 8px; }

.home-hero { padding: 48px 0 72px; background: linear-gradient(180deg, var(--brand-50) 0%, #fff 88%); overflow: hidden; }
.home-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
.home-hero-copy { grid-column: span 5; }
.home-hero-copy h1 { margin-bottom: 20px; font-size: clamp(2.5rem, 1.75rem + 2vw, 3.25rem); }
.home-hero-visual { grid-column: 6 / span 7; position: relative; padding: 8px 0 104px; }
.home-hero-visual::before { content: ""; position: absolute; inset: -6% -12% 0 4%; background: radial-gradient(rgba(var(--brand-rgb), .22) 1.1px, transparent 1.5px) 0 0 / 18px 18px; mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.hero-window { position: relative; z-index: 1; margin-left: 18%; container-type: inline-size; animation: rise var(--dur-3) var(--ease-out) both; }
.hero-phone { position: absolute; z-index: 2; left: 0; bottom: 0; width: 30%; min-width: 200px; max-width: 224px; container-type: inline-size; animation: rise var(--dur-3) var(--ease-out) 80ms both; }
.hero-phone .mp-list li:nth-child(4), .hero-phone .mp-cta { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.microcopy { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: var(--fs-sm); }
.microcopy li { display: inline-flex; align-items: center; gap: 6px; }
.microcopy svg { color: var(--ok); }

.facts-band { padding: 40px 0; border-bottom: 1px solid var(--line); background: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7); margin: 0; padding: 0; list-style: none; }
.facts h3 { margin: 14px 0 6px; font-size: 1rem; letter-spacing: 0; }
.facts p { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }

.icon-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-lg); background: var(--brand-50); color: var(--brand-600); }
.icon-tile-sm { width: 32px; height: 32px; }

/* ------------------------------------------------------------------
   Feature rows, visuals, tabs
   ------------------------------------------------------------------ */
.feature-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
.feature-row + .feature-row { margin-top: var(--s-12); }
.feature-copy { grid-column: 1 / span 5; }
.feature-row > .visual { grid-column: 7 / span 6; }
.feature-row.is-reversed .feature-copy { grid-column: 8 / span 5; grid-row: 1; }
.feature-row.is-reversed > .visual { grid-column: 1 / span 6; grid-row: 1; }
.feature-copy h3, .feature-copy .h3 { margin-bottom: 12px; }
.feature-body { color: var(--ink-2); font-size: 1.0625rem; }
.ticks { display: grid; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks svg { margin-top: 3px; color: var(--ok); }
.ticks-sm { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.ticks-sm svg { color: var(--brand-600); }

.visual {
  position: relative; min-width: 0; padding: clamp(20px, 3.4vw, 40px); overflow: hidden; container-type: inline-size;
  border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-8);
  background: var(--brand-50) radial-gradient(rgba(var(--brand-rgb), .16) 1px, transparent 1.4px) 0 0 / 18px 18px;
}
.visual > .mock-console { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-16); overflow: hidden; }
.visual-compact { padding: 24px; box-shadow: none; }

.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 40px; margin-top: var(--s-9); padding-top: var(--s-7); border-top: 1px solid var(--line); }
.detail h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: 0; }
.detail p { margin: 0; color: var(--ink-2); font-size: .9375rem; }

.tabs-list { display: flex; gap: 28px; margin: 0 0 var(--s-8); padding: 0; list-style: none; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-list::-webkit-scrollbar { display: none; }
.tabs-list a { display: block; margin-bottom: -1px; padding: 12px 2px; border-bottom: 3px solid transparent; color: var(--ink-2); font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color var(--dur-2), color var(--dur-2); }
.tabs-list a:hover { color: var(--ink); }
.tabs-list a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand-600); }
.tabs-list a:focus-visible { outline-offset: -2px; }
.tabs-list.has-more-end { mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.tabs-panel-title { margin: 0 0 8px; color: var(--brand-600); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0; }
.tabs:not(.is-tabbed) .tabs-panel + .tabs-panel { margin-top: var(--s-10); padding-top: var(--s-9); border-top: 1px solid var(--line); }
.tabs-panel:focus-visible { outline-offset: 8px; }
.tabs-panel-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
.tabs-panel-copy { grid-column: span 5; }
.tabs-panel-copy h4 { font-size: var(--fs-h3); line-height: 1.28; letter-spacing: -.01em; margin-bottom: 8px; }
.tabs-panel-grid > .visual { grid-column: 6 / span 7; }

/* ------------------------------------------------------------------
   Cards, trust grid, accordions, CTA band
   ------------------------------------------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { position: relative; padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); }
.card > h3 { margin: 16px 0 8px; font-size: var(--fs-h4); letter-spacing: -.005em; }
.card > h3:first-child { margin-top: 0; }
.card p { margin: 0; color: var(--ink-2); }
.card p + p { margin-top: .75em; }
.card .link-more { margin-top: 16px; }
.card-flat { box-shadow: none; }
.card-link-wrap { display: flex; flex-direction: column; transition: box-shadow var(--dur-2), transform var(--dur-2); }
.card-link-wrap .link-more { margin-top: auto; padding-top: 16px; }
.card-link-wrap:hover { box-shadow: var(--sh-8); transform: translateY(-2px); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched:focus-visible { outline: none; }
.card-link-wrap:has(.stretched:focus-visible) { box-shadow: var(--focus-ring); }

.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--s-9); }
.trust-item { display: flex; gap: 16px; }
.trust-item h3 { margin: 6px 0 8px; font-size: var(--fs-h4); }
.trust-item p { margin: 0 0 8px; color: var(--ink-2); }

.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.quote-card { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.quote-card blockquote { margin: 0 0 20px; font-size: 1.125rem; }
.quote-card figcaption span { display: block; color: var(--ink-2); font-size: var(--fs-sm); }

.faq-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); }
.faq-split > .section-head { grid-column: span 4; }
.faq-split > .accordion { grid-column: 6 / span 7; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 1.125rem; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary:hover { color: var(--brand-700); }
.acc-chev { color: var(--brand-600); transition: transform var(--dur-2); }
.acc-item[open] .acc-chev { transform: rotate(180deg); }
.acc-body { max-width: 72ch; padding: 0 0 20px; color: var(--ink-2); }
.acc-body p:last-child { margin-bottom: 0; }

.cta-band { position: relative; padding: var(--section-y) 0; overflow: hidden; color: var(--on-dark-2); background: radial-gradient(900px 420px at 100% 0%, rgba(31, 138, 120, .38), transparent 62%), var(--brand-900); }
.cta-band-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: center; }
.cta-band-copy { grid-column: span 7; }
.cta-band h2 { margin: 0 0 12px; color: #fff; }
.cta-band p { margin: 0; font-size: var(--fs-lead); line-height: 1.55; }
.cta-band-actions { grid-column: 9 / span 4; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

/* ------------------------------------------------------------------
   Product mockups (product/_mock_*.php): drawings in HTML and CSS
   ------------------------------------------------------------------ */
.mock { position: relative; color: var(--ink); font-size: 12px; line-height: 1.35; text-align: left; font-variant-numeric: tabular-nums; user-select: none; }
.mock b { font-weight: 700; }
.mock small { font-size: 11px; }
.mpill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-pill); background: var(--canvas); color: var(--ink-2); font-size: 11px; font-weight: 600; white-space: nowrap; }
.mpill.ok { background: var(--ok-bg); color: var(--ok); }
.mpill.warn { background: var(--warn-bg); color: var(--warn); }
.mpill.info { background: var(--brand-100); color: var(--brand-800); }
.mbar { display: block; height: 8px; border-radius: 4px; background: var(--brand-500); }
.w-35 { width: 35%; } .w-50 { width: 50%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-75 { width: 75%; } .w-85 { width: 85%; } .w-90 { width: 90%; }

.mock-window { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-28); }
.mw-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.mw-dots { display: inline-flex; gap: 6px; }
.mw-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mw-address { display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin: 0 auto; padding: 3px 14px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--ink-2); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.mw-body { container-type: inline-size; }

.mock-console { display: flex; background: var(--surface-alt); }
.mc-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 46px; flex: none; padding: 12px 0; background: var(--brand-900); }
.mc-rail span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; color: var(--on-dark-3); }
.mc-rail .is-on { background: rgba(255, 255, 255, .14); color: #fff; }
.mc-main { flex: 1; min-width: 0; padding: 14px 16px 16px; }
.mc-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.mc-title { margin-right: auto; font-size: 15px; font-weight: 700; }
.mc-chip, .mc-search { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-2); white-space: nowrap; }
.mc-search { min-width: 96px; }
.mc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.mc-stat { display: flex; flex-direction: column; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.mc-stat span { color: var(--ink-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-stat b { font-size: 21px; line-height: 1.25; }
.mc-stat small { color: var(--ink-3); white-space: nowrap; }
.mc-stat.is-warn { box-shadow: inset 3px 0 0 var(--warn); }
.mc-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 8px; }
.mc-panel { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.mc-panel-title { margin: 0 0 6px; font-weight: 700; }
.mc-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.mc-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-row-head { padding-top: 0; border-top: 0; color: var(--ink-3); font-size: 11px; font-weight: 600; }
.mc-barrow { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: center; margin-top: 10px; }
.mc-barrow span { color: var(--ink-2); }
.mc-barrow .mbar { box-shadow: 0 0 0 0 transparent; }
@container (max-width: 560px) {
  .mc-rail, .mc-bars { display: none; }
  .mc-grid { grid-template-columns: 1fr; }
  .mc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 340px) {
  .mc-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mc-row > span:nth-child(2) { display: none; }
  .mc-search { display: none; }
}

.mock-phone { width: 100%; max-width: 300px; margin-inline: auto; padding: 8px; border-radius: 32px; background: #121a18; box-shadow: var(--sh-28), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mp-screen { display: flex; flex-direction: column; overflow: hidden; border-radius: 25px; background: var(--surface-alt); }
.mp-head { display: grid; grid-template-columns: 1fr auto; row-gap: 1px; padding: 18px 14px 12px; background: var(--brand-900); color: #fff; }
.mp-title { font-size: 16px; font-weight: 700; }
.mp-sub { grid-row: 2; color: var(--on-dark-2); font-size: 11px; }
.mp-sync { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); color: var(--on-dark-2); font-size: 11px; }
.mp-body { padding: 10px; }
.mp-duty { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; }
.mp-duty b { font-size: 13px; }
.mp-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--ok-bg); color: var(--ok); font-size: 11px; font-weight: 600; }
.mp-section { margin: 12px 2px 6px; font-weight: 700; }
.mp-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mp-list li { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mp-list b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-list small { display: block; color: var(--ink-2); }
.mp-list li > span:last-child { min-width: 0; }
.mp-ico { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--brand-50); color: var(--brand-600); }
.mp-list .is-done { box-shadow: inset 3px 0 0 var(--ok); }
.mp-list .is-done .mp-ico { background: var(--ok-bg); color: var(--ok); }
.mp-list .is-now { border-color: var(--brand-300); }
.mp-list .is-wait .mp-ico { background: var(--warn-bg); color: var(--warn); }
.mp-cta { display: block; margin-top: 10px; padding: 9px; border-radius: 8px; background: var(--brand-600); color: #fff; font-weight: 600; text-align: center; }
.mp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 2px 9px; border-top: 1px solid var(--line); background: #fff; }
.mp-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-2); font-size: 10px; font-weight: 600; }
.mp-tabs .is-on { color: var(--brand-700); }
@container (max-width: 250px) {
  .mp-sync, .mp-tabs span:nth-child(4) { display: none; }
  .mp-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mock-visit, .mock-approval, .mock-claim, .mock-chart, .mock-register { width: 100%; max-width: 460px; margin-inline: auto; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-16); font-size: 13px; }
.mock-register { max-width: 600px; }
.mv-head, .ma-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mv-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--brand-50); color: var(--brand-600); }
.mv-what { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.mv-what b { font-size: 14px; }
.mv-what small { color: var(--ink-2); font-size: 12px; }
.mv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mv-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--brand-800); font-size: 12px; font-weight: 600; }
.mv-photo { display: flex; align-items: flex-end; height: 128px; padding: 8px; border-radius: 8px; background: linear-gradient(180deg, #e3f1eb 0 38%, transparent 38%), repeating-linear-gradient(172deg, #9cc8b3 0 9px, #86b9a1 9px 18px); }
.mv-photo span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 600; }
.mv-fields { margin: 12px 0 0; }
.mv-fields div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.mv-fields dt { color: var(--ink-2); }
.mv-fields dd { margin: 0; font-weight: 600; text-align: right; }

.ma-lines { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.ma-line { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--line); }
.ma-line:first-child { border-top: 0; }
.ma-line > span:last-child { text-align: right; font-weight: 600; }
.ma-line-head { background: var(--surface-alt); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.ma-total { background: var(--surface-alt); font-weight: 700; }
.ma-reason { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.ma-reason > span:first-child { color: var(--ink-2); font-size: 12px; font-weight: 600; }
.ma-input { padding: 7px 10px; border: 1px solid var(--line-input); border-radius: 6px; }
.ma-actions { display: flex; gap: 8px; margin-top: 12px; }
.ma-btn { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 6px; height: 34px; border: 1px solid var(--line-input); border-radius: 6px; font-weight: 600; white-space: nowrap; }
.ma-btn.is-primary { border-color: var(--brand-600); background: var(--brand-600); color: #fff; }

.mcl-line { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.mcl-receipt { display: flex; flex-direction: column; gap: 6px; width: 54px; height: 70px; flex: none; padding: 9px 7px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fffdf8; box-shadow: var(--sh-2); }
.mcl-receipt i { display: block; height: 4px; border-radius: 2px; background: var(--line-strong); }
.mcl-receipt i:nth-child(2) { width: 70%; }
.mcl-receipt i:last-child { width: 55%; margin-top: auto; background: var(--ink-3); }
.mcl-body { flex: 1; min-width: 0; }
.mcl-amounts { display: flex; gap: 24px; margin: 6px 0 8px; }
.mcl-amounts span { display: flex; flex-direction: column; }
.mcl-amounts small { color: var(--ink-2); font-size: 12px; }
.mcl-amounts b { font-size: 16px; }
.mcl-amounts .is-cut { color: var(--warn); }
.mcl-cap { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: var(--r-pill); background: var(--warn-bg); color: var(--warn); font-size: 12px; font-weight: 600; }
.mcl-cap.is-ok { background: var(--ok-bg); color: var(--ok); }

.mr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.mr-head span { color: var(--ink-2); font-size: 12px; font-weight: 600; }
.mr-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(14, 20px) 30px; gap: 3px; align-items: center; margin-bottom: 4px; }
.mr-who { overflow: hidden; font-size: 12px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.mr-cell { display: grid; place-items: center; height: 20px; border-radius: 4px; background: var(--surface-alt); color: var(--ink-2); font-size: 10px; font-weight: 700; font-style: normal; }
.mr-days .mr-cell { background: none; color: var(--ink-3); font-weight: 600; }
.m-p { background: var(--ok-bg); color: var(--ok); }
.m-l { background: var(--warn-bg); color: var(--warn); }
.m-h { background: var(--brand-100); color: var(--brand-800); }
.m-w { background: var(--canvas); color: var(--ink-2); }
.m-a { background: var(--danger-bg); color: var(--danger); }
.mr-pay { font-size: 14px; font-weight: 700; text-align: right; }
.mr-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; color: var(--ink-2); font-size: 12px; }
.mr-legend span { display: inline-flex; align-items: center; gap: 5px; }
.mr-legend .mr-cell { width: 18px; height: 18px; }
@container (max-width: 500px) {
  .mr-row { grid-template-columns: minmax(0, 1fr) repeat(9, 19px) 26px; gap: 2px; }
  .mr-row > .mr-cell:nth-child(n+11) { display: none; }
  .mock-register { padding: 14px; }
}

.mch-rows { display: grid; gap: 14px; }
.mch-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) 40px; gap: 10px; align-items: center; }
.mch-who { overflow: hidden; font-size: 12px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.mch-track { display: block; height: 10px; border-radius: 5px; background: var(--brand-100); }
.mch-track .mbar { height: 100%; border-radius: 5px; }
.mch-val { font-weight: 700; text-align: right; }
@container (max-width: 420px) {
  .mch-row { grid-template-columns: minmax(0, 1fr) 40px; row-gap: 4px; }
  .mch-who { grid-column: 1 / -1; }
}
.mch-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12px; }
.mch-key { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; background: var(--brand-500); vertical-align: -1px; }

/* ------------------------------------------------------------------
   Inner pages: features, industries, FAQ, about
   ------------------------------------------------------------------ */
.limits-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--s-9); padding: var(--s-8); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface-alt); }
.limits-head { grid-column: span 5; display: flex; align-items: flex-start; gap: 16px; }
.limits-head h2 { margin-bottom: 8px; }
.limits-head p:last-child { margin: 0; color: var(--ink-2); }
.limits-list { grid-column: 6 / span 7; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.limits-list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.limits-list li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 12px; height: 2px; background: var(--ink-3); }
.limits-foot { grid-column: 6 / span 7; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); }

.industry-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-8); margin-top: var(--s-9); padding-top: var(--s-7); border-top: 1px solid var(--line); }
.industry-lists h3 { margin: 0 0 12px; font-size: .9375rem; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 4px 12px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--brand-50); color: var(--brand-800); font-size: .875rem; font-weight: 500; }
.chips-outline li { border-color: var(--line-strong); background: #fff; color: var(--ink-2); }
.note { display: flex; align-items: flex-start; gap: 10px; margin: var(--s-6) 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--ink-2); font-size: .9375rem; }
.note svg { margin-top: 2px; color: var(--brand-600); }
.note strong { color: var(--ink); }
.section:not(.section-alt) .note { background: var(--surface-alt); }
.other-trade { display: flex; align-items: center; gap: var(--s-5); padding: var(--s-7); }
.other-trade h2 { margin-bottom: 4px; }
.other-trade > div { flex: 1; }
.other-trade .btn { flex: none; }

.faq-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
.faq-groups { grid-column: span 8; }
.faq-aside { grid-column: 10 / span 3; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-group + .faq-group { margin-top: var(--s-10); }
.faq-group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.aside-card h2 { margin: 12px 0 8px; }
.aside-card > h2:first-child { margin-top: 0; }
.aside-actions { display: grid; gap: 8px; margin-top: 20px; }

.split-7-5 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--s-9); align-items: center; }
.split-7-5 > :first-child { grid-column: span 7; }
.split-7-5 > :last-child { grid-column: 8 / span 5; }
.family-card, .facts-card { align-self: stretch; padding: var(--s-7); }
.fact-list { display: grid; gap: 0; margin: 0 0 16px; }
.fact-list div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--ink-2); }
.fact-list dd { margin: 0; font-weight: 600; }

.prose { max-width: 72ch; }
.prose h2 { margin: 0 0 12px; font-size: 1.375rem; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.legal-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
.legal-toc { grid-column: span 3; position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc-title { margin: 0 0 8px; font-size: var(--fs-sm); font-weight: 600; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.legal-toc a { display: block; margin-left: -1px; padding: 5px 12px; border-left: 2px solid transparent; color: var(--ink-2); font-size: var(--fs-sm); text-decoration: none; }
.legal-toc a:hover { border-left-color: var(--brand-600); color: var(--brand-600); }
.legal-prose { grid-column: 5 / span 7; }
.legal-prose section + section { margin-top: var(--s-8); }
.legal-num { color: var(--brand-600); }

/* ------------------------------------------------------------------
   Forms (enquiry, sign-in, signup; also the order views)
   ------------------------------------------------------------------ */
.section-form { padding-top: var(--s-9); }
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-9); align-items: start; }
.form-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1084px) { .form-layout:has(.summary-card) .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-card { padding: var(--s-7); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-4); }
.form-card h2 { margin: 0 0 16px; color: var(--ink); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; }
.form-card .form-section + .form-section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-section-title { display: flex; align-items: center; gap: 10px; }
.step-num { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); font-size: .8125rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .9375rem; font-weight: 600; }
.field .optional { color: var(--ink-3); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-input); border-radius: var(--r-md);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
}
.field textarea { min-height: 128px; resize: vertical; }
.field textarea[rows="3"] { min-height: 92px; }
.field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23454f4c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--brand-600); }
.field .is-invalid, .field .is-invalid:focus { border-color: var(--danger); }
.field .is-invalid:focus { outline-color: var(--danger); }
.hint { margin: 0; color: var(--ink-3); font-size: .8125rem; line-height: 1.45; }
.error-text { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--danger); font-size: .875rem; font-weight: 500; }
.error-text svg { margin-top: 2px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--ink-2); font-size: .9375rem; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand-600); }
fieldset.field { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.field legend.label { margin-bottom: 8px; padding: 0; font-size: .9375rem; font-weight: 600; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row > .choice { flex: 1 1 200px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-input); border-radius: var(--r-md); background: #fff; cursor: pointer; font-weight: 500; }
.choice > span { display: inline-flex; align-items: center; gap: 8px; }
.choice > span svg { color: var(--brand-600); }
.choice input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand-600); }
.choice:has(input:checked) { border-color: var(--brand-600); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-600); }
.address-input { display: flex; align-items: stretch; overflow: hidden; border: 1px solid var(--line-input); border-radius: var(--r-md); background: #fff; }
.address-input:focus-within { border-color: var(--brand-600); outline: 2px solid var(--focus); }
.address-input.is-invalid { border-color: var(--danger); }
.field .address-input input { flex: 1; min-width: 0; border: 0; outline: none; }
.address-suffix { display: flex; align-items: center; padding: 0 12px; border-left: 1px solid var(--line); background: var(--surface-alt); color: var(--ink-2); font-family: var(--font-mono); font-size: .875rem; white-space: nowrap; }
.address-preview { display: block; margin: 2px 0 0; padding: 9px 12px; border-radius: var(--r-md); background: var(--brand-50); color: var(--brand-800); font-family: var(--font-mono); font-size: .875rem; word-break: break-all; }
.address-preview.is-unsure { background: var(--warn-bg); color: var(--warn); }
.form-actions { display: grid; gap: 12px; margin-top: 28px; }
.fineprint { margin: 0; color: var(--ink-3); font-size: .875rem; }

.steps-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps-list li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; counter-increment: step; }
.steps-list li::before { content: counter(step); grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); font-size: .875rem; font-weight: 700; }
.steps-list strong { font-weight: 600; }
.steps-list span { color: var(--ink-2); font-size: .9375rem; }
.link-list { margin: 0; padding: 0; list-style: none; }
.link-list a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; }
.link-list li:last-child a { border-bottom: 0; }
.link-list a:hover { color: var(--brand-600); }
.link-list svg, .contact-list svg { color: var(--brand-600); }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; color: var(--ink-2); }
.contact-list svg { margin-top: 3px; }
.business-list { display: grid; gap: 10px; margin: 0 0 12px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.business-list dt { color: var(--ink-3); font-size: .8125rem; }
.business-list dd { margin: 2px 0 0; color: var(--ink); overflow-wrap: anywhere; }
.aside-plan-team { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.aside-plan-team svg { color: var(--brand-600); }
.summary-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary-plan h2 { margin: 0; }
.card .summary-price { margin: 6px 0 18px; color: var(--ink); font-weight: 600; }
.card .eyebrow, .card .kicker { margin-bottom: 8px; color: var(--brand-600); }
.result-card .actions + .muted { margin-top: 20px; }

.stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--ink-3); font-size: var(--fs-sm); font-weight: 600; }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper li + li::before { content: ""; width: 24px; height: 1px; background: var(--line-strong); }
.stepper-num { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; font-size: .75rem; }
.stepper .is-done { color: var(--ink-2); }
.stepper .is-done .stepper-num { border-color: var(--brand-600); background: var(--brand-600); color: #fff; }
.stepper .is-now { color: var(--ink); }
.stepper .is-now .stepper-num { border-color: var(--brand-600); color: var(--brand-600); box-shadow: inset 0 0 0 1px var(--brand-600); }
.stepper-center { justify-content: center; margin-bottom: 24px; }

/* Result cards: thank you, signup done, 404, order pages. */
.result-section { padding: 64px 0 96px; background: var(--surface-alt); }
.result-card { text-align: left; }
.result-section .result-card, .result-card.form-card { padding: var(--s-8); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-8); }
.result-card h1 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.result-card > h2 { margin: 32px 0 14px; }
.result-center { text-align: center; }
.result-center .lead { margin-inline: auto; }
.result-center .status-icon { margin-inline: auto; }
.status-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.status-icon svg { width: 32px; height: 32px; }
.status-icon.wait, .status-wait { background: var(--warn-bg); color: var(--warn); }
.status-muted { background: var(--brand-50); color: var(--brand-600); }
.big-address, .result-card .big-address { display: block; margin: 8px 0 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-alt); font-family: var(--font-mono); font-size: 1.0625rem; font-weight: 600; word-break: break-all; }
.label-line, .result-card .label-line { margin: 24px 0 0; font-weight: 600; }
.result-card .hint { margin: 6px 0 1em; }
.next-heading { margin-top: 32px; font-size: 1.15rem; }
.form-card .next-heading { margin: 34px 0 14px; }
.link-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; text-align: left; }
.link-tiles a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); font-weight: 600; text-decoration: none; }
.link-tiles a > svg:first-child { color: var(--brand-600); }
.link-tiles a:hover { border-color: var(--brand-600); background: var(--brand-50); color: var(--ink); }
.tile-chev { margin-left: auto; color: var(--ink-3); }

/* Sign-in finder: the split card. */
.signin-section { padding: 56px 0 80px; background: var(--surface-alt); }
.split-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 980px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-2xl); background: #fff; box-shadow: var(--sh-16); }
.split-brand { display: flex; flex-direction: column; gap: 12px; padding: var(--s-8); color: var(--on-dark-2); background: radial-gradient(500px 300px at 0% 100%, rgba(31, 138, 120, .4), transparent 70%), var(--brand-900); }
.split-mark { width: 48px; height: 48px; }
.split-title { margin: 16px 0 0; color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1.25; letter-spacing: -.012em; }
.split-text { margin: 0; }
.split-text .mono { color: #fff; }
.split-route { width: 100%; height: auto; margin-top: auto; padding-top: 24px; color: var(--brand-300); }
.split-route-end { fill: var(--gold-400); }
.split-form { padding: var(--s-8); }
.split-form h1 { margin-bottom: 8px; }
.split-form .lead { font-size: 1.0625rem; }
.below-card { margin: 24px 0 0; color: var(--ink-2); text-align: center; }

/* ------------------------------------------------------------------
   Plans, compare table, setup promise (pricing chunk's markup; its own
   look goes in pricing.css, loaded after this file)
   ------------------------------------------------------------------ */
.mark-yes { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--surface-alt); font-weight: 600; white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { font-weight: 600; }
.compare tbody th span { display: block; color: var(--ink-2); font-size: .875rem; font-weight: 400; }
.compare .cell { width: 120px; text-align: center; }
.mark-yes, .mark-no { display: inline-block; width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; }
.mark-no { width: 12px; height: 2px; border-radius: 1px; background: var(--line-strong); }

.aside-card { padding: var(--s-6); }


.side-note h3 { font-size: 1.0625rem; }
.side-note + .side-note { margin-top: 20px; }
.mt-gap { margin-top: 20px; }

/* ------------------------------------------------------------------
   Orders and onboarding (order views; restyled with them later)
   ------------------------------------------------------------------ */
.order-section { padding-top: 48px; }
.order-intro { margin: 0 0 22px; color: var(--ink-2); }
.order-form .form-section h2 { margin-bottom: 14px; font-size: 1.125rem; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick-body { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid var(--line-input); border-radius: var(--r-md); background: #fff; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.pick:hover .pick-body { border-color: var(--brand-600); }
.pick input:checked + .pick-body { border-color: var(--brand-600); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-600); }
.pick input:focus-visible + .pick-body { outline: 2px solid var(--focus); outline-offset: 2px; }
.pick-name { font-weight: 700; }
.pick-badge { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--brand-600); color: #fff; font-size: .75rem; font-weight: 600; vertical-align: 2px; }
.pick-team { color: var(--ink-3); font-size: .875rem; }
.pick-price { margin-top: 6px; font-size: 1.05rem; font-weight: 700; }
.pick-price span { color: var(--ink-3); font-size: .875rem; font-weight: 400; }
.choice-note { margin-left: 4px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--ok-bg); color: var(--ok); font-size: .8125rem; font-weight: 600; }
.order-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.order-aside .side-note + .side-note { margin-top: 0; }
.order-summary { border-color: var(--brand-300); }
.order-summary h3 { color: var(--ink-3); font-size: .8125rem; font-weight: 600; }
.order-summary-plan { margin: 0; font-size: 1.15rem; }
.order-summary-team { margin: 2px 0 0; color: var(--ink-3); font-size: .875rem; }
.order-summary-price { margin: 14px 0 0; color: var(--ink-2); }
.order-summary-price s { display: block; color: var(--ink-3); }
.order-summary-amount { color: var(--ink); font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.order-summary-free { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 700; }
.order-summary-then { display: block; font-size: .875rem; }
.order-summary-promise, .order-promise { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--brand-50); color: var(--ink); font-size: .9375rem; line-height: 1.45; }
.order-summary-promise svg, .order-promise svg { width: 20px; height: 20px; color: var(--brand-600); }
.order-steps { margin: 0; padding-left: 1.2rem; color: var(--ink-2); font-size: .9375rem; }
.order-steps li + li { margin-top: 8px; }
.order-steps strong { color: var(--ink); }
.order-aside-note { margin: 14px 0 0; color: var(--ink-3); font-size: .875rem; }
.order-done { display: grid; gap: 28px; max-width: 860px; margin: 0 auto; }
.order-result h1 { margin-top: 6px; }
.order-number { font-size: 1.4rem; letter-spacing: .06em; text-align: center; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }

.proforma { padding: 32px; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-4); font-size: .9375rem; }
.proforma p { margin: 0; }
.proforma-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid var(--brand-900); color: var(--ink-2); }
.proforma-seller { color: var(--ink); font-size: 1.2rem; font-weight: 700; }
.proforma-title { text-align: right; }
.proforma-title h2 { margin: 0; font-size: 1.35rem; }
.proforma .proforma-tag { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--danger-bg); color: var(--danger); font-size: .8125rem; font-weight: 700; }
.proforma-parties { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 18px 0; color: var(--ink-2); }
.proforma .proforma-label { margin-bottom: 4px; color: var(--ink-3); font-size: .8125rem; font-weight: 600; }
.proforma-strong { color: var(--ink); font-weight: 700; }
.proforma-dates { display: grid; grid-template-columns: auto auto; align-content: start; gap: 4px 16px; margin: 0; }
.proforma-dates dt { color: var(--ink-3); }
.proforma-dates dd { margin: 0; color: var(--ink); text-align: right; }
.proforma .table-wrap { border: 0; border-radius: 0; background: transparent; }
.proforma-lines { width: 100%; border-collapse: collapse; }
.proforma-lines th { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: .8125rem; font-weight: 600; text-align: left; }
.proforma-lines td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.proforma-lines .num-col { padding-left: 16px; text-align: right; white-space: nowrap; }
.proforma-sub { display: block; color: var(--ink-3); font-size: .875rem; }
.proforma-discount td { color: var(--ok); }
.proforma-totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; max-width: 360px; margin: 16px 0 0 auto; }
.proforma-totals dt { color: var(--ink-2); }
.proforma-totals dd { margin: 0; text-align: right; white-space: nowrap; }
.proforma-totals .proforma-total { padding-top: 8px; border-top: 1px solid var(--line-strong); color: var(--ink); font-size: 1.1rem; font-weight: 700; }
.proforma .proforma-words { margin-top: 10px; color: var(--ink-3); font-size: .875rem; text-align: right; }
.proforma-pay { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-alt); }
.proforma-pay h3 { margin: 0 0 8px; font-size: 1rem; }
.proforma-bank { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 12px 0 0; }
.proforma-bank dt { color: var(--ink-3); }
.proforma-bank dd { margin: 0; font-weight: 600; }
.proforma-foot { margin-top: 18px; color: var(--ink-3); font-size: .875rem; }

.order-status-now { margin: 6px 0 18px; }
.status-pill { display: inline-block; padding: 4px 14px; border-radius: var(--r-pill); background: var(--canvas); color: var(--ink-2); font-size: .875rem; font-weight: 700; }
.status-ready { background: var(--ok-bg); color: var(--ok); }
.status-paid, .status-approved, .status-setting_up { background: var(--brand-100); color: var(--brand-800); }
.status-awaiting_payment, .status-under_review { background: var(--warn-bg); color: var(--warn); }
.status-cancelled, .status-declined { background: var(--danger-bg); color: var(--danger); }
.status-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.status-steps li { padding-top: 12px; border-top: 4px solid var(--line); color: var(--ink-3); font-size: .8125rem; line-height: 1.3; }
.status-steps li.is-done { border-top-color: var(--ok); color: var(--ink-2); }
.status-steps li.is-now { border-top-color: var(--brand-600); color: var(--ink); font-weight: 700; }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer { background: var(--surface-alt); font-size: var(--fs-sm); }
.site-footer::before { content: ""; display: block; height: 3px; background: var(--dv-hairline); }
.footer-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s-9); padding-top: 56px; padding-bottom: 40px; }
.footer-brand p { max-width: 34ch; margin: 12px 0 0; color: var(--ink-2); }
.footer-brand .footer-tagline { margin-top: 20px; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-6); }
.footer-col > summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: default; }
.footer-col > summary::-webkit-details-marker { display: none; }
.footer-chev { display: none; color: var(--ink-3); transition: transform var(--dur-2); }
.footer-heading { margin: 0 0 14px; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-plain { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--brand-600); text-decoration: underline; }
.footer-sub { display: block; color: var(--ink-3); font-size: .8125rem; }
.footer-ext { margin-left: 4px; vertical-align: -2px; }
.site-footer .owner-slot { margin: 10px 0 0; padding: 8px 10px; font-size: .8125rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .8125rem; }
.footer-bottom p { margin: 0; }
.footer-wordmark { width: auto; height: 24px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: var(--ink-2); }
.footer-gst { margin-left: auto !important; }

/* ------------------------------------------------------------------
   Breakpoints: 1084 / 860 / 540
   ------------------------------------------------------------------ */
@media (max-width: 1083.98px) {
  .home-hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .home-hero-copy, .home-hero-visual, .page-hero-copy, .page-hero-media { grid-column: 1 / -1; }
  .home-hero-copy { max-width: 720px; }
  .home-hero-visual { padding-bottom: 40px; }
  .card-grid, .card-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr; gap: var(--s-7); }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-7); }
  .faq-groups { grid-column: 1 / -1; }
  .faq-aside { grid-column: 1 / -1; position: static; }
  .legal-toc { grid-column: 1 / -1; position: static; }
  .legal-toc ol { columns: 2; column-gap: 24px; }
  .legal-prose { grid-column: 1 / -1; }
  .order-aside { position: static; }
}

@media (max-width: 859.98px) {
  .feature-row, .tabs-panel-grid, .split-7-5, .limits-panel, .faq-split, .cta-band-inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .feature-row .feature-copy, .feature-row.is-reversed .feature-copy, .feature-row > .visual, .feature-row.is-reversed > .visual,
  .tabs-panel-copy, .tabs-panel-grid > .visual, .split-7-5 > :first-child, .split-7-5 > :last-child,
  .limits-head, .limits-list, .limits-foot, .faq-split > .section-head, .faq-split > .accordion,
  .cta-band-copy, .cta-band-actions { grid-column: 1 / -1; grid-row: auto; }
  .feature-row + .feature-row { margin-top: var(--s-10); }
  .cta-band-actions { justify-content: flex-start; }
  .card-grid-3, .trust-grid, .industry-lists, .quote-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: var(--s-7); }
  .split-card { grid-template-columns: 1fr; }
  .split-brand { padding: 24px; }
  .split-title { margin-top: 8px; font-size: 1.2rem; }
  .split-route { max-height: 70px; padding-top: 8px; }
  .split-form { padding: 28px 20px; }
  .other-trade { flex-direction: column; align-items: flex-start; }
  .limits-panel { padding: var(--s-6); }

  .footer-cols { grid-template-columns: 1fr; row-gap: 0; }
  .footer-col { border-bottom: 1px solid var(--line); }
  .footer-col > summary { padding: 14px 0; cursor: pointer; }
  .footer-col .footer-heading { margin: 0; font-size: .9375rem; }
  .footer-chev { display: block; }
  .footer-col[open] .footer-chev { transform: rotate(180deg); }
  .footer-col .footer-links { padding-bottom: 16px; }
  .footer-gst { margin-left: 0 !important; flex-basis: 100%; }
}

@media (max-width: 539.98px) {
  .hero-window { display: none; }
  .home-hero-visual { padding: 8px 0 0; }
  .home-hero-visual::before { inset: -4% -10% 0 -10%; }
  .hero-phone { position: relative; width: auto; min-width: 0; max-width: 290px; margin: 0 auto; }
  .hero-phone .mp-list li:nth-child(4) { display: flex; }
  .hero-phone .mp-cta { display: block; }
  .home-hero { padding-top: 32px; }
  .actions .btn { flex: 1 1 100%; }
  .card-grid, .card-grid-5, .facts { grid-template-columns: 1fr; }
  .facts { gap: var(--s-6); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .result-section .result-card, .result-card.form-card { padding: 24px 18px; }
  .card { padding: 20px; }
  .visual { padding: 16px; }
  .address-input { flex-direction: column; }
  .address-suffix { padding: 8px 12px; border-top: 1px solid var(--line); border-left: 0; }
  .link-tiles { grid-template-columns: 1fr; }
  .legal-toc ol { columns: 1; }
  .acc-item > summary { font-size: 1.0625rem; }
  .cta-band-actions .btn { flex: 1 1 100%; }
  .compare { min-width: 0; font-size: .875rem; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare .cell { width: 62px; }
  .compare thead th.cell { white-space: normal; }
  .order-section { padding-top: 28px; }
  .proforma { padding: 22px 16px; }
  .proforma-title { text-align: left; }
  .proforma-dates dd { text-align: left; }
  .proforma-totals { max-width: none; }
  .status-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .order-actions .btn { flex: 1 1 100%; }
  .footer-bottom { gap: 8px 16px; }
}

@media print {
  .site-header, .site-footer, .section-nav, .cta-band, .legal-toc, .skip-link, .order-result, .flash-stack { display: none !important; }
  body.product { background: #fff; }
  .page-hero { padding: 0 0 12px; background: none; border: 0; }
  .breadcrumb { display: none; }
  .section, .order-section { padding: 12px 0; }
  .legal-prose { grid-column: 1 / -1; }
  .proforma { box-shadow: none; border: 0; padding: 0; }
  a { color: inherit; }
}

/* ------------------------------------------------------------------
   Live demo (/live-demo, App\Core\LiveDemo) and "Try the live demo"
   ------------------------------------------------------------------ */
.cta-band-actions .cta-band-live { flex: 1 1 100%; justify-content: flex-end; margin-top: 4px; }
.cta-band-live:hover { color: var(--gold-400); }
.demo-facts { margin-top: 20px; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
.demo-card { display: flex; flex-direction: column; gap: 16px; padding: var(--s-7, 28px); }
.demo-card > p { margin: 0; }
.demo-card-head { display: flex; align-items: center; gap: 14px; }
.demo-card-head h3 { margin: 0; font-size: var(--fs-h3, 1.375rem); letter-spacing: -.01em; }
.demo-card .demo-card-as { margin: 2px 0 0; color: var(--brand-700); font-weight: 600; font-size: .9375rem; }
.demo-cred { display: grid; gap: 10px; margin: 0; padding: 16px; border-radius: var(--r-lg); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
.demo-cred-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; }
.demo-cred dt { color: var(--ink-2); font-size: .875rem; font-weight: 600; }
.demo-cred dd { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; }
.demo-cred-value { flex: 1 1 auto; min-width: 0; padding: 7px 10px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-family: var(--font-mono); font-size: .9375rem; overflow-wrap: anywhere; user-select: all; }
.demo-copy { flex: none; gap: 6px; }
.demo-copy svg { flex: none; }
.demo-copy.is-copied { border-color: var(--ok); color: var(--ok); }
html:not(.js) .demo-copy { display: none; }
.demo-card .demo-copy-status { min-height: 1.4em; margin: -8px 0 0; color: var(--ok); font-size: .875rem; font-weight: 600; }
.demo-card-actions { margin: 0; }
.demo-card-actions .btn { gap: 8px; }
.demo-card .demo-card-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--ink-2); font-size: .9375rem; }
.demo-card-note svg { flex: none; margin-top: 3px; color: var(--brand-600); }
.demo-card-note .mono { overflow-wrap: anywhere; }
.demo-try-title { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1rem; }
.demo-card .ticks { margin: 0; }
.demo-notes .card h3 { margin-top: 16px; }
.demo-off-notice { max-width: 760px; padding: 24px; }
.demo-off-notice svg { flex: none; margin-top: 4px; color: var(--brand-600); }
.demo-off-notice h2 { margin: 0 0 8px; }
.demo-off-notice p { margin: 0 0 12px; color: var(--ink-2); }
.demo-off-notice .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
@media (max-width: 859.98px) {
  .demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 539.98px) {
  .demo-card { padding: var(--s-5, 20px); }
  .demo-cred-row { grid-template-columns: 1fr; gap: 6px; }
  .cta-band-actions .cta-band-live { justify-content: flex-start; }
}

/* A section reached by an in-page link takes the focus (product.js), for
   screen readers and the keyboard; the ring shows only when it helps. */
main [data-anchor-focus]:focus:not(:focus-visible) { outline: none; }
