/* Piece 4 · No subscription, your data, how it works, pricing card, FAQ, close, footer.
   Builds on base.css; no new tokens. Type sizes used: 48, 36, 22, 17, 13. */

/* Seam: two sections in a row share one rhythm gap (112px) instead of stacking bottom + top (224px). */
section.im-section + section.im-section { padding-top: 0; }

/* ================= 1 · NO SUBSCRIPTION ================= */
.pw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.pw-eyebrow { margin: 0 0 20px; }
.pw-body { margin-top: 24px; max-width: 520px; text-wrap: pretty; }

.pw-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pw-card { display: flex; flex-direction: column; }
.pw-card p { margin: 0; }
.pw-label { font-size: var(--t-small); line-height: 1.38; font-weight: 500; letter-spacing: .01em; color: var(--fog); }
.pw-fig { margin-top: 12px !important; white-space: nowrap; }
.pw-cap { margin-top: 6px !important; font-size: var(--t-body); line-height: 1.4; color: var(--storm); }
.pw-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: var(--t-small); line-height: 1.38; font-weight: 500; letter-spacing: .01em; color: var(--fog); }

/* twelve months, one mark each: twelve rising bills vs one payment (illustrative, not to scale) */
.pw-months { display: flex; align-items: flex-end; gap: 4px; height: 56px; margin-top: auto; padding-top: 28px; box-sizing: content-box; }
.pw-months i { flex: 1; border-radius: 3px; }
.pw-months--tool i { height: var(--h); background: var(--coral); }
.pw-months--ours i { height: 4px; background: var(--mist); }
.pw-months--ours i:first-child { height: 40%; background: var(--ink); }

/* ================= 2 · YOUR DATA: the one night band ================= */
.sv-band {
  margin-inline: max(var(--gutter), calc((100% - 1392px) / 2));
  background: var(--night); color: var(--night-text);
  border-radius: var(--r-panel); padding: 96px 0;
}
.sv-inner {
  max-width: calc(var(--wrap) + 128px); margin: 0 auto; padding: 0 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center;
}
.sv-eyebrow { color: var(--violet-mist); margin: 0 0 20px; }
.sv-h2 { color: var(--paper); text-wrap: balance; }
.sv-body { color: var(--night-text); margin-top: 24px; max-width: 500px; text-wrap: pretty; }
.sv-note { margin: 20px 0 0; max-width: 460px; font-size: var(--t-small); line-height: 1.45; font-weight: 500; letter-spacing: .01em; color: var(--night-text); }
.sv-jar {
  margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--night) url("../media/jar-poster.jpg") 74% 50% / cover no-repeat;
  border: 1px solid color-mix(in srgb, var(--night-text) 24%, transparent);
}
.sv-jar-media { width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }

/* ================= 3 · HOW IT WORKS ================= */
.hw-h2 { margin-bottom: var(--head-gap); }
.hw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.hw-steps li { border-top: 1px solid var(--haze); padding-top: 20px; }
.hw-n { display: block; font-size: var(--t-small); line-height: 1; font-weight: 500; letter-spacing: .06em; color: var(--violet); font-variant-numeric: tabular-nums; }
.hw-steps p { margin: 14px 0 0; color: var(--storm); text-wrap: pretty; }

/* ================= 4 · PRICING CARD ================= */
.pc { padding-top: 0; }
.pc-col { position: relative; max-width: 520px; margin: 0 auto; }
.pc-card { padding: 44px 40px 40px; }
.pc-sticker { position: absolute; z-index: 2; top: -36px; right: -36px; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); box-shadow: var(--shadow-soft); transform: rotate(6deg); }
.pc-price { margin: 20px 0 0; font-size: var(--t-h2); line-height: 1; font-weight: 300; letter-spacing: -.03em; color: var(--ink); }
.pc-term { margin: 10px 0 0; font-size: var(--t-small); line-height: 1.38; font-weight: 500; letter-spacing: .01em; color: var(--fog); }
/* launch badge and struck regular price $49 (owner's decision); both removed after 3 November */
.pc-was { margin-left: 16px; font-size: var(--t-h3); font-weight: 400; letter-spacing: 0; color: var(--fog); text-decoration-thickness: 1.5px; vertical-align: middle; }
.pc-badge { display: inline-flex; align-items: center; height: 28px; margin: 0 0 16px; padding: 0 12px; border-radius: var(--r-pill); background: var(--sun); color: var(--sun-ink); font: 500 var(--t-small)/1 var(--font); letter-spacing: .01em; }

/* launch-time note (removed with the launch price on 4 November) */
.pc-urgency { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--lilac); color: var(--ink); font-size: var(--t-small); line-height: 1.45; font-weight: 500; letter-spacing: .01em; }
.pc-list { list-style: none; margin: 32px 0 0; padding: 28px 0 0; border-top: 1px solid var(--mist); display: grid; gap: 12px; }
.pc-list li { position: relative; padding-left: 32px; color: var(--storm); }
.pc-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); }
.pc-list li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border-right: 2px solid var(--mint-ink); border-bottom: 2px solid var(--mint-ink); transform: rotate(45deg); }
.pc-cta { display: flex; width: 100%; justify-content: center; margin-top: 36px; text-align: center; }
.pc-buy { display: flex; justify-content: center; margin-top: 16px; }
.pc-note { margin: 16px 0 0; font-size: var(--t-small); line-height: 1.45; font-weight: 500; letter-spacing: .01em; color: var(--fog); }

/* ================= 5 · FAQ ================= */
.fq { padding-top: 0; }
.fq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.fq-list { border-top: 1px solid var(--haze); }
.fq-q { border-bottom: 1px solid var(--haze); }
.fq-q summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0;
  font-size: var(--t-body); font-weight: 500; color: var(--ink); border-radius: 4px;
  transition: color .25s var(--ease);
}
.fq-q summary::-webkit-details-marker { display: none; }
.fq-q summary::before, .fq-q summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 2px; background: var(--violet); border-radius: 2px; transition: transform .25s var(--ease); }
.fq-q summary::after { transform: rotate(90deg); }
.fq-q[open] summary::after { transform: rotate(0deg); }
.fq-q summary:hover { color: var(--violet); }
.fq-a { margin: 0; padding: 0 48px 24px 0; color: var(--storm); max-width: 640px; }

/* ================= 6 · CLOSE ================= */
.cl { padding-top: 0; }
.cl-panel { text-align: center; background: var(--paper); border: 1px solid var(--mist); border-radius: var(--r-panel); padding: 88px 48px; }
.cl-sub { margin-top: 16px; }
.cl-cta { justify-content: center; margin-top: 36px; }

/* ================= 7 · FOOTER ================= */
.ft { border-top: 1px solid var(--mist); padding: 48px 0 40px; }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.ft-logo { display: inline-block; border-radius: 6px; }
.ft-logo img { height: 32px; width: auto; }
.ft-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ft-links a { font-size: var(--t-body); font-weight: 500; color: var(--ink); }
.ft-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--mist); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: var(--t-small); line-height: 1.45; font-weight: 500; color: var(--fog); }
.ft-bottom p, .ft-addr { margin: 0; font-style: normal; }
.ft-addr a { color: var(--fog); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1023px) {
  .pw-grid { grid-template-columns: 1fr; gap: 48px; }
  .sv-inner { grid-template-columns: 1fr; gap: 48px; }
  .sv-jar { aspect-ratio: 16 / 10; }
  .hw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .fq-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .pw-compare { grid-template-columns: 1fr; }
  .sv-band { margin-inline: var(--gutter); border-radius: 24px; padding: 64px 0; }
  .sv-inner { padding: 0 24px; gap: 40px; }
  .hw-steps { grid-template-columns: 1fr; gap: 24px; }
  .pc-card { padding: 32px 24px 28px; }
  .pc-sticker { width: 80px; height: 80px; top: -28px; right: -4px; }
  .fq-q summary { padding-right: 40px; }
  .fq-a { padding-right: 0; }
  .cl-panel { padding: 56px 24px; border-radius: 24px; }
  .ft-links { gap: 12px 20px; }
}

/* ============ 4b · Free and Pro (features.md §0, plugin 0.24) ============ */
.fp-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.fp-head .im-body { margin-top: 16px !important; }
.fp-wrap { max-width: 860px; margin: 0 auto; background: var(--paper); border: 1px solid var(--mist); border-radius: var(--r-card); box-shadow: var(--shadow-soft); overflow: hidden; }
.fp-table { width: 100%; border-collapse: collapse; }
.fp-table th, .fp-table td { padding: 14px 20px; border-top: 1px solid var(--mist); text-align: left; vertical-align: middle; }
.fp-table thead th { border-top: 0; background: var(--cloud); font: 500 var(--t-small)/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--fog); }
.fp-table thead th:last-child { color: var(--violet); }
.fp-table tbody th { font: 400 var(--t-body)/1.4 var(--font); color: var(--storm); }
.fp-table td { width: 88px; text-align: center; font-size: 0; }
.fp-table thead th:not(:first-child) { text-align: center; width: 88px; }
.fp-table td.fp-yes::before, .fp-table td.fp-no::before { content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.fp-table td.fp-yes::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230C6B4A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.fp-table td.fp-no::before { width: 14px; height: 2px; border-radius: 1px; background: var(--haze); }
.fp-table tfoot th, .fp-table tfoot td { background: var(--cloud); font: 500 var(--t-small)/1.3 var(--font); color: var(--ink); }
.fp-table tfoot td { font-size: var(--t-small); white-space: nowrap; }
.fp-table tfoot td:last-child { color: var(--violet); }
.fp-cta { flex-direction: column; gap: 12px; margin-top: 32px; text-align: center; }
.fp-cta .im-small { color: var(--fog); }
@media (max-width: 639px) {
  .fp-table th, .fp-table td { padding: 12px 12px; }
  .fp-table tbody th { font-size: var(--t-small); }
  .fp-table td, .fp-table thead th:not(:first-child) { width: 56px; }
  .fp-table tfoot td { font-size: 13px; }
}

/* plan switch on the pricing card (monthly / yearly / lifetime, owner 2026-10-03) */
.pc-cycles { display: inline-flex; gap: 4px; margin: 14px 0 4px; padding: 4px; border-radius: var(--r-pill); background: var(--cloud); border: 1px solid var(--mist); }
.pc-cycles[hidden] { display: none; }
.pc-cycles button { height: 34px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: transparent; font: 500 var(--t-small)/1 var(--font); color: var(--storm); cursor: pointer; }
.pc-cycles button:hover { color: var(--violet); }
.pc-cycles button[aria-pressed="true"] { background: var(--paper); color: var(--violet); box-shadow: var(--shadow-soft); }
.pc-cycles button:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.pc-plans { margin: 10px 0 0; text-align: center; font-size: var(--t-small); color: var(--fog); }
.pc-plans[hidden] { display: none; }
.fp-noads { max-width: 560px; margin: 4px auto 0; color: var(--storm) !important; }
.pc-per { margin-left: 4px; font-size: var(--t-body); font-weight: 400; letter-spacing: 0; color: var(--fog); }
