/* Polymerican - slide-inspired minimalist theme
   Palette derived from attached decks (dominant: white, Polymerican blue, Polymerican red, neutral grays).
*/
:root{
  --bg:#ffffff;
  --bg-soft:#f6f7fb;
  --ink:#0b1020;
  --muted:#5b657a;
  --line:#e7e9f2;

  --blue:#4053a4;     /* ~ (64,83,164) */
  --blue-2:#4f64bf;
  --red:#ad1d20;      /* ~ (173,29,32) */
  --gray:#6b7280;

  --radius:18px;
  --shadow:0 10px 30px rgba(11,16,32,.08);

  --max:1100px;
  --pad:24px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9}
p{margin:0 0 14px}
h1,h2,h3{margin:0 0 12px; line-height:1.1}
h1{font-size:clamp(36px, 5vw, 64px); letter-spacing:-.02em}
h2{font-size:clamp(26px, 3.2vw, 40px); letter-spacing:-.02em}
h3{font-size:20px}
small,.small{color:var(--muted); font-size:13px}

.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad)}
.section{padding:64px 0}
.section.tight{padding:40px 0}
.divider{height:1px; background:var(--line)}

.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px; font-weight:700;
  letter-spacing:.02em;
}
.logo-mark{
  width:36px; height:36px; border-radius:10px;
  background:linear-gradient(135deg, var(--blue), var(--blue-2));
  position:relative;
  box-shadow:0 6px 18px rgba(64,83,164,.25);
}
.logo-mark:after{
  content:""; position:absolute; inset:8px;
  border-radius:8px;
  border:2px solid rgba(255,255,255,.75);
}
.nav a.item{
  padding:10px 12px; border-radius:12px; color:var(--muted);
  font-weight:600; font-size:14px;
}
.nav a.item.active, .nav a.item:hover{
  color:var(--ink);
  background:var(--bg-soft);
}
.nav-links{display:flex; align-items:center; gap:4px}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:700;
  box-shadow:0 6px 16px rgba(11,16,32,.06);
}
.btn.primary{
  background:var(--blue);
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 24px rgba(64,83,164,.28);
}
.btn.primary:hover{transform:translateY(-1px)}
.btn.ghost{background:transparent; box-shadow:none}

.hero{
  padding:72px 0 36px;
  position:relative;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:28px;
  align-items:start;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:800; font-size:12px; letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
}
.kicker .dot{
  width:8px; height:8px; border-radius:99px; background:var(--red);
  box-shadow:0 0 0 5px rgba(173,29,32,.12);
}
.hero p{
  font-size:18px;
  color:var(--muted);
  max-width:64ch;
}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:#fff;
  box-shadow:var(--shadow);
}
.card.soft{background:var(--bg-soft); box-shadow:none}
.card h3{margin-bottom:8px}
.metric{
  font-weight:800;
  font-size:28px;
  letter-spacing:-.02em;
}
.tagline{
  font-weight:900;
  font-size:16px;
  text-transform:lowercase;
  letter-spacing:.02em;
}
.accent-line{
  height:3px; width:80px;
  background:linear-gradient(90deg, var(--red), var(--blue));
  border-radius:99px;
  margin:14px 0 18px;
}

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

.callout{
  border-left:4px solid var(--blue);
  padding:16px 18px;
  background:var(--bg-soft);
  border-radius:14px;
}
.callout strong{display:block; margin-bottom:6px}

.footer{
  padding:36px 0;
  border-top:1px solid var(--line);
  background:#fff;
}
.footer-inner{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:18px; flex-wrap:wrap;
}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--ink)}

.form{
  display:grid; gap:12px;
}
.field{
  display:grid; gap:6px;
}
input, select, textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  font:inherit;
  background:#fff;
}
textarea{min-height:140px; resize:vertical}
.hint{color:var(--muted); font-size:13px}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-weight:700; font-size:13px;
}

@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr; }
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
}
