@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #1c3a57;
  --gold: #b48c64;
  --sand: #dcc4a8;
  --cream: #f5f0e8;
  --soft: #fbf8f3;
  --paper: #fffdf8;
  --dark: #3e2716;
  --mid: #785537;
  --line: #e4d9c8;
  --line-strong: #cdbb9f;
  --ink: #3e2716;
  --ink-soft: rgba(62, 39, 22, .72);
  --navy-soft: rgba(28, 58, 87, .10);
  --gold-soft: rgba(180, 140, 100, .16);
  --error: #9b3f32;
  --success: #1c3a57;
  --shadow: 0 24px 80px rgba(28, 58, 87, .10);
  --radius: 8px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --wrap: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-link img {
  width: 172px;
  height: auto;
  display: block;
}

.header-logo-art {
  position: relative;
  display: block;
  flex: 0 0 164px;
  width: 164px;
  height: 42px;
  overflow: hidden;
}

.header-logo-art img {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  content: url("assets/arkascale-header-logo.svg");
  transform: none;
}

.descriptor {
  display: none;
  max-width: 164px;
  color: var(--mid);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  min-height: 40px;
  padding: 11px 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.nav a[aria-current="page"] {
  color: var(--navy);
}

.nav .nav-calculator {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .button {
  white-space: nowrap;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.language-switcher a,
.language-switcher span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 0 7px;
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.language-switcher a[aria-current="true"] {
  background: var(--navy);
  color: var(--paper);
}

.language-switcher span[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

.language-switcher-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--paper);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.button.secondary:hover {
  background: var(--navy-soft);
  color: var(--navy);
}

.button.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--dark);
}

.button.gold:hover {
  border-color: var(--sand);
  background: var(--sand);
  color: var(--dark);
}

.button.light {
  border-color: rgba(245, 240, 232, .72);
  background: transparent;
  color: var(--cream);
}

.button.light:hover {
  border-color: var(--sand);
  background: rgba(255, 253, 248, .10);
  color: var(--cream);
}

.page-main {
  overflow: hidden;
}

.hero {
  padding: 70px 0 48px;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 456px);
  gap: 48px;
  align-items: start;
}

.hero-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 26px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-hero .eyebrow {
  color: var(--sand);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
.display {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 700;
  line-height: .98;
}

.editorial-hero h1 {
  color: var(--cream);
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.editorial-hero .lead {
  max-width: 520px;
  color: rgba(245, 240, 232, .84);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-microcopy {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--mid);
  font-size: 13px;
}

.editorial-hero .hero-microcopy {
  color: rgba(245, 240, 232, .68);
}

.hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-scope span {
  min-height: 32px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, .78);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-hero .hero-scope span {
  border-color: rgba(245, 240, 232, .32);
  background: transparent;
  color: var(--cream);
}

.hero-cover {
  position: relative;
  align-self: stretch;
  min-height: 452px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 240, 232, .16);
  background: var(--navy);
}

.hero-cover::after {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  content: "";
  background: linear-gradient(transparent, rgba(28, 58, 87, .92));
}

.hero-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-cover figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-cover figcaption span {
  margin-right: 8px;
  color: var(--sand);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.home-page .editorial-hero {
  padding: 0;
  border-bottom-color: rgba(245, 240, 232, .18);
}

.hero-stage {
  position: relative;
  width: 100%;
}

.editorial-hero .hero-story {
  position: relative;
  display: block;
  min-height: 590px;
  padding: 64px max(24px, calc((100% - 1280px) / 2));
  background: var(--navy);
}

.editorial-hero .hero-copy {
  position: relative;
  z-index: 3;
  width: min(540px, 43%);
}

.editorial-hero h1 {
  max-width: 560px;
  font-size: 66px;
}

.editorial-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0;
}

.hero-offer {
  margin: 24px 0 0;
  color: var(--cream);
  font: italic 400 36px/1.15 var(--serif);
}

.editorial-hero .lead {
  max-width: 450px;
  font-size: 17px;
}

.editorial-hero .hero-actions {
  gap: 16px 24px;
}

.editorial-hero .text-link {
  gap: 12px;
}

.editorial-hero .hero-cover--founders {
  position: absolute;
  inset: 0;
  min-height: 0;
  border: 0;
  background: var(--navy);
}

.editorial-hero .hero-cover--founders::after {
  inset: 0;
  height: auto;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy) 42%,
    rgba(28, 58, 87, .96) 52%,
    rgba(28, 58, 87, .76) 61%,
    rgba(28, 58, 87, .34) 69%,
    transparent 77%
  );
}

.editorial-hero .hero-cover--founders img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(28, 58, 87, .16) 8%,
    rgba(28, 58, 87, .72) 20%,
    var(--navy) 34%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(28, 58, 87, .16) 8%,
    rgba(28, 58, 87, .72) 20%,
    var(--navy) 34%
  );
}

.editorial-hero .hero-cover--founders picture {
  display: contents;
}

.editorial-hero .hero-cover--founders figcaption {
  right: 24px;
  bottom: 16px;
  left: auto;
  font-size: 10px;
  letter-spacing: 0;
}

.editorial-hero .hero-cover--founders figcaption span {
  margin: 0 8px;
  font: inherit;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
}

.text-link--light,
.text-link--light:hover {
  color: var(--cream);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-item {
  min-height: 116px;
  padding: 20px;
  background: rgba(255, 253, 248, .76);
}

.proof-item strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--mid);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.audit-panel {
  overflow: hidden;
  width: 100%;
  max-width: 456px;
  justify-self: end;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .9);
  box-shadow: var(--shadow);
}

.hero-calculator {
  scroll-margin-top: 96px;
}

.hero-calculator:focus {
  outline: 2px solid rgba(180, 140, 100, .48);
  outline-offset: 5px;
}

.calculator-modal,
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.calculator-backdrop,
.lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 58, 87, .56);
  backdrop-filter: blur(10px);
}

.calculator-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(228, 217, 200, .35) 1px, transparent 1px),
    linear-gradient(180deg, rgba(228, 217, 200, .40) 1px, transparent 1px),
    var(--soft);
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: 0 30px 90px rgba(28, 58, 87, .28);
}

.calculator-dialog:focus {
  outline: 0;
}

.lead-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(228, 217, 200, .32) 1px, transparent 1px),
    linear-gradient(180deg, rgba(228, 217, 200, .36) 1px, transparent 1px),
    var(--soft);
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: 0 30px 90px rgba(28, 58, 87, .28);
}

.lead-dialog:focus {
  outline: 0;
}

.calculator-dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.calculator-dialog-head h2 {
  font-size: 54px;
}

.calculator-dialog-head p:not(.section-kicker) {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.modal-close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--gold);
  outline: 0;
}

.lead-dialog-head {
  background: var(--navy);
  border-bottom-color: rgba(220, 196, 168, .45);
}

.calculator-dialog-head.lead-dialog-head .lead-dialog-brand {
  margin: 0 0 18px;
  color: var(--sand);
  font: 700 16px/1 var(--serif);
}

.lead-dialog-head .section-kicker {
  color: var(--sand);
}

.lead-dialog-head h2 {
  color: var(--cream);
}

.lead-dialog-head p:not(.section-kicker):not(.lead-dialog-brand) {
  color: rgba(245, 240, 232, .76);
}

.lead-dialog-head .modal-close {
  border-color: rgba(220, 196, 168, .7);
  background: transparent;
  color: var(--cream);
}

.lead-dialog-head .modal-close:hover,
.lead-dialog-head .modal-close:focus-visible {
  border-color: var(--cream);
  background: rgba(245, 240, 232, .08);
}

.audit-panel-modal {
  max-width: none;
  justify-self: stretch;
  border: 0;
  border-radius: 0;
  background: rgba(255, 253, 248, .82);
  box-shadow: none;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.panel-title {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.panel-body {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}

.calc-intro {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(180, 140, 100, .22);
  border-radius: 6px;
  background: rgba(255, 253, 248, .74);
  color: var(--mid);
  font-size: 12px;
  line-height: 1.38;
}

.calc-section {
  display: grid;
  gap: 5px;
  padding: 0 0 9px;
  border-bottom: 1px solid rgba(220, 196, 168, .58);
}

.calc-section-title {
  margin: 0;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.money-section {
  padding: 14px;
  border: 1px solid rgba(180, 140, 100, .26);
  border-radius: 6px;
  background: rgba(220, 196, 168, .42);
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.flow-row {
  display: grid;
  gap: 7px;
  align-items: start;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 253, 248, .62);
}

.flow-row:last-child {
  border-bottom: 1px solid var(--line);
}

.flow-row span {
  color: var(--ink-soft);
  font-size: 12px;
}

.flow-row strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.loss-card {
  margin-top: 5px;
  padding: 13px 14px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
}

.loss-card b {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1;
}

.loss-card span {
  display: block;
  margin-top: 6px;
  color: var(--mid);
  font-size: 12px;
}

.panel-action,
.review-trigger {
  width: 100%;
  margin-top: 7px;
}

.review-trigger {
  max-width: 360px;
}

.section {
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}

.section.dark {
  background: var(--navy);
  color: var(--cream);
}

.section.dark h2,
.section.dark h3,
.section.dark .section-kicker {
  color: var(--sand);
}

.section.dark .section-copy,
.section.dark p,
.section.dark li {
  color: rgba(245, 240, 232, .78);
}

.revenue-section {
  background: rgba(245, 240, 232, .38);
}

.revenue-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--paper);
}

.revenue-step {
  position: relative;
  min-height: 208px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.revenue-step:last-child {
  border-right: 0;
  background: rgba(180, 140, 100, .10);
}

.revenue-step span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.revenue-step h3,
.path-problem h3 {
  margin: 0;
}

.revenue-step p,
.path-problem p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.path-problems {
  margin-top: 18px;
}

.path-problem {
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.path-problem .section-kicker {
  margin-bottom: 16px;
}

.path-story {
  position: relative;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--navy);
}

.path-story::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(28, 58, 87, .04) 40%, rgba(28, 58, 87, .96) 100%);
}

.path-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.path-story-copy {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 26px;
  left: 28px;
}

.path-story .section-kicker,
.path-story h3,
.path-story p:last-child {
  color: var(--cream);
}

.path-story h3 {
  max-width: 440px;
  font-family: var(--serif);
  font-size: 34px;
}

.path-story p:last-child {
  max-width: 470px;
  color: rgba(245, 240, 232, .76);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(280px, .44fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head--single {
  grid-template-columns: minmax(0, .82fr);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.section-copy {
  margin: 0;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.card.dark-card {
  border-color: rgba(220, 196, 168, .22);
  background: rgba(255, 253, 248, .06);
}

.card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.card .button {
  width: max-content;
  margin-top: 20px;
}

.free-product-card {
  border-color: rgba(180, 140, 100, .55);
  background: linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(220, 196, 168, .42));
}

.number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag,
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--mid);
  background: rgba(255, 253, 248, .62);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.status-tag {
  border-color: rgba(155, 63, 50, .25);
  color: var(--error);
  background: rgba(155, 63, 50, .07);
}

.service-link {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.service-link:hover {
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-1px);
}

.service-link small {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.service-link p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.service-link span:last-child {
  margin-top: auto;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.service-feature {
  grid-column: 1 / -1;
  min-height: auto;
}

.service-feature .number {
  color: var(--navy);
  font-size: 18px;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-feature .button {
  width: max-content;
  margin-top: 22px;
}

.method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(220, 196, 168, .28);
  background: rgba(220, 196, 168, .16);
}

.method-step {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid rgba(220, 196, 168, .28);
}

.method-step:last-child {
  border-right: 0;
}

.method-step b {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 42px;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.case-card .metric {
  margin: 22px 0 12px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.case-card p {
  margin: 0;
  color: var(--ink-soft);
}

.case-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.magazine-home > .section {
  padding-top: 94px;
  padding-bottom: 94px;
}

@media (min-width: 981px) {
  .editorial-cases .grid.three {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .editorial-cases .case-card:first-child {
    grid-column: span 6;
    min-height: 410px;
    padding: 34px;
    background: var(--navy);
  }

  .editorial-cases .case-card:first-child .metric,
  .editorial-cases .case-card:first-child h3 {
    color: var(--cream);
  }

  .editorial-cases .case-card:first-child p {
    color: rgba(245, 240, 232, .76);
  }

  .editorial-cases .case-card:first-child .tag {
    border-color: rgba(245, 240, 232, .38);
    color: var(--sand);
  }

  .editorial-cases .case-card:first-child .button {
    border-color: var(--sand);
    color: var(--cream);
  }

  .editorial-cases .case-card:nth-child(2),
  .editorial-cases .case-card:nth-child(3) {
    grid-column: span 3;
  }

  .editorial-knowledge .grid.four {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .editorial-knowledge .card:first-child {
    grid-column: span 5;
    min-height: 320px;
    padding: 30px;
  }

  .editorial-knowledge .card:not(:first-child) {
    grid-column: span 7;
  }
}

.compact-case {
  min-height: 280px;
}

.note {
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--mid);
}

.note strong {
  color: var(--navy);
}

.review-entry {
  max-width: 960px;
}

.review-entry .lead {
  max-width: 820px;
}

.review-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.review-points span {
  min-height: 34px;
  padding: 9px 12px;
  border: 1px solid rgba(220, 196, 168, .28);
  border-radius: 6px;
  color: rgba(245, 240, 232, .84);
  background: rgba(255, 253, 248, .06);
  font-size: 12px;
  font-weight: 600;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(360px, .58fr);
  gap: 42px;
  align-items: start;
}

.form-card {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.lead-form-card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: var(--paper);
}

.lead-form-card > .privacy-note[data-preview-notice] {
  margin: 0 0 16px;
}

.lead-origin {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--navy);
}

.lead-origin span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.lead-origin strong {
  font-size: 14px;
  line-height: 1.35;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 5px;
}

.field-group {
  display: grid;
  gap: 6px;
}

.field-group-label {
  margin: 0;
  color: var(--mid);
  font-size: 11px;
  font-weight: 600;
}

.field-hint {
  display: none;
  margin: -2px 0 0;
  color: rgba(120, 85, 55, .76);
  font-size: 11px;
  line-height: 1.3;
}

.audit-panel .calc-section:focus-within > .field-hint,
.audit-panel .field:focus-within > .field-hint,
.audit-panel .field-group:focus-within > .field-hint {
  display: block;
}

.split-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.field.compact label {
  color: rgba(120, 85, 55, .78);
}

.field.compact input {
  min-height: 40px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.checkbox {
  color: var(--mid);
  font-size: 11px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--dark);
  padding: 9px 11px;
  font-size: 14px;
}

.field input[type="number"] {
  appearance: textfield;
}

.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.button:focus-visible,
.nav a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(180, 140, 100, .34);
  outline-offset: 2px;
}

.checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 16px 0;
  line-height: 1.45;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--navy);
}

.checkbox a,
.privacy-note a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-note {
  margin: -6px 0 16px 28px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.lead-consent-gate {
  display: grid;
  gap: 14px;
  margin: 8px 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: var(--soft);
}

.lead-consent-gate[hidden],
.lead-consent-confirmed[hidden] {
  display: none;
}

.lead-consent-intro {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.5;
}

.lead-consent-gate .checkbox,
.lead-consent-gate .privacy-note {
  margin: 0;
}

.lead-consent-gate .button {
  width: fit-content;
  min-width: 160px;
}

.lead-consent-confirmed {
  margin: 12px 0;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.5;
}

.lead-consent-confirmed button,
.chat-consent-confirmed button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.human-check {
  padding: 16px;
  border: 1px solid rgba(155, 63, 50, .22);
  border-radius: 6px;
  background: rgba(155, 63, 50, .06);
}

.human-check p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.human-check .human-check-title {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 14px;
  border-radius: 6px;
  font-size: 13px;
}

.form-message.is-visible {
  display: block;
}

.form-message.success {
  background: var(--navy-soft);
  color: var(--success);
}

.form-message.error {
  background: rgba(155, 63, 50, .10);
  color: var(--error);
}

.page-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.page-hero h1 {
  max-width: 940px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: var(--mid);
  font-size: 12px;
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filterbar button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--mid);
  font-size: 12px;
  font-weight: 600;
}

.filterbar button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.article-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.article-row time {
  color: var(--mid);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.article-row p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.article-action {
  width: max-content;
  margin-top: 14px;
}

.checklist-card {
  min-height: auto;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(245, 240, 232, .80);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--sand);
  border-radius: 2px;
}

.checklist-section {
  scroll-margin-top: 96px;
  background: var(--paper-alt);
}

.guide-section {
  scroll-margin-top: 96px;
}

.checklist-accordion {
  display: grid;
  gap: 10px;
}

.checklist-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.checklist-details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 24px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.checklist-details summary::-webkit-details-marker {
  display: none;
}

.checklist-details summary span:first-child {
  font-weight: 700;
}

.checklist-details summary span:last-child {
  color: var(--ink-soft);
}

.checklist-details summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.checklist-details summary {
  position: relative;
  padding-right: 58px;
}

.checklist-details[open] summary::after {
  content: "-";
}

.check-list--light {
  margin: 0 24px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.check-list--light li {
  color: var(--ink-soft);
}

.check-list--light li::before {
  border-color: var(--gold);
}

.checklist-next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(180, 140, 100, .10);
}

.checklist-next-step p {
  margin: 0;
  color: var(--ink-soft);
}

.system-swatch {
  min-height: 120px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.system-swatch b {
  display: block;
  margin-top: 46px;
}

.site-footer {
  padding: 24px 0;
  background: var(--navy);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(100px, .42fr) minmax(300px, .9fr) minmax(190px, .66fr) 46px;
  align-items: start;
  column-gap: 28px;
  row-gap: 20px;
}

.footer-logo {
  width: 172px;
  height: auto;
  display: block;
}

.footer-title {
  margin: 20px 0 10px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(245, 240, 232, .76);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-title {
  margin: 0 0 6px;
  font-size: 11px;
}

.site-footer .footer-logo + .footer-title {
  margin-top: 12px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 2px;
}

.footer-grid > :nth-child(3) .footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.footer-grid > :nth-child(3) .footer-links > a:nth-child(-n + 2) {
  color: var(--cream);
  font-weight: 600;
  white-space: nowrap;
}

.footer-links a {
  display: block;
  min-height: 24px;
  padding: 2px 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-footer .social-legal-note {
  display: block;
  grid-column: 1 / -1;
  max-width: 230px;
  margin-top: 6px;
  color: rgba(245, 240, 232, .5);
  font-size: 10px;
  line-height: 1.35;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--paper);
}

.skip-link:focus {
  left: 10px;
}

.chat-widget {
  --chat-edge-gap: 22px;
  position: fixed;
  right: 22px;
  bottom: calc(var(--chat-edge-gap) + var(--chat-footer-offset, 0px));
  z-index: 70;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.chat-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(220, 196, 168, .46);
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 18px 50px rgba(28, 58, 87, .22);
}

.chat-button img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 999px;
  background: var(--cream);
}

.chat-button span {
  font-size: 12px;
  font-weight: 600;
}

.chat-avatar-signal {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  isolation: isolate;
}
.chat-avatar-signal::before,
.chat-avatar-signal::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
.chat-button[aria-expanded="false"] .chat-avatar-signal::before {
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(180, 140, 100, .22), 0 0 12px rgba(180, 140, 100, .55);
}
.chat-button[aria-expanded="false"] .chat-avatar-signal::after {
  box-shadow: 0 0 0 6px rgba(180, 140, 100, .48), 0 0 0 12px rgba(180, 140, 100, .26);
  animation: chat-avatar-call 3s ease-out infinite;
}
@keyframes chat-avatar-call {
  0%, 65%, 100% { transform: scale(1); opacity: 0; }
  5%, 35% { transform: scale(1); opacity: .95; }
  30%, 60% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-button[aria-expanded] .chat-avatar-signal::after { animation: none; }
}

.chat-panel {
  scroll-padding-top: 100px;
  grid-row: 1;
  width: min(360px, calc(100vw - 32px));
  overflow: auto;
  max-height: min(calc(100dvh - 110px), var(--chat-panel-height, 100dvh));
  overscroll-behavior: contain;
  border: 1px solid rgba(220, 196, 168, .42);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(28, 58, 87, .22);
}

.chat-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--navy);
  color: var(--cream);
}

.chat-head strong {
  color: var(--sand);
  font-size: 13px;
  letter-spacing: 0;
}

.chat-head .chat-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 38%; }
.chat-head > div { display: grid; gap: 4px; }
.chat-close { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; background: transparent; border: 0; color: var(--cream); font-size: 26px; cursor: pointer; }
.chat-close:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.chat-button { grid-row: 2; }
.chat-button:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

@media (max-width: 980px) {
  .chat-widget .chat-button { position: relative; top: auto; right: auto; bottom: auto; width: 52px; height: 52px; min-height: 52px; padding: 4px; }
  .chat-widget .chat-button img { width: 38px; height: 38px; }
  .chat-widget .chat-button span { display: none; }
  .chat-widget .chat-button .chat-avatar-signal { display: inline-grid; width: 38px; height: 38px; flex-basis: 38px; }
  .chat-widget .chat-button::after { content: 'ИИ'; position: absolute; right: -3px; bottom: -3px; padding: 1px 3px; border: 1px solid var(--sand); border-radius: 3px; background: var(--navy); color: var(--cream); font-size: 9px; }
}

@media (max-width: 640px) {
  .chat-head { gap: 8px; padding: 14px; }
  .chat-button { position: relative; width: 58px; height: 58px; min-height: 58px; padding: 4px; }
  .chat-button::after { content: 'ИИ'; position: absolute; right: -3px; bottom: -3px; padding: 1px 4px; border: 1px solid var(--sand); border-radius: 3px; background: var(--navy); color: var(--cream); font-size: 10px; }
}

:lang(en) .chat-button::after { content: 'AI'; }

.chat-head span {
  color: rgba(245, 240, 232, .72);
  font-size: 12px;
}

.chat-body {
  padding: 18px;
}

.chat-body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.chat-options {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.chat-options button {
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 253, 248, .74);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.chat-options button:hover,
.chat-options button:focus-visible {
  border-color: var(--gold);
  outline: 0;
}

.chat-response {
  min-height: 56px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  background: rgba(180, 140, 100, .10);
  line-height: 1.4;
}

.chat-request-button { width: 100%; margin-bottom: 10px; }
.chat-lead-form { display: grid; gap: 0; min-width: 0; }
.chat-lead-form[hidden], .chat-start[hidden], .chat-consent-step[hidden], .chat-session[hidden], .chat-lead-fields[hidden], .chat-open-lead[hidden], .chat-starters[hidden] { display: none; }
.chat-lead-form h3 { font: 600 18px/1.4 var(--sans); color: var(--navy); margin: 4px 0; }
.chat-consent-step, .chat-session, .chat-lead-fields { display: grid; gap: 8px; min-width: 0; }
.chat-session { margin: -2px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.chat-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; min-width: 0; padding: 10px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-composer-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-thread { display: grid; gap: 12px; min-height: 180px; max-height: 310px; overflow-y: auto; padding: 14px 12px 18px; background: var(--soft); overscroll-behavior: contain; }
.chat-starters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 0 10px 10px; background: var(--soft); }
.chat-starters button { min-width: 0; min-height: 42px; padding: 8px 9px; border: 1px solid rgba(28, 58, 87, .18); border-radius: 6px; background: var(--paper); color: var(--navy); font: 600 11px/1.35 var(--sans); text-align: left; cursor: pointer; }
.chat-starters button:hover, .chat-starters button:focus-visible { border-color: var(--gold); outline: 2px solid transparent; background: var(--cream); }
.chat-message-row { display: flex; align-items: flex-end; gap: 7px; width: 100%; }
.chat-message-row.is-user { justify-content: flex-end; }
.chat-bubble-avatar { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 38%; }
.chat-thread .chat-bubble { width: fit-content; max-width: calc(88% - 35px); margin: 0; padding: 8px 10px 9px; border: 1px solid rgba(28, 58, 87, .10); border-radius: 8px 8px 8px 2px; background: var(--paper); box-shadow: 0 1px 2px rgba(28, 58, 87, .06); color: var(--ink); overflow-wrap: anywhere; }
.chat-thread .chat-bubble > p { margin: 2px 0 0; color: inherit; font-size: 13px; line-height: 1.48; white-space: pre-wrap; }
.chat-bubble-author { display: block; color: var(--mid); font-size: 10px; font-weight: 700; line-height: 1.2; }
.chat-bubble.is-user { border-color: var(--navy); border-radius: 8px 8px 2px 8px; background: var(--navy); color: var(--cream); }
.chat-bubble.is-user .chat-bubble-author { color: var(--sand); text-align: right; }
.chat-composer > textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; max-height: 120px; resize: none; overflow-y: auto; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); color: var(--ink); font: 16px/1.4 var(--sans); }
.chat-composer > textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chat-composer > textarea::placeholder { font-size: 14px; line-height: 22px; letter-spacing: 0; }
.chat-send { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 8px; font-size: 22px; line-height: 1; }
.chat-new { grid-column: 1 / -1; justify-self: center; padding: 2px 0; border: 0; background: transparent; color: var(--navy); font: 600 12px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chat-new[hidden] { display: none; }
.chat-session > .chat-new { margin-bottom: 12px; }
.chat-open-lead { width: calc(100% - 20px); margin: 2px 10px 10px; }
.chat-ai-message { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.5; }
.chat-ai-message[data-state=error] { color: var(--error); }
.chat-privacy-note { margin: 0; padding: 0 12px 4px; color: var(--mid); font-size: 11px; line-height: 1.45; }
.chat-privacy-note a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.chat-lead-fields > label { font-size: 13px; color: var(--navy); margin-top: 4px; }
.chat-lead-form .chat-handoff-note { margin: 0 0 4px; padding: 9px 10px; border-left: 3px solid var(--gold); background: rgba(180, 140, 100, .10); color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.chat-lead-fields > input:not([hidden]), .chat-lead-fields > textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); color: var(--ink); font: 16px/1.4 var(--sans); }
.chat-lead-fields > textarea { resize: vertical; min-height: 84px; }
.chat-lead-form input:focus-visible, .chat-lead-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chat-lead-form .chat-lead-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.5; margin: 8px 0; }
.chat-lead-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.chat-lead-consent span { min-width: 0; }
.chat-lead-consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.chat-lead-form .chat-call-note, .chat-lead-form .chat-test-notice { font-size: 12px; line-height: 1.5; margin: 4px 0; }
.chat-lead-form .chat-test-notice { padding: 10px; background: var(--cream); color: var(--mid); }
.chat-lead-form .chat-test-notice:empty { display: none; }
.chat-consent-intro, .chat-consent-confirmed { margin: 4px 0; font-size: 12px; line-height: 1.5; }
.chat-consent-intro { color: var(--navy); }
.chat-consent-confirmed { color: var(--navy); }
.chat-lead-form .chat-lead-message { margin: 4px 0 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-lead-message[data-state=error] { color: var(--error); }
.chat-lead-message[data-state=success] { color: var(--navy); }
.chat-lead-form button[type=submit]:disabled { opacity: .6; cursor: default; }
.chat-back { width: fit-content; min-height: 36px; padding: 0; border: 0; background: none; color: var(--navy); font: 600 12px/1.5 var(--sans); text-align: left; cursor: pointer; }
.chat-back:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chat-optional { display: block; color: var(--ink-soft); font-size: 11px; font-weight: 400; }

.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 14px;
  width: min(560px, calc(100vw - 44px));
  max-height: calc(100dvh - 100px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(28, 58, 87, .16);
}

.cookie-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.cookie-banner a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-to-top {
  position: static;
  justify-self: end;
  align-self: start;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(28, 58, 87, .28);
  border-radius: 50%;
  background: rgba(251, 248, 243, .96);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(28, 58, 87, .16);
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--paper); transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.back-to-top span { font: 600 24px/1 var(--sans); transform: translateY(-1px); }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 40px;
}

.legal-document {
  max-width: 880px;
}

.legal-document .card {
  margin-bottom: 14px;
}

.legal-document a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-document h2 {
  margin-top: 0;
  font-size: 24px;
}

.document-meta {
  margin: 0 0 24px;
  color: var(--mid);
  font-size: 13px;
}

.legal-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.legal-list li + li {
  margin-top: 8px;
}

[hidden] {
  display: none !important;
}

@media (min-width: 1120px) {
  .descriptor {
    display: block;
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > .back-to-top {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 980px) {
  :root {
    --wrap: min(100% - 28px, 760px);
  }

  .header-inner {
    min-height: 68px;
  }

  .logo-link img {
    width: 148px;
  }

  .header-logo-art {
    flex-basis: 148px;
    width: 148px;
    height: 38px;
  }

  .header-logo-art img {
    width: 100%;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--soft);
  }

  .nav.is-open {
    display: flex;
  }

  .nav .nav-calculator {
    display: block;
  }

  .header-actions > .language-switcher {
    display: inline-flex;
  }

  .nav .language-switcher-mobile {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 8px;
  }

  .nav .language-switcher-mobile a {
    min-height: 28px;
    padding: 0 7px;
    border: 0;
  }

  .nav a {
    min-height: 46px;
    border-bottom: 1px solid var(--line);
  }

  .header-actions .button {
    display: none;
  }

  .field input, .field select, .field textarea { font-size: 16px; }

  .lead-dialog { display: flex; flex-direction: column; overflow: hidden; }
  .lead-dialog-head { flex: 0 0 auto; padding: 20px; gap: 12px; background: var(--navy); }
  .lead-dialog-head h2 { font-size: 30px; }
  .lead-dialog-head p:not(.section-kicker) { font-size: 12px; line-height: 1.4; margin-top: 8px; }
  .calculator-dialog-head.lead-dialog-head .lead-dialog-brand { margin: 0 0 12px; }
  .lead-dialog .lead-form-card { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }

  .hero {
    padding: 58px 0 34px;
  }

  h1,
  .display {
    font-size: 60px;
  }

  h2 {
    font-size: 48px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-grid,
  .section-head,
  .form-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-cover {
    min-height: 430px;
    max-width: 520px;
  }

  .editorial-hero .hero-story {
    min-height: 560px;
    padding: 44px 24px;
  }

  .editorial-hero .hero-copy {
    width: 44%;
  }

  .editorial-hero h1 {
    font-size: 46px;
  }

  .hero-offer {
    font-size: 30px;
  }

  .editorial-hero .hero-cover--founders {
    max-width: none;
  }

  .audit-panel {
    max-width: none;
    justify-self: stretch;
  }

  .revenue-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .revenue-step {
    min-height: 180px;
    border-bottom: 1px solid var(--line);
  }

  .revenue-step:nth-child(even) {
    border-right: 0;
  }

  .revenue-step:last-child {
    border-bottom: 0;
  }

  .grid.three,
  .grid.four,
  .method,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > .back-to-top {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .method-step:nth-child(2) {
    border-right: 0;
  }

  .method-step {
    border-bottom: 1px solid rgba(220, 196, 168, .28);
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(100% - 24px, 560px);
  }

  body {
    font-size: 15px;
  }

  h1,
  .display {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .header-actions {
    align-items: center;
  }

  .header-inner {
    gap: 8px;
  }

  .header-logo-art {
    flex-basis: 126px;
    width: 126px;
    height: 34px;
  }

  .header-logo-art img {
    width: 100%;
  }

  .header-actions > .language-switcher a,
  .header-actions > .language-switcher span {
    min-width: 30px;
    padding-inline: 5px;
  }

  .hero-actions .button,
  .review-actions .button,
  .service-feature .button,
  .form-card .button,
  .card .button,
  .article-action {
    width: 100%;
  }

  .hero-story {
    grid-template-columns: 1fr;
  }

  .hero-cover {
    min-height: 360px;
    max-width: none;
  }

  .editorial-hero .hero-story {
    min-height: 0;
    padding: 28px 20px min(465px, 96vw);
  }

  .editorial-hero {
    padding: 0;
  }

  .editorial-hero .hero-copy {
    width: 100%;
    padding: 0;
  }

  .editorial-hero h1 {
    font-size: 42px;
  }

  .editorial-hero .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .hero-offer {
    margin-top: 16px;
    font-size: 28px;
  }

  .editorial-hero .lead {
    max-width: 440px;
    margin-top: 16px;
    font-size: 14px;
  }

  .editorial-hero .hero-actions {
    gap: 10px 18px;
    margin-top: 20px;
  }

  .editorial-hero .hero-actions .button {
    width: auto;
    padding-right: 14px;
    padding-left: 14px;
  }

  .editorial-hero .hero-actions .text-link {
    font-size: 12px;
    gap: 6px;
  }

  .editorial-hero .hero-microcopy {
    margin-top: 10px;
    font-size: 11px;
  }

  .editorial-hero .hero-cover--founders img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(100%, 480px);
    max-width: none;
    height: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .editorial-hero .hero-cover--founders::after {
    background: linear-gradient(180deg, rgba(28, 58, 87, .38), transparent 50%);
  }

  .editorial-hero .hero-cover--founders figcaption {
    right: auto;
    left: 16px;
    bottom: 4px;
    font-size: 9px;
  }

  .magazine-home > .revenue-section {
    padding-top: 40px;
  }

  .checklist-details summary {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 48px 18px 18px;
  }

  .checklist-details summary::after {
    right: 18px;
  }

  .check-list--light {
    margin: 0 18px 18px;
  }

  .checklist-next-step {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .checklist-next-step .button {
    width: 100%;
  }

  .proof-strip,
  .grid.two,
  .grid.three,
  .grid.four,
  .method,
  .footer-grid,
  .field-grid,
  .flow-line,
  .revenue-path {
    grid-template-columns: 1fr;
  }

  .revenue-step {
    min-height: auto;
    border-right: 0;
  }

  .proof-item {
    min-height: auto;
  }

  .method-step,
  .method-step:nth-child(2) {
    min-height: auto;
    border-right: 0;
  }

  .section,
  .page-hero {
    padding: 54px 0;
  }

  .card,
  .service-link,
  .case-card,
  .form-card {
    padding: 20px;
  }

  .audit-panel {
    margin-top: 10px;
  }

  .calculator-modal,
  .lead-modal {
    padding: 12px;
  }

  .calculator-dialog,
  .lead-dialog {
    max-height: calc(100dvh - 24px);
  }

  .calculator-dialog-head {
    padding: 20px;
  }

  .chat-widget {
    right: 12px;
    --chat-edge-gap: 12px;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 76px;
    width: auto;
  }

  .chat-button span {
    display: none;
  }
}

@media (max-width: 420px) {
  .split-inputs {
    grid-template-columns: 1fr;
  }

  .chat-starters { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .editorial-hero .hero-story {
    padding: 24px 16px 296px;
  }

  .editorial-hero h1 {
    font-size: 36px;
  }

  .editorial-hero .hero-offer {
    font-size: 24px;
  }

  .editorial-hero .hero-actions {
    gap: 8px;
  }

  .editorial-hero .hero-actions .button {
    padding-inline: 12px;
    font-size: 12px;
  }

  .editorial-hero .hero-actions .text-link {
    font-size: 11px;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .site-footer { padding: 22px 0 76px; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 20px; }
  .footer-grid > :first-child, .footer-grid > :nth-child(3), .footer-grid > .back-to-top { grid-column: 1 / -1; }
  .footer-grid > :nth-child(3) { grid-row: 3; }
  .footer-grid > :nth-child(4) { grid-column: 2; grid-row: 2; }
  .footer-logo { width: 148px; }
  .footer-links a { min-height: 28px; padding: 4px 0; }
  .footer-grid > :nth-child(3) .footer-links { column-gap: 20px; }
}

@media (max-width: 300px) {
  .footer-grid > :nth-child(3) .footer-links > a:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }
}

@media (max-height: 480px) and (max-width: 980px) {
  .lead-dialog-head { padding: 12px 16px; }
  .lead-dialog-head h2 { font-size: 22px; line-height: 1.15; }
  .lead-dialog-head .section-kicker { margin-bottom: 4px; font-size: 10px; }
  .lead-dialog-head p:not(.section-kicker) { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.chat-composer > textarea { min-width: 0; box-sizing: border-box; height: auto; min-height: 68px; max-height: 120px; overflow-y: auto; field-sizing: content; line-height: 1.4; }
