:root {
  color-scheme: dark;
  --ink: #111110;
  --ink-soft: #181816;
  --ink-deep: #0b0b0a;
  --paper: #f3f2ee;
  --muted: #a6a59e;
  --placeholder: #8e8d86;
  --line: rgba(243, 242, 238, 0.14);
  --line-strong: rgba(243, 242, 238, 0.38);
  --surface-hover: rgba(243, 242, 238, 0.03);
  --surface-focus-invalid: rgba(243, 242, 238, 0.05);
  --signal-light: #ffffff;
  --accent: #d4f268;
  --danger: #ff7b72;
  --glass: rgba(17, 17, 16, 0.88);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line-strong) var(--ink-deep);
}

body {
  margin: 0;
  background-color: var(--ink-deep);
  color: var(--paper);
  caret-color: var(--accent);
  font-family: var(--sans);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

section[id],
article[id] {
  scroll-margin-top: 96px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.8125rem;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(120%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-sub {
  color: var(--muted);
  font-weight: 400;
}

.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.875rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  position: relative;
  transition: color 180ms var(--ease-out);
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"],
.nav a[aria-current="location"] {
  color: var(--paper);
}

.nav a[aria-current="page"]::after,
.nav a[aria-current="location"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1;
}

.language-button {
  min-width: 34px;
  min-height: 34px;
  padding: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: var(--paper);
}

.language-button.is-active {
  border-color: var(--line-strong);
  color: var(--accent);
}

/* Actions & Buttons */
.arrow {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  background: transparent;
  white-space: nowrap;
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--paper);
  background: var(--ink-soft);
  color: var(--paper);
}

.header-cta:hover .arrow,
.header-cta:focus-visible .arrow,
.button:hover .arrow,
.button:focus-visible .arrow,
.contact-link:hover .arrow,
.contact-link:focus-visible .arrow,
.service-item:hover .arrow,
.service-item:focus-visible .arrow {
  transform: translate(2.5px, -2.5px);
}

.text-link:hover .arrow,
.text-link:focus-visible .arrow {
  transform: translateY(2.5px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.button:hover,
.button:focus-visible {
  background: var(--signal-light);
  border-color: var(--signal-light);
}

.button:active,
.header-cta:active {
  transform: translateY(1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 180ms var(--ease-out);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

/* Typography & Common */
h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  text-wrap: balance;
}

p,
.trust-list span,
.faq-list p,
.legal-article li {
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 0;
}

/* Hero */
.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  padding: 84px 0 96px;
}

.hero-copy {
  max-width: 560px;
}

.hero-copy h1 span:last-child {
  color: var(--muted);
}

.hero-lede {
  max-width: 50ch;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* Hero Panel - Delivery & Scope Ledger */
.hero-panel {
  border: 1px solid var(--line-strong);
  background: var(--ink-soft);
  display: flex;
  flex-direction: column;
}

.panel-grid {
  display: flex;
  flex-direction: column;
}

.ledger-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-tag {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--accent);
}

.ledger-content strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 6px;
}

.ledger-content p {
  margin: 0;
  max-width: 50ch;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Problems Band (Full-width rhythm breaker) */
.problems {
  padding: 104px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.problems-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.problems-header h2 {
  max-width: 18ch;
}

.problems-note {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Shared Asymmetric Two-Column Sections */
.services,
.trust,
.process,
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 80px;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-intro h2,
.trust-intro h2,
.process-note h2,
.contact h2 {
  max-width: 380px;
}

/* Problem Grid - Swiss Hairline */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.problem-card {
  padding: 32px 28px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-card h3 {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Services */
.service-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-item:first-child {
  padding-top: 4px;
}

.service-item > div {
  transition: transform 220ms var(--ease-out);
}

.service-item:hover > div,
.service-item:focus-visible > div {
  transform: translateX(10px);
}

.service-item h3 {
  margin: 0 0 8px;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.service-item p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.service-arrow {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 220ms var(--ease-out), color 180ms var(--ease-out);
}

.service-item:hover .service-arrow,
.service-item:focus-visible .service-arrow {
  color: var(--accent);
}

/* Trust Signals */
.trust-list {
  display: flex;
  flex-direction: column;
}

.trust-list div {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.trust-list div:first-child {
  padding-top: 4px;
}

.trust-list strong,
.faq-list h3 {
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.trust-list span,
.faq-list p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.faq-list h3,
.faq-list p {
  margin: 0;
}

/* Process */
.process-note h2 {
  margin-bottom: 16px;
}

.process-note > p:last-child {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.process-steps > div {
  padding: 4px 24px 0 0;
  border-right: 1px solid var(--line);
}

.process-steps > div:not(:first-child) {
  padding-left: 24px;
}

.process-steps > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-steps span {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1;
}

.process-steps h3 {
  margin: 28px 0 8px;
  color: var(--paper);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Contact */
.contact-copy {
  max-width: 38ch;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--signal-light);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding: 4px 0;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form {
  border: 1px solid var(--line-strong);
  background: var(--ink-soft);
  display: flex;
  flex-direction: column;
  transition: border-color 240ms var(--ease-out);
}

.contact-form.is-highlighted {
  border-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Service Intent Chips */
.service-picker {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-picker-label {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-chip {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.service-chip:hover,
.service-chip:focus-visible {
  border-color: var(--line-strong);
  color: var(--paper);
}

.service-chip.is-selected {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface-hover);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.form-row .form-field:first-child {
  border-right: 1px solid var(--line);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.form-row .form-field {
  border-bottom: 0;
}

.form-field:focus-within {
  background: var(--surface-hover);
  box-shadow: inset 2px 0 0 var(--accent);
}

.form-field.is-invalid {
  box-shadow: inset 2px 0 0 var(--danger);
}

.form-field.is-invalid:focus-within {
  background: var(--surface-focus-invalid);
  box-shadow: inset 3px 0 0 var(--accent);
}

.form-field-label {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--paper);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 2px 0;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid transparent;
}

.field-error {
  display: block;
  min-height: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--danger);
}

.field-error:empty {
  display: none;
}

/* Consent Row (PDPD NĐ 13/2023/NĐ-CP) */
.consent-row {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.consent-row:focus-within {
  background: var(--surface-hover);
  box-shadow: inset 2px 0 0 var(--accent);
}

.consent-row.is-invalid {
  box-shadow: inset 2px 0 0 var(--danger);
}

.consent-row.is-invalid:focus-within {
  background: var(--surface-focus-invalid);
  box-shadow: inset 3px 0 0 var(--accent);
}

.consent-label {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-label a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}

.consent-label a:hover,
.consent-label a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 22px;
  background: var(--ink);
}

.form-actions .button[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--accent);
}

.form-status.is-error {
  color: var(--danger);
}

.form-status a {
  color: var(--paper);
  text-decoration: underline;
}

/* Subpages (About, Privacy, Terms) */
.page-hero {
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  max-width: 22ch;
  margin-bottom: 20px;
}

.page-lede {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.legal-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.legal-meta strong {
  color: var(--paper);
  font-weight: 500;
}

.legal-meta .mono-val {
  font-family: var(--mono);
  color: var(--paper);
}

/* About Page Grids */
.about-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 80px;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.about-band:last-of-type {
  border-bottom: 0;
}

.about-band h2 {
  max-width: 360px;
}

.about-copy {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-copy p {
  margin: 0;
}

.capability-list {
  display: flex;
  flex-direction: column;
}

.capability-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
}

.capability-row:first-child {
  padding-top: 4px;
}

.capability-row h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.capability-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.about-cta-box {
  border: 1px solid var(--line-strong);
  background: var(--ink-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-cta-box p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Legal Reading Layout (Read Mode) */
.legal-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  gap: 72px;
  padding: 64px 0 96px;
}

.legal-toc {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.legal-toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
  transition: color 180ms var(--ease-out);
}

.legal-toc a:hover,
.legal-toc a:focus-visible,
.legal-toc a[aria-current="location"] {
  color: var(--paper);
}

.legal-toc a[aria-current="location"] {
  border-bottom-color: var(--accent);
}

.legal-article {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
}

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

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.legal-section p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section strong {
  color: var(--paper);
  font-weight: 500;
}

.legal-section a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.legal-section a:hover,
.legal-section a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.legal-notice {
  border: 1px solid var(--line-strong);
  background: var(--ink-soft);
  padding: 20px 22px;
  margin-top: 16px;
}

.legal-notice p {
  margin: 0;
  color: var(--paper);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 48ch;
}

.footer-brand strong {
  color: var(--paper);
  font-weight: 500;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  transition: color 180ms var(--ease-out);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
  color: var(--paper);
}

.footer-links a.footer-mail {
  font-family: var(--mono);
}

/* Responsiveness */
@media (max-width: 980px) {
  .hero,
  .services,
  .trust,
  .process,
  .contact,
  .about-band {
    gap: 44px;
  }
  .problems-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
  }
  .process-steps > div,
  .process-steps > div:not(:first-child) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .process-steps h3 {
    margin: 12px 0 6px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-row .form-field:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .legal-toc {
    position: static;
  }
}

@media (max-width: 900px) {
  section[id],
  article[id] {
    scroll-margin-top: 132px;
  }
  .site-header {
    min-height: 64px;
    padding: 10px 0 0;
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 12px;
  }
  .nav {
    order: 3;
    width: 100%;
    gap: 20px;
    border-top: 1px solid var(--line);
    font-size: 0.875rem;
    overflow-x: auto;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, #000 92%, transparent);
    padding-right: 16px;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .header-actions {
    gap: 10px;
  }
  .language-button {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }
  .header-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .site-header {
    width: min(100% - 32px, 560px);
  }
  .hero {
    display: block;
    min-height: auto;
    padding: 52px 0 64px;
  }
  .hero-copy {
    margin-bottom: 40px;
  }
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 20px;
  }
  .problems,
  .services,
  .trust,
  .process,
  .contact,
  .about-band {
    display: block;
    padding: 72px 0;
  }
  .problems-header,
  .section-intro,
  .trust-intro,
  .process-note,
  .contact-info,
  .about-band > h2 {
    margin-bottom: 32px;
  }
  .problem-card {
    padding: 24px 20px;
  }
  .trust-list,
  .capability-list {
    border-top: 1px solid var(--line);
  }
  .trust-list div,
  .trust-list div:first-child,
  .capability-row,
  .capability-row:first-child {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
  .service-list {
    border-top: 1px solid var(--line);
  }
  .service-item,
  .service-item:first-child {
    padding: 22px 0;
  }
  .service-picker,
  .form-field,
  .consent-row,
  .form-actions {
    padding-left: 18px;
    padding-right: 18px;
  }
  .service-chip {
    min-height: 40px;
  }
  .page-hero {
    padding: 48px 0 40px;
  }
  .legal-layout {
    padding: 40px 0 72px;
  }
  .site-footer {
    flex-direction: column;
    gap: 20px;
  }
  .footer-links a {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 8px;
    font-size: 0.875rem;
  }
  .header-actions {
    gap: 6px;
  }
  .language-switch {
    gap: 0;
  }
  .language-button {
    min-width: 40px;
    min-height: 44px;
    padding: 6px;
  }
  .header-cta {
    padding: 0 12px;
    gap: 6px;
  }
  .hero-actions .button {
    width: 100%;
  }
}

/* Accessibility & Preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .skip-link,
  .arrow,
  .service-item > div,
  .button,
  .header-cta {
    transition-property: color, background-color, border-color;
  }
  .header-cta:hover .arrow,
  .header-cta:focus-visible .arrow,
  .button:hover .arrow,
  .button:focus-visible .arrow,
  .contact-link:hover .arrow,
  .contact-link:focus-visible .arrow,
  .service-item:hover .arrow,
  .service-item:focus-visible .arrow,
  .text-link:hover .arrow,
  .text-link:focus-visible .arrow,
  .service-item:hover > div,
  .service-item:focus-visible > div,
  .button:active,
  .header-cta:active {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--ink);
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: var(--paper);
    --placeholder: #c8c7c0;
    --line: var(--signal-light);
    --line-strong: var(--signal-light);
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder {
    font-style: italic;
  }
  .site-header,
  .hero-panel,
  .problem-grid,
  .problem-card,
  .contact-form,
  .about-cta-box,
  .legal-notice {
    border-color: var(--signal-light);
  }
}

@media (forced-colors: active) {
  .form-field:focus-within,
  .consent-row:focus-within {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
  .form-field.is-invalid,
  .consent-row.is-invalid {
    border-left: 3px solid Mark;
  }
  .service-chip.is-selected,
  .language-button.is-active {
    border: 2px solid Highlight;
  }
}
