/* ============================================================
   OffGrid — pricing page styles (extends site.css)
   ============================================================ */

.price-hero { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(8px, 3vw, 24px); text-align: center; }
.price-hero .sec-head { margin-left: auto; margin-right: auto; margin-bottom: 0; text-align: center; }
.price-hero .sec-head .kicker { justify-content: center; }
.price-hero .sec-head p { margin-left: auto; margin-right: auto; }

/* checkout modal (legal consent + payment-obligation button) */
.co-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(4,5,6,.72); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.co-overlay.show { opacity: 1; }
.co-modal { width: 100%; max-width: 440px; background: var(--bg-1); border: 1px solid var(--line-2);
  border-radius: var(--r-l); padding: 26px; position: relative; transform: translateY(10px); transition: transform .2s; }
.co-overlay.show .co-modal { transform: none; }
.co-x { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 8px;
  color: var(--ink-3); font-size: 15px; }
.co-x:hover { background: var(--bg-3); color: var(--ink); }
.co-modal h3 { font-size: 21px; font-weight: 600; margin-bottom: 18px; }
.co-plan { display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; }
.co-plan .co-k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.co-plan b { font-size: 18px; }
.co-price { font-size: 20px; font-weight: 700; color: var(--acc); white-space: nowrap; }
.co-price span { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.co-renew { font-size: 12px; color: var(--ink-3); margin: 10px 2px 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2);
  line-height: 1.5; cursor: pointer; text-align: left; }
.consent input[type="checkbox"] { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--acc); cursor: pointer; }
.consent a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.consent.err { color: var(--acc-2); }
.consent.err input[type="checkbox"] { outline: 2px solid var(--acc-2); outline-offset: 2px; border-radius: 3px; }
.co-msg { color: var(--acc-2); font-size: 12.5px; min-height: 16px; margin: 8px 0 2px; }
.co-actions { display: flex; gap: 10px; margin-top: 12px; }
.co-actions .btn { flex: 1; }

/* billing toggle */
.bill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
  justify-content: center;
}
.bill-seg {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 4px;
  font-size: 14.5px;
  font-weight: 600;
}
.bill-seg button {
  padding: 9px 20px;
  border-radius: 100px;
  color: var(--ink-2);
  transition: color .15s, background .15s;
}
.bill-seg button.on { background: var(--acc); color: #04130a; }
.save-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--acc);
  border: 1px dashed color-mix(in srgb, var(--acc) 45%, transparent);
  border-radius: 100px;
  padding: 7px 13px;
}

/* ============================================================
   Daily push promo band
   ============================================================ */
.daily-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: radial-gradient(110% 130% at 0% 0%, var(--acc-dim), transparent 55%), var(--bg-1);
  border: 1px solid var(--line-2); border-radius: var(--r-l);
  padding: 26px 30px; transition: border-color .25s, transform .25s; flex-wrap: wrap;
}
.daily-promo:hover { border-color: color-mix(in srgb, var(--acc) 45%, transparent); transform: translateY(-3px); }
.daily-promo .dp-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.daily-promo .dp-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--bg-3); color: var(--acc); display: grid; place-items: center; flex: none; }
.daily-promo .dp-ic svg { width: 26px; height: 26px; }
.daily-promo .dp-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.daily-promo .dp-h { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -0.025em; margin-top: 6px; text-wrap: balance; }
.daily-promo .dp-p { color: var(--ink-2); font-size: 14px; margin-top: 7px; max-width: 60ch; text-wrap: pretty; }
.daily-promo .dp-go { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: #04130a; background: var(--acc); border-radius: 100px; padding: 12px 22px; flex: none; transition: background .18s; white-space: nowrap; }
.daily-promo:hover .dp-go { background: #59ec96; }
.daily-promo .dp-go svg { width: 16px; height: 16px; transition: transform .2s; }
.daily-promo:hover .dp-go svg { transform: translateX(3px); }
@media (max-width: 640px) { .daily-promo .dp-go { width: 100%; justify-content: center; } }

/* ============================================================
   Tier grid
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: clamp(40px, 6vw, 64px);
}

.tier {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 28px 26px 30px;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.tier:hover { border-color: var(--line-2); transform: translateY(-4px); }

.tier.popular {
  border-color: color-mix(in srgb, var(--acc) 55%, transparent);
  background:
    radial-gradient(120% 60% at 50% 0%, var(--acc-dim), transparent 60%),
    var(--bg-1);
  box-shadow: 0 30px 70px -40px var(--acc-glow);
}

/* active / current subscription */
.tier.active { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc) inset, 0 30px 70px -40px var(--acc-glow); }
.badge-current {
  position: absolute; top: 0; right: 18px; transform: translateY(-50%);
  background: var(--ink); color: var(--bg);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; border: 1px solid var(--acc);
}
.tier.active.popular .badge-pop { background: var(--acc); }
.btn-current {
  background: var(--acc-dim); color: var(--acc);
  border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  cursor: default; pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-current svg { width: 15px; height: 15px; }

/* tier-switch toast */
.tier-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px);
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  border-radius: 100px; padding: 13px 22px 13px 16px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.85);
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 200;
  max-width: calc(100vw - 32px);
}
.tier-toast.show { opacity: 1; transform: translate(-50%, 0); }
.tier-toast .tt-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #04130a; display: grid; place-items: center; flex: none; }
.tier-toast.neg { border-color: var(--line-2); }
.tier-toast.neg .tt-ic { background: var(--ink-2); color: var(--bg); }
.tier-toast .tt-ic svg { width: 15px; height: 15px; }

.badge-pop {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--acc);
  color: #04130a;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.tier .t-step { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: .14em; }
.tier .t-name { font-size: 25px; font-weight: 700; letter-spacing: -0.025em; margin-top: 12px; }
.tier.popular .t-name { color: var(--ink); }

.t-price { margin-top: 18px; min-height: 64px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.t-price .amt { font-size: 42px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.tier:not(.free) .t-price .amt { color: var(--ink); }
.t-price .per { font-size: 15px; color: var(--ink-3); font-weight: 500; }
.t-sub { font-size: 13px; color: var(--ink-3); margin-top: 8px; min-height: 18px; font-family: var(--font-mono); letter-spacing: .01em; }

.tier .btn { width: 100%; margin-top: 22px; }
.tier.free .btn { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.tier.free .btn:hover { border-color: var(--ink); background: rgba(255,255,255,.04); }

.t-inc {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--acc);
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.tier.free .t-inc, .tier:not(.popular) .t-inc { color: var(--ink-2); }
.tier .feats-wrap.no-inc { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

.feats { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: 16px; }
.feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink); line-height: 1.4; }
.feats li .fi { flex: none; margin-top: 1px; color: var(--acc); }
.feats li.off { color: var(--ink-3); }
.feats li.off .fi { color: var(--ink-3); }

/* push button group to bottom for equal-height cards */
.tier .feats-wrap { flex: 1; }

/* ============================================================
   Upgrade nudge demo
   ============================================================ */
.nudge-band { }
.nudge-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.nudge-copy .kicker { margin-bottom: 18px; }
.nudge-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.nudge-copy p { color: var(--ink-2); font-size: 1.05rem; margin-top: 18px; max-width: 46ch; text-wrap: pretty; }

.nudge-card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.8);
  overflow: hidden;
}
.nudge-card .nc-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.nudge-card .nc-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-3); }
.nudge-card .nc-bar .title { margin-left: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.nudge-card .nc-body { padding: 22px; }

.toast {
  background: var(--bg-3);
  border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent);
  border-radius: var(--r-m);
  padding: 20px;
}
.toast .tt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.toast .tt .lim { width: 30px; height: 30px; border-radius: 9px; background: var(--acc2-dim); color: var(--acc-2); display: grid; place-items: center; flex: none; }
.toast .tt .lim svg { width: 17px; height: 17px; }
.toast .tmsg { color: var(--ink-2); font-size: 14px; margin-top: 12px; line-height: 1.5; }
.toast .tbar { height: 6px; border-radius: 100px; background: var(--bg-1); margin-top: 16px; overflow: hidden; }
.toast .tbar i { display: block; height: 100%; width: 100%; background: var(--acc-2); border-radius: 100px; }
.toast .tcount { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); margin-top: 8px; letter-spacing: .03em; }
.toast .tact { display: flex; gap: 10px; margin-top: 18px; }
.toast .tact .btn { flex: 1; }
.toast .tact .later { flex: none; color: var(--ink-3); padding: 12px 14px; font-size: 14px; font-weight: 500; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin-top: clamp(32px,4vw,48px); }
.faq {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--bg-1);
  padding: 4px 22px;
  transition: border-color .2s;
}
.faq[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 22px; height: 22px; position: relative; color: var(--acc); transition: transform .25s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq summary .pm::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq summary .pm::after { left: 10px; top: 3px; width: 2px; height: 16px; transition: transform .25s, opacity .2s; }
.faq[open] summary .pm::after { transform: rotate(90deg); opacity: 0; }
.faq .fa { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; padding: 0 0 22px; max-width: 52ch; text-wrap: pretty; }
.faq .fa b { color: var(--ink); font-weight: 600; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nudge-wrap { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr; }
  .bill { gap: 12px; }
}
