/* Neurologic Cloud — premium dark theme */
:root {
  --bg-deep: #060a12;
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-soft: #172235;
  --line: rgba(148, 163, 184, 0.18);
  --text: #e8eef8;
  --text-muted: #9aa8bc;
  --muted: #94a3b8;
  --accent: #5eead4;
  --accent-2: #38bdf8;
  --accent-warm: #f0abfc;
  --danger: #fb7185;
  --success: #34d399;
  --shadow: 0 24px 60px rgba(2, 8, 23, 0.55);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 76px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(900px 500px at 88% 8%, rgba(94, 234, 212, 0.12), transparent 50%),
    radial-gradient(700px 400px at 70% 90%, rgba(240, 171, 252, 0.08), transparent 45%),
    linear-gradient(180deg, #070c16 0%, var(--bg-deep) 40%, #080e1a 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1rem; color: var(--muted); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-main {
  padding-top: var(--header-h);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(18px);
  background: rgba(6, 10, 18, 0.72);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 10, 18, 0.92);
  border-bottom-color: rgba(94, 234, 212, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover { color: var(--text); }

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(94, 234, 212, 0.95), rgba(56, 189, 248, 0.75));
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.35);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(6, 10, 18, 0.75);
  border-radius: 4px;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg) translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav .nav-cta {
  color: #041016;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  color: #041016;
  filter: brightness(1.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 26, 43, 0.8);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 0.5rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
    background: rgba(12, 18, 32, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 10px;
  }
  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), filter 0.25s, background 0.25s, border-color 0.25s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #041016;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover { color: #041016; filter: brightness(1.06); }

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.06);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Hero — editorial full-bleed */
.hero-bleed {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bleed__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bleed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.55);
  transform: scale(1.04);
  animation: heroDrift 22s var(--ease) infinite alternate;
}

.hero-bleed__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.35) 0%, rgba(6, 10, 18, 0.55) 40%, rgba(6, 10, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 10, 18, 0.75) 0%, transparent 55%);
  z-index: 1;
}

.hero-bleed__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3.5rem;
  max-width: 760px;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  background: linear-gradient(120deg, #fff 20%, var(--accent) 70%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeRise 0.9s var(--ease) both;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  animation: fadeRise 0.9s 0.1s var(--ease) both;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 34rem;
  animation: fadeRise 0.9s 0.2s var(--ease) both;
}

.hero-bleed .btn-row {
  animation: fadeRise 0.9s 0.35s var(--ease) both;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head p {
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.12), transparent 50%);
  pointer-events: none;
}

/* Proof strip */
.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(18, 26, 43, 0.55);
  padding: 2rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text);
  letter-spacing: -0.03em;
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}

/* Feature list (not cards in hero) */
.feature-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s var(--ease);
}

.feature-row:hover {
  background: rgba(94, 234, 212, 0.03);
}

.feature-index {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.7;
}

.feature-row h3 { margin-bottom: 0.35rem; }
.feature-row p { margin: 0; }

/* Course / blog listings */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .tile-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tile-grid { grid-template-columns: 1fr; }
}

.tile {
  display: flex;
  flex-direction: column;
  background: rgba(18, 26, 43, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  color: inherit;
}

.tile:hover {
  border-color: rgba(94, 234, 212, 0.4);
  transform: translateY(-4px);
  color: inherit;
}

.tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tile-body {
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tile-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.tile p {
  flex: 1;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.tile-link {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Quotes */
.quote-stack {
  display: grid;
  gap: 1.5rem;
}

.quote {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.quote:last-child {
  border-bottom: 1px solid var(--line);
}

.quote blockquote {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.55;
}

.quote footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-tier {
  padding: 2rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 26, 43, 0.45);
  display: flex;
  flex-direction: column;
}

.price-tier.is-featured {
  border-color: rgba(94, 234, 212, 0.55);
  background:
    linear-gradient(165deg, rgba(94, 234, 212, 0.1), transparent 45%),
    rgba(18, 26, 43, 0.7);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.08);
}

.price-tier h3 { margin-bottom: 0.35rem; }

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text);
  letter-spacing: -0.03em;
  margin: 1rem 0 0.35rem;
}

.price-amount span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.price-tier ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  flex: 1;
}

.price-tier li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.price-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* Forms */
.form-panel {
  background: rgba(18, 26, 43, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.form-group .hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(6, 10, 18, 0.65);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.55);
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error .field-error { display: block; }
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--danger);
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: var(--danger);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-details address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.8;
}

.contact-details a { color: var(--accent-2); }

/* Legal */
.legal-page {
  padding: 4rem 0 5rem;
  max-width: 760px;
}

.legal-page h1 { margin-bottom: 0.5rem; }
.legal-page .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  margin-top: 2.25rem;
  font-size: 1.35rem;
}

.legal-page ul {
  color: var(--muted);
  padding-left: 1.2rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: rgba(18, 26, 43, 0.8);
  color: var(--text);
  font-weight: 600;
}

.cookie-table td { color: var(--muted); }

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(18, 26, 43, 0.4);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  font-family: var(--font-display);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .faq-body {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}

/* Modules */
.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  counter-increment: mod;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.1rem;
}

.module-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.module-list p { margin: 0; }

/* Instructor */
.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 26, 43, 0.45);
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(94, 234, 212, 0.35);
}

@media (max-width: 560px) {
  .instructor { grid-template-columns: 1fr; justify-items: start; }
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}

.page-hero.with-media {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.page-hero.with-media .page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero.with-media .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.8);
}

.page-hero.with-media .page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.4), rgba(6, 10, 18, 0.92));
}

.page-hero.with-media .container {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3rem;
  width: min(100% - 2.5rem, var(--max));
}

.page-hero h1 { max-width: 18ch; }
.page-hero .lede {
  max-width: 36rem;
  font-size: 1.1rem;
  color: #cbd5e1;
}

/* Case studies */
.case-study {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.case-study h3 { margin-bottom: 0.5rem; }

/* CTA band */
.cta-band {
  margin: 2rem 0 0;
  padding: 3rem 0;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(94, 234, 212, 0.12), rgba(56, 189, 248, 0.08)),
    rgba(18, 26, 43, 0.7);
  border: 1px solid rgba(94, 234, 212, 0.25);
  text-align: center;
}

.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { max-width: 32rem; margin: 0 auto 1.25rem; }

/* Footer */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 16, 0.85);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.site-footer h3 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  background: rgba(12, 18, 32, 0.96);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible { display: block; animation: fadeRise 0.45s var(--ease); }

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.cookie-banner a { color: var(--accent); }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.btn-reject {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-reject:hover {
  border-color: rgba(251, 113, 133, 0.45);
  color: var(--text);
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: var(--danger);
  display: none;
}

.inline-error.is-visible { display: block; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.accent-line {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 1rem 0 1.5rem;
  animation: pulseLine 3s ease-in-out infinite;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.outcome-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

.prose-wide {
  max-width: 68ch;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.article-body h2 {
  margin-top: 2.5rem;
  font-size: 1.45rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.cover-wide {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}

.cover-wide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.include-slot:empty {
  min-height: 0;
}
