/* Brand tokens and shared layout */
:root {
  --ink: #2F3E46;
  --pine: #354F52;
  --accent: #52796F;
  --interactive: #2945B9;
  --highlight: #DFFF00;
  --mint: #84A98C;
  --line: #CAD2C5;
  --paper: #FFFFFF;
  --tint: #F4F6F4;
  --clay: #D97757;
  --amber: #C8963E;
  --amber-wash: #F6ECDD;
  --clay-wash: #F9ECE6;
  --heading: Manrope, Inter, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 Inter, Arial, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .metric { font-family: var(--heading); line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(2.45rem, 5vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2.05rem, 4vw, 3.75rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw, 1.83rem); font-weight: 800; }
a { color: var(--interactive); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--interactive); outline-offset: 4px; }
.dark :focus-visible, .footer :focus-visible { outline-color: white; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 20; background: white; padding: 10px 16px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(1320px, calc(100% - 2 * clamp(20px, 4.4vw, 68px))); margin-inline: auto; }
.section { padding-block: clamp(62px, 8vw, 118px); border-top: 1px solid var(--line); }
.tinted { background: var(--tint); }
.dark, .footer { background: var(--ink); color: white; }
.section-title { display: grid; gap: 12px; margin-bottom: clamp(25px, 4vw, 48px); }
.eyebrow, .practice, .tag { color: var(--pine); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.lead { color: var(--pine); font-size: clamp(1rem, 1.5vw, 1.24rem); }
.metric { color: var(--accent); font-size: clamp(1.55rem, 3vw, 2.8rem); font-weight: 800; }
.note { color: var(--pine); font-size: .9rem; }
.btn, .detail-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.btn { justify-content: center; padding: 10px 15px; border: 1px solid var(--line); background: var(--paper); color: var(--interactive); }
.btn:hover { border-color: var(--interactive); background: var(--tint); }
.btn svg, .detail-link svg { flex: none; }
.btn.primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn.primary:hover { background: var(--pine); border-color: var(--pine); }
.btn.primary:disabled { cursor: not-allowed; color: var(--pine); background: var(--tint); border-color: var(--line); }
.detail-link:hover, nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.header { position: sticky; top: 0; z-index: 5; background: white; border-bottom: 1px solid var(--line); }
.head-inner { position: relative; min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: 82px; height: auto; }
.header nav, .head-actions { display: flex; align-items: center; gap: clamp(10px, 1.35vw, 23px); }
.header nav a { display: inline-flex; align-items: center; gap: 3px; text-decoration: none; font-size: .81rem; font-weight: 600; }
.header nav a:hover { text-decoration: underline; }
.header nav svg, .footer nav svg { width: 13px; height: 13px; }
.header .menu-btn, .header .mobile-materials { display: none; }

/* Hero and scenario translator */
.hero { background: var(--tint); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr); align-items: start; gap: clamp(30px, 5.1vw, 81px); padding-block: clamp(46px, 6.3vw, 98px) clamp(43px, 6.3vw, 86px); }
.hero-copy { padding-top: clamp(0px, 1.1vw, 16px); }
.practice { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 6px 10px; margin-bottom: 23px; }
.practice i { width: 7px; height: 7px; background: var(--highlight); border: 1px solid var(--ink); flex: none; }
.hero h1 { font-size: clamp(2.6rem, 4.45vw, 4.55rem); line-height: 1.03; letter-spacing: -.061em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lead { max-width: 55ch; margin-block: 24px 27px; }
.audience { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 17px; }
.audience span { color: var(--pine); font-weight: 600; font-size: .85rem; }
.audience span:first-child { text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; }
.translator { position: relative; background: white; border: 1px solid var(--interactive); }
.translator::after { content: ""; position: absolute; border-right: 1px solid var(--mint); border-bottom: 1px solid var(--mint); inset: 8px -8px -8px 8px; pointer-events: none; }
.module-head { display: flex; align-items: center; gap: 16px; padding: 18px 21px; background: var(--pine); color: white; }
.module-head h2 { font-size: clamp(1.05rem, 2vw, 1.45rem); letter-spacing: -.026em; }
.mark { width: 29px; height: 29px; position: relative; flex: none; }
.mark::before, .mark::after { content: ""; position: absolute; border: 1px solid var(--line); }
.mark::before { width: 13px; height: 13px; top: 0; left: 0; }
.mark::after { width: 17px; height: 17px; top: 12px; left: 12px; }
.tablist { display: flex; }
.tablist button { border: 0; background: transparent; font-weight: 600; text-align: left; }
.tablist button:hover { background: var(--tint); }
.tablist [aria-selected="true"], .tablist [aria-selected="true"]:hover { background: var(--interactive); color: white; }
.tablist :focus-visible { outline-offset: -4px; }
.tablist [aria-selected="true"]:focus-visible { outline-color: white; }
.scenario-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.scenario-tabs button { display: flex; flex-direction: column; gap: 5px; padding: 11px 10px; font-size: .75rem; line-height: 1.35; border-right: 1px solid var(--line); }
.scenario-tabs button:last-child { border-right: 0; }
.tab-number { font: 600 .64rem/1 Inter, sans-serif; letter-spacing: .08em; }
.transcript { display: grid; gap: 8px; padding: 13px; }
.trans-row { padding: 10px 13px; font-size: .86rem; line-height: 1.5; border: 1px solid var(--line); }
.trans-row .eyebrow { margin-bottom: 4px; font-size: .65rem; }
.trans-row.risk { border-left: 3px solid var(--clay); background: var(--clay-wash); }
.trans-row.solution { background: var(--tint); border-left: 3px solid var(--mint); }
.solution .eyebrow { display: inline-block; padding: 2px 7px; background: var(--highlight); color: var(--ink); }
.timing { margin-top: 7px; color: var(--pine); font-weight: 600; font-size: .73rem; }

/* Editorial sections */
.compare-tabs { flex-wrap: wrap; border: 1px solid var(--line); background: white; }
.compare-tabs button { flex: 1 1 auto; padding: 13px 17px; min-height: 48px; }
.comparison, .service-grid, .cases, .resource-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.comparison { grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 0; }
.comparison article, .service-card, .cases article { background: white; padding: clamp(20px, 3.2vw, 43px); }
.comparison article:last-child { background: #E9EFE9; }
.comparison h3, .cases h3 { margin-block: 8px 12px; }
.comparison .metric { margin-block: 22px 4px; }
.comparison .metric, .cases .metric { width: fit-content; padding-inline: .12em; background: var(--highlight); color: var(--ink); }
.comparison .risk { border-left: 3px solid var(--clay); padding-left: 9px; }
.service-grid, .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.service-card { display: flex; flex-direction: column; align-items: start; gap: 16px; }
.service-card h3 { max-width: 24ch; }
.card-top { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.tag { display: inline-block; padding: 5px 9px; background: var(--highlight); color: var(--ink); }
.privacy .tag { background: var(--clay-wash); border: 1px solid var(--clay); color: var(--ink); }
.ip .tag { background: var(--amber-wash); border: 1px solid var(--amber); color: var(--ink); }
.startups .tag { border: 1px solid var(--pine); }
.pricing { display: grid; gap: 5px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); width: 100%; }
.cases { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cases .metric { font-size: clamp(2.35rem, 4.7vw, 4.5rem); margin-bottom: 20px; }
.team { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 88px); }
.team .section-title { margin-bottom: 12px; }
.portrait { position: relative; margin: 0 8px 8px 0; border: 1px solid var(--interactive); }
.portrait::after { content: ""; position: absolute; inset: 8px -8px -8px 8px; border-right: 1px solid var(--mint); border-bottom: 1px solid var(--mint); pointer-events: none; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.portrait figcaption { position: absolute; bottom: 16px; left: 16px; right: 16px; padding: 6px 8px; background: white; font-size: .82rem; }
.facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 28px; border-top: 1px solid var(--line); }
.facts div { padding: 17px 15px 17px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
.facts h3 { font-size: 1.1rem; margin-bottom: 6px; }
.facts p { font-size: .89rem; }
.filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; list-style: none; padding: 0; margin: 28px 0 0; counter-reset: filters; }
.filters li { border-top: 1px solid var(--mint); padding-top: 14px; counter-increment: filters; }
.filters li::before { content: "0" counter(filters); display: block; color: var(--line); margin-bottom: 9px; font-size: .77rem; letter-spacing: .12em; }
.resource-grid article { display: flex; flex-direction: column; min-width: 0; background: white; }
.resource-visual { height: clamp(155px, 21vw, 285px); overflow: hidden; background: var(--ink); }
.resource-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.resource-visual.guide img { object-position: 50% 52%; }
.resource-copy { display: flex; flex: 1; align-items: start; flex-direction: column; gap: 11px; padding: clamp(20px, 3vw, 36px); }
.resource-copy .eyebrow { border-left: 3px solid var(--amber); padding-left: 9px; }
.resource-copy p:not(.eyebrow) { margin-bottom: 5px; }
.resource-copy .btn { margin-top: auto; }

/* Form, footer and internal documents */
.contact-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr); align-items: start; gap: clamp(26px, 6vw, 88px); }
.contact-grid .section-title { margin-bottom: 14px; }
#lead-form { background: var(--tint); border: 1px solid var(--line); padding: clamp(19px, 3vw, 37px); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend, .form-fields label { padding: 0; font-size: .88rem; font-weight: 600; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 7px 18px; }
.channels label { padding: 7px 10px; border: 1px solid var(--line); background: white; cursor: pointer; font-size: .85rem; }
.channels label:has(:checked) { border-color: var(--interactive); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--interactive); }
.form-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; }
.form-fields :is(input, select, textarea) { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #7C8B7F; border-radius: 0; background: white; margin-bottom: 8px; }
.form-fields textarea { resize: vertical; }
::placeholder { color: #50615C; opacity: 1; }
.consent-line { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; margin-block: 8px 16px; font-size: .85rem; }
.consent-line input { margin: 4px 0 0; width: 17px; height: 17px; }
.form-status:not(:empty) { margin-top: 12px; font-size: .9rem; }
.footer { padding-block: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .7fr; gap: 20px; align-items: end; }
.footer p, .footer nav { font-size: .86rem; }
.footer nav { display: grid; gap: 6px; }
.footer a { color: inherit; text-underline-offset: 4px; }
.footer a svg { vertical-align: middle; }
.document { max-width: 875px; }
.document h1 { margin-block: 12px 24px; font-size: clamp(2.25rem, 5vw, 4.65rem); hyphens: auto; }
.document > .btn { margin-top: 20px; }
.draft, .doc-index { padding: 15px 20px; border: 1px solid var(--line); background: var(--tint); }
.doc-index { margin-block: 17px; }
.doc-index ol { margin: 0; padding-left: 20px; }
.doc-part { padding-block: 19px; border-bottom: 1px solid var(--line); }
.doc-part h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); margin-bottom: 8px; }

@media (max-width: 1120px) {
  .header .head-materials { display: none; }
  .header .mobile-materials { display: inline-flex; }
}
@media (max-width: 920px) {
  .header .menu-btn { display: inline-flex; margin-left: auto; }
  .header nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: white; padding: 10px 15px; border: 1px solid var(--line); }
  .header [aria-expanded="true"] + nav { display: grid; gap: 0; }
  .header nav a { min-height: 43px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 83px; }
  .head-inner { min-height: 66px; gap: 8px; }
  .brand img { width: 65px; }
  .hero-grid, .team, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .hero h1 { max-width: 22ch; }
  .translator { margin-right: 8px; }
  .cases { grid-template-columns: minmax(0,1fr); }
  .portrait { width: min(100% - 8px, 400px); }
}
@media (max-width: 530px) {
  .head-inner .btn { padding-inline: 8px; font-size: .73rem; }
  .head-inner .btn svg { width: 13px; }
  .hero h1 { font-size: clamp(2.1rem, 9.8vw, 3.25rem); }
  .practice { font-size: .63rem; }
  .comparison, .service-grid, .resource-grid, .filters, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .compare-tabs { display: grid; }
  .compare-tabs button + button { border-top: 1px solid var(--line); }
  .scenario-tabs button { padding-inline: 7px; font-size: .71rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

