/* ──────────────────────────────────────────────────────────
   Vist · pricing — content-light surface
   ────────────────────────────────────────────────────────── */
:root {
  --bg:        #fbfbf9;
  --bg-1:      #f5f5f1;
  --bg-2:      #ffffff;
  --bg-warm:   #f0eee5;
  --border:    rgba(15, 18, 25, 0.10);
  --border-2:  rgba(15, 18, 25, 0.18);
  --hairline:  rgba(15, 18, 25, 0.06);

  --text:        #15181f;
  --text-dim:    #525866;
  --text-faint:  #7a8194;

  --accent:      #2e5cd8;
  --accent-soft: rgba(46, 92, 216, 0.08);
  --good:        #3a8a55;

  --sans:  'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  --pad-x: clamp(20px, 4vw, 56px);
  --max:   1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }

.label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-faint);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px;
  border-radius: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  width: 100%;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: var(--bg-2); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--bg-1); border-color: var(--text); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #1f47b8; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13.5px; border-radius: 6px; width: auto; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ── Nav ── */
.nav-outer {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,249,0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-left { display: flex; align-items: center; gap: 36px; }
.wordmark {
  font-family: var(--sans); font-weight: 600;
  font-size: 18px; letter-spacing: -0.02em; color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
}
.wordmark-img { display: block; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-dim); transition: color .15s ease; }
.nav-links a:hover, .nav-links a.current { color: var(--text); }
.nav-links a.current { font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .sign-in { font-size: 14px; color: var(--text-dim); padding: 0 10px; }
.nav-right .sign-in:hover { color: var(--text); }

/* ── Success banner ── */
.success-banner {
  display: none;
  margin: 32px auto 0;
  max-width: 640px;
  border: 1px solid rgba(58,138,85,0.25);
  background: rgba(58,138,85,0.05);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
.success-banner.visible { display: block; }
.success-banner h3 { margin: 12px 0 4px; font-size: 17px; font-weight: 600; }
.success-banner p { margin: 0; color: var(--text-dim); font-size: 14px; }
.success-icon { color: var(--good); }

/* ── Pricing header ── */
.pricing-header {
  padding: clamp(56px, 7vw, 96px) 0 clamp(28px, 3vw, 40px);
  text-align: center;
}
.pricing-header .crumbs {
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--text-faint); letter-spacing: 0.1em; text-transform: uppercase;
}
.pricing-header .crumbs a { color: var(--text-dim); }
.pricing-header .crumbs a:hover { color: var(--text); }
.pricing-header h1 {
  margin: 0 auto 18px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 20ch;
  text-wrap: balance;
}
.pricing-header h1 .ital { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.pricing-header .sub {
  margin: 0 auto;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 54ch;
  text-wrap: pretty;
}

/* ── Tier cards ── */
.tiers-section {
  padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 88px);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}
.tier {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex; flex-direction: column;
  gap: 20px;
  position: relative;
}
.tier.featured {
  background:
    radial-gradient(60% 80% at 30% 0%, rgba(46,92,216,0.06), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--text);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 20px 40px -24px rgba(15,18,25,0.18);
}
.tier .ribbon {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--bg);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.tier-head { display: flex; flex-direction: column; gap: 8px; }
.tier-name {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-faint); letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
}
.tier.featured .tier-name { color: var(--text); }
.tier-tagline {
  font-size: 14.5px; color: var(--text-dim); line-height: 1.45;
  max-width: 32ch;
}
.tier-price-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tier-price-row .amt {
  font-size: 44px; font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.tier-price-row .per {
  font-family: var(--mono); font-size: 12px;
  color: var(--text-faint); letter-spacing: 0.04em;
}
.tier-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 11px;
  flex-grow: 1;
}
.tier-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--text-dim);
  line-height: 1.45;
}
.tier-features li .tick {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--good);
  margin-top: 4px;
}
.tier-features li strong { color: var(--text); font-weight: 500; }
.tier-features li .qual { color: var(--text-faint); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.tier-foot {
  display: flex; flex-direction: column; gap: 8px;
}
.tier-microcopy {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-faint); letter-spacing: 0.04em;
  text-align: center;
}

/* ── Comparison table ── */
.compare-section {
  padding: clamp(40px, 5vw, 72px) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.compare-head {
  margin-bottom: 28px;
}
.compare-head .label { display: block; margin-bottom: 8px; }
.compare-head h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600; letter-spacing: -0.02em;
  margin: 0;
}
.compare-table {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-dim);
  border-left: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 8px;
  min-height: 50px;
}
.compare-row > div:first-child {
  border-left: none;
  color: var(--text);
  font-weight: 500;
}
.compare-row.header > div {
  background: var(--bg-warm);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
  min-height: 44px;
  font-weight: 500;
}
.compare-row.header > div:first-child { color: var(--text); }
.compare-row.section-header > div {
  background: var(--bg-1);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint);
  min-height: 36px; padding-top: 10px; padding-bottom: 10px;
  font-weight: 500;
}
.compare-row .yes-tick { color: var(--good); width: 16px; height: 16px; }
.compare-row .no-dash { width: 12px; height: 1.5px; background: var(--text-faint); border-radius: 1px; }
.compare-row .featured-cell { background: rgba(46,92,216,0.03); }
.compare-row.header .featured-cell { background: var(--text); color: var(--bg) !important; }

/* ── FAQ ── */
.faq-section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 5vw, 80px);
}
.faq-grid .label { display: inline-block; margin-bottom: 14px; }
.faq-grid h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 600; margin: 0 0 14px;
  max-width: 14ch;
  text-wrap: balance;
}
.faq-grid h2 .ital { font-family: var(--serif); font-style: italic; font-weight: 400; }
.faq-grid .faq-aside {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--text-dim);
}
.faq-grid .faq-aside a { color: var(--text); border-bottom: 1px solid var(--text-faint); padding-bottom: 2px; }
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
  font-size: 18px; font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle-ic {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: transform .2s ease, border-color .2s ease;
  margin-top: 3px;
}
.faq-item[open] summary .toggle-ic { transform: rotate(45deg); border-color: var(--text); color: var(--text); }
.faq-item .answer {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 62ch;
}
.faq-item .answer p { margin: 0 0 12px; }
.faq-item .answer p:last-child { margin-bottom: 0; }
.faq-item .answer a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(46,92,216,0.35); text-underline-offset: 3px; }

/* ── Trust strip ── */
.trust-strip {
  padding: clamp(32px, 4vw, 56px) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--hairline);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--hairline);
}
.trust-item {
  padding: 18px 20px;
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 4px;
}
.trust-item .k {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--text-faint); letter-spacing: 0.14em; text-transform: uppercase;
}
.trust-item .v {
  font-size: 14px; color: var(--text); font-weight: 500;
}
.trust-item .v .dim { color: var(--text-faint); font-family: var(--mono); font-size: 12px; font-weight: 400; }

/* ── Closing CTA ── */
.closing-cta {
  padding: clamp(56px, 7vw, 96px) 0;
  text-align: center;
}
.closing-cta h2 {
  margin: 0 auto 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 22ch; text-wrap: balance;
}
.closing-cta h2 .ital { font-family: var(--serif); font-style: italic; font-weight: 400; }
.closing-cta p { margin: 0 auto 24px; max-width: 46ch; color: var(--text-dim); }
.closing-cta .actions {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}

/* ── Footer ── */
footer.foot {
  background: var(--bg-1);
  padding: clamp(56px, 7vw, 80px) 0 36px;
  border-top: 1px solid var(--hairline);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot-brand .wordmark { font-size: 22px; }
.foot-brand .obsession {
  margin-top: 18px; max-width: 28ch;
  font-size: 13.5px; color: var(--text-faint); line-height: 1.55;
}
.foot-brand .obsession em { font-family: var(--serif); color: var(--text-dim); font-style: italic; }
.foot-brand .foot-status {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 12px; color: var(--text-faint);
}
.foot-brand .foot-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good); flex-shrink: 0;
}
.foot-col h4 {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-faint); letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 18px; font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--text-dim); transition: color .15s ease; }
.foot-col a:hover { color: var(--text); }
.foot-base {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; color: var(--text-faint);
  letter-spacing: 0.06em;
}
.foot-base .socials { display: flex; gap: 18px; align-items: center; }
.foot-base .socials a { color: var(--text-faint); }
.foot-base .socials a:hover { color: var(--text); }
.foot-base .socials .rss {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
}

/* ── Embed mode (html.embed class set by inline script before body renders) ── */
html.embed .nav-outer,
html.embed footer.foot,
html.embed .closing-cta { display: none; }
html.embed .pricing-header { padding-top: clamp(32px, 4vw, 56px); }
html.embed .pricing-header .crumbs { display: none; }

/* ── Social Quote ──────────────────────────────────────────────── */
.social-quote {
  padding: clamp(48px, 7vw, 76px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sq-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0 56px;
  max-width: 960px;
  margin: 0 auto;
}
.sq-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.sq-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}
.sq-mark {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.45;
  user-select: none;
}
.sq-text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  font-weight: 400;
}
.sq-cite {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-style: normal;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .sq-inner { grid-template-columns: 1fr; gap: 40px 0; }
  .sq-divider { width: auto; height: 1px; align-self: auto; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .tier.featured { order: -1; }
  .compare-table { overflow-x: auto; }
  .compare-row { min-width: 580px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hairline); }
  .trust-item { border-bottom: 1px solid var(--hairline); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .trust-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .closing-cta .actions { flex-direction: column; width: 100%; }
  .closing-cta .actions .btn { width: 100%; }
}
