/* FullPockets supporting pages: features, how it works, pricing, security, FAQ.
   Uses tokens and base classes from site.css. */

/* Shared layout helpers */
.split { display: grid; gap: 40px; align-items: start; }
.stack { display: grid; gap: 48px; }
.stack__head { max-width: 640px; }
.split__head .h2, .stack__head .h2 { margin-top: 16px; }
.split__head .body, .stack__head .body { margin-top: 20px; max-width: 44ch; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; gap: 80px; }
  .stack { gap: 64px; }
}

/* Ledger: dotted leaders between a label and its value */
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger li > span:first-child { color: var(--text); }
.ledger li > span:last-child { text-align: right; }

/* Pricing: four plans in one panel, split by hairlines */
.plans { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; }
.plan { display: flex; flex-direction: column; background: var(--surface); padding: 32px 28px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .04); }
.plan__name { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text); }
.plan__price { display: flex; align-items: flex-start; margin: 20px 0 0; min-height: 52px; font-family: var(--mono); font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.plan__cur { font-size: 26px; line-height: 1; margin: 4px 3px 0 0; letter-spacing: 0; }
.plan__per { align-self: flex-end; margin: 0 0 6px 8px; font-family: var(--font); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--text-3); }
.plan__price--text { align-items: center; font-family: var(--font); font-size: 32px; letter-spacing: -0.03em; }
.plan__band { margin: 16px 0 0; padding-bottom: 20px; border-bottom: 1px dotted rgb(237 237 237 / .25); font-size: 14px; line-height: 1.5; color: var(--text-2); }
.plan__list { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.plan__list .mark, .checks .mark, .ledger--marks .mark, .ledger--still .mark { flex: none; transform: translateY(-2px); }
.plan .btn { width: 100%; justify-content: center; }
.plans__note { margin-top: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } .plan { padding: 36px 28px 32px; } }

/* Every plan includes */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 48px; }
.checks li { display: flex; align-items: baseline; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--text); }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } .checks li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 639px) { .checks li:last-child { border-bottom: 1px solid var(--line); } }

/* How your plan is picked: last month's sales inside the Growth band */
.band { margin: 0 0 40px; }
.band__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 20px; font-size: 15px; color: var(--text); }
.band__cap .mono { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.band__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; height: 14px; }
.band__zone { background: rgb(237 237 237 / .08); border-radius: 3px; }
.band__zone--b { background: rgb(237 237 237 / .2); }
.band__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: var(--text); border-radius: 3px; }
.band__scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 10px; font-size: 11px; letter-spacing: 0.02em; color: var(--text-3); }
.band__scale:not(.band__scale--sub) span:nth-child(2) { color: var(--text); }
.band__scale--sub { margin-top: 4px; }
@media (min-width: 640px) { .band__scale { font-size: 12px; } }

/* Features: horizontal anchor row */
.anchors { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.anchors__row { display: flex; gap: 8px 32px; overflow-x: auto; scrollbar-width: none; }
.anchors__row::-webkit-scrollbar { display: none; }
.anchors a { flex: none; display: inline-flex; align-items: baseline; gap: 10px; padding: 18px 0; font-size: 14px; color: var(--text-2); white-space: nowrap; transition: color var(--dur-hover, 150ms) var(--ease-out, ease-out); }
.anchors a .num { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
@media (hover: hover) { .anchors a:hover { color: var(--text); } }
.page-features .feature-extra { display: block; }
.page-features [id] { scroll-margin-top: 88px; }

/* Ten costs ledger */
.ledger--costs li { padding: 18px 0; gap: 16px; }
.ledger--costs .ledger__n { flex: none; width: 28px; font-size: 12px; color: var(--text-3); }
.ledger--costs .ledger__k { flex: none; font-weight: 500; color: var(--text); }
.ledger--costs .ledger__v { color: var(--text-2); }
@media (min-width: 1024px) { .ledger--costs .ledger__k { width: 200px; } .ledger--costs li > span:first-child { color: var(--text-3); } }
@media (max-width: 719px) {
  .ledger--costs li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 0; }
  .ledger--costs .leader { display: none; }
  .ledger--costs .ledger__v { grid-column: 2; text-align: left; font-size: 14px; color: var(--text-3); }
  .ledger--costs .ledger__k { width: auto; }
}

/* How it works: steps */
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; gap: 32px; padding: 56px 0; border-top: 1px dotted rgb(237 237 237 / .25); }
.step:first-child { border-top: 0; padding-top: 16px; }
.step:last-child { padding-bottom: 40px; }
.step__n { display: block; margin-bottom: 20px; font-size: 14px; color: var(--text-3); letter-spacing: 0.06em; }
.step__text .body { margin-top: 12px; max-width: 34ch; }
.step__text .h3 { font-size: clamp(26px, 1.4vw + 18px, 38px); letter-spacing: -0.03em; }
.vis { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .04); padding: 28px; max-width: 520px; }
.vis--install { display: grid; gap: 14px; }
.vis__label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.field { display: flex; align-items: center; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-sunken); font-family: var(--mono); font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; }
.field__suffix { color: var(--text-3); }
.vis--install .btn { justify-self: start; pointer-events: none; }
.conns { list-style: none; margin: 0; padding: 0; }
.conns li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.conns li:first-child { border-top: 0; padding-top: 0; }
.conns li:last-child { padding-bottom: 0; }
.conns .mark { flex: none; transform: translateY(-2px); }
.conns__s { color: var(--text-2); font-size: 14px; }
.frame { margin: 0; }
.frame img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 64px -24px rgb(0 0 0 / .7); }
.frame figcaption { margin-top: 12px; font-size: 12px; }
.steps__close { max-width: none; margin: 24px 0 0; padding-top: 40px; border-top: 1px dotted rgb(237 237 237 / .25); color: var(--text); }
@media (min-width: 900px) {
  .step { grid-template-columns: 6fr 6fr; gap: 64px; padding: 72px 0; align-items: center; }
  .step__vis { justify-self: end; width: 100%; display: flex; justify-content: flex-end; }
  .step__vis .vis { width: 100%; }
}

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 12px; width: 2px; background: radial-gradient(circle, rgb(237 237 237 / .3) 0.9px, transparent 1px) 50% 0 / 2px 6px repeat-y; }
.timeline li { position: relative; padding: 18px 0; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: 26px; width: 10px; height: 4px; background: var(--text-3); clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); }
.timeline__t { margin: 0; font-size: clamp(18px, 0.5vw + 15px, 22px); font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; color: var(--text); text-wrap: balance; max-width: 36ch; }

/* What you might still do */
.ledger--still li, .ledger--marks li { align-items: baseline; justify-content: flex-start; gap: 14px; padding: 18px 0; }
.ledger--still strong { font-weight: 500; color: var(--text); }
.ledger--still li > span:last-child, .ledger--marks li > span:last-child { text-align: left; }
.ledger--still li > span:last-child { color: var(--text-2); }

/* Security */
.twin { display: grid; gap: 0; padding: 0; border-radius: 12px; }
.twin__col { padding: 32px 24px; }
.twin__col + .twin__col { border-top: 1px solid var(--line-strong); }
.twin__col .h3 { margin: 0 0 16px; }
.twin .ledger li:first-child { border-top: 0; }
.twin .ledger li:last-child { border-bottom: 0; }
.mark--solid { color: var(--text); }
.mark--hollow { position: relative; color: var(--text-2); }
.mark--hollow::after { content: ""; position: absolute; inset: 1px 1.5px; background: var(--surface); clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); }
.twin__col:last-child .ledger li > span:last-child { color: var(--text); }
.ledger--marks li { font-size: 16px; }
.ledger--marks li > span:last-child { color: var(--text); }
.note-wrap { display: grid; gap: 48px; align-items: start; }
.note { border: 1px solid var(--line-strong); border-radius: 12px; padding: 32px; background: transparent; }
.note .body { margin-top: 16px; max-width: 52ch; }
.note-side .body { margin-top: 12px; }
@media (min-width: 900px) {
  .twin { grid-template-columns: 1fr 1fr; }
  .twin__col { padding: 40px; }
  .twin__col + .twin__col { border-top: 0; border-left: 1px solid var(--line-strong); }
  .note-wrap { grid-template-columns: 7fr 5fr; gap: 80px; }
  .note { padding: 40px; }
}

/* Pricing ledger on phones: stack rows */
@media (max-width: 639px) {
  .page-pricing .ledger li { display: grid; gap: 2px; }
  .page-pricing .ledger .leader { display: none; }
  .page-pricing .ledger li > span:last-child { text-align: left; color: var(--text-3); font-size: 14px; }
}

/* Page hero: tighter bottom so the first block sits close */
.page-hero { padding-bottom: clamp(40px, 5vw, 72px); }
.step__vis .frame { width: 100%; }

/* Pricing hero: band visual on the right */
.hero-split { display: grid; gap: 40px; align-items: center; }
.hero-split__vis .band { margin: 0; }
@media (min-width: 1024px) {
  .hero-split { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .hero-split__text { grid-column: 1 / span 6; }
  .hero-split__vis { grid-column: 8 / span 5; }
}
.page-pricing .ledger + .small { margin-top: 16px; }
