/* storefront.css — the template's own sales storefront (storefront.php).
   House tokens only; no raw colours except ink/paper constants the pack
   itself uses for shadows. Motion: transform/opacity only, one-shot
   entrances via [data-pop] (app-layout.css), reduced-motion respected.
   Spacing rule: anything following a hard-shadowed card clears the shadow
   (>= 6–9px) plus breathing room — never sits inside the drop. */

.sf { --sf-max: 1180px; overflow-x: clip; }
.sf-wrap { max-width: var(--sf-max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }
.sf-wrap--narrow { max-width: 820px; }
.sf mark {
  background: var(--yellow); color: var(--accent-ink, #141414);
  padding: 0 0.14em; border-radius: 0.18em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Headline highlights are one solid block: they stay inline when they fit,
   otherwise the whole phrase drops to its own line instead of splitting into
   two yellow slabs that crowd each other. The lead before it is a block too,
   so a wrap happens between the two phrases, not mid-sentence. The block margin keeps a clear gap
   to the line above. */
.sf h1 .sf-lead, .sf h2 .sf-lead { display: inline-block; }
.sf h1 mark, .sf h2 mark { display: inline-block; margin-block: 0.06em; padding: 0.02em 0.16em 0.06em; line-height: 1.02; }
.sf h1, .sf h2, .sf-head p, .sf-close-card p { text-wrap: balance; }
.sf code { font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 0.9em; }
/* marketing.css chips every .home code on paper; on the dark panels here code is bare yellow text. */
.sf .sf-env code, .sf .sf-term code { padding: 0; border: 0; border-radius: 0; background: none; color: var(--on-side-accent, var(--yellow)); font-size: 1em; }

/* ------------------------------------------------------------- hero ---- */
.sf-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); }
.sf-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.sf-ribbon {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  padding: 6px 8px 6px 6px; border: 2.5px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--paper); color: var(--text); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: transform var(--dur-lift) var(--ease-pop), box-shadow var(--dur-lift) var(--ease-pop);
}
.sf-ribbon:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.sf-ribbon-tag { padding: 3px 10px 2px; border-radius: var(--radius-pill); background: var(--side); color: var(--on-side-accent, var(--yellow)); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.sf-ribbon strong { padding: 2px 10px; border-radius: var(--radius-pill); background: var(--yellow); color: var(--accent-ink, #141414); border: 2px solid var(--ink); }
.sf-title {
  margin: 22px 0 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -0.045em; color: var(--text);
}
.sf-lede { margin: 22px 0 0; max-width: 36em; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--text-soft); }
.sf-lede em { font-style: normal; font-weight: 700; color: var(--text); }
.sf-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.sf-cta--center { justify-content: center; }
.sf-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.sf-ticks li, .sf-list li { display: flex; align-items: flex-start; gap: 9px; font-weight: 600; }
.sf-ticks li { align-items: center; font-size: 14.5px; color: var(--text); }
.sf-ticks .pop-icon, .sf-list .pop-icon {
  flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%;
  background: var(--mint); color: #141414; border: 2px solid var(--ink); stroke-width: 3.2;
}

/* design switcher */
.sf-switch { position: relative; }
.sf-browser { border: 3px solid var(--ink); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-lift); overflow: hidden; }
.sf-browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 3px solid var(--ink); background: var(--paper-sunk); }
.sf-dots { display: inline-flex; gap: 6px; }
.sf-dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: var(--red); }
.sf-dots i:nth-child(2) { background: var(--yellow); }
.sf-dots i:nth-child(3) { background: var(--mint); }
.sf-url { padding: 2px 12px; border: 2px solid var(--ink); border-radius: var(--radius-pill); background: var(--paper); font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.sf-browser-view { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-sunk); }
.sf-browser-view img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.22s ease; }
.sf-browser-view img.is-swapping { opacity: 0; }
.sf-env {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  padding: 10px 14px; border-top: 3px solid var(--ink); background: var(--side); color: var(--side-text, #fdf1dc);
  font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 13px;
}
.sf-env span { padding: 1px 8px; border-radius: var(--radius-pill); background: var(--yellow); color: var(--accent-ink, #141414); font-weight: 700; font-size: 11.5px; }
.sf-env code { color: var(--on-side-accent, var(--yellow)); font-weight: 600; }
.sf-env em { font-style: normal; color: #b5a990; }
.sf-switch-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.sf-switch-chips .pop-tag { cursor: pointer; }
.sf-more { text-decoration: none; }
.sf-toast {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 8px 14px 8px 9px; border: 2.5px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--paper); color: var(--text); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
}
.sf-toast .pop-icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mint); color: #141414; border: 2px solid var(--ink); stroke-width: 3.2; }
.sf-toast--pay { top: -20px; right: -12px; transform: rotate(2deg); }
.sf-toast--auth { top: 52%; left: -28px; transform: rotate(-2deg); }
@media (prefers-reduced-motion: no-preference) {
  .sf-toast { animation: sf-toast-in 0.45s var(--ease-pop) backwards; }
  .sf-toast--pay { animation-delay: 0.9s; }
  .sf-toast--auth { animation-delay: 1.4s; }
}
@keyframes sf-toast-in { from { opacity: 0; transform: translateY(10px) scale(0.92); } }

/* ------------------------------------------------------------ strip ---- */
.sf-strip { background: var(--side); color: var(--side-text, #fdf1dc); border-block: 3px solid #000; padding: 26px 0; }
.sf-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin: 0 auto; list-style: none; text-align: center; }
.sf-stats li { display: grid; gap: 4px; }
.sf-stats b { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -0.03em; color: var(--on-side-accent, var(--yellow)); font-variant-numeric: tabular-nums; }
.sf-stats span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #d9cdb5; }

/* ---------------------------------------------------------- sections ---- */
.sf-section { padding: clamp(64px, 9vw, 116px) 0; }
.sf-section--alt { background: var(--paper); border-block: 3px solid var(--ink); }
.sf-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.sf-head h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.7vw, 50px); line-height: 1.08; letter-spacing: -0.04em; color: var(--text); }
.sf-head p { margin: 18px auto 0; max-width: 40em; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; color: var(--text-soft); }
.sf-head .sf-head-cta { margin-top: 26px; }
.sf-fineprint { margin: 30px auto 0; max-width: 46em; text-align: center; font-size: 13px; line-height: 1.55; color: var(--text-faint, var(--text-soft)); }

/* ----------------------------------------------------- why / versus ---- */
.sf-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.sf-vs { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 32px); border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: var(--shadow-md); background: var(--paper); }
.sf-vs--stack { background: var(--yellow); color: var(--accent-ink, #141414); }
.sf-vs h3 { margin: 16px 0 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.03em; }
.sf-vs-foot { margin: auto 0 0; padding-top: 22px; font-weight: 600; line-height: 1.55; }
.sf-vs--scratch .sf-vs-foot { color: var(--text-soft); }
.sf-burn { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.sf-burn li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 0.8fr); align-items: center; gap: 14px; font-size: 14.5px; font-weight: 600; }
.sf-burn i { position: relative; height: 12px; border: 2px solid var(--ink); border-radius: var(--radius-pill); background: var(--paper-sunk); overflow: hidden; }
.sf-burn i::after { content: ""; position: absolute; inset: 0; width: var(--cost); background: var(--red); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .sf-vs.is-popped .sf-burn i::after { animation: sf-burn 0.9s var(--ease-out-soft) backwards; }
  .sf-vs.is-popped .sf-burn li:nth-child(2) i::after { animation-delay: 0.08s; }
  .sf-vs.is-popped .sf-burn li:nth-child(3) i::after { animation-delay: 0.16s; }
  .sf-vs.is-popped .sf-burn li:nth-child(4) i::after { animation-delay: 0.24s; }
  .sf-vs.is-popped .sf-burn li:nth-child(5) i::after { animation-delay: 0.32s; }
  .sf-vs.is-popped .sf-burn li:nth-child(6) i::after { animation-delay: 0.40s; }
  .sf-vs.is-popped .sf-burn li:nth-child(7) i::after { animation-delay: 0.48s; }
  .sf-vs.is-popped .sf-burn li:nth-child(8) i::after { animation-delay: 0.56s; }
}
@keyframes sf-burn { from { transform: scaleX(0); } }
.sf-term {
  padding: 18px 20px; border: 3px solid var(--ink); border-radius: 18px;
  background: var(--side); color: var(--side-text, #fdf1dc);
  font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 13.5px; line-height: 1.6;
}
.sf-term p { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; }
.sf-term p:last-child { margin-bottom: 0; }
.sf-term .sf-term-you { display: block; margin-bottom: 14px; color: var(--on-side-accent, var(--yellow)); font-weight: 600; }
.sf-term .pop-icon { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--mint); stroke-width: 3; }
.sf-term code { color: var(--on-side-accent, var(--yellow)); }

/* ------------------------------------------------------- the works ---- */
.sf-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.sf-tile, .sf-mini {
  position: relative; display: flex; flex-direction: column; grid-column: span 2;
  padding: clamp(20px, 2.4vw, 28px); border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--bg); box-shadow: var(--shadow-md);
}
.sf-tile--wide { grid-column: span 3; }
.sf-tile h3, .sf-mini h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; letter-spacing: -0.03em; color: var(--text); }
.sf-tile p, .sf-mini p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.sf-tile-copy { margin-bottom: 2px; }
.sf-shot { margin: 20px 0 0; border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--paper-sunk); }
.sf-shot img { display: block; width: 100%; height: auto; }
.sf-tile .sf-shot { margin-top: auto; }
.sf-tile .sf-tile-copy + .sf-shot, .sf-tile p + .sf-shot { margin-top: 20px; }
.sf-shot--sm { aspect-ratio: 16 / 10; }
.sf-shot--sm img { height: 100%; object-fit: cover; object-position: top left; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.sf-chips li { padding: 3px 11px; border: 2px solid var(--ink); border-radius: var(--radius-pill); background: var(--paper-sunk); font-size: 12.5px; font-weight: 700; color: var(--text); }
.sf-mail { display: grid; justify-items: center; gap: 8px; margin-top: auto; padding: 18px 14px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper); text-align: center; }
.sf-tile p + .sf-mail { margin-top: 20px; }
.sf-mail-from { font-size: 12.5px; font-weight: 700; color: var(--text-soft); }
.sf-mail b { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.12em; color: var(--text); font-variant-numeric: tabular-nums; }
.sf-mail-btn { padding: 6px 18px; border: 2px solid var(--ink); border-radius: var(--radius-pill); background: var(--yellow); color: var(--accent-ink, #141414); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-xs); }
.sf-mini { padding: 20px 22px; box-shadow: var(--shadow-sm); }
.sf-mini-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--yellow); color: var(--accent-ink, #141414); }
.sf-mini-ico .pop-icon { width: 21px; height: 21px; }

/* --------------------------------------------------------- designs ---- */
.sf-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sf-design {
  position: relative; display: flex; flex-direction: column;
  border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  background: var(--paper); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-lift) var(--ease-pop), box-shadow var(--dur-lift) var(--ease-pop);
}
.sf-design::after { content: ""; position: absolute; inset: -6px; } /* hover-area extender while lifted */
.sf-design:hover, .sf-design:focus-visible { transform: translate(-3px, -3px); box-shadow: var(--shadow-lift); }
.sf-design-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--paper-sunk); }
.sf-design-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-design-meta { display: grid; gap: 3px; padding: 12px 14px 14px; }
.sf-design-meta b { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.sf-design-meta span { font-size: 13px; line-height: 1.4; color: var(--text-soft); }
.sf-wall-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: 40px; }
.sf-wall-foot > span { font-weight: 700; color: var(--text); }
.sf .sf-envline { padding: 8px 16px; font-size: 0.95em; border: 2.5px solid var(--ink); border-radius: var(--radius-pill); background: var(--side); color: var(--on-side-accent, var(--yellow)); font-weight: 700; }

/* ------------------------------------------------------ site types ---- */
.sf-types .pop-tabs__list { flex-wrap: wrap; justify-content: center; }
.sf-type { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr); gap: clamp(26px, 4vw, 48px); align-items: center; padding-top: 32px; }
.sf-type h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.035em; color: var(--text); }
.sf-type-copy > p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--text-soft); }
.sf-type-copy > p:last-child { margin-top: 24px; }
.sf-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.sf-list li { font-size: 15.5px; line-height: 1.45; color: var(--text); }
.sf-type-shot { margin: 0; box-shadow: var(--shadow-md); }
.sf-type-shot figcaption { padding: 8px 12px; border-top: 2.5px solid var(--ink); background: var(--paper); font-size: 12.5px; color: var(--text-soft); }

/* ------------------------------------------------------------ setup ---- */
.sf-setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 44px); align-items: start; }
.sf-env-file {
  margin: 0; padding: 24px 26px; border: 3px solid var(--ink); border-radius: 22px;
  background: var(--side); color: var(--side-text, #fdf1dc); box-shadow: var(--shadow-md);
  font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 14px; line-height: 1.75;
  overflow-x: auto; white-space: pre;
}
.sf-env-file .c { color: #b5a990; }
.sf-env-file .v { color: var(--on-side-accent, var(--yellow)); }
.sf-steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.sf-steps li { display: flex; gap: 16px; padding: 20px 22px; border: 3px solid var(--ink); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-sm); }
.sf-step-n { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--accent-ink, #141414); font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.sf-steps h3 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--text); }
.sf-steps p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.sf-steps code { display: inline-block; margin-top: 12px; padding: 4px 12px; border: 2px solid var(--ink); border-radius: var(--radius-pill); background: var(--paper-sunk); color: var(--text); font-weight: 600; }
.sf-doctor { display: grid; gap: 4px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--side); color: var(--side-text, #fdf1dc); font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 12.5px; }
.sf-doctor span { display: flex; align-items: center; gap: 7px; }
.sf-doctor .pop-icon { width: 15px; height: 15px; color: var(--mint); stroke-width: 3; }
.sf-doctor b { margin-top: 4px; color: var(--mint); }
.sf-agentline { margin: 36px auto 0; text-align: center; font-size: 15.5px; color: var(--text-soft); }
.sf-agentline code { padding: 3px 10px; border: 2px solid var(--ink); border-radius: var(--radius-pill); background: var(--paper); color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------- hosting ---- */
.sf-bills { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 920px; margin: 0 auto; }
.sf-bill { padding: 26px 28px; border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--bg); box-shadow: var(--shadow-md); }
.sf-bill--us { background: var(--yellow); color: var(--accent-ink, #141414); }
.sf-bill h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.sf-bill ul { margin: 0; padding: 0; list-style: none; }
.sf-bill li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 2px dashed currentColor; font-size: 15px; }
.sf-bill:not(.sf-bill--us) li { color: var(--text); }
.sf-bill li b { font-variant-numeric: tabular-nums; }
.sf-bill-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 0; font-weight: 700; }
.sf-bill-total b { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.04em; }

/* ------------------------------------------------------------ demos ---- */
.sf-demos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.sf-demo { display: grid; gap: 6px; padding: 18px 20px; border: 3px solid var(--ink); border-radius: 20px; background: var(--paper); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform var(--dur-lift) var(--ease-pop), box-shadow var(--dur-lift) var(--ease-pop); }
.sf-demo:hover, .sf-demo:focus-visible { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.sf-demo b { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; }
.sf-demo span { font-size: 14px; color: var(--text-soft); line-height: 1.45; }
.sf-demo em { margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--text); }

/* Examples + the one live demo app. */
.sf-tryit { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr); gap: 28px; align-items: start; }
.sf-tryit--solo { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 981px) { .sf-tryit-app { position: sticky; top: 104px; } }
.sf-tryit-app { display: grid; justify-items: start; gap: 12px; padding: clamp(22px, 3vw, 30px); border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--yellow); color: var(--accent-ink, #141414); box-shadow: var(--shadow-md); }
.sf-tryit-app .sf-mini-ico { margin-bottom: 0; background: var(--paper); }
.sf-tryit-app h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.sf-tryit-app p { margin: 0; font-size: 15.5px; line-height: 1.55; font-weight: 500; }
.sf-tryit-app .pop-btn--primary { background: #141414; color: var(--on-side-accent, var(--yellow)); }
.sf-tryit-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 0; padding: 0; list-style: none; }
.sf-tryit-links a { color: inherit; font-weight: 700; font-size: 14px; text-underline-offset: 3px; }
.sf-tryit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf-type-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------ offer ---- */
.sf-section--offer { padding-bottom: clamp(56px, 7vw, 96px); }
.sf-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-lift); }
.sf-offer-buy { padding: clamp(26px, 4vw, 44px); background: var(--yellow); color: var(--accent-ink, #141414); border-right: 3px solid var(--ink); }
.sf-offer-buy h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.045em; line-height: 1.02; }
.sf-offer-buy h2 mark { background: #141414; color: var(--on-side-accent, var(--yellow)); }
.sf-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 0; }
.sf-price b { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 8vw, 104px); line-height: 0.95; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.sf-price s { font-size: 28px; font-weight: 700; opacity: 0.75; }
.sf-price-note { margin: 12px 0 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.sf-offer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 26px 0 0; }
.sf-signin { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.sf-value { margin: 24px 0 0; font-weight: 700; }
.sf-offer-buy .sf-fineprint { margin: 14px 0 0; text-align: left; color: inherit; opacity: 0.82; }
.sf-offer-list { padding: clamp(26px, 4vw, 44px); }
.sf-offer-list h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--text); }

/* ------------------------------------------------- faq / guides / close ---- */
.sf-faq { margin-top: 0; }
.sf-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.sf-guide { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 120px; padding: 20px 22px; border: 3px solid var(--ink); border-radius: 20px; background: var(--bg); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform var(--dur-lift) var(--ease-pop), box-shadow var(--dur-lift) var(--ease-pop); }
.sf-guide:hover, .sf-guide:focus-visible { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.sf-guide b { font-family: var(--font-display); font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; }
.sf-guide span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--text-soft); }
.sf-guide .pop-icon { width: 16px; height: 16px; }
.sf-guides-all { margin: 32px 0 0; text-align: center; font-weight: 700; }
.sf-guides-all a { color: var(--text); }
.sf-close { padding-top: clamp(56px, 7vw, 88px); }
.sf-close-card { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); border: 3px solid #000; border-radius: 30px; background: var(--side); color: var(--side-text, #fdf1dc); text-align: center; box-shadow: var(--shadow-lift); }
.sf-close-card h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.045em; color: var(--side-text, #fdf1dc); }
.sf-close-card p { margin: 18px auto 0; max-width: 34em; font-size: 18px; color: #d9cdb5; }
.sf-close-card .sf-cta { margin-top: 32px; }
.sf-close-card .pop-btn--ghost { color: var(--side-text, #fdf1dc); border-color: var(--side-text, #fdf1dc); }

/* The floating buy pill steps aside while the real offer card is on screen. */
.floating-cta.is-visible.is-tucked, .floating-cta.is-tucked { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* -------------------------------------------------------- responsive ---- */
@media (max-width: 1080px) {
  .sf-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-tile, .sf-tile--wide { grid-column: span 2; }
  .sf-mini { grid-column: span 1; }
}
@media (max-width: 980px) {
  .sf-hero-grid, .sf-type, .sf-setup, .sf-offer, .sf-tryit { grid-template-columns: minmax(0, 1fr); }
  .sf-offer-buy { border-right: 0; border-bottom: 3px solid var(--ink); }
  .sf-stats { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .sf-switch { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .sf-versus, .sf-bills { grid-template-columns: minmax(0, 1fr); }
  .sf-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sf-toast--auth { left: -8px; }
  .sf-types .pop-tabs__list { flex-wrap: nowrap; justify-content: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .sf-types .pop-tabs__list::-webkit-scrollbar { display: none; }
  .sf-types .pop-tabs__tab { flex: none; }
  .sf-toast--pay { right: -6px; }
}
@media (max-width: 560px) {
  .sf-tryit-list { grid-template-columns: minmax(0, 1fr); }
  .sf-bento { grid-template-columns: minmax(0, 1fr); }
  .sf-tile, .sf-tile--wide, .sf-mini { grid-column: span 1; }
  .sf-stats { grid-template-columns: repeat(2, 1fr); }
  .sf-burn li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sf-toast { font-size: 12px; padding: 6px 11px 6px 7px; }
  .sf-toast .pop-icon { width: 18px; height: 18px; }
  .sf-cta .pop-btn { width: 100%; justify-content: center; }
  .sf-env-file { font-size: 12.5px; padding: 18px; }
  .sf-price s { font-size: 22px; }
  .sf-ribbon > span:not(.sf-ribbon-tag) { display: none; }
}
@media (max-width: 420px) {
  .sf-wall { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .sf-ribbon, .sf-design, .sf-demo, .sf-guide { transition: none; }
  .sf-browser-view img { transition: none; }
}
