:root {
  --ink: #171713;
  --muted: #6d6c65;
  --paper: #f3f1eb;
  --card: rgba(255, 255, 252, .76);
  --line: rgba(23, 23, 19, .14);
  --lime: #d9ff55;
  --purple: #6c4cff;
  --orange: #ff7448;
  --shadow: 0 28px 80px rgba(37, 35, 27, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { color: inherit; }
.ambient { position: fixed; border-radius: 50%; filter: blur(1px); pointer-events: none; z-index: -1; }
.ambient-one { width: 380px; height: 380px; background: rgba(217,255,85,.48); top: 110px; right: -170px; }
.ambient-two { width: 280px; height: 280px; background: rgba(108,76,255,.16); bottom: 60px; left: -150px; }

.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.04em; font-size: 19px; }
.brand-mark { width: 31px; height: 31px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 7px; align-items: end; }
.brand-mark i { display: block; background: var(--ink); border-radius: 2px; height: 45%; }
.brand-mark i:nth-child(2) { height: 100%; background: var(--purple); }
.brand-mark i:nth-child(3) { height: 70%; }
.header-links { display: flex; align-items: center; gap: 20px; }
.header-links a { color: var(--muted); font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.header-links a:hover { color: var(--purple); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #83bd00; box-shadow: 0 0 0 4px rgba(131,189,0,.12); }

.intro { padding: 76px 0 62px; max-width: 900px; position: relative; }
.eyebrow { margin: 0 0 18px; font: 500 11px/1 "DM Mono", monospace; letter-spacing: .12em; color: var(--muted); }
.intro h1 { margin: 0; font-size: clamp(58px, 8.5vw, 112px); line-height: .87; letter-spacing: -.075em; font-weight: 800; }
.intro h1 span { color: var(--purple); }
.lede { max-width: 590px; margin: 34px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.6; }
.rate-pill { position: absolute; right: 0; bottom: 72px; transform: rotate(-4deg); background: var(--lime); border: 1px solid var(--ink); border-radius: 50%; width: 145px; height: 145px; display: grid; place-content: center; text-align: center; font: 500 11px/1.4 "DM Mono", monospace; text-transform: uppercase; box-shadow: 8px 8px 0 var(--ink); }
.rate-pill span { display: block; font: 800 30px/1 "Manrope", sans-serif; letter-spacing: -.05em; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr); gap: 18px; align-items: start; }
.builder-panel, .checkout-panel { background: var(--card); border: 1px solid rgba(23,23,19,.11); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.builder-panel { border-radius: 30px; padding: 38px; }
.checkout-panel { border-radius: 30px; padding: 32px; position: sticky; top: 18px; }
.step-heading { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.step-heading.compact { margin-bottom: 24px; }
.step-number { font: 500 10px/27px "DM Mono", monospace; min-width: 29px; height: 29px; text-align: center; border: 1px solid var(--ink); border-radius: 50%; }
h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.step-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

.model-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.model-card { position: relative; min-height: 142px; border: 1px solid var(--line); background: rgba(255,255,255,.55); border-radius: 18px; padding: 15px 13px; text-align: left; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; overflow: hidden; }
.model-card:hover { transform: translateY(-3px); border-color: rgba(23,23,19,.35); }
.model-card[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 12px 24px rgba(23,23,19,.16); }
.model-card .check { position: absolute; top: 12px; right: 12px; width: 19px; height: 19px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 10px; opacity: .35; }
.model-card[aria-checked="true"] .check { opacity: 1; background: var(--lime); color: var(--ink); border-color: var(--lime); }
.model-symbol { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 20px; font: 600 12px "DM Mono", monospace; background: var(--model-color); color: var(--ink); }
.model-card strong { display: block; font-size: 12px; letter-spacing: -.02em; }
.model-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-family: "DM Mono", monospace; }
.model-card[aria-checked="true"] small { color: rgba(255,255,255,.55); }
.ultra-note { margin-top: 12px; border: 1px solid rgba(108,76,255,.25); background: rgba(108,76,255,.07); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 11px; }
.ultra-bolt { width: 29px; height: 29px; border-radius: 50%; background: var(--purple); color: white; display: grid; place-items: center; font-size: 17px; }
.ultra-note strong { display: block; font-size: 11px; }
.ultra-note p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.ultra-note small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.ultra-status { font: 500 8px "DM Mono", monospace; color: var(--purple); letter-spacing: .08em; }

.minutes-section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.currency-control { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 12px 11px 15px; margin-bottom: 25px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.42); }
.currency-control > div:first-child > span { display: block; font-size: 10px; font-weight: 700; }
.currency-control small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }
.currency-control small.is-live { color: #628e00; }
.currency-control small.is-fallback { color: #b04d35; }
.rate-attribution { display: inline-block; margin-top: 3px; color: var(--muted); font: 400 7px "DM Mono", monospace; text-underline-offset: 2px; }
.currency-tabs { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: #e5e2da; }
.currency-tabs button { min-width: 45px; height: 30px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 500 9px "DM Mono", monospace; cursor: pointer; }
.currency-tabs button[aria-checked="true"] { background: var(--ink); color: white; box-shadow: 0 4px 10px rgba(23,23,19,.14); }
.minutes-display { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 5px 0 14px; font-size: 13px; color: var(--muted); }
#selectedModelLabel { color: var(--ink); font-weight: 700; }
.duration-display { max-width: 480px; color: var(--ink); text-align: right; font-size: clamp(22px, 3vw, 38px); line-height: 1.08; letter-spacing: -.055em; }
.duration-display span { white-space: nowrap; }
.exact-minutes-control { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 23px; }
.exact-minutes-control > label { color: var(--muted); font-size: 9px; }
.exact-minutes-control > div { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; padding: 6px 9px; background: rgba(255,255,255,.48); }
.exact-minutes-control input { width: 76px; border: 0; outline: 0; background: transparent; text-align: right; font: 500 11px "DM Mono", monospace; font-variant-numeric: tabular-nums; }
.exact-minutes-control span { color: var(--muted); font: 500 8px "DM Mono", monospace; }
.preset-section { margin: -4px 0 28px; }
.preset-section > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; }
.duration-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.duration-presets button { min-height: 34px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.52); color: var(--muted); font: 500 9px "DM Mono", monospace; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.duration-presets button:hover { transform: translateY(-1px); border-color: var(--purple); color: var(--purple); }
.duration-presets button.is-active { border-color: var(--purple); background: var(--purple); color: white; }
.slider { --fill: 14.3%; appearance: none; width: 100%; height: 9px; border-radius: 10px; background: linear-gradient(90deg, var(--purple) var(--fill), #dedbd2 var(--fill)); outline: none; }
.slider::-webkit-slider-thumb { appearance: none; width: 29px; height: 29px; border-radius: 50%; background: var(--lime); border: 7px solid var(--ink); cursor: grab; box-shadow: 0 2px 0 rgba(0,0,0,.1); }
.slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--lime); border: 7px solid var(--ink); cursor: grab; }
.range-labels { display: flex; justify-content: space-between; font: 400 9px "DM Mono", monospace; color: var(--muted); margin-top: 10px; }
.pricing-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font: 400 9px "DM Mono", monospace; color: var(--muted); }
.pricing-meta strong { color: var(--ink); font-weight: 500; }
#discountLabel { color: var(--purple); }
.session-summary { margin-top: 25px; background: #ece9e1; border-radius: 18px; padding: 14px 14px 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.session-summary > div span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 3px; }
.session-summary strong { font-size: 25px; letter-spacing: -.05em; }
.add-button { border: 0; background: var(--purple); color: white; border-radius: 12px; padding: 13px 15px 13px 18px; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 20px; transition: transform .15s, background .15s; }
.add-button:hover { transform: translateY(-2px); background: #5738ed; }
.add-button b { width: 25px; height: 25px; background: rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 400; }

.checkout-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.checkout-top .eyebrow { margin-bottom: 8px; }
.cart-count { font: 400 9px "DM Mono", monospace; border: 1px solid var(--line); border-radius: 20px; padding: 7px 9px; color: var(--muted); }
.empty-cart { text-align: center; padding: 38px 15px 34px; }
.empty-icon { margin: auto; width: 43px; height: 43px; border: 1px dashed var(--muted); color: var(--muted); border-radius: 50%; display: grid; place-items: center; }
.empty-cart h3 { margin: 14px 0 5px; font-size: 14px; }
.empty-cart p { margin: 0; color: var(--muted); font-size: 11px; }
.cart-items { display: none; max-height: 245px; overflow-y: auto; padding: 10px 2px; }
.cart-items.has-items { display: block; }
.cart-item { display: grid; grid-template-columns: 32px 1fr auto 22px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-item-symbol { width: 32px; height: 32px; border-radius: 9px; background: var(--model-color); display: grid; place-items: center; font: 600 10px "DM Mono", monospace; }
.cart-item strong { display: block; font-size: 11px; }
.cart-item small { color: var(--muted); font-size: 9px; }
.cart-item-price { font-size: 11px; font-weight: 700; }
.remove-item { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 17px; padding: 0; }
.remove-item:hover { color: #c43f2a; }
.total-block { border-top: 1px solid var(--line); padding-top: 20px; }
.total-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-bottom: 11px; }
.total-row.final { color: var(--ink); align-items: baseline; font-size: 15px; margin-top: 17px; }
.total-row.final strong { font-size: 34px; letter-spacing: -.06em; }
.total-block > p { color: var(--muted); font-size: 9px; margin: 5px 0 20px; }
#checkoutForm label { display: block; font-size: 10px; font-weight: 700; margin-bottom: 8px; }
#email { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.65); padding: 0 14px; outline: none; font-size: 12px; }
#email:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,76,255,.1); }
.terms-consent { display: grid !important; grid-template-columns: 16px 1fr; align-items: start; gap: 9px; margin: 13px 0 3px !important; color: var(--muted); font-size: 9px !important; font-weight: 400 !important; line-height: 1.5; cursor: pointer; }
.terms-consent input { width: 15px; height: 15px; margin: 0; accent-color: var(--purple); }
.terms-consent a { color: var(--ink); text-underline-offset: 2px; }
.form-message { min-height: 15px; color: #bd3e2b; font-size: 9px; margin: 6px 0; }
.form-message.info { color: var(--purple); }
.payment-button { width: 100%; height: 49px; border: 0; border-radius: 11px; padding: 0 17px; display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .15s, opacity .15s; }
.payment-button:not(:disabled):hover { transform: translateY(-2px); }
.payment-button:disabled { opacity: .28; cursor: not-allowed; }
.secure-note { margin-top: 14px; color: var(--muted); text-align: center; font: 400 8px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }

.promise-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 95px 0 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-strip > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.promise-strip > div:last-child { border: 0; }
.promise-strip span { font: 500 9px "DM Mono", monospace; color: var(--purple); }
.promise-strip strong { display: block; margin: 19px 0 5px; font-size: 14px; }
.promise-strip p { margin: 0; color: var(--muted); font-size: 11px; }
.service-disclosure { margin: 80px 0 0; padding: 42px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.48); }
.service-disclosure > div:first-child { max-width: 650px; }
.service-disclosure .eyebrow { margin-bottom: 12px; }
.service-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.service-steps article { padding-top: 18px; border-top: 1px solid var(--line); }
.service-steps span { color: var(--purple); font: 500 9px "DM Mono", monospace; }
.service-steps h3 { margin: 14px 0 7px; font-size: 14px; }
.service-steps p, .independence-note { color: var(--muted); font-size: 11px; line-height: 1.65; }
.independence-note { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 0 38px; color: var(--muted); font: 400 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--purple); }

.legal-page { min-height: calc(100vh - 170px); padding: 64px 0 90px; }
.legal-shell { max-width: 820px; margin: 0 auto; padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.7); box-shadow: var(--shadow); }
.legal-shell h1 { margin: 0; font-size: clamp(42px, 7vw, 72px); line-height: .95; letter-spacing: -.065em; }
.legal-meta { margin: 15px 0 36px; color: var(--muted); font: 400 10px "DM Mono", monospace; }
.legal-shell h2 { margin: 34px 0 10px; font-size: 19px; }
.legal-shell h3 { margin: 22px 0 8px; font-size: 14px; }
.legal-shell p, .legal-shell li { color: #4f4e48; font-size: 13px; line-height: 1.75; }
.legal-shell ul { padding-left: 20px; }
.legal-shell a { color: var(--purple); text-underline-offset: 3px; }
.legal-callout { margin: 28px 0; padding: 18px 20px; border-left: 3px solid var(--purple); border-radius: 0 12px 12px 0; background: rgba(108,76,255,.07); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.contact-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.55); }
.contact-card span { display: block; margin-bottom: 8px; color: var(--muted); font: 500 9px "DM Mono", monospace; text-transform: uppercase; }
.contact-card strong { font-size: 14px; }

@media (max-width: 900px) {
  .rate-pill { position: static; margin: 32px 0 0 8px; width: 110px; height: 110px; box-shadow: 6px 6px 0 var(--ink); }
  .workspace { grid-template-columns: 1fr; }
  .checkout-panel { position: static; }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .site-header { height: 72px; }
  .header-note { display: none; }
  .intro { padding: 55px 0 45px; }
  .intro h1 { font-size: 52px; }
  .builder-panel, .checkout-panel { border-radius: 22px; padding: 22px 18px; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .model-card { min-height: 125px; }
  .ultra-note { grid-template-columns: 31px 1fr; }
  .ultra-status { display: none; }
  .currency-control { align-items: flex-start; flex-direction: column; }
  .currency-tabs { width: 100%; }
  .currency-tabs button { flex: 1; min-width: 0; }
  .minutes-display { align-items: flex-start; flex-direction: column; gap: 8px; }
  .duration-display { max-width: 100%; text-align: left; font-size: 27px; }
  .exact-minutes-control { justify-content: space-between; }
  .duration-presets { grid-template-columns: repeat(2, 1fr); }
  .session-summary { align-items: stretch; flex-direction: column; }
  .add-button { justify-content: space-between; }
  .promise-strip { grid-template-columns: 1fr; margin-top: 65px; }
  .promise-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-disclosure { margin-top: 55px; padding: 28px 22px; }
  .service-steps { grid-template-columns: 1fr; gap: 18px; }
  footer { align-items: flex-start; flex-direction: column; }
  footer nav { justify-content: flex-start; }
  .legal-page { padding: 35px 0 65px; }
  .legal-shell { padding: 29px 22px; border-radius: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
}
