:root {
  --ink: #111111;
  --text: #2b2f36;
  --muted: #6b7280;
  --line: #e7e7e7;
  --soft: #f6f6f6;
  --white: #ffffff;
  --ok: #1e8449;
  --err: #c0392b;
  /* --blue: #005EB2; */
  --blue: #14407A;
  --blue-dark: #0C2B55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--white);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { display: block; height: 44px; width: auto; }
.nav-cta { font-size: 14px; font-weight: 600; color: var(--white); background: var(--blue); padding: 10px 18px; border-radius: 999px; text-decoration: none; }

/* hero */
.hero { padding: 72px 20px 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 5px 14px; margin-bottom: 22px; }
h1 { font-size: clamp(38px, 8vw, 68px); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); margin: 0 0 20px; font-weight: 800; }
.lead { max-width: 620px; margin: 0 auto 32px; font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); }

/* form */
.wl-form { display: flex; gap: 10px; max-width: 540px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.wl-form input[type=email] { flex: 1 1 260px; padding: 15px 18px; font-size: 16px; border: 1px solid #cfcfcf; border-radius: 999px; background: var(--white); color: var(--ink); }
.wl-form input[type=email]:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
button { padding: 15px 26px; font-size: 16px; font-weight: 600; color: var(--white); background: var(--blue); border: 0; border-radius: 999px; cursor: pointer; }
button:hover { background: var(--blue-dark); }
button:disabled { opacity: .6; cursor: not-allowed; }
.msg { min-height: 24px; margin: 14px 0 0; font-weight: 500; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
.fine { color: var(--muted); font-size: 13px; margin: 2px 0 0; }

/* sections */
.section { padding: 64px 20px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4.5vw, 36px); letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 560px; }
h3 { color: var(--ink); margin: 0 0 6px; font-size: 19px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { background: var(--soft); border-radius: 16px; padding: 24px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--ink); color: var(--white); border-radius: 50%; font-weight: 700; margin-bottom: 14px; }
.note { text-align: center; margin: 28px auto 0; max-width: 560px; padding: 14px 18px; border: 1px dashed #bdbdbd; border-radius: 12px; font-size: 15px; }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.cat { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.cat p { margin: 0; color: var(--muted); font-size: 15px; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--ink); border-radius: 16px; padding: 28px; }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.card li { margin: 6px 0; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; max-width: 720px; margin: 0 auto; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

.final { background: var(--ink); color: var(--white); padding: 72px 20px; text-align: center; }
.final h2 { color: var(--white); }
.final .sub { color: #b9b9b9; }
.final .wl-form input[type=email] { border-color: transparent; }
.final button { background: var(--white); color: var(--ink); }
.final button:hover { background: #eaeaea; }
.final .msg.ok { color: #7be0a2; }
.final .msg.err { color: #ff9d90; }

.foot { padding: 22px 0; font-size: 13px; color: var(--muted); }
.foot .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* admin page (keeps working on the white theme) */
.wrap { max-width: 640px; margin: 0 auto; padding: 48px 20px; }
.admin { max-width: 960px; }
.admin input[type=text], .admin input[type=password] { padding: 14px 16px; font-size: 16px; border-radius: 10px; border: 1px solid #cfcfcf; background: var(--white); color: var(--ink); }
.admin #login { display: flex; gap: 10px; flex-wrap: wrap; }
.admin h1 { font-size: 28px; text-align: left; margin: 0; letter-spacing: -.01em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 20px 0; }
.stat { background: var(--soft); border-radius: 12px; padding: 16px; }
.stat b { display: block; font-size: 30px; color: var(--ink); }
table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-weight: 600; background: var(--soft); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 10px 18px; }
.ghost:hover { background: var(--soft); }
.admin h2 { text-align: left; margin: 28px 0 10px; font-size: 18px; }
.tablewrap { overflow-x: auto; }
.admin #msg { min-height: 24px; }
.admin #msg.err { color: var(--err); }

/* links */
.fine a, .foot a { color: inherit; text-decoration: underline; }
