/* Autom8 Business Builder — front door.
   Look: calm and minimal. Carbon black, one hot accent, big type,
   lots of air. One idea per section, nothing competing for the eye.
   Layout is MOBILE FIRST: designed for a 390px phone, scaled up.
   Motion uses transform/opacity only and honours prefers-reduced-motion. */
:root {
  --bg: #07080a;
  --bg2: #0c0e11;
  --panel: #101318;
  --panel-solid: #0d1015;
  --line: rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .05);
  --text: #f2f3f5;
  --muted: #9aa3ad;
  --accent: #e8000a;
  --accent-soft: rgba(232, 0, 10, .14);
  --ok: #3ecf6e;
  --radius: 14px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-size: 16px; line-height: 1.5;
}
img, svg { max-width: 100%; }
/* quiet backdrop — one neutral tone shift, nothing coloured behind the words */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg2), var(--bg) 40%);
}
a { color: var(--text); }
#build { scroll-margin-top: 84px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
@media (min-width: 720px) { .wrap { padding: 0 22px; } }
/* sections that set their own vertical padding must not lose the side gutters */
.hero.wrap, .wizard.wrap, .guide.wrap { padding-left: 18px; padding-right: 18px; }
@media (min-width: 720px) { .hero.wrap, .wizard.wrap, .guide.wrap { padding-left: 22px; padding-right: 22px; } }

/* ---------- header ---------- */
header.top {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px);
  background: rgba(7, 8, 10, .82); border-bottom: 1px solid var(--line-soft);
}
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
.logo { font-weight: 900; letter-spacing: .12em; font-size: 14px; line-height: 1.18; text-transform: uppercase; text-decoration: none; min-width: 0; white-space: nowrap; }
.logo b { color: var(--accent); font-weight: 900; }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.btn-head { min-height: 44px; padding: 10px 16px; font-size: 12px; border-radius: 999px; }
@media (min-width: 720px) {
  .top-in { min-height: 64px; }
  .logo { font-size: 15px; letter-spacing: .14em; }
  .btn-head { padding: 11px 20px; }
}

/* ---------- hero ---------- */
.hero { padding: 60px 0 48px; position: relative; }
@media (min-width: 720px) { .hero { padding: 96px 0 64px; } }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); flex: none; }
@media (min-width: 720px) { .kicker { font-size: 11px; letter-spacing: .32em; } }
.hero h1 {
  font-size: 8.6vw; line-height: .98; font-weight: 900;
  letter-spacing: -.03em; text-transform: uppercase; margin: 0 0 20px; max-width: 100%;
}
@media (min-width: 480px) { .hero h1 { font-size: clamp(44px, 8.2vw, 96px); letter-spacing: -.015em; margin: 0 0 22px; } }
.hero h1 .hot { color: var(--accent); }
.hero h1 .outline {
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
}
/* one short, still accent rule under the headline */
.hero h1::after {
  content: ""; display: block; height: 3px; width: 64px; margin-top: 26px;
  background: var(--accent); border-radius: 99px;
}
.hero p.lede { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.6; }
@media (min-width: 720px) { .hero p.lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; } }
.hero p.lede strong { color: var(--text); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-cta .btn { flex: 1 1 100%; justify-content: center; }
@media (min-width: 560px) { .hero-cta .btn { flex: 0 0 auto; } .hero-cta { margin-top: 36px; } }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center; gap: 10px; font-family: var(--font); font-weight: 800; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; padding: 15px 26px; border-radius: 10px; min-height: 52px;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s; position: relative;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-hot { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.btn-hot:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .45); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- wizard ---------- */
.wizard { padding: 34px 0 80px; }
@media (min-width: 720px) { .wizard { padding: 30px 0 90px; } }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 10px; }
.progress-head .step-name { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.progress-head .step-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.progress { height: 6px; background: rgba(255,255,255,.08); border-radius: 99px; position: relative; }
.progress i {
  display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #8f0006, var(--accent));
  border-radius: 99px; transition: width .6s cubic-bezier(.7, 0, .2, 1); position: relative; overflow: hidden;
}
.progress i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  animation: sheen 1.8s linear infinite;
}
@keyframes sheen { from { transform: translateX(-100%);} to { transform: translateX(100%);} }
/* step rail: numbered segments on a phone, full labels on wider screens */
.step-dots { display: flex; gap: 5px; margin: 12px 0 20px; }
.step-dots button {
  flex: 1; min-width: 0; min-height: 44px; background: transparent; border: 1px solid var(--line-soft); color: var(--muted);
  font: 700 12px var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 0 4px;
  border-radius: 8px; cursor: pointer; transition: all .25s; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.step-dots button .lbl { display: none; }
.step-dots button.done { color: var(--text); border-color: rgba(255,255,255,.22); }
.step-dots button.now { color: #fff; background: var(--accent-soft); border-color: var(--accent); }
@media (min-width: 720px) {
  .step-dots { gap: 6px; margin: 14px 0 26px; flex-wrap: wrap; }
  .step-dots button { min-width: 92px; height: auto; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; padding: 9px 6px; }
  .step-dots button .lbl { display: inline; }
}

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft); border-radius: 18px; padding: 26px 18px;
}
@media (min-width: 720px) { .panel { padding: 34px clamp(20px, 4vw, 42px); } }
.step { display: none; }
.step.active { display: block; animation: stepInF .38s cubic-bezier(.6, 0, .2, 1) both; }
.step.active.enter-back { animation-name: stepInB; }
.step.leaving { animation: stepOutF .2s ease both; }
.step.leaving.leave-back { animation-name: stepOutB; }
@keyframes stepInF { from { opacity: 0; transform: translateX(30px);} to { opacity: 1; transform: none;} }
@keyframes stepInB { from { opacity: 0; transform: translateX(-30px);} to { opacity: 1; transform: none;} }
@keyframes stepOutF { from { opacity: 1;} to { opacity: 0; transform: translateX(-20px);} }
@keyframes stepOutB { from { opacity: 1;} to { opacity: 0; transform: translateX(20px);} }
.step h2 { font-size: clamp(25px, 6.6vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.04; }
.step h2 .hot { color: var(--accent); }
.step .sub { color: var(--muted); margin: 10px 0 24px; line-height: 1.6; max-width: 620px; font-size: 15.5px; }

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } }
.grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], textarea, select {
  width: 100%; background: #0a0c0f; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 14px; font: 500 16px var(--font); outline: none; min-height: 52px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 38px;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input.err, textarea.err, select.err { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.err-msg { display: none; color: #ff5b62; font-size: 13px; margin-top: 6px; }
.err-msg.show { display: block; animation: stepInF .25s both; }
textarea { min-height: 84px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 99px;
  padding: 10px 16px; min-height: 42px; font: 600 13px var(--font); cursor: pointer; transition: all .2s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.35); transform: translateY(-1px); }
.chip.on { color: #fff; background: var(--accent); border-color: var(--accent); }

/* service rows: stacked on a phone, one row per service on desktop */
.svc-row { display: grid; grid-template-columns: 1fr 1fr 52px; gap: 10px; margin-bottom: 14px; animation: stepInF .3s both; }
.svc-row .sv-name { grid-column: 1 / -1; }
.svc-row .sv-desc { grid-column: 1 / -1; }
.svc-row .rm {
  height: 52px; width: 52px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; transition: all .2s;
  -webkit-tap-highlight-color: transparent;
}
.svc-row .rm:hover { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 1.4fr .5fr 1.4fr .9fr auto; margin-bottom: 10px; }
  .svc-row .sv-name, .svc-row .sv-desc { grid-column: auto; }
  .svc-row .rm { height: 52px; width: 44px; }
}
.add-row { margin: 4px 0 18px; width: 100%; }
@media (min-width: 560px) { .add-row { width: auto; } }

/* toggle cards (accounts page) */
.toggles { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .toggles { grid-template-columns: 1fr 1fr; } }
.toggle {
  display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%;
  background: #0a0c0f; border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; cursor: pointer;
  color: var(--text); font-family: var(--font); transition: all .2s; min-height: 56px;
  -webkit-tap-highlight-color: transparent;
}
.toggle:hover { border-color: rgba(255,255,255,.3); transform: translateY(-1px); }
.toggle .box {
  flex: none; width: 26px; height: 26px; border-radius: 6px; border: 1.5px solid var(--line);
  display: grid; place-items: center; font-size: 14px; color: transparent; transition: all .2s; margin-top: 1px;
}
.toggle.on { border-color: var(--accent); background: var(--accent-soft); }
.toggle.on .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.toggle b { display: block; font-size: 15px; }
.toggle span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.5; }

/* swatches */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.swatch { width: 48px; height: 48px; border-radius: 10px; border: 2px solid transparent; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: all .2s; -webkit-tap-highlight-color: transparent; }
.swatch:hover { transform: translateY(-2px) scale(1.05); }
.swatch.on { border-color: #fff; }
input[type="color"] { width: 64px; height: 52px; padding: 4px; background: #0a0c0f; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.preview-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #0a0c0f; }
.preview-card .pv-name { font-size: 26px; font-weight: 900; text-transform: uppercase; }
.preview-card .pv-bar { height: 4px; border-radius: 99px; margin: 12px 0; }
.preview-card .pv-tag { color: var(--muted); font-size: 13.5px; }

/* nav row — sticky at the bottom of the panel, inside thumb reach */
.wiz-nav {
  position: sticky; bottom: 0; z-index: 30; display: flex; gap: 12px; align-items: stretch;
  margin: 22px -18px -26px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 17, .94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-soft); border-radius: 0 0 18px 18px;
}
.wiz-nav #nextBtn { flex: 1; }
.wiz-nav #backBtn { flex: none; }
@media (min-width: 720px) {
  .wiz-nav { margin: 28px calc(-1 * clamp(20px, 4vw, 42px)) -34px; padding: 14px clamp(20px, 4vw, 42px) calc(14px + env(safe-area-inset-bottom)); }
  .wiz-nav #nextBtn { flex: 0 0 auto; margin-left: auto; }
}
/* keep the nav buttons clear of the fixed chat bubble (bottom-right) */
@media (max-width: 1199px) { .wiz-nav { padding-right: 88px; } }
.status-line { margin-top: 18px; font-size: 14px; color: var(--muted); min-height: 20px; line-height: 1.5; }
.status-line.ok { color: var(--ok); }
.status-line.bad { color: #ff5b62; }
.status-line p { margin: 0 0 7px; }
.status-line .start-another { margin-top: 10px; }

/* summary / build pack */
.pack-heading { margin: 22px 0 4px; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.review-block { border-top: 1px solid var(--line-soft); padding: 14px 0 4px; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-head h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.review-edit { min-height: 38px; padding: 8px 13px; font-size: 11px; }
.review-list { list-style: none; margin-top: 8px; }
.review-list li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); line-height: 1.5; overflow-wrap: anywhere; }
.review-list li:last-child { border-bottom: 0; }
.review-list b { color: var(--text); }
.review-list span { color: var(--muted); }
.review-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); vertical-align: -2px; margin-right: 7px; }
table.pack { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 6px; }
table.pack th, table.pack td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.pack th { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 719px) {
  table.pack, table.pack tbody, table.pack tr, table.pack th, table.pack td { display: block; }
  table.pack tr { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  table.pack th { padding: 0 0 2px; border-bottom: 0; }
  table.pack td { padding: 2px 0 0; border-bottom: 0; line-height: 1.5; }
}
.pill { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); }
.pill.copy { color: #7cc4ff; border-color: rgba(124,196,255,.4); }
.pill.connect { color: var(--ok); border-color: rgba(62,207,110,.4); }
.pill.create { color: #ffd166; border-color: rgba(255,209,102,.4); }
.pill.owner { color: #ff8fa3; border-color: rgba(255,143,163,.4); }
.notice {
  border: 1px solid rgba(232,0,10,.45); background: var(--accent-soft); border-radius: 12px;
  padding: 16px 18px; line-height: 1.6; font-size: 15px; margin: 18px 0;
}
.notice b { color: #fff; }

/* reveal on scroll — staggered by --d where set. The hero is the first
   thing a visitor sees, so its starting state is visible: no blank paint
   while an animation or observer catches up. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.6,0,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in, .hero .reveal { opacity: 1; transform: none; }

/* chat bubble (assistant core widget — entrance + one pulse, from site CSS) */
#a8w-btn { animation: a8wIn .5s cubic-bezier(.2, .9, .3, 1.25) .9s both, a8wPulse 1.5s ease-out 1.7s 2; }
@keyframes a8wIn { from { opacity: 0; transform: translateY(18px) scale(.55); } to { opacity: 1; transform: none; } }
@keyframes a8wPulse {
  0% { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(232,0,10,.55); }
  70% { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 20px rgba(232,0,10,0); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(232,0,10,0); }
}
#a8w-panel.a8w-open { animation: a8wPanelIn .28s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes a8wPanelIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* guide page */
.guide { padding: 36px 0 80px; max-width: 820px; }
@media (min-width: 720px) { .guide { padding: 44px 0 90px; } }
.guide h1 { font-size: clamp(32px, 9vw, 54px); font-weight: 900; text-transform: uppercase; line-height: 1.02; }
.guide h2 { font-size: 20px; font-weight: 800; margin: 36px 0 12px; text-transform: uppercase; letter-spacing: .02em; }
@media (min-width: 720px) { .guide h2 { font-size: 22px; margin: 38px 0 12px; } }
.guide p, .guide li { color: var(--muted); line-height: 1.65; font-size: 15.5px; }
.guide ol, .guide ul { padding-left: 22px; margin: 8px 0; }
.guide li { margin: 6px 0; }
.guide b, .guide strong { color: var(--text); }
.shot {
  border: 1.5px dashed rgba(255,255,255,.28); border-radius: 12px; padding: 22px 16px; margin: 14px 0;
  color: var(--muted); font-size: 13px; letter-spacing: .04em; text-align: center; background: rgba(255,255,255,.02); line-height: 1.5;
}
code { background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 5px; font-size: .92em; color: var(--text); overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line-soft); padding: 26px 0 40px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* reduced motion: still page, instant reveals */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  #a8w-btn, #a8w-panel.a8w-open { animation: none; }
}

/* ---------- language switcher ---------- */
.lang-switch { position: relative; flex: none; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  background: rgba(255,255,255,.04); color: var(--text);
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 8px 12px; font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  min-height: 38px; max-width: 46vw;
}
.lang-btn:hover { border-color: var(--accent); }
.lang-btn svg { width: 17px; height: 17px; fill: var(--accent); flex: none; }
.lang-btn .lang-now { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-btn .lang-chev { color: var(--muted); font-size: 10px; flex: none; }
.lang-panel {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 80;
  width: min(320px, 88vw); background: #101318; border: 1px solid var(--line-soft);
  border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.5); padding: 10px;
}
.lang-search {
  width: 100%; font-size: 16px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.04); color: var(--text);
}
.lang-list { overflow-y: auto; max-height: 320px; margin-top: 8px; display: flex; flex-direction: column; }
.lang-list button {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: none; border: none; color: var(--text); cursor: pointer; text-align: start;
  padding: 9px 10px; border-radius: 8px; font: inherit; font-size: 14px; min-height: 42px;
}
.lang-list button:hover { background: rgba(255,255,255,.06); }
.lang-list button.on { color: var(--accent); font-weight: 700; }
.lang-list .lang-en { color: var(--muted); font-size: 11.5px; flex: none; }

/* ---------- RTL (Arabic, Urdu, Hebrew, Persian) ---------- */
[dir="rtl"] .btn:hover .arr { transform: translateX(-3px); }
[dir="rtl"] .toggle { text-align: right; }
[dir="rtl"] table.pack th, [dir="rtl"] table.pack td { text-align: right; }
[dir="rtl"] .guide ol, [dir="rtl"] .guide ul { padding-left: 0; padding-right: 22px; }
@media (max-width: 1199px) {
  [dir="rtl"] .wiz-nav { padding-right: clamp(20px, 4vw, 42px); padding-left: 88px; }
  [dir="rtl"] .wiz-nav #nextBtn { margin-left: 0; margin-right: auto; }
}

/* small screens: logo + language + one button must share 360–400px —
   the language name gives way first (the globe still opens the picker). */
@media (max-width: 640px) {
  .top-actions { gap: 8px; }
  .lang-btn { padding: 7px 10px; font-size: 12px; }
  .lang-btn .lang-now { display: none; }
  .logo { font-size: 12.5px; letter-spacing: .08em; }
  .btn-head { padding: 9px 12px; font-size: 11.5px; letter-spacing: .1em; }
}

/* ---------- site nav + footer (added 2026-11-30) ---------- */
/* slim text nav under the header bar — same family pattern as autom8me.ai:
   plain links, muted until hover, one row that scrolls sideways on a phone
   instead of wrapping into a tower. */
.site-nav { border-top: 1px solid var(--line-soft); }
.site-nav-in { display: flex; gap: 26px; align-items: center; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.site-nav-in::-webkit-scrollbar { display: none; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; min-height: 32px;
  display: inline-flex; align-items: center; transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.now { color: var(--text); }
.site-nav a.ext { margin-left: auto; color: var(--text); }
.site-nav a.ext .arr { color: var(--accent); margin-left: 6px; transition: transform .2s; }
.site-nav a.ext:hover .arr { transform: translateX(3px); }

footer .foot-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 14px; }
footer .foot-nav a {
  color: var(--muted); text-decoration: none; font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; min-height: 32px;
  display: inline-flex; align-items: center; transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
footer .foot-nav a:hover { color: var(--text); }
footer .foot-line { max-width: 640px; }
footer .foot-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 22px; }
footer .foot-meta a { color: var(--muted); text-decoration: none; }
footer .foot-meta a:hover { color: var(--text); }
