:root{
  --red:#f01c1b;
  --red-d:#c41414;
  --ink:#161616;
  --muted:#5c5c5c;
  --line:#e6e6e6;
  --bg:#fff;
  --alt:#f6f6f6;
  --dark:#0c0c0d;
  --card:#fff;
  --ok:#1b7a3a;
  --warn:#8a6200;
  --radius:16px;
  --shadow:0 8px 28px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:76px}
body{
  margin:0;
  font-family:"Outfit",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.5;
  font-size:18px;
  -webkit-text-size-adjust:100%;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--red-d)}
h1,h2,h3{line-height:1.15;margin:0 0 .6rem;letter-spacing:-.02em}
h1{font-size:clamp(2rem,7vw,3.1rem)}
h2{font-size:clamp(1.45rem,4.4vw,2rem)}
h3{font-size:1.15rem}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.narrow{max-width:720px}
.skip{position:absolute;left:-9999px;top:0;background:#fff;padding:8px 12px;z-index:100}
.skip:focus{left:8px;top:8px}

.test-banner{
  background:#fff4d0;color:#3a2a00;font-size:.88rem;text-align:center;
  padding:8px 12px;font-weight:600;
}

.site-header{position:sticky;top:0;z-index:50;background:var(--dark);color:#fff}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:8px 0}
.brand{display:flex;align-items:center;gap:.28rem;color:#fff;text-decoration:none;font-weight:800;min-width:0}
.brand img{width:42px;height:42px;flex-shrink:0}
.brand .word{font-size:1.45rem;letter-spacing:-.04em;line-height:1}
.nav{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.nav a{color:#fff;text-decoration:none;font-weight:650;font-size:.95rem;padding:8px 10px;border-radius:999px}
.nav a:hover,.nav a[aria-current="page"]{background:rgba(255,255,255,.12)}
.nav .join{background:var(--red);color:#fff;padding:8px 14px}
.nav .join:hover{background:var(--red-d)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--red);color:#fff;font-weight:800;text-decoration:none;
  border:0;border-radius:999px;padding:14px 26px;font-size:1.05rem;
  cursor:pointer;min-height:48px;text-align:center;line-height:1.2;
  font-family:inherit;
}
.btn:hover{background:var(--red-d)}
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{
  outline:3px solid #ffd666;outline-offset:3px
}
.btn-block{width:100%}
.btn-ghost{background:transparent;border:2px solid currentColor;color:inherit}
.btn-ghost:hover{background:rgba(255,255,255,.1)}
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{background:#f0f0f0}
.btn-disabled,.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed;pointer-events:none}
.btn[disabled]{opacity:.6;cursor:wait}
.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

.hero{background:var(--dark);color:#fff;padding:48px 0 56px}
.hero .brand-lg{display:flex;align-items:center;justify-content:center;gap:.35rem;margin:0 0 18px}
.hero .brand-lg img{width:72px;height:72px}
.hero .brand-lg .word{font-size:clamp(2.2rem,8vw,3.6rem);font-weight:800;letter-spacing:-.045em}
.tagline{
  text-align:center;font-size:clamp(2rem,8.5vw,4.2rem);font-weight:800;
  letter-spacing:-.04em;line-height:1.05;margin:0 0 14px;
}
.hero-lead{text-align:center;color:#c8c8c8;max-width:34rem;margin:0 auto 22px;font-size:1.08rem}
.hero .actions{justify-content:center}
.coverage{
  text-align:center;margin:22px auto 0;color:#ddd;font-weight:650;font-size:1rem;
}
.coverage strong{color:#fff}

.section{padding:52px 0}
.section.alt{background:var(--alt)}
.section-lead{color:var(--muted);margin:-.3rem 0 1.3rem;max-width:40rem}

.steps{list-style:none;counter-reset:s;padding:0;margin:0;display:grid;gap:16px}
@media (min-width:800px){.steps{grid-template-columns:repeat(3,1fr)}}
.steps li{counter-increment:s;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px 20px 68px;position:relative}
.steps li::before{
  content:counter(s);position:absolute;left:16px;top:18px;width:36px;height:36px;
  border-radius:50%;background:var(--dark);color:#fff;font-weight:800;display:grid;place-items:center;
}
.steps h3{margin:0 0 .35rem}
.steps p{margin:0;color:var(--muted)}

.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px;align-items:center}
.search{flex:1 1 220px;min-width:0}
.search input,.field input,.field select,.field textarea{
  width:100%;font:inherit;padding:12px 14px;border:1.5px solid #ccc;border-radius:12px;background:#fff;color:var(--ink)
}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;
  font:inherit;font-weight:650;font-size:.92rem;cursor:pointer;color:var(--ink)
}
.chip[aria-pressed="true"]{background:var(--dark);color:#fff;border-color:var(--dark)}

.grid{display:grid;gap:16px;grid-template-columns:1fr}
@media (min-width:640px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.grid{grid-template-columns:repeat(3,1fr)}}

.card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:16px;display:flex;flex-direction:column;gap:10px;min-width:0;
  box-shadow:var(--shadow);
}
.card-top{display:flex;gap:12px;align-items:flex-start}
.card-top img{width:64px;height:64px;border-radius:16px;background:var(--alt);flex-shrink:0;object-fit:cover}
.card h3{margin:0 0 2px;font-size:1.12rem}
.card .blurb{margin:0;color:var(--muted);font-size:.95rem;flex:1}
.meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.badge{
  display:inline-block;border-radius:999px;padding:3px 9px;font-size:.75rem;font-weight:700;
  background:var(--alt);color:var(--ink);border:1px solid var(--line)
}
.badge.video{background:#e9f6ec;color:var(--ok);border-color:#c9e6d0}
.badge.novideo{background:#f4f4f4;color:#666}
.badge.soon{background:#fff4d0;color:#3a2a00;border-color:#e8c766}
.badge.ver{background:#eee}
.card .actions{margin-top:auto}

.site-footer{background:var(--dark);color:#c8c8c8;padding:36px 0 28px;font-size:.95rem}
.site-footer a{color:#fff}
.foot-brand{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.foot-brand img{width:auto;height:88px;background:#fff;border-radius:8px;object-fit:contain}
.foot-note{margin:.4rem 0;max-width:40rem}
.draft{background:#fff4d0;border:1px solid #e8c766;border-radius:12px;padding:12px 14px;color:#3a2a00;font-weight:650;margin:0 0 16px}

.field{margin:0 0 14px}
.field label{display:block;font-weight:700;margin:0 0 6px}
.help{color:var(--muted);font-size:.9rem;margin:6px 0 0}
.error{color:var(--red-d);font-size:.9rem;margin:6px 0 0}
.form-status{margin:12px 0 0;font-weight:650}
.form-status.ok{color:var(--ok)}
.form-status.bad{color:var(--red-d)}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}

.video{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:14px;overflow:hidden}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.more-videos{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:8px}
.more-videos a{font-weight:650}

.app-hero{display:flex;gap:16px;align-items:flex-start;margin:0 0 18px}
.app-hero img{width:88px;height:88px;border-radius:22px;background:var(--alt)}

.x-placeholder{opacity:.7}
.x-note{color:var(--muted);font-size:.92rem;margin:.5rem 0 0}

/* Certificate */
.cert-page{background:#ece6d8}
.cert-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 20px}
.cert{
  width:min(100%, 900px);margin:0 auto 40px;background:#fbf7ee;
  border:12px solid #1a1a1a;padding:32px 28px 28px;position:relative;
  color:#1a1a1a;
}
.cert::before{
  content:"";position:absolute;inset:8px;border:2px solid var(--red);pointer-events:none
}
.cert-inner{position:relative;text-align:center;padding:8px}
.cert .insignia{width:200px;height:auto;margin:0 auto 10px;display:block}
.cert .kicker{letter-spacing:.14em;text-transform:uppercase;font-weight:700;font-size:.8rem;color:#555;margin:0 0 6px}
.cert h1{font-size:clamp(1.8rem,5vw,2.6rem);margin:0 0 8px}
.cert .line{margin:10px auto;max-width:36rem}
.cert .who{font-size:clamp(1.6rem,5vw,2.2rem);font-weight:800;margin:8px 0;letter-spacing:-.02em}
.cert .product{font-size:1.35rem;font-weight:750;margin:4px 0 12px}
.cert .sig-row{display:flex;justify-content:center;margin:28px 0 8px}
.cert .sig-box{
  min-width:240px;border-top:1px solid #333;padding-top:8px;text-align:center
}
.sig-placeholder{
  display:block;border:1.5px dashed #888;color:#666;font-style:italic;font-weight:650;
  padding:16px 18px;margin:0 auto 8px;max-width:260px;background:rgba(255,255,255,.5)
}
.cert .fine{font-size:.85rem;color:#555;margin-top:16px}
@media print{
  .test-banner,.site-header,.site-footer,.cert-actions,.skip{display:none !important}
  body,.cert-page{background:#fff}
  .cert{border-width:10px;box-shadow:none;margin:0 auto}
}

@media (max-width:640px){
  .brand img{width:36px;height:36px}
  .brand .word{font-size:1.25rem}
  .nav a{padding:8px 8px;font-size:.88rem}
  .hero{padding:36px 0 42px}
  .hero .brand-lg img{width:58px;height:58px}
}

.card-shot{
  margin:-16px -16px 0;border-radius:var(--radius) var(--radius) 0 0;overflow:hidden;
  background:#111;aspect-ratio:3/4;max-height:280px;
}
.card-shot img{width:100%;height:100%;object-fit:cover;object-position:top center}
.card-shot.missing{display:grid;place-items:center;background:var(--alt);color:var(--muted);font-weight:650;font-size:.9rem;aspect-ratio:16/10;max-height:120px}
.premium-note{
  margin:0;font-size:.88rem;color:#3a2a00;background:#fff8e6;border:1px solid #ead8a6;
  border-radius:12px;padding:10px 12px;line-height:1.4;
}
.draft-tag{
  display:inline-block;background:#fff4d0;border:1px solid #e8c766;border-radius:999px;
  font-size:.68rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;
  padding:1px 7px;margin-right:6px;vertical-align:middle;
}
.member-box{background:var(--alt);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;margin:16px 0}
.code-display{font-size:1.6rem;font-weight:800;letter-spacing:.08em;margin:8px 0}
.idea-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;display:grid;gap:8px}
.idea-meta{color:var(--muted);font-size:.9rem}
.vote-row{display:flex;gap:10px;align-items:center}
.vote-count{font-weight:800}
.app-shots{display:grid;gap:12px;margin:0 0 16px}
.app-shots img{width:100%;max-width:320px;border-radius:16px;border:1px solid var(--line);margin:0 auto}
.btn-small{padding:10px 16px;font-size:.95rem;min-height:44px}
.badge.dave{
  background:#111;color:#fff;border-color:#111;
  letter-spacing:.02em;
}

.back-apps{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;text-decoration:none;color:var(--ink);margin:0 0 1rem}
.back-apps:hover{color:var(--red)}
