/* Novelty Communications — site stylesheet
   Layout: 1240px content column; light sections alternate with deep-petrol bands.
   Breakpoints: 1080px (tablet — nav collapses), 640px (phone — single column). */

:root {
  --ink: #0B2230;
  --ink-2: #33505F;
  --muted: #4A6474;
  --line: #DCE6EB;
  --line-strong: #A7BCC8;
  --paper: #FFFFFF;
  --mist: #F3F7F9;
  --petrol-950: #0A2A37;
  --petrol-900: #0E3442;
  --petrol-700: #144559;
  --steel: #1D6886;
  --steel-light: #7AB6D5;
  --link: #1D6886;
  --signal: #7AB6D5;
  --amber: #E3A44B;
  --on-dark: #FFFFFF;
  --on-dark-2: #CADDE7;
  --on-dark-3: #A3C0D0;
  --dark-line: #22566C;

  /* Barlow is modelled on DIN, the family of the logo wordmark and tagline. */
  --font-display: "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "DIN Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Barlow", "Segoe UI", system-ui, sans-serif; /* labels: spaced capitals, like the tagline */
  
  --radius: 6px;
  --radius-sm: 4px;
  --section-pad: clamp(64px, 9vw, 112px);
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--petrol-700); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--petrol-700); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1; letter-spacing: -0.005em; }
h2 { font-size: clamp(33px, 4vw, 52px); line-height: 1.04; }
h3 { font-size: 24px; line-height: 1.15; }
p { margin: 0; }
.eyebrow { font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--link); }
.on-dark .eyebrow, .eyebrow--signal { color: var(--signal); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  padding: 15px 26px; min-height: 48px; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: #9CCAE2; color: var(--ink); }
.btn-dark { background: var(--petrol-700); color: #fff; }
.btn-dark:hover { background: var(--petrol-900); color: #fff; }
.btn-ghost { color: #fff; border-color: #4F8099; font-weight: 600; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Brand ---------- */
/* The supplied Novelty Communications lockup (mark + rule + wordmark), never redrawn. */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { display: block; height: 64px; width: auto; max-width: none; }
.footer-brand .brand img { height: 68px; }

/* ---------- Utility bar + header ---------- */
.util-bar { background: var(--petrol-950); color: var(--on-dark-3); font-size: 13px; }
.util-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.util-bar span, .util-bar a { white-space: nowrap; }
.util-group { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.util-strong { color: #E8F1F5; }
.util-bar a { color: var(--signal); text-decoration: none; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--link); }
.nav a[aria-current="page"] { color: var(--link); border-bottom-color: var(--link); }
.nav .btn { padding: 12px 22px; min-height: 44px; color: #fff; border-bottom: 0; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { stroke: var(--ink); }
.header-cta { display: none; }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 20px; display: flex; flex-direction: column; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; }
.mobile-nav .btn { margin-top: 18px; width: 100%; }
.mobile-nav-contact { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; color: var(--muted); font-size: 15px; }
body.nav-open .mobile-nav { display: block; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--mist); }
.section--dark { background: var(--petrol-900); color: var(--on-dark); }
.section--petrol { background: var(--petrol-700); color: var(--on-dark); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.section-head--split > div { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.on-dark .lede, .section--dark .lede, .section--petrol .lede { color: var(--on-dark-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--petrol-900); color: var(--on-dark); }
.mesh { position: absolute; pointer-events: none; }
.mesh g { fill: none; stroke: var(--steel-light); stroke-linejoin: round; }
.hero .mesh { right: -180px; top: -140px; width: 900px; height: 900px; opacity: 0.16; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-copy .lede { color: var(--on-dark-2); max-width: 580px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.console { flex: 1 1 480px; min-width: 0; background: var(--petrol-950); border: 1px solid var(--dark-line); border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); overflow: hidden; color: var(--on-dark); }
.console-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--dark-line); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
.tag-sample { color: var(--ink); background: var(--amber); padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.console-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 20px; }
.kpi { background: var(--petrol-900); border-radius: var(--radius-sm); padding: 14px; min-width: 0; }
.kpi-label { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-3); letter-spacing: 0.06em; }
.kpi-value { font-family: var(--font-display); font-weight: 700; font-size: 32px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi-note { font-size: 12px; color: var(--on-dark-3); }
.console-table { padding: 0 20px 18px; }
.console-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; font-size: 14px; padding: 11px 0; border-bottom: 1px solid #1A4558; align-items: center; }
.console-row:last-child { border-bottom: 0; }
.console-row--head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--on-dark-3); border-bottom-color: var(--dark-line); padding: 8px 0; }
.console-row > :nth-child(2) { color: var(--on-dark-2); }
.console-row > :last-child { text-align: right; }
.status-live { color: var(--signal); }
.status-queued { color: var(--amber); }

/* ---------- Facts + logos ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.fact { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); padding-left: 20px; }
.fact-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px); color: var(--petrol-700); font-variant-numeric: tabular-nums; line-height: 1.15; }
.fact-label { color: var(--muted); font-size: 16px; }

.logos { background: var(--mist); }
.logos .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 34px; padding-bottom: 34px; }
.logos-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.logo-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
/* Client logos: drop approved SVG/PNG files into .logo-row as <img class="client-logo"> */
.client-logo { height: 40px; width: auto; filter: grayscale(1); opacity: .8; }

/* ---------- Service grid ---------- */
.cell-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cell p { color: var(--muted); }
a.cell { color: var(--ink); text-decoration: none; transition: background-color .15s ease; }
a.cell:hover { background: var(--mist); color: var(--ink); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--link); }
.step p { color: var(--muted); }

/* ---------- Split section (copy + list) ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.split-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-body { flex: 1 1 560px; min-width: 0; }

.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.feature-grid li { background: var(--petrol-900); padding: 26px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feature-grid strong { font-family: var(--font-display); font-size: 21px; }
.feature-grid span { color: var(--on-dark-3); font-size: 16px; }

.def-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.def-grid > div { border-top: 2px solid var(--petrol-700); padding-top: 18px; min-width: 0; }
.def-grid dt { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.def-grid dd { margin: 6px 0 0; color: var(--muted); }
.def-grid--plain > div { border-top: 0; padding-top: 0; }
.def-grid--plain dt { font-family: var(--font-body); font-size: 18px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card p { color: var(--muted); font-size: 16px; }
.card--feature { border: 2px solid var(--petrol-700); background: var(--mist); }
.card-meta { margin-top: auto; padding-top: 6px; font-size: 15px; color: var(--petrol-700); font-weight: 600; }
.badge { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; background: var(--petrol-700); color: #fff; padding: 4px 10px; border-radius: 2px; }
.section--alt .card { background: var(--paper); }

/* ---------- Articles + roles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.article-link { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-strong); padding-top: 20px; min-width: 0; }
.article-link:hover { color: var(--link); }
.article-cat { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--link); text-transform: uppercase; }
.article-title { font-family: var(--font-display); font-size: 25px; font-weight: 700; line-height: 1.25; }
.article-sum { color: var(--muted); font-size: 16px; }

.role-list { display: flex; flex-direction: column; gap: 12px; }
.role { color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--paper); }
.role:hover { border-color: var(--link); color: var(--ink); }
.role-meta { color: var(--muted); font-size: 15px; display: block; }
.role-arrow { color: var(--link); }

/* ---------- Forms ---------- */
.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); }
.input, .select, .textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
.textarea { resize: vertical; min-height: 140px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--link); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 15px; cursor: pointer; }
.choice input { accent-color: var(--petrol-700); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-note { font-size: 14px; color: var(--muted); max-width: 440px; }
.hp { display: none; }

/* ---------- CTA band ---------- */
.cta-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.cta-split .split-copy { flex: 1 1 420px; }
.cta-split .form { flex: 1 1 520px; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; color: #E8F1F5; margin-top: 8px; }
.cta-bar { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-bar h2 { max-width: 680px; font-size: clamp(27px, 3vw, 38px); }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--petrol-900); color: var(--on-dark); position: relative; overflow: hidden; }
.page-hero .mesh { right: -120px; top: -200px; width: 640px; height: 640px; opacity: 0.12; }
.page-hero .wrap { position: relative; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 84px); display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { max-width: 900px; font-size: clamp(36px, 4.6vw, 58px); }
.page-hero .lede { color: var(--on-dark-2); max-width: 700px; }
.page-hero--light { background: var(--paper); color: var(--ink); }
.page-hero--light .lede { color: var(--muted); }
.crumbs { font-size: 14px; color: var(--on-dark-3); }
.crumbs a { color: var(--on-dark-3); }
.page-hero--light .crumbs, .page-hero--light .crumbs a { color: var(--muted); }

.jump { background: var(--mist); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.pill { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--petrol-700); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.pill:hover { border-color: var(--link); }

.svc-group { padding-top: clamp(56px, 7vw, 88px); }
.svc-group:last-of-type { padding-bottom: var(--section-pad); }
.svc { display: flex; flex-wrap: wrap; gap: 24px 56px; padding: 40px 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-head { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-head h2 { font-size: clamp(27px, 2.6vw, 34px); line-height: 1.15; }
.svc-head p { color: var(--muted); }
.svc-col { flex: 1 1 280px; min-width: 0; }
.svc-col--narrow { flex: 0 1 300px; }
.col-label { font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--petrol-700); margin-bottom: 10px; }
.svc-col ul { margin: 0; padding-left: 18px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 13px; background: var(--mist); border: 1px solid var(--line); border-radius: 3px; padding: 4px 10px; }

.agent-desk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 22px; }
.agent-desk .stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.disp { font-size: 14px; border: 1px solid var(--dark-line); border-radius: 3px; padding: 8px 12px; color: var(--on-dark-2); }
.disp--on { background: var(--petrol-700); border-color: var(--petrol-700); color: #fff; }
.tagline { display: flex; gap: 8px; flex-wrap: wrap; }
.tagline span { font-size: 13px; border: 1px solid #2E6680; border-radius: 3px; padding: 3px 9px; }
.scorecard { background: #fff; color: var(--ink); border-radius: 8px; overflow: hidden; }
.scorecard-head { padding: 13px 20px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.scorecard-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.score-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.score-row .pass { font-family: var(--font-mono); color: var(--link); }
.score-row .coach { font-family: var(--font-mono); color: #9A5B12; }
.score-total { border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.mock-pair { display: flex; flex-wrap: wrap; gap: 20px; }
.mock-pair .console { flex: 2 1 540px; }
.mock-pair .scorecard { flex: 1 1 300px; min-width: 0; }

.job-cols { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.job-main { flex: 1.3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.job-side { flex: 1 1 380px; min-width: 0; position: sticky; top: 110px; }
.job-main h2 { font-size: 26px; }
.job-main ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }

.contact-cols { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.contact-info dl { margin: 0; display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--line); padding-top: 28px; }
.contact-info dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); }
.contact-info dd { margin: 4px 0 0; }
.contact-info .big { font-size: 20px; font-weight: 600; }
.contact-cols .form { flex: 1.4 1 560px; }
.note-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }

.brand-photo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 640px; }
.brand-photo img { display: block; width: 100%; height: auto; }
.two-col .prose-plain, .split-copy .prose-plain { display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); font-size: 18px; }
.photo-slot { aspect-ratio: 21 / 8; max-width: 100%; background: #E4EEF3; border-radius: var(--radius); position: relative; overflow: hidden; }
.photo-slot .mesh { right: -60px; top: -120px; width: 520px; height: 520px; opacity: 0.25; }
.photo-slot .mesh g { stroke: var(--steel); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.timeline li { border-top: 2px solid var(--petrol-700); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.timeline .yr { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--petrol-700); }
.timeline span:last-child { color: var(--muted); }

.two-col { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.two-col > * { flex: 1 1 380px; min-width: 0; }
.two-col .prose-plain { display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); font-size: 18px; }

/* ---------- Article page ---------- */
.prose { max-width: 720px; font-size: 18px; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-size: clamp(28px, 2.8vw, 34px); margin-top: 1.9em; }
.prose h3 { color: var(--ink); font-size: 24px; margin-top: 1.5em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--link); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--on-dark-3); font-size: 15px; }
.article-layout { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.article-layout .prose { flex: 1 1 560px; min-width: 0; }
.article-aside { flex: 0 1 320px; min-width: 0; position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; background: var(--mist); border-radius: var(--radius); padding: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-950); color: var(--on-dark-3); font-size: 15px; }
.site-footer .wrap { padding-top: 72px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-col strong { color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: var(--on-dark-3); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-strong { color: #E8F1F5; }
.footer-base { border-top: 1px solid var(--dark-line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; }
.footer-base nav { display: flex; gap: 20px; }
.footer-base a { color: var(--on-dark-3); }
.footer-base a:hover { color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 40px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .header-actions { display: flex; align-items: center; gap: 12px; }
  .util-bar .util-addr { display: none; }
  .hero-copy, .console { flex-basis: 100%; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--3 { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; gap: 0; }
  .article-grid .article-link { padding-bottom: 20px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; }
  .job-side, .article-aside { position: static; }
}
@media (min-width: 1081px) { .header-actions { display: contents; } }

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .util-bar { display: none; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .brand img { height: 50px; }
  .footer-brand .brand img { height: 56px; }
  .header-cta { display: none; }
  .nav-toggle { width: 44px; height: 44px; }
  .hero .mesh { width: 420px; height: 420px; right: -160px; top: -60px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .console-kpis { gap: 8px; padding: 14px; }
  .kpi { padding: 10px; }
  .kpi-value { font-size: 22px; }
  .kpi-note { display: none; }
  .console-bar { padding: 11px 14px; font-size: 10.5px; }
  .console-table { padding: 0 14px 10px; }
  .console-row { grid-template-columns: 1fr auto; }
  .console-row > :nth-child(2) { display: none; }
  .console-row--head { display: none; }
  .fact { padding-left: 14px; }
  .fact-label { font-size: 14px; }
  .logo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .cell-grid { grid-template-columns: 1fr; border-left: 0; }
  .cell { padding: 20px 0; border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .def-grid { grid-template-columns: 1fr; gap: 18px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-grid--compact .card { padding: 16px; }
  .card-grid--compact .card h3 { font-size: 17px; hyphens: auto; overflow-wrap: break-word; }
  .footer-col a, .footer-col span { overflow-wrap: anywhere; }
  .card-grid--compact .card p { font-size: 14px; }
  .form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .choice-row { flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-col--services { display: none; }
  .site-footer .wrap { padding-top: 44px; gap: 28px; }
  .agent-desk { grid-template-columns: 1fr; }
  .svc { padding: 28px 0; }
}
