/* ============================================================
   AutoFlow — landing styles
   Light theme, big typography, green & blue accents.
   ============================================================ */

:root {
  --bg: #f7f9fb;
  --bg-grid: rgba(15, 23, 42, 0.04);
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --surface-alt: #ecfdf5;
  --border: #e5e9ef;
  --border-strong: #cbd5e1;

  --ink: #0b1220;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;

  --green: #0f9d6a;
  --green-strong: #098558;
  --green-soft: #a7f3d0;
  --green-soft-2: #d1fae5;
  --green-text: #045d3f;

  --blue: #0ea5e9;
  --blue-strong: #0284c7;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, .12), 0 4px 12px rgba(15, 23, 42, .05);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─────────────────────────────────────────  Header  */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.site-header__inner > .brand { justify-self: start; }
.site-header__inner > .site-nav { justify-self: center; }
.site-header__inner > .site-header__actions { justify-self: end; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15, 157, 106, .15);
}
.brand__name--accent { color: var(--green); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.site-nav a { padding: 6px 0; transition: color .15s; }
.site-nav a:hover { color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  background: var(--surface-muted);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.lang-switch__btn {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  border-radius: 999px;
  transition: all .15s;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
.lang-switch__btn.is-active { background: var(--green); color: #fff; }
.lang-switch__btn:disabled { cursor: not-allowed; opacity: 0.6; }
.lang-switch--mobile { display: none; align-self: flex-start; }

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  width: 42px; height: 42px;
  border-radius: 10px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mobile-menu a { padding: 10px 0; font-weight: 600; color: var(--ink); }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-header__actions .lang-switch { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__actions .btn { display: none; }
  .mobile-menu:not([hidden]) { display: flex; }
  .mobile-menu .lang-switch--mobile { display: inline-flex; }
}

/* ─────────────────────────────────────────  Buttons  */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(15, 157, 106, .55);
}
.btn--primary:hover {
  background: var(--green-strong);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(15, 157, 106, .65);
}
.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface-muted); transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--xl { padding: 20px 36px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ─────────────────────────────────────────  Pills  */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-2);
  border: 1px solid var(--border);
}
.pill--accent {
  background: var(--green-soft-2);
  color: var(--green-text);
  border-color: var(--green-soft);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ─────────────────────────────────────────  Sections  */

.section { padding: 96px 0; position: relative; }
.section--muted {
  background: rgba(255, 255, 255, .7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--cta { padding: 120px 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--green);
}
.section-eyebrow--invert { color: var(--green-soft); }
.section-eyebrow--invert::before { background: var(--green-soft); }

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 28px;
}
.section-title--invert { color: #fff; }

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 0 48px;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 768px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

.text-accent-green { color: var(--green); }
.text-accent-blue  { color: var(--blue); }

/* ─────────────────────────────────────────  Hero  */

.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(14, 165, 233, .12), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(15, 157, 106, .12), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 28px;
  display: block;
}
.hero__title-row { display: block; }

.hero__sub {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 0 36px;
}
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats { display: grid; gap: 16px; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card__num {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card__label { margin-top: 10px; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }

/* ─────────────────────────────────────────  Pain  */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pain-card__num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.pain-card__title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.pain-card__desc { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ─────────────────────────────────────────  Services  */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.service-card.is-highlight {
  border-color: var(--green);
  background: linear-gradient(180deg, var(--green-soft-2), var(--surface) 30%);
}
.service-card__icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-muted);
  border-radius: 14px;
  margin-bottom: 18px;
}
.service-card.is-highlight .service-card__icon { background: #fff; }
.service-card__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.service-card__desc { color: var(--muted); font-size: 0.95rem; margin: 0 0 20px; flex: 1; }
.service-card__price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.01em;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

/* ─────────────────────────────────────────  Plans  */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1100px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-card.is-featured {
  border-color: var(--green);
  background: linear-gradient(180deg, #ffffff, #f0fdf4 100%);
  box-shadow: 0 24px 48px -16px rgba(15, 157, 106, .25);
  transform: translateY(-8px);
}
.plan-card.is-featured:hover { transform: translateY(-10px); }
.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(15, 157, 106, .55);
}
.plan-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.plan-card__price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.plan-card__price-suffix { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-card__tagline { font-size: 0.95rem; color: var(--ink-2); font-weight: 600; }
.plan-card__duration { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.plan-card__features li {
  font-size: 0.88rem;
  color: var(--ink-2);
  position: relative;
  padding-left: 22px;
  line-height: 1.4;
}
.plan-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}

/* ─────────────────────────────────────────  Process  */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .process-grid { grid-template-columns: 1fr; } }

.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: transform .2s, box-shadow .2s;
}
.process-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process-card__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.process-card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.process-card__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.process-card__desc { font-size: 0.9rem; color: var(--muted); margin: 0 0 16px; }
.process-card__timeline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* ─────────────────────────────────────────  Enterprise (dark)  */

.section--dark {
  background: linear-gradient(135deg, #0b1220 0%, #122036 60%, #0d1b30 100%);
  color: #cbd5e1;
  border: 0;
}
.section--dark .section-title { color: #fff; }
.enterprise-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) { .enterprise-grid { grid-template-columns: 1fr; gap: 40px; } }
.enterprise__text { color: #94a3b8; font-size: 1.05rem; margin: 0 0 28px; }
.enterprise__text strong { color: #fff; }
.enterprise__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.enterprise__bullets li {
  position: relative;
  padding-left: 28px;
  color: #cbd5e1;
  font-size: 0.98rem;
}
.enterprise__bullets li::before {
  content: '✦';
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}
.enterprise__items { display: grid; gap: 16px; }
.enterprise-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  transition: background .2s, border-color .2s, transform .2s;
}
.enterprise-card:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(15, 157, 106, .4);
  transform: translateX(4px);
}
.enterprise-card__icon {
  font-size: 1.6rem;
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 157, 106, .15);
  border: 1px solid rgba(15, 157, 106, .3);
  border-radius: 12px;
}
.enterprise-card__title { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.enterprise-card__desc { color: #94a3b8; font-size: 0.92rem; margin: 0; }

/* ─────────────────────────────────────────  FAQ  */

.faq__container { max-width: 820px; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__item[open] { border-color: var(--green); box-shadow: var(--shadow-sm); }
.faq__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform .2s, background .2s, color .2s;
  flex-shrink: 0;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq__a { padding: 0 26px 24px; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }

/* ─────────────────────────────────────────  Final CTA  */

.cta-block { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-block .section-eyebrow { margin-left: auto; margin-right: auto; }
.cta-block .section-eyebrow::before { display: none; }
.cta-block__lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 auto 36px;
  max-width: 580px;
}
.cta-block__caption {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ─────────────────────────────────────────  Contact page  */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 16px;
  justify-content: center;
  margin: 36px 0 24px;
}
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.contact-card__icon { font-size: 1.6rem; margin-bottom: 8px; }
.contact-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-card__value { font-size: 1.05rem; font-weight: 600; color: var(--ink); word-break: break-all; }

/* ─────────────────────────────────────────  Audit form  */

.audit-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-top: 16px;
  align-items: start;
}
@media (max-width: 960px) {
  .audit-layout { grid-template-columns: 1fr; }
}

.audit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.audit-card__head { margin-bottom: 24px; }
.audit-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 6px;
}
.audit-card__sub { color: var(--muted); margin: 0; font-size: 0.95rem; }

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}
.form-label .req { color: var(--green); }

.form-input {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
}
.form-input::placeholder { color: var(--muted-2); }
.form-input:hover { border-color: #94a3b8; }
.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 157, 106, .15);
  background: #fff;
}
.form-input--area { resize: vertical; min-height: 100px; }

.form-input--select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
}
.form-row .form-field { margin: 0; }
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-hint { font-size: 0.78rem; color: var(--muted); }
.form-error {
  font-size: 0.82rem;
  color: #dc2626;
  font-weight: 500;
}

.form-fineprint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted-2);
  margin: 8px 0 0;
}

.audit-success {
  background: linear-gradient(180deg, var(--green-soft-2), var(--surface) 80%);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.audit-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 12px 24px -10px rgba(15, 157, 106, .55);
}
.audit-success__title {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}
.audit-success__text {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 auto 24px;
  max-width: 420px;
  line-height: 1.6;
}

.audit-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.audit-aside__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink);
}
.audit-aside__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.audit-aside .contact-card { padding: 18px 22px; }
.audit-aside__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audit-aside__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.audit-aside__list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}
.audit-aside__note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────  Cases  */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.case-card__title { font-size: 1.15rem; font-weight: 700; margin: 0; color: var(--ink); }
.case-card__meta { color: var(--muted); font-size: 0.9rem; }
.case-card__stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.case-card__more { margin-top: auto; padding-top: 14px; font-size: 0.9rem; font-weight: 600; color: var(--green); }
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
}
.empty-card {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

.case-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.case-detail__back:hover { color: var(--green); }
.case-detail__stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 32px; }
.case-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 900px) { .case-detail__grid { grid-template-columns: 1fr; } }
.case-detail__block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.case-detail__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 14px;
}
.case-detail__block ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
.case-detail__block li { margin-bottom: 6px; }

/* ─────────────────────────────────────────  Footer  */

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .7);
  padding: 40px 0;
  margin-top: 32px;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer__links a:hover { color: var(--ink); }
.site-footer__copy { color: var(--muted-2); font-size: 0.85rem; }
