/* WatcherDNS marketing site: same palette as the portal (slate + Frontline red) */
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #c81e1e;
  --brand-dark: #a31818;
  --brand-soft: #fdf2f2;
  --night: #020617;
  --night-2: #0f172a;
  --night-line: #1e293b;
  --ok: #4ade80;
  --radius: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--brand-soft); color: var(--brand-dark); padding: .1em .35em; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(2, 6, 23, .92); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--night-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 750; font-size: 1.1rem; }
.brand-mark { width: 28px; height: 28px; fill: none; stroke: #ef4444; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #cbd5e1; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav .btn { color: #fff; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 650; padding: .75em 1.3em; border-radius: 8px; border: 1px solid var(--brand); transition: background .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-small { padding: .5em 1em; font-size: .9rem; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: currentColor; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(200, 30, 30, .28), transparent 60%), var(--night); color: #e2e8f0; padding: 88px 0 96px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 650; color: #f87171; margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: #cbd5e1; max-width: 36em; margin-bottom: 1.8em; }
.hero .btn-ghost { color: #e2e8f0; }

.hero-card { min-width: 0; }
.term { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); overflow: hidden; }
.term-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--night-line); }
.term-bar span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.term pre { margin: 0; padding: 18px; overflow-x: auto; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: #e2e8f0; }
.term .dim { color: #64748b; }
.term .hl { color: #f87171; font-weight: 600; }
.term .ok { color: var(--ok); }
.hero-card-note { margin-top: 12px; font-size: .85rem; color: #94a3b8; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--ink-2); font-size: 1.08rem; max-width: 42em; margin-bottom: 2.2em; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 20px; background: #fff; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 750; margin-bottom: 14px; }
.steps p { color: var(--ink-2); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.feature svg { width: 32px; height: 32px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.feature p { color: var(--ink-2); margin: 0; font-size: .97rem; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .7em; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c81e1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg-alt); }
.roles { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; }
.roles dt { font-weight: 650; }
.roles dd { margin: 0; color: var(--ink-2); }

.cta-band { background: var(--night); color: #e2e8f0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cbd5e1; margin: 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band .btn-ghost { color: #e2e8f0; }

/* Footer */
.site-footer { background: var(--night); color: #94a3b8; border-top: 1px solid var(--night-line); padding: 28px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner a { color: #cbd5e1; text-decoration: none; }
.footer-inner a:hover { color: #fff; }
.brand-small { font-size: 1rem; }
.brand-small .brand-mark { width: 22px; height: 22px; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 36px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .nav a:not(.btn):not(.nav-signin) { display: none; }
  .term pre { font-size: 11px; padding: 14px; }
  .nav { gap: 14px; }
}
