/* Product site for Polyvox. Deliberately dependency-free: this is deployed to
   Cloudflare Pages as static files, and a payment processor reviewing it should
   see plain HTML rather than a build artifact.

   No web fonts, no analytics, no third-party requests of any kind. That is not
   only a performance choice. The privacy page tells a reviewer what leaves the
   visitor's machine, and the honest answer is easier to defend when the answer
   is nothing.

   Visual language mirrors the HGM company site: near-black ground, a serif
   display face against a sans body, hairline rules instead of heavy panels, and
   one saturated blue reserved for actions. */

:root {
  --bg: #08090b;
  --panel: #101216;
  --panel-2: #14171c;
  --line: #23272f;
  --line-soft: #1a1d23;
  --ink: #f2f4f7;
  --muted: #99a1ad;
  --accent: #2f7bf6;
  --accent-hi: #5b98f8;
  --accent-ink: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-hi); }
a:hover { color: #8fb8fa; }

.wrap { max-width: 940px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- header ---------- */

header.site {
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 9, 11, 0.88);
  backdrop-filter: blur(10px);
}
header.site .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
header.site strong { font-size: 17px; letter-spacing: 0.4px; }
header.site nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
header.site nav a:hover { color: var(--ink); }

/* ---------- type ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}
h1 .l { display: inline; }
@media (min-width: 621px) { h1 .l { display: block; } }
h1 .sub { display: block; color: var(--muted); font-size: 0.42em; letter-spacing: 2.4px; text-transform: uppercase; font-family: var(--sans); margin-bottom: 18px; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.2;
  margin: 56px 0 14px;
}
h3 { font-size: 16px; margin: 24px 0 6px; letter-spacing: 0.1px; }
p, li { color: var(--ink); }
.lede { font-size: 18px; color: var(--muted); max-width: 62ch; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

/* ---------- hero ---------- */

.hero { padding: 76px 0 8px; text-align: center; }
.hero .lede { margin: 0 auto 30px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 7px;
  border: 1px solid transparent;
}
.btn:hover { background: var(--accent-hi); color: var(--accent-ink); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { background: var(--panel-2); color: var(--ink); }
.btn.wide { display: block; text-align: center; margin-top: 20px; }

/* The hero mark is a lemniscate wound as a fine coil, sitting in a hairline
   frame the way the company site frames its own render. */
.hero-art {
  margin: 44px 0 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #05060a;
}
.hero-art img { display: block; width: 100%; height: auto; }

/* ---------- panels and grids ---------- */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
}
.grid .cell { background: var(--panel); padding: 24px; }
.grid .cell h3 { margin: 0 0 8px; font-size: 15px; }
.grid .cell p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 26px 0; }
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: #2c4a7a; }
.plan .name { font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.plan .blurb { color: var(--muted); font-size: 14px; margin: 0 0 20px; min-height: 42px; }
.plan .amount { font-family: var(--serif); font-size: 42px; line-height: 1; }
.plan .amount .cur { font-size: 15px; color: var(--muted); font-family: var(--sans); letter-spacing: 1px; margin-left: 6px; }
.plan .term { color: var(--muted); font-size: 14px; margin-top: 8px; }
.plan .save { align-self: flex-start; margin-top: 12px; font-size: 12px; letter-spacing: 0.6px; color: #8fd18f; border: 1px solid #2c4a2c; border-radius: 999px; padding: 2px 10px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan ul li { position: relative; padding-left: 24px; font-size: 15px; color: var(--muted); margin-bottom: 9px; }
.plan ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-hi); }

/* ---------- tables ---------- */

table { border-collapse: collapse; width: 100%; margin: 18px 0; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-soft); font-size: 15px; vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; }

/* ---------- notices ---------- */

.draft {
  border: 1px solid #8a6d2f;
  background: #211a0d;
  color: #f0d69a;
  border-radius: 10px;
  padding: 15px 17px;
  margin: 26px 0;
  font-size: 14px;
}

.note {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- contact and footer ---------- */

.contact-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.9;
}
.contact-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 22px; }
.contact-card dt { color: var(--muted); font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; padding-top: 2px; }
.contact-card dd { margin: 0; }

footer.site {
  border-top: 1px solid var(--line-soft);
  margin-top: 72px;
  padding: 32px 0 56px;
  color: var(--muted);
  font-size: 14px;
}
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); }
footer.site .biz { margin-top: 16px; line-height: 1.8; }

code { background: #050608; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; font-size: 14px; }

@media (max-width: 620px) {
  .hero { padding: 48px 0 4px; }
  .grid { grid-template-columns: 1fr; }
  .contact-card dl { grid-template-columns: 1fr; gap: 2px; }
  .contact-card dt { margin-top: 12px; }
}
