/* SpamDuster marketing site — self-contained, no framework, no CDN.
   Light-first SaaS design with full dark-theme support via tokens.
   Brand accent from the logo: blue #1E7BE0 / cyan #2FC9E6 / mint #7CF6C8. */

:root{
  /* brand */
  --cyan:#2FC9E6; --blue:#1E7BE0; --deep:#123FB8; --mint:#7CF6C8;
  --cta:#12b981; --cta-ink:#03251a;      /* action green */

  /* LIGHT theme tokens (default) */
  --bg:#f5f8fd;                 /* cool off-white, slight blue bias */
  --bg-soft:#eef3fb;
  --panel:#ffffff;
  --panel-2:#f8fbff;
  --edge:#e2e9f5;
  --edge-2:#cfdaee;
  --ink:#0e1a33;               /* deep navy text */
  --ink-2:#48587a;
  --ink-3:#77859f;
  --accent:#1766c9;            /* readable brand blue on light */
  --accent-soft:#e9f2fd;
  --ring:rgba(23,102,201,.18);
  --hero-wash:
    radial-gradient(900px 480px at 88% -8%, rgba(47,201,230,.16), transparent 55%),
    radial-gradient(760px 460px at 8% -4%, rgba(30,123,224,.12), transparent 55%);
  --shadow-sm:0 2px 8px rgba(16,30,60,.06);
  --shadow:0 20px 46px -22px rgba(16,30,60,.28);
  --shadow-lg:0 34px 70px -30px rgba(16,30,60,.4);
  color-scheme:light;
}

@media (prefers-color-scheme:dark){
  :root{
    --bg:#0a0f1f; --bg-soft:#0d1428; --panel:#101a34; --panel-2:#0e1730;
    --edge:#21304f; --edge-2:#2c3e63; --ink:#eaf0ff; --ink-2:#adbbdb; --ink-3:#7c8cb2;
    --accent:#59b6f0; --accent-soft:#13233f; --ring:rgba(89,182,240,.25);
    --hero-wash:
      radial-gradient(900px 480px at 88% -8%, rgba(47,201,230,.14), transparent 55%),
      radial-gradient(760px 460px at 8% -4%, rgba(30,123,224,.16), transparent 55%);
    --shadow-sm:0 2px 10px rgba(0,0,0,.4);
    --shadow:0 22px 50px -22px rgba(0,0,0,.7);
    --shadow-lg:0 34px 70px -28px rgba(0,0,0,.8);
    color-scheme:dark;
  }
}
/* explicit toggle wins over the media query in both directions */
:root[data-theme="light"]{
  --bg:#f5f8fd; --bg-soft:#eef3fb; --panel:#ffffff; --panel-2:#f8fbff;
  --edge:#e2e9f5; --edge-2:#cfdaee; --ink:#0e1a33; --ink-2:#48587a; --ink-3:#77859f;
  --accent:#1766c9; --accent-soft:#e9f2fd; --ring:rgba(23,102,201,.18);
  --hero-wash:
    radial-gradient(900px 480px at 88% -8%, rgba(47,201,230,.16), transparent 55%),
    radial-gradient(760px 460px at 8% -4%, rgba(30,123,224,.12), transparent 55%);
  --shadow-sm:0 2px 8px rgba(16,30,60,.06);
  --shadow:0 20px 46px -22px rgba(16,30,60,.28);
  --shadow-lg:0 34px 70px -30px rgba(16,30,60,.4);
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#0a0f1f; --bg-soft:#0d1428; --panel:#101a34; --panel-2:#0e1730;
  --edge:#21304f; --edge-2:#2c3e63; --ink:#eaf0ff; --ink-2:#adbbdb; --ink-3:#7c8cb2;
  --accent:#59b6f0; --accent-soft:#13233f; --ring:rgba(89,182,240,.25);
  --hero-wash:
    radial-gradient(900px 480px at 88% -8%, rgba(47,201,230,.14), transparent 55%),
    radial-gradient(760px 460px at 8% -4%, rgba(30,123,224,.16), transparent 55%);
  --shadow-sm:0 2px 10px rgba(0,0,0,.4);
  --shadow:0 22px 50px -22px rgba(0,0,0,.7);
  --shadow-lg:0 34px 70px -28px rgba(0,0,0,.8);
  color-scheme:dark;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,
    "Apple Color Emoji","Segoe UI Emoji",sans-serif;
  line-height:1.6; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
a{ color:inherit; text-decoration:none; }
img,svg{ max-width:100%; }
h1,h2,h3,h4{ margin:0; line-height:1.12; letter-spacing:-.02em; font-weight:760; text-wrap:balance; }
p{ margin:0; }

.wrap{ width:100%; max-width:1160px; margin-inline:auto; padding-inline:26px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-size:12.5px; font-weight:750;
  letter-spacing:.13em; text-transform:uppercase; color:var(--accent);
}
.eyebrow.dot::before{ content:""; width:8px; height:8px; border-radius:50%;
  background:linear-gradient(120deg,var(--cyan),var(--blue)); }
.grad{
  background:linear-gradient(100deg,var(--blue),var(--cyan) 70%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.muted{ color:var(--ink-2); }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:9px; padding:12px 22px; border-radius:11px;
  font-weight:650; font-size:15px; border:1px solid transparent; cursor:pointer;
  transition:.18s ease; white-space:nowrap; }
.btn-primary{ color:var(--cta-ink); background:linear-gradient(120deg,var(--mint),var(--cta));
  box-shadow:0 12px 26px -12px rgba(18,185,129,.6); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 34px -12px rgba(18,185,129,.7); }
.btn-ghost{ color:var(--ink); background:var(--panel); border-color:var(--edge-2); box-shadow:var(--shadow-sm); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn-lg{ padding:15px 28px; font-size:16px; border-radius:13px; }

/* ---------- header ---------- */
header.nav{ position:sticky; top:0; z-index:60; backdrop-filter:saturate(150%) blur(12px);
  background:color-mix(in srgb, var(--bg) 78%, transparent); border-bottom:1px solid var(--edge); }
.nav-inner{ display:flex; align-items:center; gap:20px; height:68px; }
.brand{ display:flex; align-items:center; gap:11px; font-weight:820; letter-spacing:-.02em; font-size:19px; }
.brand img{ width:33px; height:33px; }
.nav-links{ display:flex; gap:4px; margin-left:auto; align-items:center; }
.nav-links a.link{ padding:8px 13px; border-radius:9px; color:var(--ink-2); font-size:14.5px;
  font-weight:560; transition:.15s; white-space:nowrap; }
.nav-links a.link:hover{ color:var(--ink); background:var(--accent-soft); }
.nav-links a.link[aria-current="page"]{ color:var(--accent); background:var(--accent-soft); font-weight:680; }
/* generic page-header band used by multi-page interior pages — matches the
   single-page centered section/price heads (full-width heading, capped intro) */
.page-head{ padding:64px 0 8px; background:var(--hero-wash); text-align:center; }
.page-head h1{ font-size:clamp(27px,3.3vw,40px); margin-top:14px; }
.page-head p{ color:var(--ink-2); font-size:17px; margin-top:15px; margin-inline:auto; max-width:64ch; }
.theme-btn{ width:40px; height:40px; border-radius:10px; border:1px solid var(--edge-2);
  background:var(--panel); cursor:pointer; display:grid; place-items:center; font-size:16px; color:var(--ink-2); }
.theme-btn:hover{ border-color:var(--accent); color:var(--accent); }
.nav-toggle{ display:none; }

/* ---------- hero ---------- */
.hero{ position:relative; padding:76px 0 40px; background:var(--hero-wash); }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:50px; align-items:center; }
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px; }
.badge{ display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:650;
  color:var(--ink-2); background:var(--panel); border:1px solid var(--edge); border-radius:999px;
  padding:6px 13px; box-shadow:var(--shadow-sm); }
.hero h1{ font-size:clamp(33px,4.7vw,54px); }
.hero .lead{ font-size:clamp(16px,1.4vw,19px); color:var(--ink-2); margin-top:20px; max-width:40ch; }
.hero-cta{ display:flex; gap:13px; margin-top:28px; flex-wrap:wrap; }
.hero-sub{ margin-top:20px; font-size:13.5px; color:var(--ink-3); display:flex; gap:18px; flex-wrap:wrap; }
.hero-sub span{ display:inline-flex; gap:7px; align-items:center; }
.tick{ color:var(--cta); font-weight:800; }

/* provider picker (hero card) */
.picker{ border:1px solid var(--edge); border-radius:20px; background:var(--panel);
  box-shadow:var(--shadow-lg); padding:24px; }
.picker h4{ font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); }
.picker .prov-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:14px; }
.prov{ display:flex; flex-direction:column; align-items:center; gap:9px; padding:14px 8px;
  border:1.5px solid var(--edge); border-radius:13px; background:var(--panel-2); cursor:pointer;
  transition:.16s ease; font-size:12.5px; font-weight:600; color:var(--ink-2); text-align:center; }
.prov:hover{ border-color:var(--edge-2); transform:translateY(-2px); }
.prov[aria-pressed="true"]{ border-color:var(--accent); background:var(--accent-soft); color:var(--ink);
  box-shadow:0 0 0 3px var(--ring); }
.prov .mark{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center;
  font-weight:800; font-size:15px; color:#fff; }
.picker-foot{ margin-top:16px; padding-top:16px; border-top:1px solid var(--edge);
  display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.picker-foot .from{ font-size:13px; color:var(--ink-3); }
.picker-foot .price{ font-size:26px; font-weight:820; letter-spacing:-.02em; }
.picker-foot .price small{ font-size:14px; font-weight:600; color:var(--ink-3); letter-spacing:0; }

/* ---------- trust strip ---------- */
.strip{ border-block:1px solid var(--edge); background:var(--panel-2); padding:22px 0; }
.strip-inner{ display:flex; align-items:center; gap:14px 30px; flex-wrap:wrap; justify-content:center;
  color:var(--ink-3); font-size:13.5px; }
.strip-inner b{ color:var(--ink); font-weight:750; font-size:15px; }
.strip .chip{ font-weight:700; color:var(--ink-2); }

/* ---------- sections ---------- */
section{ padding:80px 0; }
.section-head{ max-width:62ch; margin-bottom:46px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(27px,3.3vw,40px); margin-top:14px; }
.section-head p{ color:var(--ink-2); margin-top:15px; font-size:17px; }

.grid{ display:grid; gap:20px; }
.g-3{ grid-template-columns:repeat(3,1fr); }
.g-2{ grid-template-columns:repeat(2,1fr); }
.g-4{ grid-template-columns:repeat(4,1fr); }

.card{ border:1px solid var(--edge); border-radius:16px; padding:26px; background:var(--panel);
  box-shadow:var(--shadow-sm); transition:.2s ease; }
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--edge-2); }
.card .ic{ width:46px; height:46px; border-radius:12px; display:grid; place-items:center; font-size:22px;
  background:var(--accent-soft); border:1px solid var(--edge); margin-bottom:16px; }
.card h3{ font-size:18px; }
.card p{ color:var(--ink-2); margin-top:9px; font-size:14.6px; }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; counter-reset:step; }
.step{ position:relative; border:1px solid var(--edge); border-radius:16px; padding:28px 24px 24px;
  background:var(--panel); box-shadow:var(--shadow-sm); }
.step .num{ width:38px; height:38px; border-radius:11px; display:grid; place-items:center;
  font-weight:820; color:#fff; background:linear-gradient(135deg,var(--blue),var(--cyan)); margin-bottom:16px; }
.step h3{ font-size:18px; }
.step p{ color:var(--ink-2); margin-top:9px; font-size:14.6px; }

/* ---------- integrations ---------- */
.integrations{ display:grid; grid-template-columns:.9fr 1.1fr; gap:44px; align-items:center; }
.cp-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.cp{ display:flex; align-items:center; gap:13px; border:1px solid var(--edge); border-radius:14px;
  padding:16px 18px; background:var(--panel); box-shadow:var(--shadow-sm); }
.cp .logo{ width:44px; height:44px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto;
  font-weight:820; color:#fff; font-size:13px; letter-spacing:-.02em; }
.cp b{ font-size:15px; display:block; }
.cp span{ font-size:12.5px; color:var(--ink-3); }
.feat-list{ list-style:none; padding:0; margin:22px 0 0; display:grid; gap:15px; }
.feat-list li{ display:flex; gap:13px; align-items:flex-start; }
.feat-list .chk{ flex:0 0 auto; width:24px; height:24px; border-radius:7px; display:grid; place-items:center;
  background:rgba(18,185,129,.12); color:var(--cta); font-weight:850; font-size:13px;
  border:1px solid rgba(18,185,129,.28); }
.feat-list b{ font-weight:680; }
.feat-list p{ color:var(--ink-2); font-size:14.6px; margin-top:2px; }

/* ---------- portal mock ---------- */
.portal{ display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center; }
.mock{ border:1px solid var(--edge); border-radius:18px; overflow:hidden; box-shadow:var(--shadow-lg);
  background:var(--panel); }
.mock-bar{ display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid var(--edge);
  background:var(--panel-2); }
.mock-bar .d{ width:11px; height:11px; border-radius:50%; background:var(--edge-2); }
.mock-bar .t{ margin-left:10px; font-size:12.5px; color:var(--ink-3); font-weight:600; }
.mock-body{ padding:16px; display:grid; gap:10px; }
.mrow{ display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--edge);
  border-radius:11px; background:var(--panel-2); font-size:13.5px; }
.mrow .subj{ font-weight:600; color:var(--ink); }
.mrow .from{ color:var(--ink-3); font-size:12px; }
.mrow .meta{ display:flex; flex-direction:column; min-width:0; }
.mrow .sc{ margin-left:auto; font-size:11px; font-weight:750; padding:3px 9px; border-radius:999px; flex:0 0 auto; }
.sc-block{ color:#c02748; background:rgba(224,55,90,.12); }
.sc-quar{ color:#b7791f; background:rgba(214,158,46,.16); }
.mrow .act{ display:flex; gap:6px; flex:0 0 auto; }
.mini{ font-size:11px; font-weight:650; padding:5px 10px; border-radius:8px; border:1px solid var(--edge-2);
  background:var(--panel); color:var(--ink-2); }
.mini.go{ background:rgba(18,185,129,.12); border-color:rgba(18,185,129,.3); color:var(--cta); }

/* ---------- highlight band (unlimited/cost) ---------- */
.band{ border:1px solid var(--edge-2); border-radius:22px; padding:44px 40px; box-shadow:var(--shadow);
  background:
    radial-gradient(600px 280px at 88% -30%, rgba(47,201,230,.12), transparent 60%),
    var(--panel); }
.band-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; text-align:center; }
.band .n{ font-size:36px; font-weight:840; letter-spacing:-.03em;
  background:linear-gradient(120deg,var(--blue),var(--cyan)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.band .l{ color:var(--ink-2); font-size:14px; margin-top:6px; }

/* ---------- pricing ---------- */
.price-head{ text-align:center; margin-bottom:30px; }
.price-provrow{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:34px; }
.pp{ display:inline-flex; align-items:center; gap:9px; padding:9px 16px; border:1.5px solid var(--edge);
  border-radius:999px; background:var(--panel); cursor:pointer; font-weight:640; font-size:14px;
  color:var(--ink-2); transition:.15s; box-shadow:var(--shadow-sm); }
.pp:hover{ border-color:var(--edge-2); }
.pp[aria-pressed="true"]{ border-color:var(--accent); color:var(--ink); background:var(--accent-soft);
  box-shadow:0 0 0 3px var(--ring); }
.pp .swatch{ width:16px; height:16px; border-radius:5px; }
.plan-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch; }
.plan{ border:1px solid var(--edge); border-radius:18px; padding:30px 26px; background:var(--panel);
  box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.plan.pop{ border-color:var(--accent); box-shadow:var(--shadow); position:relative; }
.plan.pop::before{ content:"Most popular"; position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  font-size:11px; font-weight:750; letter-spacing:.06em; text-transform:uppercase; color:#fff;
  background:linear-gradient(120deg,var(--blue),var(--cyan)); padding:5px 14px; border-radius:999px; }
.plan .pname{ font-size:14px; font-weight:750; text-transform:uppercase; letter-spacing:.08em; color:var(--accent); }
.plan .pdesc{ color:var(--ink-3); font-size:13.5px; margin-top:6px; min-height:38px; }
.plan .pprice{ font-size:40px; font-weight:840; letter-spacing:-.03em; margin:14px 0 2px; }
.plan .pprice small{ font-size:15px; font-weight:600; color:var(--ink-3); letter-spacing:0; }
.plan .pspec{ font-size:12.5px; color:var(--ink-3); }
.plan ul{ list-style:none; padding:0; margin:20px 0 24px; display:grid; gap:11px; }
.plan li{ display:flex; gap:10px; font-size:14.3px; color:var(--ink-2); }
.plan li .chk{ color:var(--cta); font-weight:850; flex:0 0 auto; }
.plan .btn{ margin-top:auto; justify-content:center; }
.price-note{ text-align:center; color:var(--ink-3); font-size:13px; margin-top:26px; max-width:70ch; margin-inline:auto; }

/* ---------- faq ---------- */
.faq{ max-width:820px; margin-inline:auto; }
details.qa{ border:1px solid var(--edge); border-radius:13px; margin-bottom:12px; overflow:hidden;
  background:var(--panel); box-shadow:var(--shadow-sm); }
details.qa[open]{ border-color:var(--edge-2); }
details.qa summary{ cursor:pointer; padding:18px 22px; font-weight:640; font-size:16px; list-style:none;
  display:flex; justify-content:space-between; gap:14px; align-items:center; }
details.qa summary::-webkit-details-marker{ display:none; }
details.qa summary::after{ content:"+"; color:var(--accent); font-size:22px; font-weight:400; transition:.2s; }
details.qa[open] summary::after{ transform:rotate(45deg); }
details.qa .a{ padding:0 22px 20px; color:var(--ink-2); font-size:15px; }

/* ---------- cta band ---------- */
.cta-band{ border-radius:24px; padding:56px 40px; text-align:center; box-shadow:var(--shadow-lg);
  background:linear-gradient(120deg,var(--deep),var(--blue) 55%,var(--cyan)); color:#fff; }
.cta-band h2{ font-size:clamp(27px,3.4vw,40px); color:#fff; }
.cta-band p{ margin:16px auto 28px; max-width:52ch; font-size:17px; color:rgba(255,255,255,.9); }
.cta-band .btn-ghost{ background:rgba(255,255,255,.12); color:#fff; border-color:rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover{ background:rgba(255,255,255,.2); color:#fff; border-color:#fff; }

/* ---------- footer ---------- */
footer.foot{ border-top:1px solid var(--edge); padding:54px 0 40px; background:var(--panel-2); }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1fr; gap:34px; }
.foot a[href^="mailto:"]{ overflow-wrap:anywhere; }
.foot h5{ font-size:12.5px; text-transform:uppercase; letter-spacing:.1em; color:var(--ink-3); margin:0 0 14px; }
.foot a{ display:block; color:var(--ink-2); font-size:14.4px; padding:5px 0; }
.foot a:hover{ color:var(--accent); }
.foot-brand p{ color:var(--ink-3); font-size:14px; margin-top:14px; max-width:36ch; }
.foot-bottom{ margin-top:42px; padding-top:24px; border-top:1px solid var(--edge);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; color:var(--ink-3); font-size:13.5px; }

/* reveal */
.reveal{ opacity:0; transform:translateY(16px); transition:.55s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ *{ scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; transition:none; } .btn:hover,.card:hover,.step:hover{ transform:none; } }

/* ---------- deployment options (multi-page) ----------
   The home panel's deployment rows, product cards flagged with their
   availability, and availability tags. Themed only through existing tokens. */
.offer{ display:flex; align-items:center; gap:13px; padding:13px 14px; margin-top:10px;
  border:1.5px solid var(--edge); border-radius:13px; background:var(--panel-2); color:var(--ink);
  transition:.16s ease; }
.offer:hover{ border-color:var(--accent); transform:translateY(-2px); }
.offer .mark{ flex:none; width:38px; height:38px; border-radius:10px; display:grid; place-items:center;
  font-size:18px; background:var(--accent-soft); border:1px solid var(--edge); }
.offer .txt{ display:flex; flex-direction:column; min-width:0; }
.offer .txt b{ font-size:14.5px; }
.offer .txt span{ font-size:12.5px; color:var(--ink-3); }
.offer .tag{ margin-left:auto; }
.tag{ display:inline-block; flex:none; font-size:10.5px; font-weight:750; letter-spacing:.06em;
  text-transform:uppercase; padding:4px 10px; border-radius:999px; white-space:nowrap;
  color:var(--accent); background:var(--accent-soft); border:1px solid var(--edge-2); }
.tag.live{ color:#fff; border-color:transparent; background:linear-gradient(120deg,var(--blue),var(--cyan)); }
/* data-flag="..." puts an availability pill on a plan card, like "Most popular" */
.plan[data-flag]{ position:relative; }
.plan[data-flag]::before{ content:attr(data-flag); position:absolute; top:-12px; left:50%;
  transform:translateX(-50%); font-size:11px; font-weight:750; letter-spacing:.06em;
  text-transform:uppercase; padding:5px 14px; border-radius:999px; white-space:nowrap;
  color:var(--accent); background:var(--accent-soft); border:1px solid var(--edge-2); }
.plan.pop[data-flag]::before{ color:#fff; border-color:transparent;
  background:linear-gradient(120deg,var(--blue),var(--cyan)); }
.plan .pprice.soon{ font-size:28px; color:var(--ink-2); }
/* SpamDuster Cloud: seven plans, a region and a billing switch (pricing.html) */
.price-controls{ display:flex; gap:12px 22px; justify-content:center; flex-wrap:wrap; margin-bottom:22px; }
.price-controls .price-provrow{ margin-bottom:0; }
.save-tag{ font-size:11.5px; font-weight:750; color:var(--cta); }
.note-band.includes{ margin:0 auto 34px; max-width:900px; font-size:14px; line-height:1.7; }
.plan-grid.g-plans{ grid-template-columns:repeat(4,1fr); gap:18px; }
.g-plans .plan{ padding:26px 22px; }
/* no sales history behind "Most popular" yet; one line, never over the plan name */
.g-plans .plan.pop::before{ content:"Recommended"; white-space:nowrap; }
.g-plans .plan .pprice{ font-size:36px; }
.plan .psave{ min-height:18px; font-size:12.5px; font-weight:650; color:var(--cta); }
.plan li.no{ color:var(--ink-3); }
.plan li.no .chk{ color:#d6455d; }
.plan .pbackup{ font-size:12.5px; color:var(--ink-3); margin:-6px 0 18px; }
.plan .pbackup b{ color:var(--ink-2); font-weight:700; }
.price-table{ max-width:900px; margin:22px auto 0; border:1px solid var(--edge); border-radius:14px;
  background:var(--panel); box-shadow:var(--shadow-sm); }
.price-table summary{ cursor:pointer; padding:14px 20px; font-weight:650; color:var(--ink-2); }
.price-table .tbl-wrap{ overflow-x:auto; padding:0 10px 12px; }
.price-table table{ width:100%; min-width:540px; border-collapse:collapse; font-size:14px; }
.price-table th,.price-table td{ text-align:left; vertical-align:top; padding:10px 12px; border-top:1px solid var(--edge); }
.price-table thead th{ border-top:0; font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-3); }
.price-table td,.price-table tbody th{ font-weight:700; color:var(--ink); }
.price-table .t2{ display:block; font-weight:500; font-size:12.5px; color:var(--ink-3); }
/* on-premise: a configurator - product + billing switch, server count, live total, pack tiles */
.op-calc [hidden]{ display:none !important; }
.op-calc{ border:1px solid var(--edge-2); border-radius:26px; background:var(--panel); box-shadow:var(--shadow-lg);
  overflow:hidden; max-width:1040px; margin:0 auto; }
.op-top{ display:flex; justify-content:space-between; align-items:center; gap:12px 18px; flex-wrap:wrap;
  padding:20px 28px; border-bottom:1px solid var(--edge); background:var(--panel-2); }
.op-top .price-provrow{ margin:0; }
.op-main{ display:grid; grid-template-columns:1.2fr 1fr; }
.op-config{ padding:34px 34px 30px; }
.op-name{ font-size:14px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); }
.op-desc{ color:var(--ink-2); margin:8px 0 26px; font-size:15px; }
.op-label{ display:block; font-weight:750; font-size:15px; margin-bottom:12px; }
.op-count{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.op-step{ width:46px; height:46px; border-radius:13px; border:1.5px solid var(--edge-2); background:var(--panel);
  color:var(--ink); font-size:24px; line-height:1; cursor:pointer; transition:.15s; }
.op-step:hover{ border-color:var(--accent); color:var(--accent); }
#op-n{ width:104px; height:46px; text-align:center; font:inherit; font-size:24px; font-weight:850; color:var(--ink);
  border:1.5px solid var(--edge-2); border-radius:13px; background:var(--panel); -moz-appearance:textfield; }
#op-n::-webkit-outer-spin-button,#op-n::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
#op-n:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--ring); }
.op-min{ font-size:12.5px; color:var(--ink-3); margin-left:4px; }
#op-range{ width:100%; accent-color:var(--blue); height:22px; cursor:pointer; }
.op-scale{ display:flex; justify-content:space-between; font-size:11.5px; color:var(--ink-3); margin-top:2px; }
.op-feat{ list-style:none; padding:0; margin:24px 0 0; display:grid; gap:10px; }
.op-feat li{ display:flex; gap:10px; font-size:14.3px; color:var(--ink-2); }
.op-feat .chk{ color:var(--cta); font-weight:850; }
.op-price{ position:relative; padding:40px 34px; color:#fff; display:flex; flex-direction:column; justify-content:center;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(124,246,200,.28), transparent 60%),
    linear-gradient(145deg,var(--deep),var(--blue) 58%,var(--cyan)); }
.op-flag{ position:absolute; top:20px; right:22px; font-size:11px; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.3); }
.op-total{ display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.op-total .amt{ font-size:clamp(46px,6.2vw,68px); font-weight:850; letter-spacing:-.035em; line-height:1.05; }
.op-total .per{ font-size:19px; font-weight:650; opacity:.85; }
.op-unit{ margin-top:6px; font-size:15px; opacity:.92; }
.op-save{ align-self:flex-start; margin:16px 0 24px; padding:6px 13px; border-radius:999px; font-size:13.5px; font-weight:750;
  color:#06291c; background:var(--mint); box-shadow:0 8px 22px -10px rgba(124,246,200,.8); }
.op-save:empty{ display:none; }
.op-cta{ align-self:flex-start; background:#fff; color:var(--deep); border-color:#fff; box-shadow:0 14px 30px -14px rgba(0,0,0,.5); }
.op-cta:hover{ transform:translateY(-2px); }
.op-packs{ padding:30px 34px 28px; border-top:1px solid var(--edge); }
.op-packs-head{ display:flex; align-items:baseline; gap:6px 18px; flex-wrap:wrap; margin-bottom:18px; }
.op-packs-head h3{ margin:0; font-size:20px; }
.op-packs-head p{ margin:0; color:var(--ink-3); font-size:14px; flex:1 1 360px; }
.pack-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.pack{ border:1.5px solid var(--edge); border-radius:16px; padding:18px 10px 16px; text-align:center;
  background:var(--panel-2); transition:transform .15s, border-color .15s, box-shadow .15s; }
.pack:hover{ border-color:var(--accent); transform:translateY(-3px); box-shadow:var(--shadow); }
.pack .pd{ font-size:30px; font-weight:850; letter-spacing:-.03em; line-height:1; }
.pack .pl{ font-size:11.5px; font-weight:750; letter-spacing:.07em; text-transform:uppercase; color:var(--ink-3); margin-top:4px; }
.pack .pa{ font-size:12.5px; color:var(--ink-3); margin:8px 0 12px; }
.pack .pr{ display:inline-block; padding:5px 11px; border-radius:999px; background:var(--accent-soft); color:var(--accent); }
.pack .pr b{ font-size:17px; font-weight:850; }
.pack .pr small{ font-size:12px; font-weight:650; }
.op-note{ margin:16px 0 0; font-size:12.5px; color:var(--ink-3); }
.price-table .tbl-note{ font-size:12.5px; color:var(--ink-3); margin:10px 12px 0; }
@media (max-width:940px){
  .op-main{ grid-template-columns:1fr; }
  .pack-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:640px){
  .op-top{ padding:16px; justify-content:center; }
  .op-config,.op-price,.op-packs{ padding-left:20px; padding-right:20px; }
  .op-flag{ position:static; align-self:flex-start; margin-bottom:14px; }
  #op-n{ width:84px; }
  .op-min{ white-space:nowrap; }
  .pack-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:1100px){ .plan-grid.g-plans{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:940px){ .plan-grid.g-plans{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .plan-grid.g-plans{ grid-template-columns:1fr; } }
.plan-grid.g-2{ grid-template-columns:repeat(2,1fr); max-width:820px; margin-inline:auto; }
.card .tag{ margin-left:8px; vertical-align:middle; }
.note-band{ border:1px solid var(--edge); border-radius:16px; background:var(--panel); padding:22px 26px;
  box-shadow:var(--shadow-sm); max-width:760px; margin:34px auto 0; text-align:center; color:var(--ink-2); }
.note-band b{ color:var(--ink); }
@media (prefers-reduced-motion:reduce){ .offer:hover{ transform:none; } }
@media (max-width:640px){ .plan-grid.g-2{ grid-template-columns:1fr; } }
/* seven links + the button no longer fit beside the brand below ~1140px, so the
   menu collapses earlier than the rest of the mobile layout does */
@media (max-width:1140px){
  .nav-links{ display:none; }
  .nav-links.open{ display:flex; flex-direction:column; align-items:stretch; position:absolute; top:68px;
    left:0; right:0; padding:14px 24px 20px; background:var(--bg); border-bottom:1px solid var(--edge); gap:4px; }
  .nav-toggle{ display:inline-grid; place-items:center; margin-left:auto; width:42px; height:42px;
    border:1px solid var(--edge-2); border-radius:10px; background:var(--panel); cursor:pointer; }
  .nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{ content:""; display:block; width:18px;
    height:2px; background:var(--ink); position:relative; }
  .nav-toggle span::before{ position:absolute; top:-6px; } .nav-toggle span::after{ position:absolute; top:6px; }
}

/* ---------- responsive ---------- */
@media (max-width:940px){
  .hero-grid,.integrations,.portal{ grid-template-columns:1fr; }
  .picker,.mock{ order:-1; }
  .g-3,.g-4,.steps,.band-grid,.plan-grid{ grid-template-columns:1fr 1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .nav-links{ display:none; }
  .nav-links.open{ display:flex; flex-direction:column; align-items:stretch; position:absolute; top:68px;
    left:0; right:0; padding:14px 24px 20px; background:var(--bg); border-bottom:1px solid var(--edge); gap:4px; }
  .nav-toggle{ display:inline-grid; place-items:center; margin-left:auto; width:42px; height:42px;
    border:1px solid var(--edge-2); border-radius:10px; background:var(--panel); cursor:pointer; }
  .nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{ content:""; display:block; width:18px;
    height:2px; background:var(--ink); position:relative; }
  .nav-toggle span::before{ position:absolute; top:-6px; } .nav-toggle span::after{ position:absolute; top:6px; }
  .g-3,.g-4,.g-2,.steps,.band-grid,.plan-grid,.cp-grid,.foot-grid,.picker .prov-grid{ grid-template-columns:1fr; }
  .hero{ padding:48px 0 28px; } section{ padding:58px 0; }
  .mrow .act{ display:none; }
}
