/* ==========================================================================
   Shift Theory — global stylesheet
   ========================================================================== */

:root {
  --ink: #0e1230;
  --ink-soft: #2a2f52;
  --paper: #f7f7fb;
  --violet: #5b4bdb;
  --violet-deep: #3d2fb0;
  --coral: #ff6b5e;
  --muted: #6b7090;
  --line: #e4e5f0;
  --radius: 14px;

  /* Feedback states — deliberately separate from the two brand accents, so a
     confirmation is never mistaken for a call to action. */
  --ok: #17845c;
  --ok-tint: #edf7f2;
  --ok-line: #c4e3d5;
  --bad: #cf3b2c;
  --bad-tint: #fdeeec;
  --bad-line: #f7cfc9;

  --wrap: 1180px;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-card: 0 18px 40px -22px rgba(14, 18, 48, .35);
  --shadow-header: 0 8px 30px -18px rgba(14, 18, 48, .45);
}

/* --------------------------------------------------------------- base ---- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--violet-deep);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--coral); }

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

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--coral);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ------------------------------------------------------------ topbar ---- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar__slogan {
  margin: 0;
  letter-spacing: .01em;
}

.topbar__mail {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar__mail:hover { color: var(--coral); }
.topbar__mail svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-header); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.16rem;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand__text { font-weight: 500; }
.brand__text strong { font-weight: 800; }

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }

.nav__list a {
  position: relative;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  padding: 6px 0;
  display: inline-block;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width .22s ease;
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { width: 100%; }
.nav__list a[aria-current="page"] { color: var(--violet-deep); }

.burger {
  display: none;
  width: 46px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(255, 107, 94, .9);
}
.btn--primary:hover {
  color: #fff;
  background: #f4574a;
  transform: translateY(-2px);
}

.btn--violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(91, 75, 219, .9);
}
.btn--violet:hover { color: #fff; background: var(--violet-deep); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

.btn--outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { color: var(--violet-deep); border-color: var(--violet); transform: translateY(-2px); }

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: .62;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

/* ------------------------------------------------------- dark sections -- */

.dark {
  position: relative;
  isolation: isolate;
  background: linear-gradient(155deg, #0b0f28 0%, var(--ink) 45%, #171c47 100%);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }

.dark::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(38% 52% at 14% 22%, rgba(91, 75, 219, .55), transparent 68%),
    radial-gradient(34% 46% at 86% 78%, rgba(255, 107, 94, .38), transparent 70%),
    radial-gradient(30% 40% at 62% 8%, rgba(91, 75, 219, .3), transparent 72%);
}

.dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
}

/* ---------------------------------------------------------------- hero -- */

.hero { padding: clamp(72px, 11vw, 128px) 0 clamp(80px, 12vw, 140px); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}
.kicker--center { justify-content: center; }

.hero p.lead {
  font-size: 1.1rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, .8);
}

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

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
}
.hero__meta svg { width: 18px; height: 18px; color: var(--coral); flex-shrink: 0; }

.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; }

/* ----------------------------------------------------------- page hero -- */

.page-hero { padding: clamp(56px, 8vw, 92px) 0 clamp(60px, 8vw, 96px); }
.page-hero__inner { max-width: 760px; }
.page-hero p:not(.kicker) { font-size: 1.06rem; color: rgba(255, 255, 255, .8); margin-bottom: 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}
.crumbs li { margin: 0; display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .3); }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: var(--coral); }

/* ------------------------------------------------------------ sections -- */

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--paper { background: var(--paper); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.04rem; margin-bottom: 0; }

/* ---------------------------------------------------------------- grid -- */

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------- cards -- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: #d5d6e8;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

.grid--4 .card { padding: 28px 24px; }
.grid--4 .card p { font-size: .94rem; }

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 20px;
  background: rgba(91, 75, 219, .1);
  color: var(--violet-deep);
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--coral { background: rgba(255, 107, 94, .13); color: #d94b3f; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--violet-deep);
}
.card__link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.card__link:hover svg { transform: translate(3px, -3px); }

.card--num { position: relative; }
.card__num {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--coral);
  margin-bottom: 14px;
}

/* ------------------------------------------------------------- feature -- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature + .feature { margin-top: clamp(64px, 8vw, 104px); }
.feature--flip .feature__art { order: -1; }
.feature__art svg { width: 100%; height: auto; }
.feature h2 { margin-bottom: .55em; }
.feature p:not(.kicker) { color: var(--muted); }

/* ----------------------------------------------------------- checklist -- */

.checklist { list-style: none; margin: 26px 0 0; padding: 0; }
.checklist li {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: .98rem;
}
.checklist svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--violet);
}
.checklist strong { color: var(--ink); }

/* -------------------------------------------------------------- quote --- */

.pull-quote {
  margin: 0 0 26px;
  padding: 26px 28px;
  border-left: 4px solid var(--coral);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* -------------------------------------------------------------- stats --- */

.stats { padding: clamp(48px, 6vw, 72px) 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label {
  font-size: .92rem;
  color: rgba(255, 255, 255, .72);
  margin: 0;
}

/* ---------------------------------------------------------------- cta --- */

.cta { padding: clamp(56px, 7vw, 88px) 0; }
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta h2 { margin-bottom: .4em; }
.cta p:not(.kicker) { margin-bottom: 0; max-width: 52ch; color: rgba(255, 255, 255, .78); }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ------------------------------------------------------------ contrast -- */

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

.panel {
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid var(--line);
  background: #fff;
}
.panel--dark {
  background: linear-gradient(150deg, var(--ink) 0%, #262c58 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, .8);
}
.panel--dark h3 { color: #fff; }
.panel--violet {
  background: linear-gradient(150deg, var(--violet-deep) 0%, var(--violet) 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, .86);
}
.panel--violet h3 { color: #fff; }
.panel h3 { font-size: 1.5rem; }
.panel__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.panel__mark svg { width: 24px; height: 24px; }
.panel ul { margin: 22px 0 0; padding-left: 1.15em; }
.panel li::marker { color: var(--coral); }

/* --------------------------------------------------------------- table -- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

table.plans {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: .95rem;
}
/* The table is wider than its scroll container, so a visible caption would be
   clipped on narrow screens — keep it for assistive technology only. */
table.plans caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
table.plans th,
table.plans td {
  padding: 18px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
table.plans thead th {
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: none;
  white-space: nowrap;
}
table.plans tbody tr:last-child th,
table.plans tbody tr:last-child td { border-bottom: none; }
table.plans tbody tr:nth-child(even) { background: var(--paper); }
table.plans tbody tr:hover { background: rgba(91, 75, 219, .05); }
table.plans tbody th {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
table.plans td { color: var(--muted); }
.plan-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255, 107, 94, .14);
  color: #c8392d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.note {
  margin-top: 18px;
  font-size: .9rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ contacts -- */

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.info-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px 28px;
}
.info-block + .info-block { margin-top: 22px; }
.info-block h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 11px; }
.info-block h3 svg { width: 22px; height: 22px; color: var(--violet); flex-shrink: 0; }
.info-block address,
.info-block p { font-style: normal; color: var(--muted); font-size: .97rem; margin: 0; }
.info-block a { font-weight: 600; }

.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 36px 32px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .18s ease, background .18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: #cfd1e4; }
.field input:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--violet);
  outline: 3px solid rgba(91, 75, 219, .18);
  outline-offset: 0;
}
/* Spam trap: named in the form's netlify-honeypot attribute. Kept out of sight
   and out of the tab order, but reachable by anything reading the markup. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__hint { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }

/* ------------------------------------------------------------- notice --- */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0 0;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 10px;
  background: var(--paper);
}
.notice[hidden] { display: none; }

.notice__icon { flex-shrink: 0; margin-top: 1px; color: var(--muted); }
.notice__icon svg { width: 22px; height: 22px; }

.notice__body { flex: 1; min-width: 0; }
.notice__title {
  display: block;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.notice__text { margin: 0; font-size: .9rem; color: var(--muted); }
.notice__action {
  display: inline-block;
  margin-top: 11px;
  font-size: .9rem;
  font-weight: 600;
}
.notice__action[hidden] { display: none; }

.notice__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.notice__close svg { width: 14px; height: 14px; }
.notice__close:hover { background: rgba(14, 18, 48, .07); color: var(--ink); }

.notice--success {
  border-color: var(--ok-line);
  border-left-color: var(--ok);
  background: var(--ok-tint);
}
.notice--success .notice__icon { color: var(--ok); }

.notice--error {
  border-color: var(--bad-line);
  border-left-color: var(--bad);
  background: var(--bad-tint);
}
.notice--error .notice__icon { color: var(--bad); }
.notice--error .notice__action { color: var(--bad); }

@media (prefers-reduced-motion: no-preference) {
  .notice { animation: notice-in .26s ease both; }
  @keyframes notice-in {
    from { opacity: 0; transform: translateY(-6px); }
  }
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: clamp(56px, 7vw, 82px) 0 0;
  font-size: .95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 44px;
}
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand:hover { color: #fff; }
.site-footer p { color: rgba(255, 255, 255, .62); font-size: .93rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: var(--coral); }
.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 19px; height: 19px; color: var(--coral); flex-shrink: 0; margin-top: 3px; }
.footer__contact address { font-style: normal; color: rgba(255, 255, 255, .62); }

.footer__bottom {
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .87rem;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom p { margin: 0; color: rgba(255, 255, 255, .5); }

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 1080px) {
  .hero__grid { gap: 40px; }
  .feature { gap: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 980px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  html { scroll-padding-top: 90px; }

  .burger { display: inline-flex; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: max-height .28s ease, padding .28s ease, border-color .28s ease;
  }
  .nav.is-open {
    max-height: 520px;
    padding: 10px 24px 22px;
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-header);
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--line); }
  .nav__list a { display: block; padding: 14px 0; }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 18px; width: 100%; }

  .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature--flip .feature__art { order: 0; }
  .feature__art { max-width: 520px; }

  .split { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
}

@media (max-width: 680px) {
  body { font-size: 16.5px; }

  .topbar__inner { flex-direction: column; align-items: flex-start; gap: 2px; }
  .topbar__slogan { font-size: .8rem; }

  .grid--3,
  .grid--2,
  .grid--4 { grid-template-columns: 1fr; }

  .form { padding: 28px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .panel { padding: 32px 26px; }
  .pull-quote { font-size: 1.08rem; padding: 22px 22px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; }

  .cta__inner { gap: 26px; }
  .btn { width: 100%; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
