:root {
  --ink: #0F172A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --bg-white: #FFFFFF;
  --bg-subtle: #FAFAFB;
  --bg-muted: #F6F7F9;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-tint: #EFF6FF;
  --sky: #60A5FA;
  --emerald: #10B981;
  --emerald-dark: #047857;
  --emerald-deeper: #065F46;
  --emerald-tint: rgba(236, 253, 245, 0.65);
  --red: #EF4444;
  --red-dark: #B91C1C;
  --red-tint: rgba(254, 242, 242, 0.65);
  --border-light: rgba(15, 23, 42, 0.1);
  --border-hair: rgba(15, 23, 42, 0.08);
  --border-dark: rgba(255, 255, 255, 0.16);
  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 360px;
  line-height: 1.5;
}

/* Language visibility */
body[data-lang="cs"] [data-t="en"],
body[data-lang="en"] [data-t="cs"] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

button {
  cursor: pointer;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.text-blue { color: var(--blue); }
.text-sky { color: var(--sky); }
.text-ink { color: var(--ink); }
.text-muted { color: var(--slate-500); }
.text-faint { color: var(--slate-400); }
.text-bad { color: var(--red-dark); }
.text-good { color: var(--emerald-dark); }
.text-white-dim { color: rgba(255, 255, 255, 0.35); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

.link-blue {
  color: var(--blue);
  font-weight: 500;
  text-underline-offset: 4px;
}
.link-blue:hover { text-decoration: underline; }

.link-white {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}
.link-white:hover { text-decoration-color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-sm {
  min-height: 44px;
  padding: 0 14px;
  font-size: 12.5px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-outline {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.18);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: rgba(15, 23, 42, 0.45);
  background: rgba(15, 23, 42, 0.03);
}

.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  background: #E2E8F0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-hair);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  width: 32px;
  height: 32px;
  padding: 5px;
  border-radius: 3px;
  background: var(--ink);
}

.brand-mark-dark {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.brand-mark span { border-radius: 1px; }
.bm-emerald { background: var(--emerald); }
.bm-white { background: rgba(255, 255, 255, 0.75); }
.bm-white-dim { background: rgba(255, 255, 255, 0.5); }
.bm-blue { background: var(--blue); }
.bm-sky { background: var(--sky); }

.brand-name {
  display: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-name-light {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

@media (min-width: 640px) {
  .brand-name { display: inline; }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
}
.main-nav a:hover { color: var(--ink); }

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: var(--bg-subtle);
  padding: 2px;
}

.lang-switch button {
  min-height: 32px;
  min-width: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

/* Sections */
.section {
  border-bottom: 1px solid var(--border-hair);
  padding: 64px 0;
}

@media (min-width: 1024px) {
  .section { padding: 96px 0; }
}

.section-muted { background: var(--bg-muted); }

.section-dark {
  background: var(--ink);
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: 5fr 6fr;
    gap: 64px;
  }
}

.section-head h2 {
  margin: 18px 0 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .section-head h2 { font-size: 2.65rem; }
}

.sub-block {
  display: block;
  color: var(--slate-500);
}

.head-right p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate-600);
}

.section-dark .head-right p {
  color: rgba(255, 255, 255, 0.78);
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 96px;
    padding-bottom: 112px;
  }
}

.grid-paper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: start;
  }
}

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

.eyebrow-rule {
  width: 36px;
  height: 1px;
  background: rgba(15, 23, 42, 0.2);
}

.hero-title {
  margin: 24px 0 0;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.underline-emerald {
  position: relative;
  white-space: nowrap;
}

.underline-emerald::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--emerald);
}

.hero-sub {
  margin: 26px 0 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.hero-ctas {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    align-items: center;
  }
}

.hero-pillars {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  background: #fff;
  padding: 16px;
}

.pillar dt {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.pillar dd {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--slate-500);
}

.hero-frame {
  position: relative;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-status {
  position: absolute;
  inset: auto 0 0 0;
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 12px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 4px;
}

.status-val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.dot-emerald {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

/* Services Bento */
.check-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .check-grid { grid-template-columns: repeat(3, 1fr); }
}

.check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
}

.check-grid svg {
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-bento {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}

@media (min-width: 640px) {
  .service-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .service-bento { grid-template-columns: repeat(6, 1fr); }
  .span-3 { grid-column: span 3; }
  .span-2 { grid-column: span 2; }
}

.bento-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 24px;
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-card h3 {
  margin: 16px 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bento-card p {
  margin: 8px 0 0;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate-500);
}

.diff-box {
  margin-top: 20px;
  border: 1px solid var(--border-hair);
  border-radius: 3px;
  background: var(--bg-subtle);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.diff-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
}

.diff-line svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.diff-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diff-bad { color: var(--red-dark); }
.diff-bad svg { color: var(--red); }
.diff-good { color: var(--emerald-dark); }
.diff-good svg { color: var(--emerald); }

.section-footnote {
  margin-top: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* Before / After Table */
.ba-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .ba-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.ba-intro { max-width: 34rem; }

.ba-intro h2 {
  margin: 18px 0 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .ba-intro h2 { font-size: 2.65rem; }
}

.ba-intro p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate-600);
}

.ba-toggle {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 3px;
  background: var(--bg-subtle);
  padding: 4px;
}

.ba-toggle button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate-500);
}

.ba-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.ba-frame {
  margin-top: 40px;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.ba-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.hide-xs { display: none; }
@media (min-width: 640px) { .hide-xs { display: inline; } }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.feed-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.feed-table thead {
  display: none;
}

@media (min-width: 768px) {
  .feed-table thead { display: table-header-group; }
  .feed-table th, .feed-table td {
    padding: 14px 16px;
    vertical-align: top;
    border-bottom: 1px solid var(--border-hair);
  }
  .feed-table tbody tr:last-child th,
  .feed-table tbody tr:last-child td {
    border-bottom: 0;
  }
  .feed-table .col-field { width: 18%; }
  .feed-table .col-before {
    width: 38%;
    border-left: 1px solid var(--border-light);
  }
  .feed-table .col-after {
    width: 44%;
    border-left: 1px solid var(--border-light);
  }
}

.th-flex {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cell-bad { background: var(--red-tint); }
.cell-good { background: var(--emerald-tint); }

.cell-code {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  word-break: break-word;
}

.cell-code svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.cell-bad .cell-code { color: var(--red-dark); }
.cell-bad .cell-code svg { color: var(--red); }

.cell-good .cell-code { color: var(--emerald-deeper); }
.cell-good .cell-code svg { color: var(--emerald); }

.cell-note {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--slate-500);
}

.mobile-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .mobile-tag { display: none; }
}

/* Mobile stacked rows for feed table */
@media (max-width: 767px) {
  .feed-table,
  .feed-table tbody,
  .feed-table tr,
  .feed-table th,
  .feed-table td {
    display: block;
    width: 100%;
  }

  .feed-table tr + tr {
    border-top: 1px solid var(--border-light);
  }

  .feed-table th.col-field {
    padding: 14px 16px 6px;
  }

  .feed-table td.col-before {
    padding: 12px 16px;
    border-left: 2px solid var(--red);
  }

  .feed-table td.col-after {
    padding: 12px 16px;
    border-left: 2px solid var(--emerald);
    border-top: 1px solid var(--border-hair);
  }
}

/* Toggle filtering states */
.ba-frame[data-view="before"] .col-after {
  display: none;
}
.ba-frame[data-view="after"] .col-before {
  display: none;
}

.table-caption {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--slate-400);
}

/* Pricing */
.callout-blue {
  margin: 32px 0 0;
  max-width: 62rem;
  border-left: 2px solid var(--blue);
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate-600);
}

.pricing-frame {
  margin-top: 36px;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 13px;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-hair);
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table tbody tr:hover {
  background: var(--bg-subtle);
}

.pricing-table th + th,
.pricing-table td + td {
  border-left: 1px solid var(--border-hair);
}

.pricing-notes {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-notes p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--slate-500);
}

.trio-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .trio-cards { grid-template-columns: repeat(3, 1fr); }
}

.trio-card {
  background: #fff;
  padding: 20px;
}

.trio-card h3 {
  margin: 10px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.trio-card p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--slate-500);
}

.pricing-cta-line {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--slate-600);
}

/* Dark Grid Sections (Comparison + Beyond) */
.dark-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: 3px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .dark-grid { grid-template-columns: repeat(3, 1fr); }
}

.dark-card {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  padding: 28px;
}

.dark-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dark-card-top svg {
  color: var(--sky);
}

.dark-card h3 {
  margin: 24px 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dark-sub {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.dark-card p {
  margin: 12px 0 0;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.dark-bullets {
  list-style: none;
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dark-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.dark-bullets li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--emerald);
  margin-top: 6px;
  flex-shrink: 0;
}

.dark-banner {
  margin-top: 40px;
  border: 1px solid var(--border-dark);
  border-radius: 3px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

@media (min-width: 640px) {
  .dark-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.dark-banner p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.dark-foot {
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* FAQ Layout & Accordion */
.faq-layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
  }
}

.faq-list {
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item h3 {
  margin: 0;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.faq-btn:hover {
  background: var(--bg-subtle);
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 1.5px;
}

.faq-icon::after {
  top: 0;
  left: 6px;
  width: 1.5px;
  height: 14px;
}

.faq-btn[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-panel {
  padding: 0 4px 22px 34px;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 54rem;
}

.faq-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-600);
}

.faq-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-media-card {
  margin: 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.faq-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.faq-media-card figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--border-hair);
  background: #fff;
}

/* Audit Form */
.audit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .audit-grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
}

.audit-info {
  display: flex;
  flex-direction: column;
}

.audit-info h2 {
  margin: 18px 0 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .audit-info h2 { font-size: 2.65rem; }
}

.audit-lead {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-600);
}

.audit-steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.audit-steps li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate-600);
}

.audit-steps .mono-label {
  margin-top: 4px;
}

.contact-card {
  margin-top: 32px;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  background: #fff;
  padding: 16px;
}

@media (min-width: 1024px) {
  .contact-card { margin-top: auto; }
}

.contact-mail {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  text-underline-offset: 4px;
}
.contact-mail:hover { text-decoration: underline; }

.form-card {
  border: 1px solid var(--border-light);
  border-radius: 3px;
  background: #fff;
  padding: 24px;
}

@media (min-width: 640px) {
  .form-card { padding: 32px; }
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-hair);
}

.form-body {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-group input[type="url"],
.field-group input[type="email"],
.field-group select {
  margin-top: 8px;
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 3px;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
}

.field-group input:focus,
.field-group select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: var(--blue);
}

.field-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .field-row-2 { grid-template-columns: repeat(2, 1fr); }
}

.seg-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 3px;
  background: var(--bg-subtle);
  padding: 4px;
}

@media (min-width: 640px) {
  .seg-grid { grid-template-columns: repeat(4, 1fr); }
}

.seg-grid button {
  min-height: 40px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate-500);
}

.seg-grid button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

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

.chip-row button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 3px;
  background: #fff;
  font-size: 13px;
  color: var(--slate-600);
}

.chip-row button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue-tint);
  color: var(--blue-hover);
}

.chip-box {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid var(--slate-300);
  display: inline-block;
  position: relative;
}

.chip-row button[aria-pressed="true"] .chip-box {
  border-color: var(--blue);
  background: var(--blue);
}

.chip-row button[aria-pressed="true"] .chip-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.55;
}

.form-status.is-error {
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: var(--red-tint);
  color: var(--red-dark);
}

.form-status.is-success {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: var(--emerald-tint);
  color: var(--emerald-deeper);
}

.form-privacy {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--slate-500);
}

/* Identity */
.identity-section {
  padding: 48px 0;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 1024px) {
  .identity-grid {
    grid-template-columns: 5fr 6fr;
    gap: 64px;
  }
}

.identity-grid h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 40px 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}
.footer-nav a:hover { color: #fff; }

.footer-mid {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .footer-mid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-mail {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  text-underline-offset: 4px;
}
.footer-mail:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.42);
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.faq-media-card { max-width: 380px; margin-top: 16px; }
