/* Shared page styles — Beam & Spark pages (hero, steps, light forms) */
[hidden] { display: none !important; }
.beam-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.beam-hero h1 { font-size: clamp(3.2rem, 9.5vw, 8.6rem); letter-spacing: -0.055em; line-height: .92; margin: clamp(36px, 5vw, 64px) 0 0; }
.beam-hero .lede { font-size: 1.2rem; max-width: 46ch; color: #3B3A37; margin: 40px 0 0; }
.beam-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.beam-facts div { padding: 20px 20px 0 0; }
.beam-facts div + div { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.beam-facts strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 500; letter-spacing: -0.04em; margin: 8px 0 4px; }
.beam-facts span:last-child { color: var(--stone); font-size: .95rem; }

/* Calculator layout */
.calc { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.step { padding: 28px 0 36px; border-top: 1px solid var(--ink); }
.step-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.step-head h3 { font-size: 1.6rem; letter-spacing: -0.03em; }

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.product { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.product:hover { border-color: var(--ink); }
.product input { position: absolute; opacity: 0; pointer-events: none; }
.product-name { font-weight: 500; font-size: 1.12rem; letter-spacing: -0.02em; padding-inline-end: 22px; }
.product-inc { font-size: .88rem; color: var(--stone); }
.product-from { margin-top: 6px; }
.product::after { content: ""; position: absolute; top: 18px; inset-inline-end: 16px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--stone-light); }
.product.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.product.is-on .product-inc, .product.is-on .product-from { color: var(--stone-light); }
.product.is-on::after { border-color: var(--signal); background: var(--signal); }
.product:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.range-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.range-row output { font-size: 2.2rem; font-weight: 500; letter-spacing: -0.04em; min-width: 2ch; text-align: end; }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; }
.seg label { padding: 16px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: background .25s, color .25s; position: relative; }
.seg label + label { border-inline-start: 1px solid var(--ink); }
.seg input { position: absolute; opacity: 0; }
.seg strong { font-weight: 500; font-size: 1.05rem; }
.seg span { font-size: .86rem; color: var(--stone); }
.seg label.is-on { background: var(--ink); color: var(--paper); }
.seg label.is-on span { color: var(--stone-light); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: -4px; }

.checks { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .25s; }
.check:hover, .check.is-on { border-color: var(--ink); }
.check input { position: absolute; opacity: 0; }
.check .box { width: 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 6px; display: grid; place-items: center; }
.check.is-on .box { background: var(--ink); }
.check.is-on .box::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.check:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.check-text { font-size: .98rem; }

.spark-offer { border: 1px solid var(--ink); border-radius: 16px; padding: 20px; background: var(--signal); }
.spark-offer .check { border: 0; padding: 0; }
.spark-offer .check-text strong { font-weight: 600; }
.spark-offer p { margin: 10px 0 0 36px; font-size: .9rem; }

.pay-panel { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.pay-panel p { margin: 10px 0 0; font-size: .9rem; color: #3B3A37; }
.pay-panel .check { border: 0; padding: 0; }
.pay-whop { background: var(--paper); }
.pay-whop h4 { font-size: 1.25rem; letter-spacing: -0.02em; margin: 8px 0 0; }

/* Summary */
.summary { position: sticky; top: 96px; background: var(--ink); color: var(--paper); border-radius: 20px; padding: 30px 28px 26px; }
.summary h3 { font-size: 1.5rem; letter-spacing: -0.03em; margin: 10px 0 20px; }
.summary ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.summary li, .summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: .94rem; }
.summary li span:first-child { color: #CFCCC5; }
.summary .row { font-weight: 500; }
.summary .row.discount span:last-child { color: var(--signal); }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 6px; }
.summary .total strong { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -0.05em; color: var(--signal); }
.summary .note { font-size: .82rem; color: var(--stone-light); margin: 14px 0 20px; line-height: 1.5; }
.summary .btn { width: 100%; justify-content: center; }
.saving { font-size: .86rem; color: var(--stone-light); margin: 12px 0 0; }

/* Enquiry form (light) */
.enquiry-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 72px); }
.light-form fieldset { border: 0; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--ink); padding-top: 22px; }
.light-form legend { float: left; width: 100%; font-size: 1.4rem; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 18px; }
.light-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; clear: both; }
.light-form .field input, .light-form .field select, .light-form .field textarea { color: var(--ink); border-bottom-color: var(--line); }
.light-form .field input:focus, .light-form .field select:focus, .light-form .field textarea:focus { border-color: var(--ink); }
.light-form .field input::placeholder, .light-form .field textarea::placeholder { color: var(--stone-light); }
.light-form .req { color: var(--stone); }
.handle-link { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: .72rem; color: var(--stone); text-decoration: underline; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: .92rem; margin: 6px 0 24px; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--ink); margin: 2px 0 0; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-size: .95rem; }
.form-status.ok { background: var(--signal); color: var(--ink); }
.form-status.err { background: #F4CCCC; color: var(--ink); }
.disclaimer { border-inline-start: 3px solid var(--ink); padding-block: 4px; padding-inline: 18px 0; color: #3B3A37; font-size: .95rem; max-width: 60ch; }

.mobile-total { display: none; }
@media (max-width: 960px) {
  .calc, .enquiry-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mobile-total { display: flex; align-items: center; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px; padding-inline-start: 22px; transform: translateY(140%); transition: transform .35s var(--ease); }
  .mobile-total.show { transform: none; }
  .mobile-total strong { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; color: var(--signal); margin-inline-end: auto; }
  .mobile-total .btn { height: 42px; padding: 0 18px; font-size: .85rem; }
}
@media (max-width: 600px) {
  .products, .light-form .row, .beam-facts { grid-template-columns: 1fr; }
  .beam-facts div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .seg { grid-template-columns: 1fr; }
  .seg label + label { border-inline-start: 0; border-top: 1px solid var(--ink); }
  .check { grid-template-columns: 22px 1fr; }
  .check-price { grid-column: 2; }
}

/* Spark page */
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.inc { padding: 26px 24px 30px 0; }
.inc + .inc { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.inc h3 { font-size: 1.45rem; letter-spacing: -0.03em; margin: 22px 0 12px; }
.inc p { color: var(--stone); font-size: .97rem; margin: 0; }
.addon-strip { margin-top: 36px; display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; padding: 20px 24px; border-radius: 16px; background: var(--paper-2); }
.addon-strip p { margin: 0; flex: 1; min-width: 240px; }
.phases--dark { border-top-color: var(--paper); }
.phases--dark .phase + .phase { border-inline-start-color: var(--line-dark); }
.phases--dark .phase p { color: var(--stone-light); }

.intake-side { align-self: start; position: sticky; top: 96px; }
.intake-index { list-style: none; counter-reset: ix; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.intake-index li { counter-increment: ix; border-bottom: 1px solid var(--line); }
.intake-index a { display: flex; gap: 14px; padding: 12px 0; color: var(--ink); }
.intake-index a::before { content: "0" counter(ix); color: var(--stone); }
.intake-index a:hover { color: var(--stone); }
.light-form legend .label { margin-inline-end: 10px; vertical-align: middle; }
.fs-note { font-size: .9rem; color: var(--stone); margin: 0 0 16px; clear: both; }
.hint { font-family: var(--sans); font-style: normal; text-transform: none; letter-spacing: 0; color: var(--stone-light); margin-inline-start: 6px; }
.light-form .field > .label { display: block; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.pills label:hover span { border-color: var(--ink); }
.pills input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pills input:disabled:not(:checked) + span { opacity: .4; cursor: not-allowed; }
.pills input:disabled:checked + span { opacity: .75; }
.pills input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

@media (max-width: 960px) {
  .inc-grid { grid-template-columns: 1fr 1fr; }
  .inc:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .inc:nth-child(n+3) { border-top: 1px solid var(--line); }
  .intake-side { position: static; }
}
@media (max-width: 600px) {
  .inc-grid { grid-template-columns: 1fr; }
  .inc + .inc { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .intake-index { display: none; }
}

/* Summary: secondary action + tax note */
.summary .btn + .btn { margin-top: 10px; }
.summary .summary-alt { color: var(--paper); border-color: var(--line-dark); }
.summary .summary-alt:hover { background: var(--paper); color: var(--ink); }
.summary .tax-note { margin-bottom: 0; color: var(--signal); }

/* Checkout */
.checkout { padding-top: clamp(48px, 7vw, 96px); }
.order-lines li { align-items: flex-start; }
.order-lines li > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.order-lines strong { font-weight: 500; color: var(--paper); }
.order-lines small { font-size: .82rem; color: var(--stone-light); line-height: 1.5; }
.order-lines li > span:last-child { white-space: nowrap; }
.opt-note { display: block; font-size: .85rem; color: var(--stone); margin-top: 2px; }
.confirm { border: 1px solid var(--ink); border-radius: 20px; padding: 32px; background: var(--paper); }
.confirm h3 { font-size: 1.8rem; margin: 18px 0 12px; }
.confirm-ref { font-family: var(--mono); font-size: 1.6rem; margin: 4px 0 0; padding: 10px 14px; background: var(--signal); display: inline-block; border-radius: 10px; }
.pay-detail { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.pay-detail p { margin: 6px 0 0; }
.pay-value { font-family: var(--mono); font-size: 1.15rem; direction: ltr; unicode-bidi: isolate; }
.pay-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .95rem; }
.pay-table th, .pay-table td { text-align: start; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pay-table th { width: 34%; font-weight: 500; color: var(--stone); }

/* Glow / Shine pages */
.inc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.inc-grid--3 .inc:nth-child(4) { padding-inline-start: 0; border-inline-start: 0; }
.inc-grid--3 .inc:nth-child(n+4) { border-top: 1px solid var(--line); }
.inc h3 em { font-size: 1em; }
.plan-builder { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.plan-builder .check { border-color: var(--line-dark); color: var(--paper); }
.plan-builder .check:hover, .plan-builder .check.is-on { border-color: var(--paper); }
.plan-builder .check .box { border-color: var(--paper); }
.plan-builder .check.is-on .box { background: var(--paper); }
.plan-builder .check.is-on .box::after { background: var(--ink); }
.plan-builder .opt-note { color: var(--stone-light); }
.builder-foot { border: 1px solid var(--line-dark); border-radius: 20px; padding: 26px; }
.builder-due { font-size: 1.15rem; margin: 0 0 20px; }
.builder-foot .btn { width: 100%; justify-content: center; }
.builder-ask { margin: 16px 0 0; font-size: .92rem; color: var(--stone-light); }
@media (max-width: 960px) {
  .inc-grid--3 { grid-template-columns: 1fr 1fr; }
  .inc-grid--3 .inc:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .inc-grid--3 .inc:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
  .inc-grid--3 .inc:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plan-builder { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .inc-grid--3 { grid-template-columns: 1fr; }
  .inc-grid--3 .inc:nth-child(even) { padding-inline-start: 0; border-inline-start: 0; }
  .inc-grid--3 .inc + .inc { border-top: 1px solid var(--line); }
}

/* Spark: pay-now strip */
.commit-strip { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line-dark); border-radius: 20px; padding: 24px 28px; }
.commit-strip p { margin: 6px 0 0; max-width: 52ch; color: var(--stone-light); }
.commit-strip strong { color: var(--paper); font-weight: 500; }

/* Checkout payment methods */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; clear: both; }
.light-form .seg, .light-form .checks { clear: both; }
.pay-grid .pay-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pay-grid .pay-opt:hover { border-color: var(--ink); }
.pay-grid .pay-opt input { position: absolute; opacity: 0; }
.pay-grid .pay-opt strong { font-weight: 500; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 6px; }
.pay-grid .pay-opt span { font-size: .86rem; color: var(--stone); }
.pay-grid .pay-opt.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pay-grid .pay-opt.is-on span { color: var(--stone-light); }
.pay-grid .pay-opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.pay-grid .pay-opt.is-soon { cursor: not-allowed; opacity: .55; border-style: dashed; }
.pay-grid .pay-opt.is-soon:hover { border-color: var(--line); }
.pay-grid .soon { position: absolute; top: 12px; inset-inline-end: 12px; font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; background: var(--paper-2); color: var(--ink); padding: 3px 8px; border-radius: 999px; }
.pay-icon { width: 14px; height: 16px; display: inline-block; vertical-align: -2px; }
#confirm-card .btn { margin-top: 14px; }
@media (max-width: 600px) { .pay-grid { grid-template-columns: 1fr; } }

.addon-strip--domain { margin-top: 12px; background: transparent; border: 1px dashed var(--ink); }
