:root {
  --paper: #f6f3ee;
  --paper-2: #efeae1;
  --white: #fffdf9;
  --ink: #12141a;
  --ink-2: #2c3038;
  --muted: #6b6f68;
  --line: #e3ddd2;
  --brand: #2f5bff;
  --brand-deep: #1a2744;
  --warm: #e8a54b;
  --green: #2a9d6e;
  --red: #c44b3c;
  --shadow: 0 24px 60px rgba(18, 20, 26, 0.12);
  --radius: 18px;
  --nav-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.lede { max-width: 640px; margin: 16px auto 0; color: var(--muted); font-size: 1.08rem; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--on-dark { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--lg { padding: 15px 22px; font-size: 1rem; }
.btn--block { width: 100%; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 36px; height: 36px; color: var(--brand-deep); flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 1.05rem; }
.logo__text small { color: var(--muted); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; }
.nav__links { display: flex; gap: 22px; margin-left: 12px; font-weight: 600; font-size: 0.94rem; }
.nav__links a:hover { color: var(--brand); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; }
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav.is-open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 20px; transform: rotate(-45deg); }

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 20px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero__lead { font-size: 1.25rem; color: var(--ink-2); max-width: 520px; }
.hero__lead strong { white-space: nowrap; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 18px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 0.9rem; }
.hero__meta li { position: relative; padding-left: 14px; }
.hero__meta li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}

.hero__stage { position: relative; min-height: 460px; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.hero-card__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  background: #f3efe7;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d9d2c6; }
.dot:first-child { background: #e07a6a; }
.hero-card__url { margin-left: 10px; }
.hero-card__body { display: grid; grid-template-columns: 56px 1fr; min-height: 340px; }
.mini-side { background: var(--brand-deep); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mini-side__brand { color: #fff; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; }
.mini-side span { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.12); }
.mini-side span.is-on { background: var(--brand); }
.mini-main { padding: 18px; }
.mini-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mini-head em { font-style: normal; color: var(--green); font-weight: 700; font-size: 0.85rem; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban__col { background: #f6f2ea; border-radius: 12px; padding: 10px; min-height: 220px; }
.kanban__col header { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.kanban article {
  background: #fff; border-radius: 10px; padding: 10px;
  margin-bottom: 8px; box-shadow: 0 6px 16px rgba(18,20,26,.05);
  display: flex; flex-direction: column; gap: 4px;
}
.kanban article b { font-size: 0.82rem; }
.kanban article span { font-size: 0.75rem; color: var(--muted); }
.kanban article.is-hot { outline: 2px solid var(--warm); }

.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  font-size: 0.8rem; font-weight: 600;
  box-shadow: 0 12px 30px rgba(18,20,26,.1);
  animation: float 5.5s ease-in-out infinite;
}
.float-chip--a { top: 18px; right: -8px; }
.float-chip--b { bottom: 72px; left: -18px; animation-delay: -1.6s; }
.float-chip--c { bottom: 8px; right: 24px; animation-delay: -3.2s; }
.chip-ico { width: 22px; height: 22px; border-radius: 50%; }
.chip-ico--crm { background: #4f7cff; }
.chip-ico--erp { background: var(--warm); }
.chip-ico--ai { background: #7c5cff; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.apps-marquee { overflow: hidden; padding: 28px 0 8px; border-top: 1px solid var(--line); margin-top: 28px; }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: slide 38s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
.app-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 16px 10px 10px;
  font-weight: 700; font-size: 0.92rem;
  white-space: nowrap;
}
.app-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-size: 0.95rem;
}

.imagine, .product, .apps, .speed, .values, .industries, .quotes, .pricing, .stack, .carriers {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
}
.imagine {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.imagine p { color: var(--ink-2); font-size: 1.08rem; }
.imagine blockquote {
  margin: 28px 0 0;
  padding: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.25;
}
.imagine cite { display: block; margin-top: 10px; font-family: var(--font); font-size: 0.88rem; color: var(--muted); font-style: normal; }

.orbit {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px dashed var(--line);
}
.orbit__core {
  position: absolute; inset: 32%;
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}
.orbit__app {
  --r: 46%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 60deg)) translateY(calc(var(--r) * -1)) rotate(calc(var(--i) * -60deg));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem; font-weight: 700;
  box-shadow: 0 8px 20px rgba(18,20,26,.06);
}

.tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.tabs__btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}
.tabs__btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel { display: none; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.tab-panel.is-active { display: grid; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.checks { padding: 0; margin: 22px 0 0; list-style: none; }
.checks li { position: relative; padding: 8px 0 8px 28px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.mock__top { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 16px; color: var(--muted); }
.mock__kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kanban small { display: block; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.card-ui {
  background: #f7f3eb; border-radius: 12px; padding: 12px; margin-bottom: 8px;
  display: flex; flex-direction: column; gap: 3px;
}
.card-ui em, .card-ui i { font-style: normal; font-size: 0.78rem; color: var(--muted); }
.card-ui.is-accent { background: #eef2ff; outline: 1px solid #c9d4ff; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: #f7f3eb; border-radius: 12px; padding: 12px; }
.kpi small { color: var(--muted); font-size: 0.75rem; }
.kpi b { display: block; font-size: 1.25rem; }
.kpi .up { color: var(--green); font-size: 0.8rem; }
.chart {
  height: 92px; border-radius: 12px; margin-bottom: 14px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 40%, rgba(47,91,255,.08) 100%),
    radial-gradient(120% 80% at 0% 100%, transparent 40%, transparent),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(18,20,26,.04) 28px, rgba(18,20,26,.04) 29px);
  position: relative; overflow: hidden;
}
.chart::after {
  content: "";
  position: absolute; left: 8%; right: 8%; bottom: 18%;
  height: 48px;
  background: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M0 48 C40 46 50 20 90 28 C130 36 140 10 180 16 C220 22 230 8 300 12' fill='none' stroke='%232F5BFF' stroke-width='3'/%3E%3C/svg%3E");
}
.mini-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.mini-table th { text-align: left; color: var(--muted); font-weight: 600; padding-bottom: 8px; }
.mini-table td { padding: 8px 6px 8px 0; border-top: 1px solid var(--line); }
.pill { display: inline-block; border-radius: 999px; padding: 2px 8px; background: #eeeae2; font-size: 0.72rem; font-weight: 700; }
.pill--ok { background: #d9f3e6; color: #176b45; }
.pill--warn { background: #fde9c8; color: #8a5a10; }
.quote-line, .quote-total { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.quote-total { font-size: 1.15rem; border-bottom: 0; }
.quote-actions { display: flex; gap: 8px; margin-top: 8px; }
.btn-fake { background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 0.8rem; font-weight: 700; }
.btn-fake--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.stock-row { display: grid; grid-template-columns: 1.2fr 1.4fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.bar { height: 8px; background: #ece7dc; border-radius: 99px; overflow: hidden; }
.bar i { display: block; width: var(--w); height: 100%; background: var(--brand); border-radius: inherit; }
.stock-row.is-low .bar i { background: var(--red); }
.stock-row.is-low b { color: var(--red); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  min-height: 168px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.app-card p { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }
.app-card h3 { font-family: var(--font); font-size: 1.05rem; font-weight: 750; letter-spacing: 0; }

.speed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  background: var(--brand-deep);
  color: #fff;
  max-width: none;
  padding: 96px 8vw;
  border-radius: 0;
}
.speed .eyebrow { color: var(--warm); }
.speed p { color: rgba(255,255,255,.78); }
.stat-row { display: flex; gap: 28px; margin-top: 32px; }
.stat-row b { display: block; font-family: var(--display); font-size: 3rem; line-height: 1; }
.stat-row span { color: rgba(255,255,255,.6); font-size: 0.85rem; }
.speed__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.speed__list li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 20px; }
.speed__list p { margin: 8px 0 0; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stack-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.stack-grid small {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.stack-grid h3 { font-family: var(--font); font-size: 1.2rem; font-weight: 750; letter-spacing: 0; }
.stack-grid p { color: var(--muted); }
.carrier-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.carrier-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.9rem;
}

.proposal { max-width: 880px; margin: 0 auto; padding: 48px 24px 96px; }
.proposal__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 0.9rem; margin: 18px 0 36px; }
.proposal h2 { margin: 48px 0 16px; }
.proposal h3 { font-family: var(--font); font-size: 1.15rem; font-weight: 750; letter-spacing: 0; margin: 28px 0 10px; }
.proposal p, .proposal li { color: var(--ink-2); }
.proposal ul { padding-left: 18px; }
.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.scope article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.scope h3 { margin: 0 0 8px; }
.scope ul { margin: 0; padding-left: 16px; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 18px 0 8px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--muted); font-weight: 700; }
.compare td:nth-child(2) { font-weight: 700; }
.offer {
  background: var(--brand-deep);
  color: #fff;
  border-radius: 22px;
  padding: 28px;
  margin: 28px 0;
}
.offer p { color: rgba(255,255,255,.78); }
.offer .price { color: #fff; margin: 8px 0 0; }
.offer .price b { color: #fff; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--line); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-deep); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem;
}

.values-grid, .ind-grid, .quotes-grid, .price-grid {
  display: grid;
  gap: 16px;
}
.values-grid { grid-template-columns: repeat(3, 1fr); }
.values-grid article, .ind-grid article, .quotes-grid figure, .price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.values-grid h3, .ind-grid h3 { font-family: var(--font); font-size: 1.1rem; font-weight: 750; letter-spacing: 0; }
.values-grid p, .ind-grid p { color: var(--muted); }
.ind-grid { grid-template-columns: repeat(4, 1fr); }
.ind-grid span { display: block; color: var(--brand); font-weight: 800; margin-bottom: 16px; }

.quotes-grid { grid-template-columns: repeat(3, 1fr); }
.quotes-grid blockquote {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
}
.quotes-grid figcaption { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-deep); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.75rem;
}
.quotes-grid small { display: block; color: var(--muted); }
.fineprint { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 22px; }

.billing {
  display: inline-flex;
  margin-top: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.billing button {
  border: 0; background: transparent; border-radius: 999px;
  padding: 8px 14px; font-weight: 700; cursor: pointer;
}
.billing button.is-active { background: var(--ink); color: #fff; }
.billing em { font-style: normal; color: var(--green); margin-left: 4px; }
.billing button.is-active em { color: #b7f0d2; }
.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 18px; }
.price b { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); white-space: nowrap; }
.price span { color: var(--muted); font-size: 0.85rem; }
.price-card ul { padding: 0; margin: 0 0 22px; list-style: none; color: var(--ink-2); }
.price-card li { padding: 7px 0 7px 18px; position: relative; }
.price-card li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.price-card__who { color: var(--muted); min-height: 44px; }
.price-card--featured {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
  transform: translateY(-8px);
}
.price-card--featured .price-card__who,
.price-card--featured .price span,
.price-card--featured li { color: rgba(255,255,255,.78); }
.ribbon {
  display: inline-block;
  background: var(--warm);
  color: #1a1408;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 8px;
  margin: 0 0 10px;
}

.final-cta {
  margin: 0 24px 24px;
  background:
    radial-gradient(80% 80% at 80% 10%, rgba(79,124,255,.35), transparent 50%),
    var(--brand-deep);
  color: #fff;
  border-radius: 28px;
  padding: 96px 24px;
  text-align: center;
}
.final-cta p { color: rgba(255,255,255,.75); font-size: 1.15rem; }
.final-cta .hero__cta { justify-content: center; }

.footer { padding: 64px 24px 28px; max-width: 1240px; margin: 0 auto; color: var(--muted); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer a, .footer span { display: block; padding: 4px 0; }
.footer a:hover { color: var(--ink); }
.footer__top p { max-width: 320px; }
.footer__bottom {
  display: flex; justify-content: space-between;
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12,14,18,.55); }
.modal__card {
  position: relative;
  width: min(520px, 100%);
  background: var(--white);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.modal__close {
  position: absolute; top: 12px; right: 14px;
  border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted);
}
.modal form { display: grid; gap: 12px; margin-top: 18px; }
.modal label { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 700; }
.modal input, .modal select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  background: #fff;
}
.form-ok { color: var(--green); font-weight: 700; }

@media (max-width: 1100px) {
  .apps-grid, .values-grid, .ind-grid, .stack-grid, .scope { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero, .imagine, .tab-panel, .speed, .quotes-grid, .price-grid, .footer__top {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 28px; }
  .nav__links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px;
    flex-direction: column;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__toggle { display: block; }
  .nav__actions .btn--ghost { display: none; }
  .float-chip--b, .float-chip--c { display: none; }
  .price-card--featured { transform: none; }
  .speed { padding: 72px 24px; }
}

@media (max-width: 640px) {
  .apps-grid, .values-grid, .ind-grid, .stack-grid, .scope, .mock__kanban, .kanban, .kpi-row { grid-template-columns: 1fr; }
  .hero-card { transform: none; }
  .nav__actions .btn--primary { padding: 10px 14px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
