/* ── Landing ────────────────────────────────────────────── */

.hero {
  padding: 72px 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.hero-title {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 15ch;
}

.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.6;
}

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

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--subtle);
  font-size: 13.5px;
  margin-top: 4px;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.step {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0.7;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.step-title { font-size: 17px; font-weight: 600; }
.step-body { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ── Plans ──────────────────────────────────────────────── */

.plans { margin-top: 82px; display: flex; flex-direction: column; gap: 30px; }

.plans-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.plans-title { font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -0.03em; }
.plans-note { color: var(--muted); font-size: 15.5px; }
.plans-save { font-size: 13px; color: var(--good); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  /* stretch (the grid default) so all three cards match the tallest, rather
     than each sizing to its own feature list. */
  align-items: stretch;
}

@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; width: 100%; } }

.plan {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.plan:hover { border-color: var(--line-hi); transform: translateY(-2px); }

.plan.is-featured {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 26px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.plan-name { font-size: 17px; font-weight: 600; }

.plan-price { display: flex; align-items: baseline; gap: 5px; }
/* Proportional figures: tabular-nums makes a large standalone number look loose. */
.plan-amount { font-size: 44px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.plan-period { font-size: 14.5px; color: var(--muted); }

/* Fixed minimums on the two variable-length lines above the button, so the
   three CTAs sit on the same baseline instead of drifting by a line of text. */
.plan-billing { font-size: 12.5px; color: var(--subtle); min-height: 32px; line-height: 1.45; }
.plan-tagline { font-size: 14px; color: var(--muted); line-height: 1.55; min-height: 44px; }

.plan-features { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.plan-inherits { color: var(--muted); font-weight: 500; font-size: 13.5px !important; }

.plan-tick {
  color: var(--accent);
  flex: none;
  margin-top: 2px;
  display: grid;
  place-items: center;
}

.plan-tick svg { width: 13px; height: 13px; stroke-width: 2.6; }

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

.faq { margin-top: 72px; display: flex; flex-direction: column; gap: 22px; align-items: center; }

.faq-title {
  font-size: clamp(26px, 3.6vw, 34px);
  letter-spacing: -0.03em;
  text-align: center;
}

.faq-list { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq-item:hover { border-color: var(--line-hi); }
.faq-item[open] { border-color: var(--accent-soft); background: var(--accent-soft); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r-md); }

.faq-mark {
  color: var(--muted);
  flex: none;
  display: grid;
  place-items: center;
  transition: transform 0.24s var(--ease), color 0.2s var(--ease);
}

.faq-mark svg { width: 15px; height: 15px; }
.faq-item[open] .faq-mark { transform: rotate(45deg); color: var(--accent); }

.faq-a {
  padding: 0 22px 21px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  /* No max-width: the panel is already a comfortable measure at 720px, and
     capping it again left a ragged column of empty space on the right. */
}

/* ── Social links ───────────────────────────────────────── */

.socials { display: inline-flex; align-items: center; gap: 6px; }

.social-link {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--subtle);
  transition: color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}

.social-link:hover { color: var(--text); background: var(--surface-hi); transform: translateY(-1px); }
.social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.social-link svg { width: 16px; height: 16px; }
