/* AdKilla landing page
   Brand: blue #2E7DFF -> teal #14C1B4, accent yellow #FFCB45 (from tools/make_icon.ps1) */

:root {
  --blue: #2e7dff;
  --teal: #14c1b4;
  --yellow: #ffcb45;
  --red: #ff5a5a;

  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --ink: #0e1726;
  --ink-soft: #4d5b70;
  --line: #dfe6f0;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(14, 23, 38, .06), 0 12px 32px -12px rgba(14, 23, 38, .18);
  --radius: 14px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-alt: #101a2c;
    --ink: #eaf0fa;
    --ink-soft: #9fb0c9;
    --line: #1e2b42;
    --card: #121d31;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep anchor targets clear of the sticky header. */
:target, [id] { scroll-margin-top: 5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--blue); }

code {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
  font-size: .92em;
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  padding: .12em .4em;
  border-radius: 5px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand img { border-radius: 9px; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); }

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  padding: .5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- hero ---------- */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  padding: .35rem .75rem;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 800;
  margin-bottom: .5em;
}

.grad {
  background: linear-gradient(100deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34em;
}
.lede strong { color: var(--ink); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1.8rem 0 1.4rem;
}

.cta-note { font-size: .88rem; color: var(--ink-soft); max-width: 20rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.6rem;
  border-radius: 12px;
  font-weight: 650;
  font-size: 1.02rem;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--blue) 75%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-primary:active { transform: translateY(0); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.1rem; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: var(--ink-soft);
}
.trust li { display: flex; align-items: center; gap: .45rem; }
.trust li::before {
  content: "";
  width: 15px; height: 15px;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

.hero-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero-shot { order: -1; max-width: 520px; }
}

/* ---------- browsers strip ---------- */

.browsers {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.6rem;
  border-bottom: 1px solid var(--line);
}
.browsers-label {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.browsers-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.browsers-list li {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .85rem;
  background: var(--bg-alt);
}

/* ---------- sections ---------- */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-lede { color: var(--ink-soft); max-width: 46em; font-size: 1.05rem; }

/* Full-bleed tinted band; the inner .section keeps the normal column width. */
.band {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

/* ---------- feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
  margin-top: 2.2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.12rem; margin-bottom: .45em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.card-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-mask-position: center; mask-position: center;
  position: relative;
}
.card-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  -webkit-mask-size: 22px 22px; mask-size: 22px 22px;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.ico-close::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 6 6 18M6 6l12 12' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 6 6 18M6 6l12 12' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>");
}
.ico-tabs::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 8h18v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8Zm0 0V6a2 2 0 0 1 2-2h5l2 2' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 8h18v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8Zm0 0V6a2 2 0 0 1 2-2h5l2 2' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/></svg>");
}
.ico-history::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M12 7v5l3.5 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M12 7v5l3.5 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}
.ico-shield::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6l7-3Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/><path d='m9 12 2 2 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3l7 3v6c0 4.5-3 7.7-7 9-4-1.3-7-4.5-7-9V6l7-3Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/><path d='m9 12 2 2 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.ico-dpi::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='4' width='18' height='13' rx='2' fill='none' stroke='black' stroke-width='2'/><path d='M8 21h8' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='4' width='18' height='13' rx='2' fill='none' stroke='black' stroke-width='2'/><path d='M8 21h8' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}
.ico-audit::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='6.5' fill='none' stroke='black' stroke-width='2'/><path d='m16 16 4.5 4.5' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='6.5' fill='none' stroke='black' stroke-width='2'/><path d='m16 16 4.5 4.5' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { position: relative; padding-top: .3rem; }
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  margin-bottom: .9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

.mid-cta { margin-top: 2.6rem; }

/* ---------- terminal ---------- */

.terminal {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .9rem;
  background: #16233a;
  border-bottom: 1px solid #22314c;
}
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3c4d6b; }
.terminal-bar span:first-child { background: var(--red); }
.terminal-bar span:nth-child(2) { background: var(--yellow); }
.terminal-bar span:nth-child(3) { background: var(--teal); }
.terminal-bar em {
  margin-left: .6rem;
  font-style: normal;
  font-size: .82rem;
  color: #8ea3c4;
}
.terminal pre {
  margin: 0;
  padding: 1.2rem 1.3rem;
  overflow-x: auto;
  color: #d7e3f5;
  font: .9rem/1.7 ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
}
.terminal code { background: none; padding: 0; font-size: inherit; }
.terminal .p { color: var(--teal); }

/* ---------- note ---------- */

.note {
  border-left: 4px solid var(--yellow);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow);
}
.note h2 { font-size: 1.35rem; }
.note p { margin: 0; color: var(--ink-soft); max-width: 62ch; }

/* ---------- faq ---------- */

.faq { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem .5rem 1.05rem 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { color: var(--ink-soft); margin: 0 0 1.1rem; max-width: 68ch; }

/* ---------- final cta ---------- */

.final-cta {
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 12%, var(--bg)), color-mix(in srgb, var(--teal) 12%, var(--bg)));
  border-top: 1px solid var(--line);
}
.final-cta img { border-radius: 18px; margin-bottom: 1.2rem; }
.final-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.4rem; }
.final-note { margin: 1.2rem 0 0; color: var(--ink-soft); font-size: .92rem; }

/* ---------- footer ---------- */

.site-footer {
  padding: 2.2rem clamp(1rem, 4vw, 2.5rem) 3rem;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .92rem;
}
.site-footer p { margin: .2rem 0; }
.site-footer .fine { font-size: .85rem; opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
