/* ═══════════════════════════════════════════════════════════
   Äritarkvara / ärisüsteemide maandumisleht
   Kõik klassid at- prefiksiga, et /style.css jääks puutumata.
   ═══════════════════════════════════════════════════════════ */

.at {
  --ink: #111111;
  --ink-soft: rgba(17, 17, 17, .62);
  --night: #0B0B0C;
  --night-2: #141417;
  --night-line: rgba(255, 255, 255, .10);
  --night-soft: rgba(255, 255, 255, .58);
  --o: #FF7629;
  --r: #E8360C;
  --ok: #37C76C;
  --maxw: 1240px;
  --pad: 60px;
}

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

.at-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ─── Üldised tüpograafia-abilised ─────────────────────── */
.at-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--o);
}
.at-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--o);
}
.at-h1 {
  font-size: clamp(33px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 22px 0 0;
}
.at-h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 18px 0 0;
}
.at-h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
}
.at-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 20px;
}
.at-on-dark .at-lead { color: var(--night-soft); }

/* ─── Nupud ────────────────────────────────────────────── */
.at-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.at-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.at-btn svg { transition: transform .18s ease; }
.at-btn:hover svg { transform: translateX(3px); }
.at-btn--primary { background: var(--ink); color: #fff; }
.at-btn--primary:hover { background: var(--o); transform: translateY(-2px); }
.at-btn--ghost { border-color: rgba(17,17,17,.18); color: var(--ink); }
.at-btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.at-on-dark .at-btn--primary { background: var(--o); color: #fff; }
.at-on-dark .at-btn--primary:hover { background: #fff; color: var(--night); }
.at-on-dark .at-btn--ghost { border-color: var(--night-line); color: #fff; }
.at-on-dark .at-btn--ghost:hover { border-color: #fff; }

/* ─── HERO ─────────────────────────────────────────────── */
.at-hero {
  background: var(--night);
  color: #fff;
  padding: 62px 0 0;
  overflow: hidden;
  position: relative;
}
.at-hero::before {
  content: '';
  position: absolute;
  top: -280px; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,118,41,.20), transparent 68%);
  pointer-events: none;
}
.at-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 56px;
  align-items: center;
}
.at-hero-copy { padding-bottom: 72px; }
.at-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--night-line);
}
.at-stat-n {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--o);
  font-variant-numeric: tabular-nums;
}
.at-stat-l {
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--night-soft);
  margin-top: 5px;
}
.at-hero-visual { align-self: center; padding-bottom: 46px; }

/* ─── Sektsioonide raamistik ───────────────────────────── */
.at-sec { padding: 104px 0; }
.at-sec--dark { background: var(--night); color: #fff; }
.at-sec--tint { background: #F7F6F4; }
.at-sec-head { max-width: 66ch; }
.at-sec-head--center { margin: 0 auto; text-align: center; }
.at-sec-head--center .at-eyebrow { justify-content: center; }
.at-sec-head--center .at-lead { margin-left: auto; margin-right: auto; }

/* ─── Logoriba ─────────────────────────────────────────── */
.at-strip {
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
  background: var(--night);
  color: #fff;
  padding: 24px 0;
  overflow: hidden;
  position: relative;
}
.at-strip-track {
  display: flex;
  gap: 54px;
  width: max-content;
  animation: at-marquee 34s linear infinite;
}
.at-strip:hover .at-strip-track { animation-play-state: paused; }
.at-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}
.at-strip-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--o);
}
@keyframes at-marquee { to { transform: translateX(-50%); } }

/* ─── Case-plokid ──────────────────────────────────────── */
.at-case { padding: 96px 0; border-top: 1px solid var(--night-line); }
.at-case:first-of-type { border-top: 0; }
.at-case-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 68px;
  align-items: center;
}
.at-case--flip .at-case-grid { grid-template-columns: 1.08fr .92fr; }
.at-case--flip .at-case-copy { order: 2; }
.at-case--flip .at-case-visual { order: 1; }

.at-case-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.at-case-tag b { color: var(--o); font-weight: 800; }
.at-case-client {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--o);
  margin-top: 24px;
}
.at-case h3 {
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 10px 0 0;
}
.at-feats { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 15px; }
.at-feats li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 13px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--night-soft);
}
.at-feats li svg { margin-top: 4px; color: var(--o); }
.at-feats li b { color: #fff; font-weight: 600; }
.at-case-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: 3px;
  transition: color .18s ease, border-color .18s ease;
}
.at-case-link:hover { color: var(--o); border-color: var(--o); }

/* ═══ SEADME-RAAM (mockup'ide ümbris) ═══════════════════ */
.at-device {
  position: relative;
  border-radius: 18px;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset;
  overflow: hidden;
  isolation: isolate;
}
.at-device::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.055), transparent 42%);
  pointer-events: none;
}
.at-device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--night-line);
  background: rgba(255,255,255,.025);
}
.at-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.at-device-url {
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,.42);
  letter-spacing: .02em;
}
.at-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ok);
}
.at-live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: at-pulse 1.9s ease-in-out infinite;
}
@keyframes at-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.at-screen { padding: 20px; min-height: 352px; position: relative; }

/* Ekraanisisesed üldised elemendid */
.at-scr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.at-scr-title { font-size: 14.5px; font-weight: 700; color: #fff; }
.at-scr-sub { font-size: 11.5px; color: rgba(255,255,255,.42); margin-top: 3px; }
.at-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.62);
  border: 1px solid transparent;
  white-space: nowrap;
}
.at-chip--on { background: rgba(255,118,41,.16); color: var(--o); border-color: rgba(255,118,41,.35); }
.at-chip--ok { background: rgba(55,199,108,.14); color: var(--ok); }

/* ═══ 1. SÖÖKLA — menüü + kassa ═════════════════════════ */
.at-menu-days { display: grid; gap: 9px; }
.at-day {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  border: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
.at-day-n { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.at-day-dish { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.80); }
.at-day-meta { font-size: 11px; color: rgba(255,255,255,.34); margin-top: 2px; }
.at-check {
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  color: transparent;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.at-day.is-picked { background: rgba(255,118,41,.11); border-color: rgba(255,118,41,.32); }
.at-day.is-picked .at-check { background: var(--o); border-color: var(--o); color: #fff; }
.at-day.is-picked .at-day-dish { color: #fff; }

.at-deadline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(255,118,41,.08);
  border: 1px solid rgba(255,118,41,.2);
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.at-deadline b { color: var(--o); font-variant-numeric: tabular-nums; }

/* Kassa-ülekatte kaart */
.at-pos {
  position: absolute;
  right: 16px; bottom: 16px;
  width: 268px;
  border-radius: 14px;
  background: #1C1C20;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 26px 50px -18px rgba(0,0,0,.85);
  padding: 15px;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.at-pos.is-up { opacity: 1; transform: none; }
.at-pos-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 11px; margin-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.at-pos-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.at-pos-code {
  font-size: 19px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums; letter-spacing: .06em;
}
.at-pos-code::after {
  content: '';
  display: inline-block;
  width: 2px; height: 17px;
  margin-left: 3px;
  background: var(--o);
  vertical-align: -3px;
  animation: at-caret 1s steps(2) infinite;
}
@keyframes at-caret { 50% { opacity: 0; } }
.at-pos-rows { display: grid; gap: 7px; }
.at-pos-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  font-size: 12px;
  color: rgba(255,255,255,.72);
  transition: background .3s ease, color .3s ease;
}
.at-pos-row.is-done { background: rgba(55,199,108,.13); color: var(--ok); }
.at-pos-row-s { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.at-pos-foot {
  margin-top: 11px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.4);
}
.at-pos-foot b { color: #fff; font-variant-numeric: tabular-nums; }

/* ═══ 2. HINDAMINE — skaalad + koondraport ══════════════ */
.at-rate { display: grid; gap: 15px; }
.at-rate-row { display: grid; gap: 7px; }
.at-rate-top { display: flex; align-items: baseline; justify-content: space-between; }
.at-rate-lbl { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.76); }
.at-rate-val { font-size: 12.5px; font-weight: 700; color: var(--o); font-variant-numeric: tabular-nums; }
.at-scale { display: flex; gap: 5px; }
.at-pip {
  flex: 1;
  height: 9px;
  border-radius: 3px;
  background: rgba(255,255,255,.075);
  transition: background .3s ease, transform .3s ease;
}
.at-pip.is-on { background: var(--o); }
.at-pip.is-on.is-weak { background: var(--r); }
.at-rate-row.is-weak .at-rate-val { color: var(--r); }

.at-report {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--night-line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease .1s, transform .55s ease .1s;
}
.at-report.is-up { opacity: 1; transform: none; }
.at-report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.at-kpi-n { font-size: 22px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.at-kpi-n small { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.4); }
.at-kpi-l { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-top: 4px; }
.at-report-note {
  margin-top: 12px; padding-top: 11px;
  border-top: 1px solid var(--night-line);
  font-size: 11.5px; color: rgba(255,255,255,.5);
}
.at-report-note b { color: var(--r); }

/* ═══ 3. AUTOPAKKUMISED — filtrid + kuulutused ══════════ */
.at-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.at-cars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.at-car {
  padding: 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.at-car.is-in { opacity: 1; transform: none; }
.at-car.is-hot { border-color: rgba(255,118,41,.35); background: rgba(255,118,41,.07); }
.at-car-img {
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(118deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.at-car-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent);
  transform: translateX(-100%);
  animation: at-sheen 3.4s ease-in-out infinite;
}
@keyframes at-sheen { 0%,62% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.at-car-brand { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.at-car-name { font-size: 13px; font-weight: 600; color: #fff; margin-top: 3px; }
.at-car-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 9px; }
.at-car-price { font-size: 15px; font-weight: 800; color: var(--o); font-variant-numeric: tabular-nums; }
.at-car-old { font-size: 11px; color: rgba(255,255,255,.3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.at-cars-foot {
  margin-top: 15px; padding-top: 13px;
  border-top: 1px solid var(--night-line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; color: rgba(255,255,255,.44);
}
.at-cars-foot b { color: #fff; font-variant-numeric: tabular-nums; }

/* ═══ 4. BRONEERIMINE — ajagrid + kinnitus ══════════════ */
.at-cal-head {
  display: grid;
  grid-template-columns: 58px repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 9px;
}
.at-cal-d { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.34); text-align: center; }
.at-cal-rows { display: grid; gap: 7px; }
.at-cal-row { display: grid; grid-template-columns: 58px repeat(4, 1fr); gap: 7px; align-items: center; }
.at-cal-t { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.4); font-variant-numeric: tabular-nums; }
.at-slot {
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  border: 1px solid transparent;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: transparent;
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
.at-slot.is-busy { background: rgba(255,255,255,.02); color: rgba(255,255,255,.16); }
.at-slot.is-busy::after { content: '—'; }
.at-slot.is-new { background: rgba(255,118,41,.18); border-color: rgba(255,118,41,.45); color: var(--o); }
.at-slot.is-conf { background: rgba(55,199,108,.16); border-color: rgba(55,199,108,.4); color: var(--ok); }

.at-toast {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #1C1C20;
  border: 1px solid rgba(55,199,108,.3);
  box-shadow: 0 22px 44px -16px rgba(0,0,0,.85);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1);
}
.at-toast.is-up { opacity: 1; transform: none; }
.at-toast-ic {
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 50%;
  background: rgba(55,199,108,.16);
  display: grid; place-items: center;
  color: var(--ok);
}
.at-toast-t { font-size: 12.5px; font-weight: 600; color: #fff; }
.at-toast-s { font-size: 11px; color: rgba(255,255,255,.44); margin-top: 2px; }

/* ─── Mida saab ehitada: ruudustik ──────────────────────── */
.at-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.at-card {
  padding: 28px;
  border-radius: 16px
;  background: #fff;
  border: 1px solid rgba(17,17,17,.09);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.at-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,118,41,.4);
  box-shadow: 0 22px 44px -22px rgba(17,17,17,.22);
}
.at-card-ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(255,118,41,.11);
  color: var(--o);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.at-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.at-card p { font-size: 14px; line-height: 1.58; color: var(--ink-soft); margin-top: 9px; }
.at-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.at-card li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 15px;
  position: relative;
}
.at-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 7.5px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--o);
}

/* ─── Protsess ─────────────────────────────────────────── */
.at-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 54px;
  counter-reset: at-s;
}
.at-step { position: relative; padding-top: 26px; border-top: 1px solid var(--night-line); }
.at-step-n {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--o);
}
.at-step h3 { font-size: 18px; font-weight: 700; margin: 12px 0 0; letter-spacing: -.01em; }
.at-step p { font-size: 14px; line-height: 1.58; color: var(--night-soft); margin-top: 9px; }
.at-step-time {
  display: inline-block;
  margin-top: 13px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}

/* ─── Lõpu-CTA ─────────────────────────────────────────── */
.at-cta { padding: 110px 0; background: #F7F6F4; text-align: center; }
.at-cta .at-h2 { max-width: 20ch; margin: 18px auto 0; }
.at-cta .at-btns { justify-content: center; }
.at-cta-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 20px; }

/* ─── Ilmumis-animatsioon ──────────────────────────────── */
.at-rev {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.at-rev.is-in { opacity: 1; transform: none; }
.at-rev--d1 { transition-delay: .07s; }
.at-rev--d2 { transition-delay: .14s; }
.at-rev--d3 { transition-delay: .21s; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .at { --pad: 32px; }
  .at-hero-grid,
  .at-case-grid,
  .at-case--flip .at-case-grid { grid-template-columns: 1fr; gap: 44px; }
  .at-case--flip .at-case-copy,
  .at-case--flip .at-case-visual { order: initial; }
  .at-hero-copy { padding-bottom: 0; }
  .at-hero-visual { padding-bottom: 72px; }
  .at-cards { grid-template-columns: repeat(2, 1fr); }
  .at-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .at { --pad: 20px; }
  .at-hero { padding-top: 56px; }
  .at-sec, .at-case { padding: 68px 0; }
  .at-cta { padding: 76px 0; }
  .at-cards, .at-steps { grid-template-columns: 1fr; }
  .at-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .at-screen { padding: 15px; min-height: 0; }
  .at-pos { position: static; width: auto; margin-top: 14px; }
  .at-cars { grid-template-columns: 1fr; }
  .at-report-grid { grid-template-columns: 1fr; gap: 14px; }
  .at-toast { position: static; left: auto; right: auto; bottom: auto; margin-top: 14px; }
  .at-btn { padding: 14px 22px; font-size: 14.5px; }
  .at-btns > .at-btn { flex: 1 1 100%; justify-content: center; }
}

/* ─── Liikumise vähendamine ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .at-rev { opacity: 1; transform: none; transition: none; }
  .at-strip-track { animation: none; }
  .at-car-img::after { animation: none; }
  .at-live::before, .at-pos-code::after { animation: none; }
  .at *, .at *::before, .at *::after { transition-duration: .01ms !important; }
}

/* ═══ 5. ALLKIRJASTAMINE — dokument + auditi jälg ═══════ */
.at-doc {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--night-line);
}
.at-doc-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 11px; margin-bottom: 12px;
  border-bottom: 1px solid var(--night-line);
}
.at-doc-t { font-size: 12.5px; font-weight: 700; color: #fff; }
.at-doc-s { font-size: 10.5px; color: rgba(255,255,255,.4); margin-top: 2px; }
.at-doc-lines { display: grid; gap: 7px; }
.at-ln {
  height: 7px;
  border-radius: 3px;
  background: rgba(255,255,255,.075);
}
.at-ln--80 { width: 80%; }
.at-ln--62 { width: 62%; }
.at-ln--92 { width: 92%; }
.at-ln--45 { width: 45%; }

.at-sig {
  margin-top: 14px;
  padding: 12px 14px 10px;
  border-radius: 11px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
  transition: border-color .4s ease, background .4s ease;
}
.at-sig.is-done { border-style: solid; border-color: rgba(55,199,108,.35); background: rgba(55,199,108,.055); }
.at-sig-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.34);
}
.at-sig-pad { height: 46px; margin-top: 4px; }
.at-sig-pad svg { width: 100%; height: 100%; overflow: visible; }
.at-sig-path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 1.5s cubic-bezier(.5,.05,.6,.95);
}
.at-sig.is-signing .at-sig-path,
.at-sig.is-done .at-sig-path { stroke-dashoffset: 0; }
.at-sig-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
  font-size: 10.5px;
  color: rgba(255,255,255,.4);
}
.at-sig-meta b { color: var(--ok); }

.at-trail { margin-top: 14px; display: grid; gap: 6px; }
.at-ev {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 11px;
  align-items: baseline;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(255,255,255,.03);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.at-ev.is-in { opacity: 1; transform: none; }
.at-ev-t { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,.34); font-variant-numeric: tabular-nums; }
.at-ev-n { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.80); }
.at-ev-h {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 2px;
  letter-spacing: .01em;
  word-break: break-all;
}
.at-ev.is-final { background: rgba(55,199,108,.1); }
.at-ev.is-final .at-ev-n { color: var(--ok); }

/* ═══ MIKS NÜÜD — müügiargument ═════════════════════════ */
.at-why { background: #F7F6F4; padding: 104px 0; }
.at-why-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.at-then-now { display: grid; gap: 14px; }
.at-tn {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
}
.at-tn-lbl {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(17,17,17,.34);
}
.at-tn-then { font-size: 15px; font-weight: 600; color: rgba(17,17,17,.4); margin-top: 5px; }
.at-tn-now { font-size: 20px; font-weight: 800; color: var(--o); margin-top: 5px; letter-spacing: -.01em; }
.at-tn-arrow { color: rgba(17,17,17,.2); display: grid; place-items: center; }
.at-why-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--night);
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.6;
}
.at-why-note b { color: #fff; }
.at-why-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.at-why-points li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; }
.at-why-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,118,41,.12);
  color: var(--o);
  display: grid; place-items: center;
}
.at-why-points h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.005em; }
.at-why-points p { font-size: 14.5px; line-height: 1.58; color: var(--ink-soft); margin-top: 6px; }

@media (max-width: 1080px) {
  .at-why-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 680px) {
  .at-why { padding: 68px 0; }
  .at-tn { grid-template-columns: 1fr; gap: 10px; }
  .at-tn-arrow { transform: rotate(90deg); justify-self: start; }
}

/* ═══ AMPLUAA — kogu teenusevalik ═══════════════════════ */
.at-scope { background: var(--night); color: #fff; padding: 76px 0; border-top: 1px solid var(--night-line); }
.at-scope-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.at-scope-head h2 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; max-width: 24ch; margin-top: 14px; }
.at-scope-stat { text-align: right; }
.at-scope-stat b { display: block; font-size: 34px; font-weight: 800; color: var(--o); letter-spacing: -.02em; }
.at-scope-stat span { font-size: 12.5px; color: var(--night-soft); }
.at-scope-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 34px; }
.at-scope-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--night-line);
  color: #fff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.at-scope-link:hover { background: rgba(255,118,41,.1); border-color: rgba(255,118,41,.4); transform: translateY(-3px); }
.at-scope-link svg { color: var(--o); flex: 0 0 auto; }
.at-scope-link--on { background: rgba(255,118,41,.14); border-color: rgba(255,118,41,.4); color: var(--o); }

@media (max-width: 1080px) { .at-scope-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .at-scope { padding: 56px 0; } .at-scope-links { grid-template-columns: 1fr; } .at-scope-stat { text-align: left; } }
