/* A8Z site styles: matches the original a8z.biz design (dark navy, DM Sans, cyan-purple accents). */
:root {
  --bg: #080c16;
  --bg-alt: #151b28;
  --surface: rgba(15, 21, 36, 0.8);
  --line: rgba(0, 234, 255, 0.1);
  --line-soft: #20283c;
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #00eaff;
  --cyan-text: #13a5ce;
  --blue: #3381ff;
  --purple: #b266ff;
  --orange: #f97316;
  --grad: linear-gradient(135deg, #00eaff, #b266ff);
  --grad-btn: linear-gradient(135deg, #00eaff 0%, #3381ff 100%);
  --radius: 12px;
  --wrap: 1180px;
  --f: "DM Sans", system-ui, -apple-system, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--f);
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7ff4ff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--f); color: var(--text); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 .45em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--text); font-weight: 600; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--bg); padding: 10px 14px; z-index: 10; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: rgba(8, 12, 22, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.4rem; margin: 0; }
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .93rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.bar nav { margin-left: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad-btn); color: var(--bg); text-decoration: none;
  font: 600 1rem/1 var(--f); padding: 16px 32px; border-radius: var(--radius); border: 0;
  box-shadow: 0 0 20px rgba(0, 234, 255, .3), 0 0 40px rgba(0, 234, 255, .1);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { color: var(--bg); transform: translateY(-1px); box-shadow: 0 0 28px rgba(0, 234, 255, .45), 0 0 50px rgba(0, 234, 255, .15); }
.btn::after { content: "\2192"; }
.btn-ghost, .btn-outline-light { background: rgba(0, 234, 255, .06); color: var(--cyan); border: 1.5px solid var(--cyan); padding: 14.5px 30.5px; box-shadow: 0 0 16px rgba(0, 234, 255, .15); }
.btn-ghost:hover, .btn-outline-light:hover { color: var(--cyan); background: rgba(0, 234, 255, .14); box-shadow: 0 0 24px rgba(0, 234, 255, .3); }
.btn-light { background: var(--grad-btn); color: var(--bg); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 0 20px rgba(249, 115, 22, .3); }
.btn-orange:hover { color: #fff; box-shadow: 0 0 28px rgba(249, 115, 22, .45); }
.btn-orange::after { content: none; }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-sm::after { content: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #475569; }

/* Sections */
section { padding: 96px 0; position: relative; }
section.tight { padding: 56px 0; }
.alt { background: var(--bg-alt); }
.dark { background: radial-gradient(ellipse at 50% 0%, rgba(0, 234, 255, .08), transparent 60%), radial-gradient(ellipse at 80% 100%, rgba(178, 102, 255, .08), transparent 55%), var(--bg); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .875rem/1 var(--f); color: var(--cyan-text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
p, li, td { color: var(--muted); }

.hero { padding: 104px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0, 234, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 234, 255, .03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: 20%; width: 700px; max-width: 100%; height: 400px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 234, 255, .12), rgba(178, 102, 255, .06) 45%, transparent 70%);
  pointer-events: none; filter: blur(20px);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 920px; }

/* Centered heroes and section heads, like the original site */
.center, .home-hero, .cta-band { text-align: center; }
.home-hero h1 { max-width: 1040px; }
.home-hero h1, .home-hero .lead, .center .lead, .center h2, .cta-band .lead { margin-left: auto; margin-right: auto; }
.home-hero .ctas, .center .ctas, .cta-band .ctas { justify-content: center; }
.home-hero .answer { margin-left: auto; margin-right: auto; text-align: left; }

/* Answer box: the plain-language summary AI engines quote */
.answer {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  padding: 20px 24px; border-radius: var(--radius); margin: 32px 0; max-width: 840px;
}
.answer p:last-child { margin: 0; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s; }
.card:hover { border-color: rgba(0, 234, 255, .3); }
.card p:last-child { margin: 0; }
.card a.more { font-weight: 600; text-decoration: none; }
.card a.more::after { content: " \2192"; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px;
  font: 700 1.6rem/1 var(--f); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); font-size: .92rem; }
.stat b { display: block; font: 700 1.9rem/1.1 var(--f); margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.proof { display: grid; gap: 28px; grid-template-columns: 220px 1fr; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin-bottom: 20px; text-align: left; }
.proof img { border-radius: 16px; width: 220px; height: 220px; object-fit: cover; }

.checks { list-style: none; padding: 0; }
.checks li { padding: 14px 16px 14px 52px; position: relative; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.checks li::before {
  content: "\2713"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; color: var(--cyan); background: rgba(0, 234, 255, .1);
}
.crosses li::before { content: "\2715"; }

table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); }
.compare th, .compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare th { color: var(--text); font-weight: 600; }
.compare thead th { background: rgba(0, 234, 255, .06); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 20px 0; }

/* FAQ */
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 10px; text-align: left; }
.qa summary { cursor: pointer; font: 600 1.05rem/1.4 var(--f); color: var(--text); list-style: none; padding-right: 30px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: -3px; font-size: 1.4rem; color: var(--cyan); }
.qa[open] summary::after { content: "\2212"; }
.qa > div { padding-top: 12px; }
.qa > div p:last-child { margin: 0; }

.event-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 28px 0; }
.event-facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.event-facts span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }

.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 0 0 1em; }
.byline { color: var(--muted); font-size: .92rem; }
.note { font-size: .88rem; color: var(--muted); }
.dark .note { margin-top: 24px; }

.embed { border: 0; width: 100%; max-width: 560px; min-height: 340px; border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .92rem; }
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .brand img { height: 30px; margin-bottom: 14px; }
.foot { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.site-footer .foot-h { font-weight: 600; color: var(--text); margin-bottom: 14px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); margin-top: 44px; padding-top: 22px; }
.legal ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.legal p { margin: 0; }

@media (max-width: 900px) {
  .bar { flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; }
  .bar .btn { margin-left: auto; }
  .bar nav { order: 3; width: 100%; margin: 0; }
  .nav { gap: 18px; overflow-x: auto; padding-bottom: 12px; white-space: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .proof { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .foot { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
