:root {
  --ink: #172121;
  --paper: #f5f0e8;
  --warm: #e8dece;
  --accent: #e95f35;
  --acid: #d9e85b;
  --line: rgba(23, 33, 33, 0.18);
  --muted: #596362;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.noise { position: fixed; inset: 0; opacity: .14; pointer-events: none; z-index: 5; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: relative; z-index: 30; min-height: 92px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 16px; }
.header-tools { display: flex; align-items: center; gap: 8px 20px; }
.lang-select { position: relative; }
.lang-select-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.lang-select-toggle:hover { color: var(--accent); }
.lang-select-caret {
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.lang-select.is-open .lang-select-caret { transform: rotate(225deg); margin-top: 2px; }
.lang-select-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: -4px;
  display: none;
  min-width: 52px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(23, 33, 33, .1);
}
.lang-select.is-open .lang-select-panel { display: block; }
.lang-select-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
.lang-select-option:hover { color: var(--ink); background: var(--paper); }
.lang-select-option.is-active { color: var(--ink); background: var(--warm); }
main, .site-footer, .header-link {
  transition: opacity .22s ease;
}
html.is-lang-out main,
html.is-lang-out .site-footer,
html.is-lang-out .header-link { opacity: 0; }
html.is-lang-out main { pointer-events: none; }
.wordmark { font-family: var(--mono); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 10px; letter-spacing: -.03em; }
.wordmark-mark { color: var(--accent); font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1; }
.wordmark strong, .wordmark small { display: block; font: inherit; line-height: 1.2; }
.wordmark strong { font-size: 12px; letter-spacing: .045em; text-transform: uppercase; }
.wordmark small { margin-top: 6px; color: var(--muted); font-size: 9px; letter-spacing: .075em; text-transform: uppercase; }
.wordmark small::before { content: "—"; margin-right: 6px; color: var(--accent); }
.header-link, .text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
}
.header-link::after, .text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
}
.header-link::before, .text-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s cubic-bezier(.22, .8, .32, 1);
  z-index: 1;
}
.header-link:hover::before, .text-link:hover::before,
.header-link:focus-visible::before, .text-link:focus-visible::before {
  transform: scaleX(1);
}
.header-link .link-arrow, .text-link .link-arrow {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  transition: transform .32s cubic-bezier(.22, .8, .32, 1);
}
.header-link:hover .link-arrow, .header-link:focus-visible .link-arrow { transform: translate(4px, -4px); }
.text-link:hover .link-arrow, .text-link:focus-visible .link-arrow { transform: translateY(4px); }
.hero { padding: 78px 0 96px; }
.eyebrow, .section-label { margin: 0 0 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.04em; font-weight: 600; line-height: 1.03; }
h1 { max-width: 940px; margin-bottom: 34px; font-family: var(--serif); font-size: clamp(2.55rem, 4.8vw, 4.6rem); }
h2 { font-family: var(--serif); font-size: clamp(1.95rem, 3.4vw, 3.4rem); }
h3 { letter-spacing: -.035em; }
.hero-copy { max-width: 620px; margin-bottom: 34px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 20px; padding: 15px 17px; font-family: var(--mono); font-size: 12px; letter-spacing: .015em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button .link-arrow { font-size: 19px; line-height: 0; display: inline-block; transition: transform .2s ease; }
.button:hover .link-arrow { transform: translateX(5px); }
.button-primary { background: var(--ink); color: var(--paper); }

/* Results matrix — the deliverable, shown as the hero visual */
.matrix-spot { margin-top: 72px; }
.matrix-card { padding: 19px; background: var(--ink); color: var(--paper); box-shadow: 12px 12px 0 var(--accent); }
.card-header { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; color: #c5d0ce; letter-spacing: .09em; text-transform: uppercase; }
.card-id { margin-left: auto; color: var(--acid); text-transform: none; letter-spacing: .02em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(217, 232, 91, .13); flex: none; }
.motion-ready .status-dot { animation: pulse-dot 2.6s ease-in-out infinite; }
.matrix-scroll { margin-top: 16px; overflow-x: auto; scrollbar-width: thin; }
table.matrix { width: 100%; min-width: 920px; border-collapse: collapse; }
.matrix th {
  padding: 10px 9px;
  border-bottom: 1px solid #53605f;
  color: #aab5b3;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.matrix td { padding: 14px 9px; border-bottom: 1px solid rgba(245, 240, 232, .12); vertical-align: middle; white-space: nowrap; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix tbody tr { transition: background .2s ease; }
.matrix tbody tr:hover { background: rgba(245, 240, 232, .05); }
td.supplier { font-size: 13.5px; font-weight: 600; color: var(--paper); }
.sup-loc { display: block; margin-top: 3px; color: #8b9795; font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; font-weight: 400; }
.src-ico { margin-left: 5px; color: var(--acid); font-family: var(--mono); font-size: 10px; }
.cell-mono { font-family: var(--mono); font-size: 13px; letter-spacing: -.01em; }
td.cost { color: var(--paper); }
td.lead { color: #c5d0ce; }
.unit-sub { display: block; margin-top: 3px; color: #8b9795; font-family: var(--mono); font-size: 9.5px; letter-spacing: .01em; }
td.match { font-size: 13.5px; }
.match-note { display: block; margin-top: 4px; color: #8b9795; font-family: var(--mono); font-size: 8px; letter-spacing: .02em; font-weight: 400; white-space: nowrap; }
.match-note.warn { color: #e6c15c; }
.m-high { color: var(--acid); }
.m-mid { color: #e6c15c; }
.m-low { color: #f08a63; }
td.src { white-space: nowrap; }
.pill {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 3px 7px;
  border: 1px solid rgba(217, 232, 91, .45);
  border-radius: 999px;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease;
}
.pill:hover, .pill:focus-visible { background: rgba(217, 232, 91, .12); }
.vend-badge {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.4;
}
.vend-mfr { color: var(--acid); border-color: rgba(217, 232, 91, .5); }
.vend-res { color: #b7c0be; border-color: rgba(183, 192, 190, .4); }
.card-footer { margin: 0; padding-top: 16px; border-top: 1px solid #53605f; margin-top: 6px; color: #b7c0be; font-size: 12px; }
.matrix-summary { color: var(--acid); font-family: var(--mono); font-size: 10.5px; line-height: 1.6; letter-spacing: .01em; }
.matrix-caption { margin: 16px 0 0; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }

.signal-bar { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--acid); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid p { margin: 0; padding: 14px 18px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.signal-grid p + p { border-left: 1px solid var(--ink); }
/* Equipment-scope ticker — seamless loop, paused on hover */
.ticker-section { padding: 66px 0 60px; }
.ticker-caption { margin: 0 0 32px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.ticker { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 38s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; align-items: center; gap: 46px; margin: 0; padding: 0 46px 0 0; list-style: none; }
.ticker-list li { white-space: nowrap; font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.ticker-list li::after { content: "·"; margin-left: 46px; color: var(--accent); font-size: 26px; font-weight: 400; line-height: 0; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 122px 0; }
.section-label { color: var(--muted); }
.section-label > span:first-child { color: var(--accent); margin-right: 10px; }

/* How it works — warm band, editorial steps */
.how-section { background: var(--warm); padding: 88px 0 98px; }
.how-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.how-layout h2 { margin: 0; max-width: 400px; }
.steps { margin: 0; padding: 2px 26px; list-style: none; border-left: 3px solid var(--accent); background: rgba(245, 240, 232, .46); }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 27px 0;
  cursor: default;
  transition: background-color .25s ease;
}
.steps li + li { border-top: 1px solid var(--line); }
.steps li::after {
  content: "";
  position: absolute;
  left: -26px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.22, .8, .32, 1);
}
.steps li:hover, .steps li:focus-within { background: var(--paper); }
.steps li:hover::after, .steps li:focus-within::after { transform: scaleY(1); }
.steps > li > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}
.steps h3 { margin-bottom: 6px; font-size: 21px; transition: color .2s ease; }
.steps li:hover h3, .steps li:focus-within h3 { color: var(--accent); }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

.capability-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; margin-bottom: 66px; }
.capability-intro h2 { margin: 0; max-width: 720px; }
.capability-intro p { margin: 0; color: var(--muted); }

/* Trust — provenance & security grid */
.trust-section { border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust-grid article { min-height: 215px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease; }
.trust-grid article:hover { background: var(--warm); }
.trust-grid article > span { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.trust-grid h3 { margin: 29px 0 6px; font-size: 23px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 14px; }

/* Who it is for — three audience cards */
.who-section { border-top: 1px solid var(--line); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-card { padding: 42px 34px; }
.who-card-ink { background: var(--ink); color: var(--paper); }
.who-card-acid { background: var(--acid); }
.who-card-accent { background: var(--accent); }
.who-kicker { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.who-card-ink .who-kicker { color: var(--acid); }
.who-card-acid .who-kicker, .who-card-accent .who-kicker { color: var(--ink); opacity: .55; }
.who-card h3 { margin: 26px 0 10px; font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.who-card p { margin: 0; font-size: 14px; }
.who-card-ink p { color: #bcc6c4; }
.who-card-acid p, .who-card-accent p { color: rgba(23, 33, 33, .78); }

/* Case walk-through + landed cost calculator */
.case-section { border-top: 1px solid var(--line); }
.case-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; }
.case-layout h2 { margin: 0 0 40px; max-width: 480px; }
.case-table { margin: 0; }
.case-table > div { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.case-table dt { margin: 0; color: var(--muted); font-size: 14px; }
.case-table dd { margin: 0; font-size: 15px; line-height: 1.5; }
.case-total dt, .case-total dd { color: var(--ink); font-weight: 600; }
.calc-card { padding: 22px 22px 20px; background: var(--ink); color: var(--paper); box-shadow: 10px 10px 0 var(--accent); }
.calc-card .card-header { color: #c5d0ce; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 18px; }
.calc-card .field { margin-bottom: 0; }
.calc-card .field label { color: #8b9795; }
.calc-card .field input { background: rgba(245, 240, 232, .07); border-color: rgba(245, 240, 232, .25); color: var(--paper); }
.calc-card .field input:focus { background: rgba(245, 240, 232, .1); border-color: var(--paper); box-shadow: 4px 4px 0 var(--acid); }
.calc-card .field input::placeholder { color: rgba(139, 151, 149, .6); }
.calc-out { margin: 20px 0 0; }
.calc-out > div { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline; padding: 9px 0; border-top: 1px solid #3e4a49; }
.calc-out dt { margin: 0; color: #8b9795; font-size: 13px; }
.calc-out dd { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--paper); }
.calc-total dt { color: var(--paper); font-weight: 600; }
.calc-total dd { color: var(--acid); font-size: 19px; font-weight: 500; }
.calc-perunit { margin: 12px 0 0; color: #8b9795; font-family: var(--mono); font-size: 11px; }
.calc-perunit span { color: var(--paper); }

/* About the founder */
.about-section { border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.about-layout h2 { margin: 0; max-width: 420px; }
.about-layout .signature { margin-top: 26px; color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }

/* FAQ — visible counterpart of the FAQPage structured data */
.faq-section { border-top: 1px solid var(--line); }
.faq-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; margin-bottom: 56px; }
.faq-intro h2 { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-item > span { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.faq-item h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; }
.faq-item p { margin: 0; max-width: 760px; color: var(--muted); font-size: 15px; }

/* Contact */
.contact-section { background: var(--ink); color: var(--paper); padding: 104px 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; }
.contact-section h2 { max-width: 670px; margin: 0; font-size: clamp(2.3rem, 4.2vw, 4.4rem); }
.agenda { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: agenda; }
.agenda li {
  position: relative;
  padding: 12px 0 12px 46px;
  border-top: 1px solid rgba(245, 240, 232, .18);
  color: #bcc6c4;
  font-size: 15px;
  cursor: default;
  transition: color .2s ease, border-color .2s ease;
}
.agenda li::before {
  counter-increment: agenda;
  content: counter(agenda, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  transition: transform .28s cubic-bezier(.22, .8, .32, 1);
}
.agenda li:hover, .agenda li:focus-visible {
  color: var(--acid);
  border-top-color: rgba(217, 232, 91, .5);
}
.agenda li:hover::before, .agenda li:focus-visible::before {
  transform: translate(4px, -4px);
}
.data-rule { margin: 22px 0 0; max-width: 520px; color: #9aa6a4; font-size: 14px; line-height: 1.55; }
.contact-copy { align-self: end; }
.contact-copy > p:first-child { margin-bottom: 28px; color: #bcc6c4; font-size: 17px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-form .field { margin-bottom: 14px; }
.contact-form .field label { color: #8b9795; }
.contact-form .field input, .contact-form .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(245, 240, 232, .25);
  background: rgba(245, 240, 232, .07);
  color: var(--paper);
  font: inherit;
  font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form .field textarea { resize: vertical; min-height: 76px; }
.contact-form .field input:focus, .contact-form .field textarea:focus { outline: none; border-color: var(--paper); box-shadow: 4px 4px 0 var(--acid); }
.contact-form .field input::placeholder, .contact-form .field textarea::placeholder { color: rgba(139, 151, 149, .6); }
.form-error { margin-top: 6px; padding: 14px 16px; background: rgba(233, 95, 53, .12); border-left: 3px solid var(--accent); }
.form-error-title { margin: 0 0 5px; color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.form-error p { margin: 0; color: #bcc6c4; font-size: 13.5px; line-height: 1.5; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent); }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { border-color: var(--accent); box-shadow: 4px 4px 0 rgba(233, 95, 53, .55); }
.form-submit { width: 100%; justify-content: space-between; margin-top: 8px; }
.form-submit:disabled { opacity: .55; transform: none; }
.form-success { margin-top: 18px; padding: 16px 18px; background: rgba(217, 232, 91, .08); border-left: 3px solid var(--acid); }
.form-success-title { margin: 0 0 6px; color: var(--acid); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.form-success p { margin: 0; color: #bcc6c4; font-size: 13.5px; line-height: 1.5; }
.contact-form .contact-note { margin-top: 16px; }
.button-light { background: var(--acid); color: var(--ink); }
.contact-note { margin: 22px 0 0; color: #bcc6c4; font-family: var(--mono); font-size: 11px; }
.contact-note a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }

/* Footer — legitimacy anchors */
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; flex-wrap: wrap; }
.footer-col { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer address { margin: 0; font-style: normal; }
.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-links a { position: relative; color: var(--muted); transition: color .2s ease; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); }
.footer-links .link-arrow { color: var(--accent); font-size: 12px; }

/* Sign-in page — invite-only client portal.
   Fits one screen: body is a flex column, footer pinned to the bottom. */
body.auth-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
body.auth-page .site-header { min-height: 72px; }
.auth { flex: 1; display: grid; place-items: center; padding: 22px 0 24px; }
.auth-card { width: min(460px, 100%); }
.auth-card .eyebrow { margin-bottom: 12px; }
.auth-card h1 { margin-bottom: 20px; font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 8px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(23, 33, 33, .38);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: rgba(89, 99, 98, .55); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 4px 4px 0 var(--accent); }
.auth-submit { width: 100%; justify-content: space-between; margin-top: 4px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px 22px; margin-top: 16px; flex-wrap: wrap; }
button.text-link { cursor: pointer; background: none; border: 0; padding: 2px 0 6px; }
.auth-notice { display: none; margin-top: 20px; padding: 18px 20px 20px; background: var(--warm); border-left: 3px solid var(--accent); }
.auth-notice.is-shown { display: block; animation: reveal .5s both; }
.auth-notice-title { margin: 0 0 8px; color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.auth-notice p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.auth-notice .text-link { font-size: 11px; }

/* 404 */
.not-found { padding: 100px 0 120px; }
.not-found h1 { margin: 10px 0 18px; font-size: clamp(4.5rem, 14vw, 9rem); line-height: .95; letter-spacing: -.05em; }
.not-found .eyebrow { margin-bottom: 10px; }
.not-found p { max-width: 480px; color: var(--muted); font-size: 17px; }
.not-found .button { margin-top: 30px; }

/* Legal pages */
.legal { padding: 70px 0 90px; }
.legal-header { position: relative; z-index: 30; display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid var(--line); gap: 16px; }
.legal-body { max-width: 760px; }
.legal-meta { margin: 0 0 34px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.legal-body h1 { margin-bottom: 14px; font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.legal-body h2 { margin: 44px 0 12px; font-size: 22px; letter-spacing: -.03em; }
.legal-body p { color: var(--muted); font-size: 16px; }
.legal-body p:last-child { margin-bottom: 0; }

.reveal { animation: reveal .65s both; }
.delay-1 { animation-delay: .08s; }.delay-2 { animation-delay: .16s; }.delay-3 { animation-delay: .24s; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(217, 232, 91, .13); }
  50% { box-shadow: 0 0 0 8px rgba(217, 232, 91, .06); }
}

/* Hide only until the parent is marked visible — never as a permanent state. */
.motion-ready .matrix-card:not(.is-visible) tbody tr,
.motion-ready .how-section:not(.is-visible) .steps li,
.motion-ready .trust-grid:not(.is-visible) article,
.motion-ready .who-grid:not(.is-visible) .who-card { opacity: 0; }
.motion-ready .matrix-card.is-visible tbody tr,
.motion-ready .how-section.is-visible .steps li,
.motion-ready .trust-grid.is-visible article,
.motion-ready .who-grid.is-visible .who-card { opacity: 1; }
.matrix-card.is-visible tbody tr { animation: matrix-row .4s ease-out both; }
.matrix-card.is-visible tbody tr:nth-child(1) { animation-delay: .3s; }
.matrix-card.is-visible tbody tr:nth-child(2) { animation-delay: .42s; }
.matrix-card.is-visible tbody tr:nth-child(3) { animation-delay: .54s; }
.matrix-card.is-visible tbody tr:nth-child(4) { animation-delay: .66s; }
.how-section.is-visible .steps li { animation: rise .42s ease-out both; }
.how-section.is-visible .steps li:nth-child(1) { animation-delay: 0s; }
.how-section.is-visible .steps li:nth-child(2) { animation-delay: .16s; }
.how-section.is-visible .steps li:nth-child(3) { animation-delay: .32s; }
.trust-grid.is-visible article { animation: rise .42s ease-out both; }
.trust-grid.is-visible article:nth-child(1) { animation-delay: .02s; }
.trust-grid.is-visible article:nth-child(2) { animation-delay: .1s; }
.trust-grid.is-visible article:nth-child(3) { animation-delay: .18s; }
.who-grid.is-visible .who-card { animation: rise .45s ease-out both; }
.who-grid.is-visible .who-card:nth-child(1) { animation-delay: .04s; }
.who-grid.is-visible .who-card:nth-child(2) { animation-delay: .16s; }
.who-grid.is-visible .who-card:nth-child(3) { animation-delay: .28s; }
@keyframes matrix-row { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
  main, .site-footer, .header-link { transition: none; }
  html.is-lang-out main,
  html.is-lang-out .site-footer,
  html.is-lang-out .header-link { opacity: 1; }
  .motion-ready .matrix-card tbody tr,
  .motion-ready .steps li,
  .motion-ready .trust-grid article,
  .motion-ready .who-grid .who-card { opacity: 1; transform: none; }
  .header-link:hover .link-arrow, .text-link:hover .link-arrow,
  .header-link:focus-visible .link-arrow, .text-link:focus-visible .link-arrow { transform: none; }
  .header-link:hover::before, .text-link:hover::before,
  .header-link:focus-visible::before, .text-link:focus-visible::before { transform: none; }
  .steps li:hover::after, .steps li:focus-within::after { transform: none; }
  .agenda li:hover::before, .agenda li:focus-visible::before { transform: none; }
}
@media (max-width: 780px) {
  .container { width: min(100% - 34px, 1180px); }
  .site-header { min-height: 72px; }
  .header-link { display: none; }
  .header-link.sign-in-link { display: inline-flex; }
  .lang-select-panel { right: -2px; }
  .hero { padding: 50px 0 76px; }
  h1 { font-size: clamp(2.15rem, 8.4vw, 3.3rem); }
  .hero-copy { font-size: 17px; }
  .matrix-spot { margin-top: 48px; }
  .matrix-card { box-shadow: 7px 7px 0 var(--accent); }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid p + p { border-left: 0; border-top: 1px solid var(--ink); }
  .ticker-section { padding: 48px 0 44px; }
  .ticker-caption { margin-bottom: 24px; }
  .ticker-list li { font-size: 17px; }
  .section { padding: 80px 0; }
  .how-section { padding: 62px 0 70px; }
  .how-layout { grid-template-columns: 1fr; gap: 36px; }
  .how-layout h2 { max-width: none; }
  .case-layout, .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-layout h2 { max-width: none; }
  .calc-card { box-shadow: 7px 7px 0 var(--accent); }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .case-table > div { grid-template-columns: 1fr; gap: 4px; }
  .capability-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
  .faq-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
  .faq-item { grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .who-card { padding: 32px 25px; }
  .contact-section { padding: 76px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { gap: 11px; flex-direction: column; align-items: flex-start; }
}

/* Cyrillic has no DM Mono glyphs — switch mono UI text to the sans stack. */
html[lang="ru"] .lang-select-toggle,
html[lang="ru"] .lang-select-option,
html[lang="ru"] .eyebrow,
html[lang="ru"] .section-label,
html[lang="ru"] .signal-grid p,
html[lang="ru"] .header-link,
html[lang="ru"] .text-link,
html[lang="ru"] .button,
html[lang="ru"] .card-header,
html[lang="ru"] .card-id,
html[lang="ru"] .card-footer,
html[lang="ru"] .matrix th,
html[lang="ru"] .vend-badge,
html[lang="ru"] .cell-mono,
html[lang="ru"] .sup-loc,
html[lang="ru"] .match-note,
html[lang="ru"] .unit-sub,
html[lang="ru"] .pill,
html[lang="ru"] .matrix-summary,
html[lang="ru"] .src-ico,
html[lang="ru"] .matrix-caption,
html[lang="ru"] .steps > li > span,
html[lang="ru"] .trust-grid article > span,
html[lang="ru"] .who-kicker,
html[lang="ru"] .contact-note,
html[lang="ru"] .site-footer,
html[lang="ru"] .footer-links a,
html[lang="ru"] .ticker-caption,
html[lang="ru"] .field label,
html[lang="ru"] .auth-notice-title,
html[lang="ru"] .legal-meta {
  font-family: var(--sans);
  letter-spacing: .04em;
}

@media (max-width: 460px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .button { width: 100%; justify-content: space-between; }
  .wordmark { font-size: 11px; }
  .matrix th, .matrix td { padding-left: 8px; padding-right: 8px; }
}
