/* arbly product landing — modern minimal light theme.
   White surfaces, one flat violet accent, hairline borders, no gradients.
   Animations are decorative and fully disabled under prefers-reduced-motion. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+20A0-20C0, U+2113;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}

:root {
  /* flat violet accent */
  --brand: #7c3aed;
  --brand-ink: #6d28d9;
  --brand-deep: #5b21b6;
  --brand-soft: #f5f3ff;
  --brand-tint: #ede9fe;
  --brand-border: #ddd6fe;
  --ok: #16a34a;
  --ok-soft: #f0fdf4;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --err: #dc2626;
  /* neutral light surfaces */
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --ink: #18181b;
  --text: #3f3f46;
  --muted: #71717a;
  --faint: #a1a1aa;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.05);
  --shadow-md: 0 12px 40px rgba(24, 24, 27, 0.07);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand-tint);
  color: var(--brand-deep);
}

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

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

h1,
h2,
h3 {
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.04;
  margin: 0 0 0.5em;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.4em;
}

h3 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

a:hover {
  color: var(--brand-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* flat accent (class kept from the gradient era) */
.grad-text {
  color: var(--brand);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  border-radius: var(--radius-sm);
  padding: 0.72em 1.35em;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease),
    background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--brand-ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.btn-primary svg {
  transition: transform 0.15s var(--ease);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: var(--brand-deep);
  border-color: var(--brand-border);
  background: var(--brand-soft);
}

.btn-light {
  background: #fff;
  color: var(--brand-deep);
}

.btn-light:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85em 1.6em;
  font-size: 1.04rem;
}

.btn-sm {
  padding: 0.5em 1.05em;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

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

.nav a:not(.btn) {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.94rem;
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

/* Hero */

.hero {
  padding: 104px 0 96px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 20px;
}

.hero h1 {
  max-width: 900px;
}

.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.trial-note {
  color: var(--muted);
  font-size: 0.93rem;
  margin-top: 16px;
  margin-bottom: 0;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.trust-chips svg {
  color: var(--brand);
  flex: none;
}

/* ============ Autopilot simulation ============ */

.hero-sim {
  margin-top: 64px;
}

.sim {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-align: left;
  overflow: hidden;
}

.sim-glow {
  display: none;
}

.sim-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.sim-dots {
  display: inline-flex;
  gap: 6px;
}

.sim-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.sim-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.sim-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ok);
}

.sim-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: ping 2.2s var(--ease) infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.sim-stats {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--muted);
}

.sim-stats b {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1.06fr 1.22fr 1.16fr;
}

.sim-col {
  padding: 16px 18px 20px;
  min-width: 0;
}

.sim-col + .sim-col {
  border-left: 1px solid var(--line);
}

.sim-col header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.sim-col header span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.sim-pill {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22em 0.75em;
}

.sim-pill--run {
  color: var(--ok);
  border-color: #bbf7d0;
  background: var(--ok-soft);
}

.sim-pill--cyan {
  color: var(--brand);
  border-color: var(--brand-border);
  background: var(--brand-soft);
}

/* feed column: endless upward marquee of incoming candidates */

.sim-feed-clip {
  height: 296px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent 0, #000 10%, #000 88%, transparent 100%);
  mask-image: linear-gradient(transparent 0, #000 10%, #000 88%, transparent 100%);
}

.sim-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  animation: simFeed 26s linear infinite;
}

@keyframes simFeed {
  to { transform: translateY(-50%); }
}

.sim-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin-bottom: 10px;
}

.sim-ava {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--brand-tint);
}

.sim-lead-txt {
  min-width: 0;
}

.sim-lead-txt strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-lead-txt small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-lead-dot {
  margin-left: auto;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* pipeline column */

.sim-pipe {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sim-step {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px 0;
}

.sim-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 40px;
  bottom: -4px;
  width: 1px;
  background: var(--line);
}

.sim-step > i {
  position: relative;
  z-index: 1;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--faint);
}

.sim-step > i svg {
  width: 13px;
  height: 13px;
}

.sim-step.is-done > i {
  background: var(--brand-soft);
  border-color: var(--brand-border);
  color: var(--brand);
}

.sim-step.is-run > i {
  background: var(--brand-soft);
  border-color: var(--brand-border);
}

.sim-spin {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--brand-border);
  border-top-color: var(--brand);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.sim-step > span {
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.sim-step small {
  display: block;
  font-weight: 500;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

.sim-step.is-next > span {
  color: var(--muted);
}

.sim-city {
  position: relative;
  display: inline-block;
  min-width: 13ch;
  height: 1.2em;
  vertical-align: bottom;
}

.sim-city b {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  opacity: 0;
  animation: cityswap 12s infinite;
}

.sim-city b:nth-child(2) { animation-delay: 3s; }
.sim-city b:nth-child(3) { animation-delay: 6s; }
.sim-city b:nth-child(4) { animation-delay: 9s; }

@keyframes cityswap {
  0% { opacity: 0; transform: translateY(4px); }
  4% { opacity: 1; transform: none; }
  23% { opacity: 1; }
  28% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 0; }
}

.sim-form {
  display: grid;
  gap: 6px;
  margin-top: 9px;
  max-width: 230px;
}

.sim-form b {
  display: block;
  height: 6px;
  width: var(--w, 80%);
  border-radius: 3px;
  background: var(--brand-border);
  transform-origin: left center;
  animation: typeIn 5.6s var(--td, 0s) var(--ease) infinite;
}

@keyframes typeIn {
  0% { transform: scaleX(0); opacity: 1; }
  34% { transform: scaleX(1); opacity: 1; }
  86% { transform: scaleX(1); opacity: 1; }
  95% { transform: scaleX(1); opacity: 0.3; }
  100% { transform: scaleX(0); opacity: 0.3; }
}

/* telegram column */

.sim-toasts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sim-toasts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  /* negative delay: every toast is already mid-cycle on page load */
  animation: toast 13s calc(var(--n, 0) * 2.9s - 13s) var(--ease) infinite both;
}

@keyframes toast {
  0% { opacity: 0; transform: translateX(16px); }
  4% { opacity: 1; transform: none; }
  84% { opacity: 1; }
  93%, 100% { opacity: 0; transform: translateX(-8px); }
}

.sim-toasts i {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.sim-toasts i svg {
  width: 13px;
  height: 13px;
}

.sim-toasts i.ok { color: var(--ok); background: var(--ok-soft); }
.sim-toasts i.brand { color: var(--brand); background: var(--brand-soft); }
.sim-toasts i.warn { color: var(--warn); background: var(--warn-soft); }
.sim-toasts i.cyan { color: var(--brand); background: var(--brand-soft); }

.sim-toasts span {
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.sim-toasts small {
  display: block;
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Section heads */

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
}

.section-head--page {
  margin-bottom: 44px;
}

/* Features */

.features {
  padding: 104px 0 96px;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px 32px;
}

.feature-card {
  background: transparent;
  border: 0;
  padding: 0;
}

.feature-icon {
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
}

.feature-card h3 {
  margin: 16px 0 8px;
  font-size: 1.06rem;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Compare (manual vs autopilot) */

.compare {
  padding: 0 0 104px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

.compare-card {
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.compare-card h3 {
  margin: 0 0 18px;
  font-size: 1rem;
}

.compare-card--manual {
  background: var(--bg-soft);
}

.compare-card--manual h3 {
  color: var(--muted);
}

.compare-card--auto {
  border: 1.5px solid var(--brand);
}

.compare-card--auto h3 {
  color: var(--brand);
}

.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.compare-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
}

.compare-card li i {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  margin-top: 0;
}

.compare-card--manual li {
  color: var(--muted);
}

.compare-card--manual li i {
  color: var(--faint);
  background: #f4f4f5;
}

.compare-card--auto li {
  color: var(--text);
  font-weight: 500;
}

.compare-card--auto li i {
  color: var(--brand);
  background: var(--brand-soft);
}

.compare-arrow {
  align-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

/* Steps */

.steps {
  padding: 0 0 104px;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 34px 28px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step-n {
  position: relative;
  z-index: 1;
  margin: 0 auto 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 38px);
  width: calc(100% - 76px);
  border-top: 1px dashed var(--line-strong);
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Pricing teaser — the one bold violet moment */

.pricing-teaser {
  background: var(--brand);
  padding: 72px 0;
}

.pricing-teaser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.pricing-teaser h2 {
  margin: 0 0 6px;
  color: #fff;
}

.pricing-teaser-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.pricing-teaser .btn-primary {
  background: #fff;
  color: var(--brand-deep);
}

.pricing-teaser .btn-primary:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.teaser-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.teaser-tier {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.teaser-tier:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.teaser-tier.is-highlight {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.teaser-tier.is-highlight:hover {
  background: #fff;
  color: var(--ink);
}

.teaser-tier-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.teaser-tier-name em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-deep);
  background: var(--brand-tint);
  padding: 0.22em 0.7em;
  border-radius: 999px;
}

.teaser-tier:not(.is-highlight) .teaser-tier-name em {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.teaser-tier-price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.teaser-tier-price small {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.65;
}

.teaser-tier-desc {
  font-size: 0.85rem;
  opacity: 0.72;
}

/* Signup */

.signup {
  padding: 104px 0;
}

.signup-inner {
  max-width: 520px;
  margin: 0 auto;
}

.signup .section-head {
  margin-bottom: 30px;
}

.signup-form {
  display: grid;
  gap: 14px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.signup-form input[type="email"],
.signup-form input[type="password"] {
  padding: 0.85em 1.05em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.signup-form input::placeholder {
  color: var(--faint);
}

.signup-form input[type="email"]:focus,
.signup-form input[type="password"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
  outline: none;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--muted);
}

.consent input {
  margin-top: 3px;
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  flex: none;
}

.signup-status {
  min-height: 1.4em;
  font-size: 0.95rem;
  margin: 0;
}

.signup-status[data-kind="error"] {
  color: var(--err);
}

.signup-status[data-kind="ok"] {
  color: var(--ok);
}

.signup-status[data-kind="pending"] {
  color: var(--muted);
}

.signup-form .trial-note {
  margin: 0;
  text-align: center;
  font-size: 0.87rem;
}

/* Pricing page */

.pricing {
  padding: 88px 0 48px;
}

p.trial-banner {
  color: var(--brand-deep);
}

.trial-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 20px auto 0;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 0.6em 1.3em;
  font-weight: 600;
  font-size: 0.93rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.tier:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.tier.is-highlight {
  border: 1.5px solid var(--brand);
}

.tier.is-highlight:hover {
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.12);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35em 1em;
  border-radius: 999px;
  white-space: nowrap;
}

.tier h2 {
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.tier-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 18px;
  min-height: 2.8em;
}

.tier-price-row {
  margin: 0 0 6px;
}

.tier .price {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.tier .period {
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
}

.tier-intro {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  margin: 10px 0 0;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  display: grid;
  gap: 10px;
  flex: 1;
  align-content: start;
}

.tier li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text);
}

.tier li svg {
  color: var(--brand);
  flex: none;
  margin-top: 3px;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 28px 0 0;
}

/* FAQ — hairline dividers, no cards */

.faq {
  padding: 72px 0 48px;
}

.faq-wrap {
  max-width: 720px;
}

.faq .section-head {
  margin-bottom: 24px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  padding: 18px 4px;
  list-style: none;
  transition: color 0.15s var(--ease);
}

.faq summary:hover {
  color: var(--brand-deep);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  flex: none;
  color: var(--faint);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

.faq details p {
  color: var(--muted);
  margin: 0;
  padding: 0 4px 18px;
}

/* Final CTA (pricing page) */

.final-cta {
  padding: 48px 0 104px;
}

.final-cta-inner {
  text-align: center;
  background: var(--brand);
  border-radius: 20px;
  padding: 60px 32px;
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--brand-deep);
}

.final-cta .btn-primary:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Legal pages */

.legal {
  padding: 64px 0;
}

.legal .wrap {
  max-width: 760px;
}

.legal-draft {
  background: var(--warn-soft);
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #92400e;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 52px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.brand--footer {
  color: var(--ink);
  font-size: 1.12rem;
}

.brand--footer:hover {
  color: var(--brand-deep);
}

.footer-tagline {
  margin: 12px 0 6px;
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-mail {
  color: var(--brand);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.footer-legal {
  color: var(--faint);
  font-size: 0.82rem;
  margin: 0;
  max-width: 640px;
}

.footer-copy {
  color: var(--faint);
  font-size: 0.82rem;
  margin: 0;
  white-space: nowrap;
}

/* Reveal-on-scroll (progressive enhancement; see landing.js) */

html.js-anim .reveal {
  opacity: 0;
  transform: translateY(14px);
}

html.js-anim .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--d, 0s);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js-anim .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sim-feed,
  .sim-city b,
  .sim-form b,
  .sim-toasts li,
  .sim-spin,
  .sim-live i {
    animation: none !important;
  }

  .sim-city b {
    position: static;
    opacity: 1;
  }

  .sim-city b:not(:first-child) {
    display: none;
  }

  .sim-toasts li {
    opacity: 1;
    transform: none;
  }

  .btn,
  .tier,
  .teaser-tier {
    transition: none;
  }
}

/* Responsive */

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

  .sim-col--tg {
    display: none;
  }
}

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

  .compare-arrow {
    margin: -4px auto;
    transform: rotate(90deg);
  }

  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 14px;
  }

  .nav .nav-link {
    display: none;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-sim {
    margin-top: 44px;
  }

  .sim-grid {
    grid-template-columns: 1fr;
  }

  .sim-col + .sim-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .sim-col--feed .sim-feed-clip {
    height: 210px;
  }

  .sim-stats {
    display: none;
  }

  .features,
  .signup {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .compare,
  .steps {
    padding-bottom: 76px;
  }

  .pricing {
    padding-top: 56px;
  }

  .pricing-teaser {
    padding: 56px 0;
  }

  .pricing-teaser-head {
    text-align: center;
    justify-content: center;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .signup-form {
    padding: 22px 18px;
  }
}
