/* h2oPRO marketing site — www.h2ofl.com. Plain CSS, no build step. */
:root {
  --navy-950: #061427;
  --navy-900: #0a1d38;
  --navy-800: #0f2a4f;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #526077;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --sky: #0ea5e9;
  --sky-300: #7dd3fc;
  --sky-100: #e0f2fe;
  --blue: #2563eb;
  --blue-700: #1d4ed8;
  --green: #16a34a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --wrap: 1160px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; line-height: 1.6; font-size: 17px; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sky); color: #fff; box-shadow: 0 8px 24px -10px rgba(14, 165, 233, .8); }
.btn-primary:hover { background: #0b93d1; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 20, 39, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand b { color: var(--sky-300); font-weight: 800; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .signin { color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; }
.nav-cta .signin:hover { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 10px; width: 42px; height: 40px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 920px) {
  .nav-links, .nav-cta .signin { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { margin-left: 0; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--navy-950); padding: 8px 16px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .site-header.open .nav-links a { display: block; padding: 12px 8px; font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .nav-cta .btn { padding: .5em .85em; font-size: .85rem; }
  .brand { font-size: 1.15rem; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #cbd5e1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(14, 165, 233, .35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(37, 99, 235, .25), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  padding: 72px 0 88px;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--sky-300); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: flex-start; gap: 8px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 18px; }
.eyebrow::before { content: ""; flex: none; margin-top: .4em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(14, 165, 233, .25); }
.lede { font-size: 1.2rem; color: #cbd5e1; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.platforms { font-size: .92rem; color: #94a3b8; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.platforms span { display: inline-flex; align-items: center; gap: 6px; }
.platforms svg { width: 16px; height: 16px; color: var(--sky-300); }

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* App mock (pure CSS, decorative) */
.mock-wrap { position: relative; padding: 0 0 40px; }
.mock {
  background: #fff; border-radius: 16px; overflow: hidden; color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: 13px;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: #64748b; font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 128px 1fr; min-height: 300px; }
.mock-side { background: var(--navy-900); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock-side b { color: #fff; font-size: 13px; margin: 0 6px 10px; }
.mock-side span { color: #94a3b8; font-size: 12px; padding: 6px 8px; border-radius: 6px; }
.mock-side span.on { background: rgba(14, 165, 233, .18); color: #fff; }
.mock-main { padding: 14px 16px; background: #fbfdff; }
.mock-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mock-h strong { font-size: 14px; color: var(--ink); }
.mock-h small { color: #64748b; font-size: 11.5px; }
.visit { display: grid; grid-template-columns: 4px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px 9px 0; margin-bottom: 8px; }
.visit::before { content: ""; align-self: stretch; border-radius: 0 4px 4px 0; background: var(--c, var(--sky)); }
.visit p { margin: 0; line-height: 1.35; }
.visit p strong { color: var(--ink); font-size: 12.5px; }
.visit p small { color: #64748b; font-size: 11.5px; display: block; }
.tag { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--sky-100); color: #0369a1; white-space: nowrap; }
.tag.g { background: #dcfce7; color: #15803d; }
.tag.a { background: #fef3c7; color: #b45309; }

.float {
  position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px; color: var(--text);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55); font-size: 12.5px; line-height: 1.35;
  display: flex; gap: 10px; align-items: center; max-width: 250px;
}
.float .ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.float .ico svg { width: 16px; height: 16px; }
.float strong { display: block; color: var(--ink); font-size: 12.5px; }
.float small { color: #64748b; font-size: 11.5px; }
.float-pay { right: -14px; bottom: 6px; }
.float-pay .ico { background: var(--green); }
.float-call { left: -18px; bottom: -6px; }
.float-call .ico { background: var(--blue); }
@media (max-width: 960px) {
  .float-pay { right: 6px; }
  .float-call { left: 6px; bottom: -14px; }
}
@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .float-call { display: none; }
  .float-pay { right: 8px; bottom: 0; }
}

/* ── Trade strip ─────────────────────────────────────────── */
.trades { padding: 26px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trades .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; justify-content: center; }
.trades p { margin: 0 8px 0 0; font-weight: 700; color: var(--muted); font-size: .92rem; }
.chip { font-size: .9rem; font-weight: 600; color: var(--navy-800); background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.kicker { display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
@media (max-width: 720px) { section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-700); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip > :first-child { order: 0; } }
.split p { color: var(--muted); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: var(--text); font-weight: 500; }
.checks svg { width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }

.panel { background: var(--navy-900); border-radius: 18px; padding: 22px; color: #cbd5e1; box-shadow: var(--shadow); }
.panel-h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.panel-h .dot { width: 38px; height: 38px; border-radius: 50%; background: rgba(14, 165, 233, .18); display: grid; place-items: center; color: var(--sky-300); flex: none; }
.panel-h .dot svg { width: 18px; height: 18px; }
.panel-h strong { color: #fff; display: block; font-size: .98rem; }
.panel-h small { color: #94a3b8; font-size: .82rem; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: .9rem; margin-bottom: 10px; }
.line b { color: var(--sky-300); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.line.cust b { color: #fbbf24; }
.summary { margin-top: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 14px; font-size: .88rem; }
.summary strong { color: #fff; display: block; margin-bottom: 6px; font-size: .85rem; }
.summary ul { margin: 0; padding-left: 18px; }

.phone {
  width: min(300px, 100%); margin: 0 auto; background: var(--navy-950); border-radius: 38px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .55);
}
.phone-screen { background: #f8fafc; border-radius: 28px; overflow: hidden; }
.phone-top { background: var(--navy-900); color: #fff; padding: 22px 18px 16px; }
.phone-top small { color: #94a3b8; display: block; font-size: .78rem; }
.phone-top strong { font-size: 1.05rem; }
.phone-list { padding: 12px; display: grid; gap: 10px; }
.job { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: .84rem; }
.job strong { color: var(--ink); display: block; }
.job small { color: #64748b; display: block; }
.job .row { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.pill { font-size: .72rem; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: var(--sky-100); color: #0369a1; }
.pill.g { background: #dcfce7; color: #15803d; }

/* Switch band */
.switch { background: linear-gradient(135deg, var(--navy-900), #0b3a6e); color: #cbd5e1; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.switch h2 { color: #fff; }
.switch p { margin: 0; font-size: 1.08rem; }
.switch .btn { justify-self: end; }
@media (max-width: 820px) { .switch { grid-template-columns: 1fr; padding: 32px 22px; } .switch .btn { justify-self: start; } }

/* Pricing */
.price { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.price-l { padding: 36px; background: var(--bg-soft); border-right: 1px solid var(--line); }
.price-r { padding: 36px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0369a1; background: var(--sky-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.price-l p { color: var(--muted); }
.price-r h3 { margin-bottom: 14px; }
.price .checks { margin-top: 0; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } .price-l { border-right: 0; border-bottom: 1px solid var(--line); } .price-l, .price-r { padding: 28px 22px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 16px 28px 16px 0; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; font-weight: 500; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Final CTA */
.cta { text-align: center; color: #cbd5e1; background: radial-gradient(700px 300px at 50% 0%, rgba(14, 165, 233, .3), transparent 70%), var(--navy-950); }
.cta h2 { color: #fff; }
.cta p { max-width: 620px; margin: 0 auto 28px; font-size: 1.12rem; }
.cta .hero-actions { justify-content: center; margin-bottom: 0; }
.cta .mail { display: block; margin-top: 18px; color: #94a3b8; font-size: .95rem; }
.cta .mail a { color: var(--sky-300); }

/* Footer */
.site-footer { background: var(--navy-950); color: #94a3b8; border-top: 1px solid rgba(255, 255, 255, .06); padding: 36px 0; font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: #cbd5e1; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .brand { font-size: 1.1rem; }
.foot .brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot p { margin: 0; }

/* 404 */
.notfound { min-height: calc(100vh - 66px - 110px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
