/* ═══════════════════════════════════════════════════════
   Obzek.io Plus — subscription page
   Loaded after styles.css: tokens, nav, buttons, sections,
   FAQ and footer all come from there. Everything here is a
   component that page doesn't already have.
   ═══════════════════════════════════════════════════════ */

/* The hero is a header, not a title card — no need for the full viewport, and
   the headline is two long lines rather than the landing page's short ones. */
#hero { min-height: auto; padding: 11rem 2rem 5.5rem; }
.hero-h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); }

/* ─── THE ADDRESS, SPELLED OUT ──────────────────────── */
/* The whole pitch in one line: this is what Plus buys you. */
.addr {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  justify-content: center; gap: .1rem;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  letter-spacing: -.01em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .9rem 1.5rem;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}
.addr .host { color: var(--text-sub); }
.addr .slash { color: var(--text-muted); }
.addr .para { color: var(--purple-vivid); }
.addr .who {
  color: var(--gold-bright);
  border-bottom: 2px dashed var(--border-gold);
  padding-bottom: 1px;
}

/* ─── THE LINE BETWEEN FREE AND PLUS ────────────────── */
#line { background: var(--bg-surface); }
.line-head { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }

.line-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  align-items: stretch;
}
.line-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem 2rem;
}
.line-col.paid { border-color: var(--border-gold); }

.line-col-label {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.15rem; letter-spacing: -.02em;
  margin-bottom: .35rem;
}
.line-col.paid .line-col-label { color: var(--gold-bright); }
.line-col-sub {
  font-size: .84rem; color: var(--text-muted);
  font-weight: 300; line-height: 1.6;
  margin-bottom: 1.6rem;
}

/* ─── FEATURE LISTS ─────────────────────────────────── */
.feats { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.feats li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .875rem; color: var(--text-sub);
  font-weight: 300; line-height: 1.6;
}
.feats svg { flex-shrink: 0; margin-top: .28rem; }
.feats .fx { color: var(--purple-vivid); }
.feats .fy { color: var(--gold-bright); }
.feats strong { color: var(--text); font-weight: 500; }

/* ─── BILLING TOGGLE ────────────────────────────────── */
.billing {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.billing-switch {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
}
.billing-switch button {
  font-family: var(--font-body); font-size: .82rem; font-weight: 500;
  color: var(--text-sub); background: none; border: none; cursor: pointer;
  padding: .5rem 1.35rem; border-radius: 100px;
  transition: background .25s, color .25s;
}
.billing-switch button:hover { color: var(--text); }
.billing-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #160800;
}
.billing-switch button:focus-visible {
  outline: 2px solid var(--gold-bright); outline-offset: 2px;
}
.billing-save {
  font-size: .78rem; color: var(--gold-bright);
  letter-spacing: .04em;
}

/* ─── PLAN CARDS ────────────────────────────────────── */
#plans { background: var(--bg); }
.plans-head { text-align: center; max-width: 560px; margin: 0 auto 2.5rem; }

/* Stretch, so the three buttons land on one line however long the lists get. */
.plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem 1.9rem;
  transition: border-color .3s, transform .3s;
}
.plan:hover { border-color: rgba(109,40,217,.45); transform: translateY(-3px); }

/* The middle card is the one being sold — it gets the gold and the lift. */
.plan.featured {
  border-color: var(--border-gold);
  background: var(--bg-surface);
  overflow: hidden;
}
.plan.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--purple-vivid) 35%, var(--gold-bright) 65%, transparent 95%);
}
.plan.featured:hover { border-color: rgba(245,158,11,.55); }

.plan-badge {
  position: absolute; top: -1px; right: 1.5rem;
  font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: #160800;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  padding: .28rem .7rem;
  border-radius: 0 0 4px 4px;
}

.plan-name {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.25rem; letter-spacing: -.02em;
  margin-bottom: .3rem;
}
.plan.featured .plan-name em { font-style: normal; color: var(--gold-bright); }
.plan-for {
  font-size: .8rem; color: var(--text-muted);
  font-weight: 300; line-height: 1.55;
  margin-bottom: 1.75rem; min-height: 2.6em;
}

.plan-price {
  display: flex; align-items: baseline; gap: .3rem;
  font-family: var(--font-head);
  margin-bottom: .35rem;
}
.plan-cur { font-size: 1.3rem; font-weight: 600; color: var(--text-sub); }
.plan-amt {
  font-size: 3rem; font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
  color: var(--text);
}
.plan.featured .plan-amt {
  background: linear-gradient(115deg, var(--gold-bright) 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plan-per { font-size: .85rem; color: var(--text-muted); font-weight: 400; }
.plan-billed {
  font-size: .76rem; color: var(--text-muted);
  min-height: 1.4em; margin-bottom: 1.75rem;
}

.plan .feats { flex: 1; margin-bottom: 2rem; }

.plan-cta { width: 100%; justify-content: center; }

.plan-fine {
  font-size: .72rem; color: var(--text-muted);
  text-align: center; margin-top: .85rem; line-height: 1.5;
}

/* ─── NOT-LIVE-YET NOTICE ───────────────────────────── */
/* Publishing isn't built yet, so nothing here takes money. Say so, loudly,
   above the plans rather than in the small print under them. */
.notice {
  display: flex; align-items: flex-start; gap: .9rem;
  max-width: 720px; margin: 0 auto 3rem;
  background: rgba(109,40,217,.09);
  border: 1px solid var(--border);
  border-left: 2px solid var(--purple-vivid);
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  text-align: left;
}
.notice svg { flex-shrink: 0; margin-top: .15rem; color: var(--purple-vivid); }
.notice p {
  font-size: .85rem; color: var(--text-sub);
  font-weight: 300; line-height: 1.7;
}
.notice strong { color: var(--text); font-weight: 500; }

/* ─── COMPARISON TABLE ──────────────────────────────── */
#compare { background: var(--bg-surface); }
.cmp-head { text-align: center; max-width: 560px; margin: 0 auto 3rem; }

.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%; min-width: 560px;
  border-collapse: collapse;
  font-size: .875rem;
}
.cmp caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cmp th, .cmp td { padding: .95rem 1rem; text-align: left; }
.cmp thead th {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.cmp thead th.is-plus { color: var(--gold-bright); }
/* The Plus column gets a faint wash, so the eye can follow it down the table. */
.cmp tr > *:last-child:not([colspan]) { background: rgba(245,158,11,.035); }
.cmp tbody th {
  font-weight: 400; color: var(--text);
  font-size: .875rem;
}
.cmp tbody tr { border-bottom: 1px solid rgba(109,40,217,.12); }
.cmp tbody tr:last-child { border-bottom: none; }
.cmp td { color: var(--text-sub); font-weight: 300; }
.cmp .yes { color: var(--gold-bright); }
.cmp .no  { color: var(--text-muted); }
.cmp .rowgroup th {
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-vivid);
  padding-top: 2rem;
}

/* ─── PRIVACY CALL-OUT ──────────────────────────────── */
/* The one place on the site where a file does leave the device. It gets its
   own block rather than a line in the table. */
#honest { background: var(--bg); }
.honest-box {
  max-width: 820px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 2.75rem 2.5rem;
}
.honest-box .tag { margin-bottom: .75rem; }
.honest-box h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -.02em; line-height: 1.2;
  margin-bottom: 1.1rem;
}
.honest-box p {
  font-size: .95rem; color: var(--text-sub);
  font-weight: 300; line-height: 1.8;
}
.honest-box p + p { margin-top: 1rem; }
.honest-box strong { color: var(--text); font-weight: 500; }

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 960px) {
  #hero { padding-top: 9rem; }
  .line-cols { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .plan-for, .plan-billed { min-height: 0; }
  .honest-box { padding: 2.25rem 1.6rem; }
}
@media (max-width: 640px) {
  .addr { font-size: .95rem; padding: .75rem 1rem; }
  .billing { gap: .6rem; }
}
