/* Agent Wardog marketing site. Plain CSS, no scripts, no inline styles (the CSP forbids both).
   Palette matches the dashboard (web/app/static/app.css); the .dc-* blocks imitate Discord's dark theme. */
:root {
  color-scheme: dark;
  --bg: #0d0e11;
  --bg-2: #101217;
  --panel: #15171c;
  --panel-2: #1b1e25;
  --line: #2a2e38;
  --text: #e8eaee;
  --muted: #9097a5;
  --accent: #ff2e2e;
  --accent-2: #ff5c5c;
  --radius: 14px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0 0 1rem; }
code { font-family: var(--mono); font-size: .88em; background: var(--panel-2); padding: .12em .4em; border-radius: 5px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.fine { font-size: .85rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1.05rem; border-radius: 10px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { border-color: #3a3f4c; background: var(--panel-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 28px -10px rgba(255, 46, 46, .7); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; }
.btn.big { padding: .85rem 1.4rem; font-size: 1.02rem; border-radius: 12px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 14, 17, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 46, 56, .7);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; }
.logo b { color: var(--accent); font-weight: 800; }
.logo.small { font-size: 1rem; }
.links { display: flex; gap: 22px; margin-left: 8px; }
.links a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.links a:hover { color: var(--text); }
.cta { margin-left: auto; display: flex; gap: 10px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 84px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(255, 46, 46, .16), transparent 60%),
    radial-gradient(700px 380px at -5% 30%, rgba(255, 46, 46, .07), transparent 60%),
    var(--bg);
}
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--accent-2); margin-bottom: 14px; }
.eyebrow.center { text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.hl { color: var(--accent); }
.lede { font-size: 1.15rem; color: #c3c8d2; max-width: 34em; }
.lede.center { margin-left: auto; margin-right: auto; }
.narrow .lede + p { margin-top: 30px; }  /* the button under the centered intro (404 page) */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.ticks li::before { content: "✓"; color: var(--accent-2); font-weight: 800; margin-right: 8px; }
.hero-art { position: relative; }
.caption { text-align: center; font-size: .78rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid #1a1d24; }
.section-title { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; max-width: 22em; margin: 0 auto 56px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.row.flip .row-copy { order: 2; }
.chip { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); background: rgba(255, 46, 46, .1); border: 1px solid rgba(255, 46, 46, .28); margin-bottom: 16px; }
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.row p { color: #c3c8d2; }
.bullets { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 26px; color: #c3c8d2; font-size: .98rem; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.bullets b { color: var(--text); }

.grid-title { text-align: center; font-size: 1.4rem; font-weight: 800; margin: 8px 0 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: #3a3f4c; transform: translateY(-2px); }
.card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- dashboard mock-up ---------- */
.pm { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.pm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pm-title { font-size: 1.15rem; font-weight: 800; }
.pm-status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: #3ecf8e; background: rgba(62, 207, 142, .1); border: 1px solid rgba(62, 207, 142, .3); padding: 3px 11px; border-radius: 999px; }
.pm-status i { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; }
.pm-btns { display: flex; gap: 10px; margin-bottom: 18px; }
.pm-btn { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; font-weight: 600; background: var(--panel-2); }
.pm-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.pm-logs { background: #0b0c0f; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: var(--mono); font-size: .8rem; color: #9fb0a6; display: grid; gap: 5px; }

/* ---------- everything it does ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cat h4 { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cat li { position: relative; padding-left: 22px; font-size: .93rem; color: #c3c8d2; line-height: 1.45; }
.cat li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }
.cmds-title { margin-top: 64px; }
.cmds { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.cmd-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.cmd-label { flex: 0 0 100%; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.pill { font-family: var(--mono); font-size: .85rem; padding: 4px 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); color: #dfe3ea; }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h4 { font-size: 1.05rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.section .fine.center { margin: 28px auto 0; max-width: 46em; }

/* ---------- pricing / cta ---------- */
.cta-card { max-width: 760px; margin: 0 auto; padding: 48px 32px; text-align: center; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(600px 240px at 50% -20%, rgba(255, 46, 46, .18), transparent 70%), var(--panel); }
.cta-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.cta-card .lede { margin-bottom: 26px; }

/* ---------- faq ---------- */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-2); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 20px; margin: 0; color: #c3c8d2; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; background: var(--bg-2); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-in > div { max-width: 560px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.foot-links a:hover { color: var(--text); }

/* ---------- Discord mock-ups ---------- */
.dc {
  background: #313338; color: #dbdee1; border-radius: 12px; overflow: hidden;
  border: 1px solid #1e1f22; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02);
  font: 15px/1.4 "gg sans", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left;
}
.dc-head { padding: 11px 16px; background: #2b2d31; border-bottom: 1px solid #1e1f22; font-weight: 600; color: #f2f3f5; }
.dc-head.sub { border-top: 1px solid #1e1f22; }
.dc-head .hash { color: #80848e; margin-right: 6px; font-weight: 500; }
.dc-msg { display: flex; gap: 14px; padding: 14px 16px; }
.dc-msg.reply { background: rgba(88, 101, 242, .06); }
.dc-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #15171c; color: var(--accent); display: grid; place-items: center; font-size: .78rem; font-weight: 800; border: 2px solid var(--accent); }
.dc-avatar.user { background: #5865f2; color: #fff; border-color: #5865f2; font-size: .95rem; }
.dc-body { min-width: 0; flex: 1; }
.dc-name { font-weight: 600; color: #f2f3f5; margin-bottom: 3px; }
.dc-tag { display: inline-block; background: #5865f2; color: #fff; font-size: .62rem; font-weight: 700; padding: 1px 5px; border-radius: 4px; vertical-align: 1px; margin-left: 4px; }
.dc-text { color: #dbdee1; }
.dc-text .muted, .dc-name .muted { color: #949ba4; font-weight: 400; }
.mention { background: rgba(88, 101, 242, .3); color: #c9cdfb; border-radius: 4px; padding: 0 3px; font-weight: 500; }
.slash { color: #c9cdfb; font-weight: 600; }
.dc-embed { margin-top: 6px; background: #2b2d31; border-left: 4px solid var(--accent); border-radius: 4px; padding: 12px 14px 12px 14px; max-width: 460px; display: grid; gap: 10px; }
.dc-embed.thin { padding: 10px 14px; }
.dc-embed-title { font-weight: 700; color: #f2f3f5; }
.dc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dc-k { font-size: .74rem; font-weight: 700; color: #b5bac1; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.dc-v { font-weight: 600; color: #f2f3f5; }
.dc-v.small { font-weight: 500; font-size: .88rem; color: #dbdee1; line-height: 1.5; }
.dc-foot { font-size: .72rem; color: #949ba4; padding-top: 2px; }
.bar { height: 6px; border-radius: 4px; background: #1e1f22; margin-top: 7px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #23a55a, #3ecf8e); border-radius: 4px; }
.w-65 { width: 65%; }
.factions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.f { font-size: .82rem; padding: 3px 9px; border-radius: 999px; background: #1e1f22; border: 1px solid #3a3d43; }
.f b { margin-left: 4px; }
.f1 { border-color: #e0863a; } .f2 { border-color: #4a90e2; } .f3 { border-color: #3ecf8e; }
.dc-buttons { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dbtn { display: inline-block; padding: 6px 14px; border-radius: 4px; font-size: .86rem; font-weight: 600; background: #5865f2; color: #fff; }
.dbtn.go { background: #248046; }
.dbtn.grey { background: #4e5058; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in, .row { grid-template-columns: 1fr; gap: 40px; }
  .row.flip .row-copy { order: 0; }
  .row { margin-bottom: 72px; }
  .cards, .cards.four, .cats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 0 60px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .links { display: none; }
  .nav-in { height: 58px; gap: 12px; }
  .cta .ghost { display: none; }
  .section { padding: 60px 0; }
  .cards, .cards.four, .steps, .cats { grid-template-columns: 1fr; }
  .dc-grid { grid-template-columns: 1fr 1fr; }
  .btn.big { width: 100%; }
  .hero-cta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
