/* SodiumPOS marketing site */
:root {
  /* SodiumPOS: deep navy with sodium-flame orange (the atom's outer electron) */
  --brand: #ff8a00;
  --brand-ink: #1a1205;
  --brand-text: #b35300;      /* orange that reads on white */
  --brand-soft: #fff1e0;
  --navy: #0f1b3d;
  --accent: #14b8a6;
  --amber: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --text-2: #475569;
  --faint: #64748b;
  --line: #e2e8f0;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
  /* Dark bands (hero, offline, developers) stay dark in both themes */
  --night: #0b1020;
  --night-2: #121a30;
  --night-line: #26304a;
  --night-text: #eef2fb;
  --night-text-2: #a9b4cc;
  --radius: 16px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1424; --bg-alt: #121a2e; --surface: #161f36; --text: #eef2fb; --text-2: #b4bfd6; --faint: #8b97b2;
    --line: #26304a; --brand-soft: #3a2610; --brand-text: #ffad4d; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1424; --bg-alt: #121a2e; --surface: #161f36; --text: #eef2fb; --text-2: #b4bfd6; --faint: #8b97b2;
  --line: #26304a; --brand-soft: #3a2610; --brand-text: #ffad4d; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.035em; }
h2, .h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 750; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.faint { color: var(--faint); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 12px; border: 1px solid transparent; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: #ff9d2e; }
.btn-ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 28%, transparent); }
.btn-ghost:hover { border-color: color-mix(in srgb, currentColor 55%, transparent); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn.block { display: flex; width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--night-line); color: var(--night-text); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: inherit; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 30px; height: 30px; }
.brand-pos { color: var(--brand); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { color: var(--night-text-2); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav-links a:not(.btn):hover { color: var(--night-text); background: rgba(255,255,255,.06); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 10px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 16px 16px; background: var(--night); border-bottom: 1px solid var(--night-line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px; font-size: 17px; }
  .nav-cta { margin: 8px 0 0; }
}

/* Hero */
.hero { background: radial-gradient(1200px 600px at 85% -10%, rgba(255,138,0,.20), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(52,88,190,.30), transparent 60%), var(--night); color: var(--night-text); padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 14px; }
.hero .eyebrow, .band .eyebrow { color: #ffad4d; }
.lede { font-size: 19px; color: var(--night-text-2); margin-top: 20px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: var(--night-text-2); font-size: 15px; }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points svg, .checks li::before { flex: none; }
.hero-points svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-shot { position: relative; }
.device { border-radius: 22px; padding: 10px; background: linear-gradient(160deg, #2a3350, #11182b); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.device img { border-radius: 14px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--text); background: #fff; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float-card b { font-weight: 700; }
.float-a { left: -22px; bottom: 18%; }
.float-b { right: -10px; top: 9%; animation-delay: -3s; }
.float-b svg { width: 18px; height: 18px; fill: #f97316; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .device { transform: none; }
  .float-a { left: 8px; bottom: -16px; } .float-b { right: 8px; top: -16px; }
}

/* Strip */
.strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.strip-inner { display: flex; align-items: center; gap: 20px; padding: 18px 0; flex-wrap: wrap; }
.strip-inner > span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 0; font-weight: 600; color: var(--text-2); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p:not(.eyebrow) { color: var(--text-2); margin-top: 14px; font-size: 18px; }
.band { background: radial-gradient(900px 500px at 100% 0%, rgba(255,138,0,.13), transparent 60%), var(--night); color: var(--night-text); }
.band .checks li { color: var(--night-text-2); }
.band p:not(.eyebrow) { color: var(--night-text-2); }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-head { margin-bottom: 40px; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy > p:not(.eyebrow) { color: var(--text-2); margin-top: 14px; font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks b { color: var(--text); font-weight: 650; }
.band .checks b { color: var(--night-text); }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #0f1420; cursor: zoom-in; }
.band .shot { border-color: var(--night-line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.shot img { width: 100%; transition: opacity .18s ease; }
.shot img.swap { opacity: 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.thumbs button { font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; min-height: 40px; }
.thumbs button:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); color: var(--text); }
.thumbs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-copy { order: 0; }
  .feature + .feature { margin-top: 72px; }
}

/* Grid */
.grid-head { margin: 96px 0 32px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid li { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.grid p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .grid-head { margin-top: 64px; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); font-weight: 800; margin-bottom: 18px; }
.steps p { color: var(--text-2); margin-top: 8px; font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Developers */
.dev { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.code { border-radius: var(--radius); background: #070b16; border: 1px solid var(--night-line); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); min-width: 0; }
.code-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--night-line); }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3350; }
.code-bar span { margin-left: 8px; font-size: 13px; color: var(--night-text-2); }
.code pre { margin: 0; padding: 20px; overflow-x: auto; font: 13.5px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #dbe4ff; }
.code .c { color: #7ea6ff; font-weight: 700; } .code .k { color: #a9b4cc; } .code .s { color: #93c5fd; } .code .v { color: #5eead4; } .code .n { color: #fcd34d; } .code .g { color: #7c8aa8; }
@media (max-width: 960px) { .dev { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; max-width: 980px; margin: 0 auto; }
.price-card { padding: 32px; border-radius: 22px; background: var(--surface); border: 2px solid var(--brand); box-shadow: var(--shadow); }
.pricing-side h3 { font-size: 22px; margin-bottom: 18px; }
.included b { color: var(--text); }
.price-head h3 { font-size: 24px; }
.price-head p { margin-top: 4px; }
.price-rows { display: grid; gap: 12px; margin: 24px 0; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-row .amt { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price-row span:last-child { color: var(--text-2); font-size: 15px; line-height: 1.25; }
.price-row small { color: var(--faint); font-size: 13px; }
.price-plus { font-size: 30px; color: var(--faint); font-weight: 400; width: 22px; margin-right: 2px; align-self: center; }
.price-row:first-child { padding-left: 24px; }
.calc { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 16px; padding: 18px; border-radius: 14px; background: var(--bg-alt); margin-bottom: 20px; }
.calc label { font-weight: 650; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; justify-self: start; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
.stepper button:hover { background: var(--bg-alt); }
.stepper input { width: 56px; height: 44px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1; color: var(--text); background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-total { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 6px; }
.calc-total span { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-total small { color: var(--faint); }
.calc-line { grid-column: 1 / -1; color: var(--faint); font-size: 14px; margin-top: -8px; font-variant-numeric: tabular-nums; }
.included { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.included li { position: relative; padding-left: 30px; color: var(--text-2); }
.included li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b35300' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } .price-card { padding: 24px; } .price-row .amt { font-size: 44px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--text-2); padding-bottom: 20px; }
.faq details { transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.faq details p { animation: faq-in .32s ease both; }
.faq details.closing p { animation: faq-out .22s ease both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes faq-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-4px); } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--text-2); margin-top: 14px; font-size: 18px; }
.form, .form-done { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form .opt { color: var(--faint); font-weight: 400; font-size: 13px; }
.form input, .form select, .form textarea { font-family: inherit; font-weight: 400; font-size: 16px; line-height: 1.4; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; min-height: 46px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.form [aria-invalid="true"] { border-color: #dc2626; }
.form-error { color: #dc2626; font-size: 15px; }
.form .btn { justify-self: start; }
.form-done { text-align: center; justify-items: center; padding: 48px 28px; }
.form-done svg { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-done p { color: var(--text-2); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form { padding: 20px; } }

/* Footer */
.footer { background: var(--night); color: var(--night-text); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer p { margin-top: 12px; max-width: 26em; color: var(--night-text-2); font-size: 15px; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer h5 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-text-2); margin-bottom: 4px; }
.footer nav a { color: var(--night-text); font-size: 15px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 14px; color: var(--night-text-2); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-inner > div:first-child { grid-column: 1 / -1; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1500px, 96vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(6, 10, 20, .86); }
.lightbox img { border-radius: 12px; max-height: 90vh; width: auto; margin: auto; }
.lb-close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }

/* Dark bands: keep body copy readable over the light-theme rule */
.band .feature-copy > p:not(.eyebrow) { color: var(--night-text-2); }
[hidden] { display: none !important; }

/* Pricing: our price list and the markup calculator */
.price-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 2px; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list span { color: var(--text-2); }
.price-list small { color: var(--faint); font-size: 13px; }
.price-list b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-list b::after { content: "/mo"; font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; margin-left: 2px; }
.calc-title { grid-column: 1 / -1; font-weight: 700; margin: 0; }
.switch { position: relative; justify-self: start; width: 48px; height: 28px; display: inline-block; cursor: pointer; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background .2s ease; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 2px; }
.money { display: inline-flex; align-items: center; gap: 4px; justify-self: start; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 10px; height: 44px; }
.money span { color: var(--faint); font-weight: 600; }
.money input { width: 72px; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 17px; color: var(--text); -moz-appearance: textfield; }
.money input::-webkit-outer-spin-button, .money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.money input:focus { outline: none; }
.money:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.money small { color: var(--faint); font-size: 13px; }
.calc-split { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.calc-split > div { display: flex; flex-direction: column; gap: 2px; }
.calc-split small { color: var(--faint); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.calc-split b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-split b.you { color: var(--brand-text); }
.calc-split .plus { color: var(--faint); font-size: 20px; padding-bottom: 4px; }

/* Support */
.support-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-grid li { padding: 28px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--night-line); }
.support-grid h3 { color: var(--night-text); font-size: 20px; margin: 16px 0 6px; }
.support-grid p { color: var(--night-text-2); margin: 0; }
.support-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 18%, transparent); }
.support-ico svg { width: 24px; height: 24px; fill: none; stroke: #ffad4d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.support-hours { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; color: var(--night-text-2); font-size: 18px; }
.support-hours b { color: var(--night-text); }
.support-hours svg { width: 22px; height: 22px; fill: none; stroke: #ffad4d; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 820px) { .support-grid { grid-template-columns: 1fr; } }

/* Demo request */
.demo-dialog { border: 0; padding: 0; border-radius: 22px; width: min(460px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.demo-dialog::backdrop { background: rgba(8, 12, 24, .6); backdrop-filter: blur(3px); }
.demo-dialog[open] { animation: dlg-in .26s cubic-bezier(.16,1,.3,1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.demo-dialog .form, .demo-dialog .form-done { border: 0; box-shadow: none; }
.demo-dialog h3 { font-size: 24px; margin-bottom: 6px; }
.dlg-close { position: absolute; right: 10px; top: 10px; }
.demo-mock { font-size: 14px; padding: 10px 14px; border-radius: 10px; background: var(--bg-alt); }
button.link { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.demo-dialog .dlg-close { position: absolute; background: var(--bg-alt); color: var(--text-2); width: 36px; height: 36px; font-size: 24px; }
.footer nav button.link { color: var(--night-text); font-size: 15px; }
.footer nav button.link:hover { text-decoration: underline; }

/* "Test it out" only where the app server hosts the page; elsewhere, "Get in touch" instead. */
html:not(.has-demo) [data-demo], html.has-demo [data-nodemo] { display: none !important; }
.contact-card { text-align: center; justify-items: center; padding: 48px 28px; }
.contact-card svg { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card p { color: var(--text-2); max-width: 36ch; }
.contact-card .btn { justify-self: center; }
