/*
 * Dumqa for Teams.
 *
 * Standalone: it does not load `landing.css`. The individual landing is built
 * around an app-store call to action — a white primary button, its own nav, its
 * own rhythm — and borrowing it meant fighting it in every section. Every value
 * below is the one in `docs/landing/`.
 */

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --bg3: #13131e;
  --line: rgba(255, 255, 255, 0.07);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #e8e8f0;
  --dim: #9090a8;
  --faint: #5a5a72;
  --accent: #ff6b35;
  --accent-hi: #ff8049;
  --green: #4caf7d;
  --violet: #a888e8;
  --amber: #e0a020;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hi);
}

::selection {
  background: rgba(255, 107, 53, 0.3);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px;
}

.band {
  border-top: 1px solid var(--line-soft);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}

.label {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
/* `topbar`, not `bar`: `.bar` is the progress bar below, and a header that
   inherited its `height: 6px` collapsed to a sliver. */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand:hover {
  color: var(--text);
}
.brand img {
  width: 28px;
  height: 28px;
  display: block;
}

.brand-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.12);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.topbar-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}
.topbar-links a {
  color: var(--dim);
}
.topbar-links a:hover {
  color: var(--text);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
}
.topbar-actions .quiet {
  font-size: 14px;
  color: var(--dim);
  white-space: nowrap;
}
.topbar-actions .quiet:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-accent {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.25);
}
.btn-accent:hover {
  background: var(--accent-hi);
  color: var(--bg);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-weight: 500;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.btn-sm {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: none;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.top {
  position: relative;
}

/* The warm light from above, and a grid that fades out through a mask rather
   than stopping at an edge. Both are texture: neither takes a pointer. */
.top::before,
.top::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.top::before {
  background: radial-gradient(60% 50% at 50% 0%, rgba(255, 107, 53, 0.16), rgba(10, 10, 15, 0) 70%);
}
.top::after {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%);
}

.hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 960px;
  text-wrap: balance;
}

.hero p {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--dim);
  max-width: 660px;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px 6px 5px 14px;
}
.eyebrow:hover {
  border-color: rgba(255, 107, 53, 0.4);
  color: var(--text);
}
.eyebrow b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 4px;
}

.notes {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--faint);
}
.notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* ── The growth path, and its animation ──────────────────────────────────── */

.pdp {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 120px;
}
.pdp-glow {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  bottom: 20%;
  background: radial-gradient(closest-side, rgba(255, 107, 53, 0.18), rgba(255, 107, 53, 0));
  filter: blur(40px);
  pointer-events: none;
}
.pdp-in {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg2);
}

.path {
  position: relative;
  padding: 34px 28px 30px;
}
.path-track {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 62px;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
}
.path-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.2), var(--accent));
  border-radius: 2px;
}
.path-dot {
  position: absolute;
  top: -5px;
  left: -6px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px 4px rgba(255, 107, 53, 0.6);
}

.path-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 6px;
}
.step-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  transition:
    background 0.35s,
    box-shadow 0.35s,
    border-color 0.35s,
    color 0.35s;
}
.step-dot.on .step-mark {
  background: rgba(255, 107, 53, 0.16);
  border-color: rgba(255, 107, 53, 0.55);
  color: var(--accent);
  box-shadow:
    0 0 0 6px rgba(255, 107, 53, 0.1),
    0 0 30px rgba(255, 107, 53, 0.35);
}
.step-dot.done .step-mark {
  background: var(--accent);
  border-color: rgba(255, 107, 53, 0.55);
  color: var(--bg);
  box-shadow: none;
}
.step-mark .tick {
  display: none;
}
.step-dot.done .step-mark .tick {
  display: block;
}
.step-dot.done .step-mark .glyph {
  display: none;
}

.step-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dim);
  transition: color 0.35s;
}
.step-dot.on .step-name,
.step-dot.done .step-name {
  color: var(--text);
}
.step-sub {
  font-size: 13px;
  color: var(--faint);
  margin-top: -9px;
}
.step-detail {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.04);
  color: var(--faint);
  transition: all 0.35s;
}
.step-dot.on .step-detail,
.step-dot.done .step-detail {
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
}

.pdp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

/*
 * The two cards under the hero.
 *
 * One frame for both — a header of the same height, a body that grows, and a
 * note on the last line — so they end level however much is inside them. Before
 * this the right one held its content in the top third and left a void below.
 */
.person,
.plan {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
}
.card-head .avatar,
.card-head .plan-mark {
  font-style: normal;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.card-head .avatar {
  border-radius: 999px;
  background: var(--green);
  color: var(--bg);
}
.card-head .plan-mark {
  background: rgba(255, 107, 53, 0.14);
  border: 1px solid rgba(255, 107, 53, 0.25);
  color: var(--accent);
}

.card-title {
  flex: 1;
  min-width: 0;
}
.card-title b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-title em {
  font-style: normal;
  display: block;
  font-size: 12.5px;
  color: var(--faint);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.card-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--faint);
}

/* A plan on the person's card: title, what kind it is, how far along. */
.mini {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mini-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.mini-title {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-count {
  font-size: 12.5px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mini-meta {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: -3px;
}

.bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.bar-lg {
  height: 8px;
}
.bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--accent);
}
.bar > span.weak {
  background: var(--amber);
}

.pill {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-amber {
  background: rgba(224, 160, 32, 0.15);
  color: var(--amber);
}
.pill-green {
  background: rgba(76, 175, 125, 0.15);
  color: var(--green);
}
.pill-accent {
  background: rgba(255, 107, 53, 0.14);
  color: var(--accent);
}

/* Three equal columns rather than three things huddled on the left. */
.plan-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.plan-stats span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan-stats strong {
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.plan-stats em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--faint);
}
.t-accent {
  color: var(--accent);
}

.plan-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--dim);
}
.plan-progress-head b {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* One square a day, four weeks of them. */
.days {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.days-label {
  font-size: 12px;
  color: var(--faint);
}
/* One row of twenty-eight, not two of fourteen: at this size the strip reads as
   texture beside the numbers rather than as a second table under them. */
.days-grid {
  display: grid;
  grid-template-columns: repeat(28, 1fr);
  gap: 3px;
}
.days-grid i {
  display: block;
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s;
}
.days-grid i.on {
  background: var(--accent);
}
.days-grid i.dim {
  background: rgba(255, 107, 53, 0.3);
}

.weakest {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.weakest span {
  color: var(--faint);
}
.weakest b {
  font-weight: 500;
}
.weakest em {
  font-style: normal;
  margin-left: auto;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

/* ── How it works ────────────────────────────────────────────────────────── */
/* Modifiers carry a `--` so none of them can also be a block. `.icon-box.case`
   picked up the *card* rule `.case` — 26px of padding on a 40px box — and
   squeezed the icon inside it to nothing. */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #11111b, #0d0d15);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.step-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
}
.step-card .n {
  position: absolute;
  right: 18px;
  top: 6px;
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
}
.step-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.step-card p {
  margin: 0;
  font-size: 15px;
  color: var(--dim);
  text-wrap: pretty;
}
.step-card .tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 107, 53, 0.14);
  border: 1px solid rgba(255, 107, 53, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex: 0 0 auto;
}
.icon-box--soft {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.icon-box--case {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.12);
  border-color: transparent;
}

.tag {
  font-size: 12px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ── For managers ────────────────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 64px;
  align-items: center;
}
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px 28px;
}
.point {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.point b {
  font-size: 16px;
  font-weight: 600;
}
.point span {
  font-size: 14.5px;
  color: var(--dim);
  text-wrap: pretty;
}

.shot {
  position: relative;
}
.shot-glow {
  position: absolute;
  inset: 10% 0 0 10%;
  background: radial-gradient(closest-side, rgba(255, 107, 53, 0.18), rgba(255, 107, 53, 0));
  filter: blur(40px);
  pointer-events: none;
}
.shot-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg2);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55);
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Privacy ─────────────────────────────────────────────────────────────── */

.privacy {
  background: linear-gradient(180deg, #0a0a0f, #0c0c14);
}
.privacy .head {
  max-width: 720px;
}
.privacy .head p {
  margin: 0;
  font-size: 17px;
  color: var(--dim);
  text-wrap: pretty;
}

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

.pane {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg2);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pane-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
}
.pane-head i {
  font-style: normal;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
}
.pane-head i.see {
  background: rgba(76, 175, 125, 0.14);
  color: var(--green);
}
.pane-head i.keep {
  background: rgba(130, 80, 210, 0.16);
  color: var(--violet);
}
.pane ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pane li {
  display: flex;
  gap: 12px;
  font-size: 15px;
}
.pane li svg {
  flex: 0 0 18px;
  margin-top: 2px;
}
.pane.keep li {
  color: var(--dim);
}

/* The phone between the two panes. */
.phone-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}
.phone {
  width: 250px;
  aspect-ratio: 9 / 19;
  background: #050508;
  border-radius: 40px;
  padding: 8px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone-in {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  gap: 12px;
  font-size: 11px;
}
.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  font-weight: 600;
  padding: 0 4px;
}
.phone-notch {
  width: 64px;
  height: 18px;
  border-radius: 999px;
  background: #050508;
}
.phone-sig {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}
.phone-sig i {
  width: 3px;
  background: var(--text);
  border-radius: 1px;
}
.phone-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  text-align: center;
}
.phone-top img {
  width: 44px;
  height: 44px;
}
.phone-top b {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.phone-top span {
  font-size: 10.5px;
  color: var(--dim);
  line-height: 1.45;
}
.phone-list {
  border-radius: 14px;
  background: var(--bg3);
  border: 1px solid var(--line);
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-list b {
  font-size: 9px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.phone-list span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10.5px;
  color: var(--dim);
}
.phone-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: center;
}
.phone-foot .go {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border-radius: 11px;
  padding: 10px;
}
.phone-foot .note {
  font-size: 10px;
  color: var(--faint);
  line-height: 1.4;
}

/* ── Use cases ───────────────────────────────────────────────────────────── */

.cases-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cases-head p {
  margin: 0;
  font-size: 15px;
  color: var(--dim);
  max-width: 360px;
}
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
}
.case {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg2);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.case:hover {
  border-color: rgba(255, 107, 53, 0.3);
  background: #11111b;
}
.case b {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.case p {
  margin: 0;
  font-size: 14.5px;
  color: var(--dim);
  text-wrap: pretty;
}
.case .eg {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text);
  display: flex;
  gap: 7px;
  align-items: center;
}
.case .eg i {
  font-style: normal;
  color: var(--faint);
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.pricing .stack {
  align-items: center;
  gap: 52px;
}
.pricing .head {
  text-align: center;
  align-items: center;
}

.calc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg2);
  padding: 22px 24px;
}
.calc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.calc-head b {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}
.calc-head b.money {
  color: var(--accent);
}
.calc input {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--faint);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 880px;
}
.tier {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: var(--bg2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.tier.best {
  border-color: rgba(255, 107, 53, 0.45);
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.08), var(--bg2) 45%);
  box-shadow: 0 30px 80px rgba(255, 107, 53, 0.08);
}
.tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 19px;
  font-weight: 600;
}
.tier-flag {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tier-price strong {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.tier-price span {
  font-size: 15px;
  color: var(--dim);
}
.tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.tier li {
  display: flex;
  gap: 11px;
}
.tier li svg {
  flex: 0 0 18px;
  margin-top: 2px;
}
.tier .btn {
  margin-top: auto;
  justify-content: center;
  padding: 13px 18px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: start;
}
.faq-head {
  max-width: 420px;
}
.faq-head p {
  margin: 0;
  font-size: 15px;
  color: var(--dim);
}
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q:hover {
  color: var(--accent);
}
.faq-q span {
  flex: 1;
}
.faq-q i {
  font-style: normal;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
}
.faq-q i svg {
  transition: transform 0.2s;
}
.faq-item[open] .faq-q i svg {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 0;
  padding: 0 44px 24px 0;
  font-size: 15.5px;
  color: var(--dim);
  text-wrap: pretty;
}

/* ── Closing ─────────────────────────────────────────────────────────────── */

.close-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 28px;
  background: var(--bg2);
  padding: 80px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.close-card::before,
.close-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.close-card::before {
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 107, 53, 0.2), rgba(15, 15, 24, 0) 70%);
}
.close-card::after {
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 80%);
}
.close-card > * {
  position: relative;
}
.close-card h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 780px;
}
.close-card p {
  margin: 0;
  font-size: 17px;
  color: var(--dim);
  max-width: 520px;
}
.close-note {
  font-size: 13px;
  color: var(--faint);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--faint);
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
}
.foot-brand img {
  width: 22px;
  height: 22px;
}
.foot-links {
  margin-left: auto;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--dim);
}
.foot-links a:hover {
  color: var(--text);
}

/* ── Narrow ──────────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .wrap {
    padding: 72px 20px;
  }
  .hero {
    padding: 64px 20px 40px;
  }
  .topbar-links {
    display: none;
  }
  .path-steps {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .path-track {
    display: none;
  }
  .close-card {
    padding: 56px 20px;
  }
}

@media (max-width: 520px) {
  .path-steps {
    grid-template-columns: 1fr;
  }
  .plan-stats {
    gap: 22px;
  }
}

/* Motion is decoration here: the same facts are on the page without it. */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
