/* AviChat: shared site system. Every page links this file and uses its tokens; page-specific styles stay small, in one <style> in the page head. */
:root {
  --ink: #0E1A2B;
  --ink-2: #3A4658;
  --muted: #5B6676;
  --line: #E3E7ED;
  --line-2: #D3D9E1;
  --soft: #F4F6F9;
  --blue: #1769C2;
  --blue-h: #12569F;
  --blue-tint: #EAF2FC;
  --navy: #0B1F3A;
  --navy-2: #13294A;
  --on-navy: #FFFFFF;
  --on-navy-2: #B9C6D8;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 40px);
  --shadow-screen: 0 0 0 1px rgba(14,26,43,.05), 0 1px 2px rgba(14,26,43,.06), 0 8px 20px -6px rgba(14,26,43,.16), 0 22px 36px -18px rgba(14,26,43,.22);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(23,105,194,.18); }
img, svg { display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-h); }
:where(a, button, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-h); color: #FFFFFF; }
.btn-primary:focus-visible { outline-color: var(--ink); }
.btn-ghost { background: #FFFFFF; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn svg { flex-shrink: 0; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-links a:hover { color: var(--blue); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15.5px; }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-in { gap: 8px; }
  .nav .btn { margin-left: auto; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 400px) { .nav .btn { padding: 0 14px; font-size: 15px; } .nav-logo img { height: 24px; } }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 4.6vw, 62px); font-weight: 700; line-height: 1.03; letter-spacing: -0.03em; }
.hero-sub { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-alt { margin-top: 20px; font-size: 15.5px; color: var(--muted); }
.hero-alt a { font-weight: 600; }

/* Product composite */
.composite { position: relative; min-height: 664px; }
.panel {
  position: absolute; right: 0; top: 8px; left: 210px;
  background: #FFFFFF; border-radius: 14px;
  box-shadow: var(--shadow-screen); overflow: hidden;
}
.panel-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-bar img { width: 24px; height: 24px; border-radius: 6px; }
.panel-bar strong { font-size: 14.5px; font-weight: 600; }
.panel-bar span { margin-left: auto; font-size: 13px; color: var(--muted); }
.panel-body { padding: 22px 24px 26px 122px; }
.panel-title { font-size: 15px; font-weight: 600; }
.panel-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.bars { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13.5px; }
.bars .lbl { color: var(--ink); }
.bars .val { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bars .track { grid-column: 1 / -1; height: 8px; background: var(--soft); border-radius: 4px; }
.bars .fill { height: 100%; background: var(--blue); border-radius: 0 4px 4px 0; }
.panel-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.phone {
  position: absolute; left: 0; top: 64px; width: 300px;
  background: #0D1117; border-radius: 44px; padding: 10px;
  box-shadow: 0 2px 4px rgba(14,26,43,.12), 0 24px 48px -12px rgba(14,26,43,.35), 0 48px 80px -32px rgba(14,26,43,.30);
}
.phone-screen { background: #FFFFFF; border-radius: 35px; overflow: hidden; height: 560px; display: flex; flex-direction: column; }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 0; font-size: 12px; font-weight: 600; }
.phone-island { width: 84px; height: 24px; background: #0D1117; border-radius: 14px; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.phone-head img { width: 28px; height: 28px; border-radius: 7px; }
.phone-head div { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.phone-head small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.chat { flex: 1; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.msg-q { align-self: flex-end; max-width: 88%; background: var(--blue); color: #FFFFFF; padding: 10px 13px; border-radius: 16px 16px 4px 16px; }
.msg-a { align-self: flex-start; max-width: 94%; background: var(--soft); padding: 12px 13px; border-radius: 16px 16px 16px 4px; }
.msg-a b { display: block; font-size: 15px; margin-bottom: 4px; }
.cite {
  display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 10px;
  background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 5px 10px 5px 8px; font-size: 11.5px; font-weight: 600; color: var(--blue); white-space: nowrap;
}
.disc { margin-top: 9px; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.phone-input { margin: 0 12px 16px; border: 1px solid var(--line-2); border-radius: 22px; padding: 10px 14px; font-size: 13px; color: var(--muted); }
.composite-note { position: absolute; right: 0; bottom: 0; font-size: 13px; color: var(--muted); }
.note-m { display: none; }

/* Proof strip */
.proof { margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); gap: 32px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.proof-claim { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.facts svg { flex-shrink: 0; margin-top: 1px; color: var(--blue); }

/* Sections */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec-soft { background: var(--soft); }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.sec-head p { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }

/* Product proof */
.work { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 56px; }
.app {
  background: #FFFFFF; border-radius: 14px; box-shadow: var(--shadow-screen); overflow: hidden;
}
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFCFD; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.app-bar span { margin-left: 10px; font-size: 13px; color: var(--muted); }
.app-body { padding: 28px clamp(18px, 3vw, 36px) 32px; display: flex; flex-direction: column; gap: 16px; font-size: 15.5px; line-height: 1.55; }
.app-body .msg-q { max-width: 72%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; }
.app-body .msg-a { max-width: 86%; padding: 16px 18px; border-radius: 18px 18px 18px 4px; }
.app-body .msg-a b { font-size: 17px; }
.app-body .cite { font-size: 13px; padding: 6px 12px 6px 10px; }
.app-body .disc { font-size: 12.5px; }
.decline .msg-a { background: #FFFFFF; border: 1px solid var(--line-2); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.points h3 { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.points p { margin-top: 8px; color: var(--ink-2); }

/* Build: split head + vertical timeline */
.build { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.build .sec-head { position: sticky; top: 120px; }
.build .sec-head p + p { margin-top: 16px; }
.build-more { display: inline-block; margin-top: 28px; font-weight: 600; text-decoration: none; }
.build-more:hover { text-decoration: underline; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 28px; padding-bottom: 48px; }
.timeline > li::before { content: ""; position: absolute; left: 23px; top: 56px; bottom: 8px; width: 2px; background: var(--line-2); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::before { display: none; }
.node {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; border: 2px solid var(--ink); color: var(--ink);
  font-size: 17px; font-weight: 700;
}
.node-loop { border-color: var(--blue); color: var(--blue); }
.timeline h3 { margin-top: 9px; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.timeline p { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.timeline .ongoing-body { background: #FFFFFF; border-radius: 14px; padding: 4px 28px 26px; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(14,26,43,.12); }

/* Audiences */
.aud {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr; column-gap: 64px; border-top: 1px solid var(--line-2);
}
/* Each column shares the parent's rows, so labels, headings and body text line up across all three */
.aud > div { position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; padding: 32px 0 8px; }
.aud > div + div::before { content: ""; position: absolute; left: -32px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.aud .aud-who { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.aud h3 { margin-top: 10px; font-size: 23px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.aud p { margin-top: 12px; color: var(--ink-2); }
.aud a { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none; }

.mini-panel { display: none; }
/* Counsel band */
.counsel { background: var(--navy); color: var(--on-navy); }
.counsel .sec-head p { color: var(--on-navy-2); }
.counsel a { color: #FFFFFF; }
.sec-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.sec-grid > div { padding: 32px 40px 36px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.sec-grid > div:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid rgba(255,255,255,.16); }
.sec-grid svg { color: #8DB8EC; }
.sec-grid h3 { margin-top: 18px; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.sec-grid p { margin-top: 10px; color: var(--on-navy-2); }
.sec-grid .basis { margin-top: 14px; font-size: 14px; color: #FFFFFF; font-weight: 500; }
.counsel-ctas { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.counsel .btn-light { background: #FFFFFF; color: var(--navy); }
.counsel .btn-light:hover { background: #E6EDF6; color: var(--navy); }
.btn-light:focus-visible { outline-color: #FFFFFF; }
.counsel-ctas a.link { font-weight: 600; text-decoration: none; }
.counsel-ctas a.link:hover { text-decoration: underline; color: #FFFFFF; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq .sec-head { position: sticky; top: 112px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 600; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex-shrink: 0; color: var(--muted); transition: transform .2s ease; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 26px; color: var(--ink-2); max-width: 64ch; }

/* Bulletin */

/* Closing */
.closing { padding: clamp(88px, 11vw, 136px) 0; background: var(--soft); text-align: center; }
.closing h2 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; max-width: 15em; margin: 0 auto; }
.closing .btn { margin-top: 36px; min-height: 56px; padding: 0 30px; font-size: 18px; }
.closing-note { margin: 22px auto 0; max-width: 46ch; color: var(--ink-2); }
.closing-kit { margin-top: 18px; font-size: 16px; color: var(--muted); }
.closing-kit a { font-weight: 600; }

/* Footer */
footer { background: #FFFFFF; border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15.5px; }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot img { height: 26px; width: auto; }
.foot p { margin-top: 14px; color: var(--ink-2); max-width: 30em; }
.foot .foot-h { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { display: inline-block; padding: 6px 0; color: var(--ink); text-decoration: none; }
.foot ul a:hover { color: var(--blue); }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 14px; }


/* Entrance: one orchestrated moment on the hero composite */
@media (prefers-reduced-motion: no-preference) {
  .panel { animation: rise .7s cubic-bezier(.16,1,.3,1) .1s both; }
  .phone { animation: rise .8s cubic-bezier(.16,1,.3,1) .25s both; }
  .msg-a { animation: fade .5s ease .9s both; }
  .bars .fill { transform-origin: left; animation: grow .9s cubic-bezier(.16,1,.3,1) .5s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .composite { min-height: 600px; max-width: 760px; }
  .proof-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .work { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud { grid-template-columns: minmax(0, 1fr); }
  .build { grid-template-columns: minmax(0, 1fr); }
  .build .sec-head { position: static; }
  .aud > div { display: block; grid-row: auto; padding: 28px 0; border-bottom: 1px solid var(--line-2); }
  .aud > div + div::before { display: none; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-grid > div, .sec-grid > div:nth-child(even) { padding: 28px 0; border-left: 0; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .sec-head { position: static; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .btn { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .nav-logo img { height: 24px; }
  .hero-sub, .sec-head p { font-size: 17px; }
  .hero-ctas { margin-top: 28px; }
  .hero-ctas .btn { flex: 1 1 100%; }

  /* One product visual on a phone: the answer, cropped to its content */
  .composite { min-height: 0; display: block; }
  .panel, .note-d { display: none; }
  .note-m { display: inline; }
  .phone, .composite-note { position: static; }
  .phone { width: min(100%, 300px); margin: 8px auto 0; border-radius: 40px; }
  .phone-screen { height: auto; border-radius: 31px; }
  .chat { flex: none; padding-bottom: 16px; }
  .composite-note { display: block; margin-top: 16px; text-align: center; }

  .proof { margin-top: 48px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }

  .work { margin-top: 40px; }
  .app-body { padding: 20px 16px 24px; font-size: 15px; }
  .app-body .msg-q, .app-body .msg-a { max-width: 100%; }
  .points { gap: 26px; }
  .points h3, .timeline h3, .aud h3, .sec-grid h3 { font-size: 20px; }

  /* Timeline: slimmer rail so the text gets the width */
  .timeline > li { grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding-bottom: 36px; }
  .timeline > li::before { left: 15px; top: 40px; }
  .node { width: 32px; height: 32px; font-size: 15px; border-width: 1.5px; }
  .node svg { width: 16px; height: 16px; }
  .timeline h3 { margin-top: 3px; }
  .timeline .ongoing-body { padding: 0 18px 20px; }
  .timeline .ongoing-body h3 { padding-top: 16px; }

  .sec-grid h3 { margin-top: 14px; }
  .counsel-ctas .btn { width: 100%; }
  .faq-list summary { font-size: 17px; padding: 20px 0; }
  .closing .btn { width: 100%; }
  .mini-panel {
    display: block; margin-top: 20px; padding: 18px 18px 16px; background: #FFFFFF;
    border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(14,26,43,.14);
  }
  .mini-panel .panel-title { font-size: 14.5px; }
  .mini-panel .bars { margin-top: 14px; gap: 12px; }
  .mini-panel .panel-meta { font-size: 12.5px; }
  .mini-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
}

/* ==========================================================================
   Shared components for the other pages
   ========================================================================== */

/* Footer: four columns now that Industries has a home */
.foot { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Nav: current page + mobile menu */
.nav-links a[aria-current="page"] { color: var(--blue); }
.nav-menu[hidden] { display: none; }
.nav-menu {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 49;
  background: #FFFFFF; overflow-y: auto;
  padding: 8px var(--gut) 32px; display: flex; flex-direction: column;
}
.nav-menu a { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 600; }
.nav-menu a[aria-current="page"] { color: var(--blue); }
.nav-menu .btn { margin: 24px 0 0; width: 100%; min-height: 52px; padding: 0 24px; font-size: 17px; border-bottom: 0; color: #FFFFFF; }
@media (min-width: 961px) { .nav-menu { display: none !important; } }

/* Page intro: the first viewport of every inner page */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(38px, 4.8vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; max-width: 18em; }
.page-hero .lede { margin-top: 22px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.page-hero .hero-ctas { margin-top: 32px; }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .page-hero-split { grid-template-columns: minmax(0, 1fr); } }

/* Breadcrumb (articles and nested pages only) */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line-2); }

/* Long-form reading: articles, legal, explainers */
.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.prose h3 { margin-top: 1.8em; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; box-shadow: inset 1px 0 0 var(--line-2); font-size: 21px; line-height: 1.5; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); border-bottom-color: var(--line-2); }
.prose .table-wrap { overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
@media (max-width: 640px) { .prose { font-size: 17px; } }

/* Quiet panel for asides, notes, summaries */
.aside-panel { background: var(--soft); border-radius: 14px; padding: 24px 28px; }
.aside-panel h2, .aside-panel h3 { margin-top: 0; }

/* Forms */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8A93A1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AEB7C3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,194,.2); }
.field-hint { font-size: 14px; color: var(--muted); }
.field-error { display: none; font-size: 14.5px; font-weight: 500; color: #B42318; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B42318; }
.field.is-invalid .field-error { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot small { font-size: 14px; color: var(--muted); }
.form-success { display: none; }
.form.is-sent > :not(.form-success) { display: none; }
.form.is-sent .form-success { display: block; }
.form-card { background: #FFFFFF; border-radius: 16px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 0 0 1px var(--line), 0 8px 20px -6px rgba(14,26,43,.12); }

/* Simple ruled list of facts with a check */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks svg { flex-shrink: 0; margin-top: 4px; color: var(--blue); }

/* Fixes reported by the page builds */
.form-row .field { align-content: start; }
.nav-menu a.btn[aria-current="page"] { color: #FFFFFF; }

/* Industries dropdown (desktop) and group (mobile menu) */
.nav-dd { position: relative; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 0;
  font-family: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
  background: none; border: 0; cursor: pointer;
}
.nav-dd-btn:hover, .nav-dd-btn.is-current { color: var(--blue); }
.nav-dd-btn svg { transition: transform .2s ease; }
.nav-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dd-menu[hidden] { display: none; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: -14px; z-index: 60; min-width: 220px;
  display: grid; padding: 8px; background: #FFFFFF; border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line), 0 12px 28px -10px rgba(14,26,43,.22);
}
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-links .nav-dd-menu a { padding: 10px 12px; border-radius: 8px; font-size: 16px; }
.nav-links .nav-dd-menu a:hover { background: var(--soft); }
.nav-menu-h { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-menu a.nav-sub { padding-left: 16px; font-weight: 500; }
/* Align the Industries button with the text links */
.nav-links { align-items: center; }
.nav-dd-btn { padding: 0; line-height: inherit; }

/* Skip link: visually hidden until focused */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #FFFFFF; font-weight: 600; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 16px; outline: 3px solid var(--blue); outline-offset: 2px; }

/* Form failure state (site.js adds .is-failed when the request fails) */
.form-error { display: none; margin: 0; font-size: 15px; font-weight: 500; color: #B42318; }
.form-error:focus { outline: none; }
.form.is-failed .form-error { display: block; }
