/* ============================================================
   BSE Automation Studio, pricing, order and paid pages
   sales.css v2 (14 Nov 2026): light theme to match the rest of the site.
   Loaded after main.css. Scoped to body.sales.
   ============================================================ */

body.sales {
    --s-bg:      var(--warm-50);
    --s-panel:   var(--white);
    --s-panel-2: var(--warm-100);
    --s-line:    var(--border);
    --s-line-2:  #D3D2CC;
    --s-text:    var(--text-900);
    --s-body:    var(--text-700);
    --s-muted:   #5F5F75;   /* 6:1 on white */
    --s-good:    #047857;
    --s-warn:    #B45309;
    --s-stop:    #C2410C;
    --s-cta:     var(--orange-h);   /* 5:1 with white text */
    background: var(--s-bg);
    color: var(--s-body);
}
body.sales h1, body.sales h2, body.sales h3, body.sales h4 { color: var(--s-text); }
body.sales a:focus-visible,
body.sales button:focus-visible,
body.sales summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* Type helpers */
.sp-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--s-muted);
}
.sp-fine { font-size: 0.8125rem; line-height: 1.5; color: var(--s-muted); }
.sp-muted { color: var(--s-muted); }
.sp-section { padding: var(--sp-12) 0; }
.sp-section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.sp-section-head h2 { margin: 10px 0 12px; }
.sp-section-head p { color: var(--s-muted); font-size: 1.0625rem; }

/* Buttons: --light is the main call to action, --ghost the quieter one */
.sp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 22px;
    border-radius: 100px; border: 1.5px solid transparent;
    font-size: 0.9375rem; font-weight: 600;
    cursor: pointer; text-decoration: none;
    transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.sp-btn--light { background: var(--s-cta); color: #fff; box-shadow: 0 6px 18px rgba(204,50,9,0.22); }
.sp-btn--light:hover { background: #B02B07; transform: translateY(-1px); }
.sp-btn--ghost { background: var(--white); color: var(--ink); border-color: var(--s-line-2); }
.sp-btn--ghost:hover { border-color: var(--ink); }
.sp-btn--block { width: 100%; }
.sp-btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ── Hero ───────────────────────────────────────── */
.sp-hero {
    position: relative;
    overflow: hidden;
    padding: var(--sp-12) 0 var(--sp-8);
    background:
        radial-gradient(900px 480px at 85% 0%, rgba(232,64,16,0.10), transparent 62%),
        radial-gradient(800px 520px at 0% 100%, rgba(37,99,235,0.05), transparent 60%),
        linear-gradient(180deg, var(--white) 0%, var(--warm-50) 100%);
    border-bottom: 1px solid var(--s-line);
}
.sp-hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sp-hero .container { position: relative; }
.sp-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    max-width: 15ch;
    margin: 14px 0 18px;
}
.sp-hero-sub { max-width: 58ch; font-size: clamp(1.0625rem, 1.8vw, 1.25rem); color: var(--s-body); margin-bottom: var(--sp-6); }
.sp-hero-cards { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--sp-2); max-width: 980px; }
.sp-glass {
    display: flex; flex-direction: column; gap: 6px;
    padding: var(--sp-4);
    border-radius: var(--r-xl);
    background: var(--white);
    border: 1px solid var(--s-line);
    box-shadow: var(--shadow-md);
}
.sp-glass--main {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF4EE 100%);
    border-color: rgba(232,64,16,0.28);
}
.sp-glass h2 { font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; }
.sp-glass > p:not(.sp-label):not(.sp-fine):not(.sp-hero-price):not(.sp-glass-offer) { color: var(--s-body); margin-bottom: var(--sp-2); }
/* Custom builds: the one-line offer, read before the details */
.sp-glass-offer { font-weight: 600; color: var(--s-text); line-height: 1.45; }
.sp-hero-price { font-size: 2.5rem; font-weight: 800; color: var(--s-text); letter-spacing: -0.03em; line-height: 1.1; }
.sp-hero-price span { font-size: 1rem; font-weight: 500; color: var(--s-muted); letter-spacing: 0; }
.sp-hero-price--text { font-size: 1.5rem; }
.sp-start { display: flex; gap: 10px; margin-top: var(--sp-3); }
.sp-start select { flex: 1; min-width: 0; }
.sp-glass .sp-btn--ghost { margin-top: auto; align-self: flex-start; }
.sp-ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: var(--sp-5); }
.sp-ticks li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--s-body); }
.sp-ticks li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--s-good);
    background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23047857' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Form controls */
body.sales select,
body.sales input[type=text],
body.sales input[type=email],
body.sales input[type=tel],
body.sales input[type=url],
body.sales textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--s-line-2);
    background: var(--white);
    color: var(--s-text);
    font-size: 1rem;
}
body.sales textarea { min-height: 96px; resize: vertical; }
body.sales select { appearance: none; -webkit-appearance: none; padding-right: 40px;
    background: var(--white) no-repeat right 14px center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233D3D4E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
body.sales input::placeholder, body.sales textarea::placeholder { color: #8A8AA0; }
body.sales input:focus, body.sales select:focus, body.sales textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,22,40,0.10); }
body.sales [aria-invalid="true"] { border-color: var(--s-stop) !important; }

/* ── Plan cards ─────────────────────────────────── */
.sp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.sp-plan {
    position: relative;
    display: flex; flex-direction: column;
    padding: var(--sp-4) var(--sp-3);
    border-radius: var(--r-xl);
    background: var(--s-panel);
    border: 1px solid var(--s-line);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: calc(var(--nav-h) + 16px);
}
.sp-plan-tag { position: absolute; top: -11px; left: var(--sp-3); background: var(--ink); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.sp-plan h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
/* A short subtitle under a pack name, to tell similar packs apart */
.sp-plan-sub { font-size: 0.9375rem; font-weight: 600; color: var(--s-body); margin: -4px 0 10px; }
.sp-plan-lead { color: var(--s-muted); font-size: 0.9375rem; margin-bottom: var(--sp-3); }
.sp-plan ul { display: grid; gap: 10px; margin-bottom: var(--sp-3); }
.sp-connects { margin: 0 0 var(--sp-3); }
.sp-connects .sp-label { display: block; margin-bottom: 8px; }
.sp-plan .sp-connects ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.sp-plan .sp-connects li {
    padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; line-height: 1.4;
    color: var(--ink); background: var(--warm-100); border: 1px solid var(--s-line);
}
.sp-plan .sp-connects li::before { display: none; }
.sp-plan-plus {
    margin: 0 0 var(--sp-3); padding: 8px 12px; border-radius: var(--r-md);
    background: #FFF4EE; border: 1px solid rgba(232,64,16,0.22);
    font-size: 0.8125rem; font-weight: 600; color: var(--orange-h); line-height: 1.45;
}
.sp-plan li { position: relative; padding-left: 18px; font-size: 0.9375rem; line-height: 1.5; color: var(--s-body); }
.sp-plan li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: 0.7; }
.sp-plan-bottom { margin-top: auto; }
.sp-plan-price { font-size: 2.125rem; font-weight: 800; color: var(--s-text); letter-spacing: -0.03em; line-height: 1.15; margin-top: 4px; }
.sp-plan-price span { font-size: 0.9375rem; font-weight: 500; color: var(--s-muted); letter-spacing: 0; }
.sp-plan-save { font-size: 0.8125rem; color: var(--s-good); font-weight: 600; margin-top: 4px; }
.sp-plan-not { font-size: 0.8125rem; color: var(--s-muted); border-top: 1px solid var(--s-line); padding-top: 12px; margin-top: 14px; }
.sp-plan-not strong { color: var(--s-body); font-weight: 600; }
.sp-plan .sp-btn { width: 100%; margin-top: var(--sp-3); }

/* Highlight a pack after the chooser (or a link) jumps to it */
@keyframes sp-flash {
    0%   { box-shadow: 0 0 0 0 rgba(232,64,16,0.45), var(--shadow-md); }
    50%  { box-shadow: 0 0 0 12px rgba(232,64,16,0), var(--shadow-lg); }
    100% { box-shadow: 0 0 0 0 rgba(232,64,16,0), var(--shadow-md); }
}
.sp-plan:focus { outline: none; }
.sp-plan.is-flash {
    outline: 3px solid var(--orange); outline-offset: 4px;
    animation: sp-flash 1.1s var(--ease) 3;
}
.sp-plan.is-flash::after {
    content: 'Your pick'; position: absolute; top: -12px; right: var(--sp-3);
    background: var(--orange); color: #fff; font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
@media (prefers-reduced-motion: reduce) { .sp-plan.is-flash { animation: none; } }

/* "Which pack is for me?" chooser */
.sp-pick { margin: 0 0 var(--sp-6); }
.sp-pick > .sp-label { display: block; margin-bottom: 10px; }
.sp-pick ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sp-pick a {
    display: flex; flex-direction: column; justify-content: space-between; gap: 6px; height: 100%;
    padding: 14px 16px; border-radius: var(--r-lg);
    background: var(--white); border: 1px solid var(--s-line); box-shadow: var(--shadow-sm);
    transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.sp-pick a:hover { border-color: var(--ink); transform: translateY(-1px); }
.sp-pick span { font-size: 0.9375rem; color: var(--s-text); line-height: 1.4; font-weight: 600; }
.sp-pick b { font-size: 0.8125rem; color: var(--orange-h); font-weight: 700; }
.sp-pick b::after { content: ' \2192'; }

/* Numbered "What happens" steps inside a pack */
.sp-steps-label { display: block; margin: 0 0 10px; }
.sp-plan .sp-plan-steps { counter-reset: st; display: grid; gap: 10px; margin: 0 0 var(--sp-3); }
.sp-plan .sp-plan-steps li { counter-increment: st; padding-left: 30px; }
.sp-plan .sp-plan-steps li::before {
    content: counter(st); left: 0; top: 1px; width: 20px; height: 20px; opacity: 1;
    display: grid; place-items: center; border-radius: 50%;
    background: var(--ink); color: #fff; font-size: 0.6875rem; font-weight: 700;
}

/* The Full System: a wide "everything" card below the grid */
.sp-plan--everything {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--sp-6);
    align-items: center;
    margin-top: var(--sp-4);
    padding: var(--sp-5);
    border: 1.5px solid var(--ink);
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F5FA 100%);
    box-shadow: var(--shadow-lg);
}
.sp-plan--everything .sp-plan-tag { background: var(--ink); }
.sp-plan--everything h3 { font-size: 1.5rem; }
.sp-plan--everything .sp-connects { margin-bottom: 0; }
.sp-plan .sp-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0 0 var(--sp-3); }
.sp-plan .sp-includes li { padding-left: 26px; }
.sp-plan .sp-includes li::before {
    left: 0; top: 2px; width: 16px; height: 16px; opacity: 1; border-radius: 50%;
    border: 1.5px solid var(--s-good);
    background: var(--white) no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23047857' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sp-includes b { display: block; color: var(--s-text); font-size: 0.9375rem; line-height: 1.35; }
.sp-includes span { display: block; font-size: 0.8125rem; color: var(--s-muted); line-height: 1.45; margin-top: 2px; }

/* Website pack: a wide "start here" card above the grid */
.sp-plan--site {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--sp-6);
    align-items: center;
    margin-bottom: var(--sp-4);
    padding: var(--sp-5) var(--sp-5);
    border: 1px solid rgba(232,64,16,0.30);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF6F1 100%);
    box-shadow: var(--shadow-md);
}
.sp-plan--site .sp-plan-tag { background: var(--s-cta); }
.sp-plan--site h3 { font-size: 1.5rem; }
.sp-plan--site ul { margin-bottom: 0; }
.sp-site-buy { background: var(--white); border: 1px solid var(--s-line); border-radius: var(--r-lg); padding: var(--sp-4); }
.sp-site-buy .sp-plan-price { margin-bottom: 2px; }
.sp-site-form { display: grid; gap: 10px; margin-top: var(--sp-3); }
.sp-site-form label { font-size: 0.875rem; font-weight: 600; color: var(--s-text); }
.sp-site-form .sp-btn { margin-top: 4px; }

/* ── Order: visual + steps ──────────────────────── */
.sp-order { padding: var(--sp-5) 0 var(--sp-12); scroll-margin-top: var(--nav-h); }
.sp-order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--sp-8); align-items: start; }
/* Left column: title on top, then the card. It stretches to the full height of
   the form beside it so the card has room to stay pinned while you scroll. */
.sp-order-side { align-self: stretch; }
.sp-visual { position: sticky; top: calc(var(--nav-h) + 24px); }
.sp-visual-card {
    border-radius: var(--r-xl);
    border: 1px solid var(--s-line);
    padding: var(--sp-4);
    box-shadow: var(--shadow-md);
    background:
        radial-gradient(500px 260px at 50% 0%, rgba(232,64,16,0.08), transparent 70%),
        var(--white);
}
.sp-visual-name { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; color: var(--s-text); letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 6px; }
.sp-visual-lead { color: var(--s-muted); min-height: 3em; }
.sp-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin: 28px 0 var(--sp-3); position: relative; }
.sp-flow::before { content: ''; position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: rgba(10,22,40,0.10); }
.sp-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sp-flow-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(10,22,40,0.16); background: var(--white); display: grid; place-items: center; position: relative; z-index: 1; transition: all var(--dur-mid) var(--ease); }
.sp-flow-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: rgba(10,22,40,0.16); transition: background var(--dur-mid); }
.sp-flow-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8A8AA0; transition: color var(--dur-mid); }
.sp-flow li.on .sp-flow-dot { border-color: var(--orange); box-shadow: 0 0 0 6px rgba(232,64,16,0.12); }
.sp-flow li.on .sp-flow-dot::after { background: var(--orange); }
.sp-flow li.on .sp-flow-label { color: var(--s-text); }
.sp-visual-list { display: grid; gap: 10px; }
.sp-visual-list li { display: flex; gap: 10px; font-size: 0.9375rem; color: var(--s-body); line-height: 1.5; }
.sp-visual-list li::before { content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--s-good);
    background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23047857' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sp-visual-own { margin-top: var(--sp-3); padding-top: 20px; border-top: 1px solid var(--s-line); }

.sp-order-head { margin-bottom: var(--sp-3); }

/* Step tracker: sticks under the nav while you fill in the form */
.sp-progress {
    position: sticky; top: calc(var(--nav-h) + 8px); z-index: 20;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px;
    margin: 0 0 var(--sp-3); padding: 6px;
    background: rgba(255,255,255,0.94); border: 1px solid var(--s-line); border-radius: 999px;
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.sp-progress[hidden] { display: none; }
.sp-progress a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 6px 8px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: var(--s-muted);
    transition: background var(--dur-fast), color var(--dur-fast);
}
.sp-progress a:hover { color: var(--ink); }
.sp-progress-n {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; font-size: 0.6875rem; font-weight: 700;
    border: 1.5px solid var(--s-line-2); color: var(--s-muted); background: var(--white);
}
.sp-progress li.is-current a { background: var(--ink); color: #fff; }
.sp-progress li.is-current .sp-progress-n { border-color: #fff; color: var(--ink); background: #fff; }
.sp-progress li.is-done .sp-progress-n { border-color: var(--s-good); background: var(--s-good); color: transparent; position: relative; }
.sp-progress li.is-done .sp-progress-n::after {
    content: ''; position: absolute; inset: 0;
    background: no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sp-progress li.is-done a { color: var(--s-text); }

/* "Next" button at the end of each step */
.sp-next-row { margin-top: var(--sp-3); }
/* Next button with a quiet helper line beside it */
.sp-next-row--split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.sp-next-row--split .sp-help { margin: 0; }
.sp-next {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 10px 18px; border-radius: 999px;
    border: 1.5px solid var(--ink); background: var(--white); color: var(--ink);
    font-size: 0.9375rem; font-weight: 600; cursor: pointer;
    transition: background var(--dur-fast), color var(--dur-fast);
}
.sp-next:hover { background: var(--ink); color: #fff; }
.sp-step:focus, .sp-summary:focus { outline: none; }
/* Leave room for the sticky nav and step tracker when jumping to a step */
.sp-order .sp-step, .sp-order .sp-summary { scroll-margin-top: calc(var(--nav-h) + 84px); }
.sp-order-head p { margin-top: 6px; font-size: 1.0625rem; }
.sp-step { border: 0; padding: 0; margin: 0 0 var(--sp-6); min-width: 0; scroll-margin-top: calc(var(--nav-h) + 16px); }
.sp-step legend { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; font-weight: 700; color: var(--s-text); margin-bottom: 6px; padding: 0; }
.sp-step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: inline-grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: #fff; }
.sp-help { font-size: 0.875rem; color: var(--s-muted); margin-bottom: var(--sp-2); }
.sp-group { margin-bottom: var(--sp-3); }
.sp-group > .sp-label { display: block; margin-bottom: 10px; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip { position: relative; }
.sp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sp-chip span {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
    border-radius: 999px; border: 1px solid var(--s-line-2); background: var(--white);
    font-size: 0.875rem; color: var(--s-body); cursor: pointer; user-select: none;
    transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.sp-chip span:hover { border-color: var(--ink); }
.sp-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.sp-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.sp-options { display: grid; gap: 8px; }
.sp-option { position: relative; display: block; cursor: pointer; }
.sp-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sp-option-body {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center;
    padding: 13px 18px; border-radius: var(--r-md);
    border: 1px solid var(--s-line); background: var(--white);
    transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.sp-option:hover .sp-option-body { border-color: var(--s-line-2); }
.sp-option-radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #9A9AAE; display: grid; place-items: center; }
.sp-option-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.sp-option input:checked + .sp-option-body { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.sp-option input:checked + .sp-option-body .sp-option-radio { border-color: var(--ink); }
.sp-option input:checked + .sp-option-body .sp-option-radio::after { background: var(--ink); }
.sp-option input:focus-visible + .sp-option-body { outline: 2px solid var(--ink); outline-offset: 3px; }
.sp-option-name { display: block; color: var(--s-text); font-weight: 600; }
.sp-option-desc { display: block; font-size: 0.8125rem; color: var(--s-muted); margin-top: 2px; }
.sp-option-price { text-align: right; color: var(--s-text); font-weight: 600; white-space: nowrap; }
.sp-option-price small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--s-muted); }
.sp-fit { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.sp-fit::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sp-fit[hidden] { display: none; }
.sp-fit--good { color: var(--s-good); }
.sp-fit--check { color: var(--s-warn); }
.sp-fit--skip { color: var(--s-stop); }

.sp-pq { margin-top: var(--sp-3); padding: var(--sp-3); border-radius: var(--r-md); border: 1px dashed var(--s-line-2); background: var(--white); }
.sp-pq[hidden] { display: none; }
.sp-pq + .sp-pq { margin-top: 10px; }
.sp-pq .sp-field + .sp-field { margin-top: var(--sp-2); }
.sp-fitpanel { margin-top: var(--sp-3); display: grid; gap: 8px; }
.sp-fitpanel:empty { display: none; }
.sp-fitnote { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--s-panel-2); font-size: 0.875rem; line-height: 1.5; color: var(--s-body); }
.sp-fitnote b { flex-shrink: 0; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; }
.sp-fitnote--good b { color: var(--s-good); }
.sp-fitnote--check b { color: var(--s-warn); }
.sp-fitnote--skip b { color: var(--s-stop); }

.sp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); align-items: end; }
.sp-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--s-text); margin-bottom: 6px; }
.sp-field label small { font-weight: 400; color: var(--s-muted); }
.sp-field--wide { grid-column: 1 / -1; }
.sp-err { display: block; font-size: 0.8125rem; color: var(--s-stop); margin-top: 6px; }
.sp-err:empty { display: none; }
.sp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Summary */
.sp-summary { border-radius: var(--r-xl); border: 1px solid var(--s-line); background: var(--white); box-shadow: var(--shadow-md); padding: var(--sp-4); scroll-margin-top: calc(var(--nav-h) + 16px); }
.sp-summary h3 { margin-bottom: var(--sp-3); }
.sp-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; font-size: 0.9375rem; }
.sp-sum-row dt { color: var(--s-body); }
.sp-sum-row dt small { display: block; font-size: 0.8125rem; color: var(--s-muted); }
.sp-sum-row dd { color: var(--s-text); font-weight: 600; text-align: right; white-space: nowrap; }
.sp-sum-row dd small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--s-muted); }
.sp-sum-row[hidden] { display: none; }
.sp-sum-save dd { color: var(--s-good); }
.sp-sum-rule { border: 0; border-top: 1px solid var(--s-line); margin: 8px 0; }
.sp-sum-due dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--s-muted); }
.sp-sum-today dd { font-size: 1.75rem; letter-spacing: -0.02em; }
.sp-check { display: flex; gap: 12px; align-items: flex-start; margin: var(--sp-3) 0 var(--sp-2); font-size: 0.875rem; color: var(--s-body); cursor: pointer; }
.sp-check input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--ink); }
.sp-senderr { display: none; margin-bottom: var(--sp-2); padding: 12px 14px; border-radius: 10px; background: #FFF1EB; color: #9A3412; font-size: 0.875rem; }
.sp-senderr a { text-decoration: underline; }

/* Confirmation */
.sp-done { border-radius: var(--r-xl); border: 1px solid var(--s-line); background: var(--white); box-shadow: var(--shadow-md); padding: var(--sp-5) var(--sp-4); }
.sp-done h2 { margin: 8px 0 10px; }
.sp-done-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--s-text); font-size: 1rem; }
.sp-done ol { counter-reset: n; display: grid; gap: 14px; margin: var(--sp-4) 0; }
.sp-done ol li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--s-body); }
.sp-done ol li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: #fff; }

/* Mobile order bar */
.sp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: none; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96); border-top: 1px solid var(--s-line);
    box-shadow: 0 -8px 24px rgba(10,22,40,0.06);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform var(--dur-mid) var(--ease);
}
.sp-bar.show { transform: translateY(0); }
.sp-bar-name { display: block; color: var(--s-text); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.sp-bar-due { display: block; color: var(--s-muted); font-size: 0.8125rem; }
.sp-bar .sp-btn { min-height: 44px; padding: 10px 18px; flex-shrink: 0; }

/* ── How it works ───────────────────────────────── */
.sp-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-2); counter-reset: how; }
.sp-how li { counter-increment: how; padding: var(--sp-4) var(--sp-3); border-radius: var(--r-xl); border: 1px solid var(--s-line); background: var(--white); box-shadow: var(--shadow-sm); }
.sp-how li::before { content: '0' counter(how); display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; color: var(--orange-h); margin-bottom: var(--sp-2); }
.sp-how h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.sp-how p { font-size: 0.9375rem; color: var(--s-muted); }

/* ── Compare table ──────────────────────────────── */
.sp-table-wrap { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--s-line); background: var(--white); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.sp-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 0.9375rem; }
.sp-table th, .sp-table td { padding: 14px 16px; border-bottom: 1px solid var(--s-line); text-align: center; }
.sp-table thead th { font-size: 0.8125rem; color: var(--s-text); font-weight: 700; background: var(--warm-100); vertical-align: bottom; }
.sp-table tbody th { text-align: left; font-weight: 400; color: var(--s-body); }
.sp-table td { color: var(--s-muted); }
.sp-table tr:last-child th, .sp-table tr:last-child td { border-bottom: 0; }
.sp-yes { color: var(--s-good); font-weight: 700; }
.sp-table .sp-price-row td, .sp-table .sp-price-row th { color: var(--s-text); font-weight: 700; background: var(--warm-50); }
.sp-table .sp-price-row td { white-space: nowrap; }

/* ── FAQ ────────────────────────────────────────── */
.sp-faq { max-width: 820px; }
.sp-faq details { border-bottom: 1px solid var(--s-line); }
.sp-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; color: var(--s-text); font-weight: 600; font-size: 1.0625rem; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--s-muted); transition: transform var(--dur-fast); }
.sp-faq details[open] summary::after { transform: rotate(45deg); }
.sp-faq details p { color: var(--s-muted); padding: 0 0 20px; max-width: 68ch; }
.sp-faq details a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Who builds it: founder + proof ──────────────── */
.sp-who-card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--sp-6);
    align-items: center;
    background: var(--white); border: 1px solid var(--s-line); border-radius: var(--r-2xl);
    padding: var(--sp-6); box-shadow: var(--shadow-md);
}
.sp-who-card::before {
    content: ''; position: absolute; inset: 0 auto auto 0; width: 520px; height: 300px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(232,64,16,0.07), transparent);
    transform: translate(-30%, -40%);
}
.sp-who-founder { position: relative; }
.sp-who-founder h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); letter-spacing: -0.025em; margin: 10px 0 var(--sp-4); max-width: 20ch; }
.sp-who-person { display: flex; align-items: center; gap: 14px; }
.sp-who-avatar, .sp-who-photo {
    width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--s-line);
}
.sp-who-avatar {
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--ink) 0%, #1E3A6E 100%);
    color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
}
.sp-who-name { font-weight: 700; color: var(--s-text); font-size: 1.0625rem; line-height: 1.3; }
.sp-who-role { font-size: 0.875rem; color: var(--s-muted); }
.sp-who-quote { margin-top: var(--sp-3); padding-left: var(--sp-2); border-left: 3px solid var(--orange); font-size: 1.0625rem; line-height: 1.65; color: var(--s-body); max-width: 46ch; }
.sp-who-link {
    display: inline-block; margin-top: var(--sp-3); font-weight: 600; color: var(--orange-h);
    text-decoration: underline; text-decoration-color: rgba(204,50,9,0.3); text-underline-offset: 4px;
}
.sp-who-link:hover { text-decoration-color: currentColor; }
.sp-who-proof { position: relative; display: grid; gap: 12px; }
.sp-who-proof li {
    display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start;
    padding: var(--sp-2) var(--sp-3) var(--sp-2) var(--sp-2);
    border-radius: var(--r-lg); background: var(--warm-50); border: 1px solid var(--s-line);
}
.sp-who-icon {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: var(--white); border: 1px solid var(--s-line); color: var(--ink);
}
.sp-who-icon--badge { background: #FFF4EE; border-color: rgba(232,64,16,0.25); color: var(--orange-h); }
.sp-who-app { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 12px rgba(23,105,66,0.22); }
.sp-who-title { font-weight: 700; color: var(--s-text); font-size: 0.9375rem; line-height: 1.35; }
.sp-who-proof p:not(.sp-who-title) { font-size: 0.875rem; color: var(--s-muted); line-height: 1.55; margin-top: 2px; }
.sp-who-proof a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Related links ──────────────────────────────── */
.sp-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.sp-links ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sp-links a { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--s-line-2); background: var(--white); font-size: 0.875rem; color: var(--s-body); transition: border-color var(--dur-fast), color var(--dur-fast); }
.sp-links a:hover { border-color: var(--ink); color: var(--ink); }

/* ── Calls to action ────────────────────────────── */
.sp-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: var(--sp-5); }

/* ── Checkout header and footer (order and paid pages) ── */
.sp-checkout-links { display: flex; align-items: center; gap: 22px; font-size: 0.875rem; }
.sp-checkout-links a { color: var(--s-body); white-space: nowrap; transition: color var(--dur-fast); }
.sp-checkout-links a:hover { color: var(--ink); }
.sp-show-sm { display: none; }
.sp-order h1 { font-size: clamp(2rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.sp-help a, .sp-done a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body.sales footer.sp-mini-foot { background: var(--white); border-top: 1px solid var(--s-line); padding: var(--sp-4) 0; color: var(--s-muted); font-size: 0.8125rem; }
.sp-mini-foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.sp-mini-foot a { color: var(--s-muted); text-decoration: underline; text-underline-offset: 3px; }
.sp-mini-foot a:hover { color: var(--ink); }
.sp-mini-foot nav, .sp-mini-foot ul { all: unset; display: flex; flex-wrap: wrap; gap: 16px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
    .sp-pick ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sp-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .sp-plan--site, .sp-plan--everything { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); padding: var(--sp-4) var(--sp-3); }
    .sp-plans { grid-template-columns: minmax(0, 1fr); }
    .sp-who-card { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); padding: var(--sp-4) var(--sp-3); }
    .sp-visual-card { padding: var(--sp-3); }
    .sp-visual-lead { min-height: 0; }
    .sp-flow { margin: var(--sp-3) 0 var(--sp-2); }
    .sp-visual-own { display: none; }
    .sp-order-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
    .sp-order-head { margin-bottom: 0; }
    .sp-visual { position: static; margin-top: var(--sp-3); }
    /* One column: until a pack is chosen the card has nothing to show, so it
       steps aside and the pack choices sit right under the title. */
    .sp-order:not(:has(input[name="pack"]:checked)) .sp-visual { display: none; }
    .sp-bar { display: flex; }
    body.sales .sp-mini-foot { padding-bottom: calc(var(--sp-4) + 80px); }
}
@media (max-width: 680px) {
    .sp-section { padding: var(--sp-8) 0; }
    .sp-hero { padding: var(--sp-8) 0 var(--sp-6); }
    .sp-hero-cards, .sp-plans, .sp-how, .sp-links { grid-template-columns: minmax(0, 1fr); }
    .sp-glass { padding: var(--sp-3); }
    .sp-start { flex-direction: column; }
    .sp-site-buy { padding: var(--sp-3); }
    .sp-pick ul, .sp-plan .sp-includes { grid-template-columns: minmax(0, 1fr); }
    .sp-checkout-email, .sp-hide-sm { display: none; }
    .sp-order { padding-top: var(--sp-3); }
    .sp-progress { top: calc(var(--nav-h) + 4px); padding: 6px; gap: 2px; }
    .sp-progress a { flex-direction: column; gap: 3px; padding: 4px 2px; font-size: 0.6875rem; }
    .sp-show-sm { display: inline; }
    .sp-fields { grid-template-columns: minmax(0, 1fr); }
    .sp-flow-label { font-size: 0.5625rem; letter-spacing: 0.06em; }
    .sp-option-body { grid-template-columns: 22px minmax(0, 1fr); }
    .sp-option-price { grid-column: 2; text-align: left; }
    .sp-option-price small { display: inline; margin-left: 6px; }
    .sp-visual-card { padding: var(--sp-4) var(--sp-3); }
    .sp-summary { padding: var(--sp-3); }
}
@media (prefers-reduced-motion: reduce) {
    .sp-flow-dot, .sp-bar, .sp-btn { transition: none; }
    .sp-btn--light:hover { transform: none; }
}
