/* ATW Collectrix marketing page. Self-hosted, no inline CSS (CSP). */
:root {
  --ink: #0f172a; --text: #1e293b; --muted: #5b6b80; --line: #e4e8ef; --canvas: #f6f8fb; --surface: #fff;
  --brand: #0a6460; --brand-2: #0d7a75; --brand-dark: #032e2c; --gold: #d79624; --gold-dark: #b87d14;
  --red: #dc2626; --amber: #d97706; --green: #059669;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--surface); color: var(--text); font: 16px/1.65 "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.01em; margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 6px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; transition: transform .12s, background .12s, box-shadow .12s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .nav-toggle:focus-visible, .bill-toggle button:focus-visible, summary:focus-visible { outline: 3px solid #f3c25b; outline-offset: 2px; }
.btn-lg { padding: 13px 24px; font-size: 16px; }
.btn-gold { background: var(--gold); color: #1c1403; box-shadow: 0 6px 16px -6px rgba(215,150,36,.7); }
.btn-gold:hover { background: #e3a436; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { color: var(--brand); border-color: var(--brand); background: #fff; }
.btn-outline:hover { background: #f0f8f7; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--brand-dark); color: #fff; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; line-height: 1.15; }
.brand img { border-radius: 8px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: #a9c9c6; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { color: #cfe3e1; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; padding: 8px; cursor: pointer; }

/* Hero */
.hero { background: radial-gradient(900px 480px at 85% -10%, rgba(13,122,117,.55), transparent 60%), linear-gradient(180deg, var(--brand-dark), #06403d); color: #fff; padding: 64px 0 72px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #d6ebe9; }
.eyebrow i { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.02em; margin: 18px 0 16px; }
.hero h1 span { color: var(--gold); }
.lead { font-size: 18px; color: #cfe3e1; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.center-row { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 0; color: #b8d4d1; font-size: 14.5px; }
.ticks li { margin: 6px 0; }
.ticks i { color: var(--gold); margin-right: 8px; }

/* Product preview */
.preview { background: #fff; color: var(--text); border-radius: 16px; padding: 0 0 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); overflow: hidden; }
.pv-bar { background: #eef2f6; padding: 10px 14px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pv-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.pv-bar em { font-style: normal; font-weight: 700; margin-left: 10px; }
.pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.pv-kpis div { background: var(--canvas); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pv-kpis small { display: block; font-size: 11px; color: var(--muted); }
.pv-kpis b { font-size: 20px; color: var(--ink); }
.pv-kpis .warn { color: var(--red); } .pv-kpis .good { color: var(--green); }
.pv-chart { display: flex; align-items: flex-end; gap: 12px; height: 130px; padding: 0 18px 4px; border-bottom: 1px solid var(--line); margin: 0 14px 10px; }
.pv-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: 11px; color: var(--muted); gap: 4px; }
.pv-col i { display: block; width: 100%; border-radius: 6px 6px 0 0; background: var(--brand-2); }
.pv-col i.hot { background: var(--red); }
.h30 { height: 30%; } .h40 { height: 40%; } .h55 { height: 55%; } .h70 { height: 70%; } .h90 { height: 90%; }
.pv-row { display: flex; align-items: center; gap: 10px; padding: 7px 18px; font-size: 13.5px; }
.pv-row > span:first-child { flex: 1; font-weight: 600; }
.pv-row b { min-width: 86px; text-align: right; font-variant-numeric: tabular-nums; }
.chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.chip.red { background: #fee2e2; color: #991b1b; } .chip.amber { background: #fef3c7; color: #92400e; } .chip.green { background: #d1fae5; color: #065f46; }
.pv-note { margin: 6px 18px 0; font-size: 11px; color: var(--muted); text-align: right; }

/* Strip */
.strip { background: var(--canvas); border-bottom: 1px solid var(--line); }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding-top: 16px; padding-bottom: 16px; color: var(--muted); font-weight: 700; font-size: 14.5px; }
.strip-in i { color: var(--brand); margin-right: 6px; }

/* Sections */
.sec { padding: 72px 0; }
.sec.alt { background: var(--canvas); }
.sec > .wrap > h2.center { margin-bottom: 36px; }
.sec .center + .muted { margin-top: -22px; margin-bottom: 26px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.card, .mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 14px 30px -18px rgba(3,46,44,.45); transform: translateY(-2px); }
.card i, .mini i { font-size: 20px; color: var(--brand); background: #e6f3f2; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; margin-bottom: 12px; }
.card p, .mini p { color: var(--muted); margin: 0; font-size: 15px; }

.dark { background: var(--brand-dark); color: #cfe3e1; }
.dark h2 { color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.modes li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 18px; }
.modes b { display: block; color: var(--gold); }

/* Pricing */
.bill-toggle { display: flex; width: fit-content; margin: 0 auto 30px; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.bill-toggle button { border: 0; background: none; padding: 9px 20px; border-radius: 999px; font: 700 14.5px/1 inherit; font-family: inherit; color: var(--muted); cursor: pointer; }
.bill-toggle button.on { background: var(--brand); color: #fff; }
.bill-toggle em { font-style: normal; font-size: 11px; background: var(--gold); color: #1c1403; padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--gold); box-shadow: 0 24px 50px -26px rgba(215,150,36,.7); }
.badge { position: absolute; top: -13px; left: 26px; background: var(--gold); color: #1c1403; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.plan-for { color: var(--muted); font-size: 14.5px; min-height: 44px; }
.price { margin: 4px 0 0; }
.amt { font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.per { color: var(--muted); font-weight: 600; margin-left: 4px; }
.billed { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 5px 0; font-size: 15px; }
.plan li i { color: var(--green); margin-right: 8px; }
.plan .btn { width: 100%; }
.fine { font-size: 13px; color: var(--muted); margin-top: 22px; }

.legal-line { margin-top: 26px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 6px; }

/* CTA + footer */
.cta { background: linear-gradient(180deg, #06403d, var(--brand-dark)); color: #cfe3e1; }
.cta h2 { color: #fff; }
.cta p { font-size: 17px; }
.foot { background: #021f1e; color: #9fbfbc; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 44px; padding-bottom: 28px; }
.foot a { color: #cfe3e1; display: block; padding: 3px 0; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p a { display: inline; }
.foot-brand { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.foot h4 { color: #fff; margin-bottom: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 28px; font-size: 12.5px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-in, .two { grid-template-columns: 1fr; }
  .grid, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .grid.g4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--brand-dark); flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 20px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .grid, .steps, .plans, .grid.g4, .foot-in { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 52px; }
  .sec { padding: 52px 0; }
  .plan-for { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Single plan + company calculator */
.hidden { display: none !important; }
.one-plan { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; max-width: 940px; margin: 0 auto; }
.one-plan .plan { height: 100%; }
.addon-line { background: #fdf6e7; border: 1px dashed var(--gold); border-radius: 10px; padding: 8px 12px; font-size: 14.5px; margin: 0 0 18px; }
.calc { background: var(--canvas); border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: sticky; top: 84px; }
.calc label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.stepper { display: flex; gap: 8px; margin-bottom: 18px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 22px; font-weight: 700; color: var(--brand); cursor: pointer; font-family: inherit; }
.stepper button:hover { background: #f0f8f7; }
.stepper input { flex: 1; min-width: 0; text-align: center; font: 700 18px inherit; font-family: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 0 8px; }
.stepper button:focus-visible, .stepper input:focus-visible { outline: 3px solid #f3c25b; outline-offset: 2px; }
.calc-rows { margin: 0 0 12px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-rows dt { color: var(--muted); } .calc-rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-rows .total { border-bottom: 0; padding-top: 12px; font-size: 18px; }
.calc-rows .total dt { color: var(--ink); font-weight: 800; } .calc-rows .total dd { color: var(--brand); font-size: 22px; }
@media (max-width: 960px) { .one-plan { grid-template-columns: 1fr; } .calc { position: static; } }
