/* Sysnetops — premium dark + gold theme */

:root {
  --bg: #0c0b09;
  --bg-elevated: #161410;
  --bg-soft: #1c1914;
  --surface: #221e18;
  --ink: #f3ead7;
  --ink-muted: #b8a88c;
  --ink-dim: #8a7a62;
  --gold: #c9a46a;
  --gold-bright: #e0c086;
  --gold-deep: #9a7640;
  --line: rgba(201, 164, 106, 0.22);
  --line-strong: rgba(201, 164, 106, 0.45);
  --danger: #d4846a;
  --success: #8fbf8a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 164, 106, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(154, 118, 64, 0.08), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

p { margin: 0 0 1.1em; color: var(--ink-muted); }

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

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

.narrow {
  width: min(100% - 2.5rem, 720px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 11, 9, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  background: linear-gradient(145deg, var(--gold-deep), transparent 60%);
  box-shadow: inset 0 0 0 3px var(--bg);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--gold-bright);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line-strong);
  color: var(--gold) !important;
}

.nav-cta:hover {
  background: rgba(201, 164, 106, 0.12);
  color: var(--gold-bright) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--gold);
  margin: 0.28rem 0;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.55rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a140c;
  font-weight: 600;
}

.btn-gold:hover {
  color: #0c0b09;
}

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

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--ink);
}

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

/* Hero — editorial split */
.hero-editorial {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--bg) 55%, rgba(12, 11, 9, 0.55) 100%);
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-copy h1 {
  margin-bottom: 0.35em;
  opacity: 0;
  animation: rise 1s var(--ease) 0.3s forwards;
}

.hero-brand-line {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.2rem);
  color: var(--gold-bright);
  font-weight: 500;
  line-height: 0.95;
  margin: 0 0 0.25em;
  opacity: 0;
  animation: rise 1s var(--ease) 0.2s forwards;
}

.hero-lede {
  font-size: 1.12rem;
  max-width: 34ch;
  opacity: 0;
  animation: rise 1s var(--ease) 0.45s forwards;
}

.hero-copy .btn-row {
  opacity: 0;
  animation: rise 1s var(--ease) 0.6s forwards;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: saturate(0.85) contrast(1.05);
  animation: ken 18s ease-in-out infinite alternate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 28%),
    linear-gradient(0deg, rgba(12, 11, 9, 0.35), transparent 40%);
  pointer-events: none;
}

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

@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (max-width: 860px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    min-height: 52vw;
    order: -1;
  }
  .hero-copy {
    background: var(--bg);
    padding-top: 2.5rem;
  }
  .hero-visual::after {
    background: linear-gradient(180deg, transparent 40%, var(--bg));
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.rule {
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0 0;
  border: 0;
}

/* Proof strip */
.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 2.25rem 0;
}

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

.proof-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--gold-bright);
  display: block;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.proof-label {
  color: var(--ink-dim);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Quote band */
.quote-band {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "“";
  font-family: var(--serif);
  font-size: 12rem;
  color: rgba(201, 164, 106, 0.08);
  position: absolute;
  top: -2rem;
  left: 1rem;
  line-height: 1;
  pointer-events: none;
}

.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: var(--ink);
  line-height: 1.4;
  max-width: 38rem;
  margin-bottom: 1.25rem;
}

.quote-meta {
  color: var(--ink-dim);
  font-size: 0.92rem;
  margin: 0;
}

/* Course / media tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.media-tile {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.media-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.media-tile img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.media-tile:hover img {
  transform: scale(1.04);
}

.media-tile-body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.media-tile h3 {
  color: var(--ink);
  margin-bottom: 0.4em;
}

.media-tile p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.media-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Benefits list — not cards */
.benefit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.benefit-idx {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

.benefit-row h3 {
  margin-bottom: 0.35em;
}

.benefit-row p {
  margin: 0;
  max-width: 52ch;
}

/* Page heroes (inner) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

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

.page-hero.with-image .page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero.with-image .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.8);
}

.page-hero.with-image .wrap {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 8rem) 0 3rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lede {
  max-width: 42ch;
  font-size: 1.1rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.price-panel {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 2rem 1.75rem 2.15rem;
  display: flex;
  flex-direction: column;
}

.price-panel.featured {
  border-color: var(--gold);
  background:
    linear-gradient(165deg, rgba(201, 164, 106, 0.12), transparent 45%),
    var(--bg-soft);
}

.price-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.price-amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-bright);
  margin: 0.5rem 0 0.25rem;
}

.price-amount span {
  font-size: 1rem;
  color: var(--ink-dim);
  font-family: var(--sans);
}

.price-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

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

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

/* Testimonials */
.review-stack {
  display: grid;
  gap: 1.75rem;
}

.review-item {
  border-left: 2px solid var(--gold-deep);
  padding: 0.35rem 0 0.35rem 1.5rem;
}

.review-item.wide {
  border-left: 0;
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.review-item blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.45;
}

.review-item p.review-body {
  margin-bottom: 1rem;
}

.review-attr {
  font-size: 0.9rem;
  color: var(--ink-dim);
  margin: 0;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.45rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

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

.form-field.has-error .field-error {
  display: block;
}

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

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  border: 1px solid var(--line);
}

.form-status.is-success {
  display: block;
  color: var(--success);
  border-color: rgba(143, 191, 138, 0.4);
  background: rgba(143, 191, 138, 0.08);
}

.form-status.is-error {
  display: block;
  color: var(--danger);
  border-color: rgba(212, 132, 106, 0.4);
  background: rgba(212, 132, 106, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

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

.contact-aside {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.contact-aside h2 {
  font-size: 1.4rem;
}

.contact-aside p {
  font-size: 0.98rem;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 2.5rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

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

.blog-row h2 {
  font-size: 1.65rem;
  color: var(--ink);
  margin-bottom: 0.4em;
}

.blog-date {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

@media (max-width: 640px) {
  .blog-row { grid-template-columns: 1fr; }
}

.prose {
  max-width: 680px;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose ul, .prose ol {
  color: var(--ink-muted);
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 2rem 0 2.5rem;
  border: 1px solid var(--line);
}

/* Course detail */
.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.module-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}

.module-num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.25rem;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  list-style: none;
}

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

.faq-list details p {
  margin: 0.85rem 0 0.25rem;
}

/* Legal */
.legal-doc h2 {
  margin-top: 2.5rem;
  font-size: 1.55rem;
}

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

.legal-doc th,
.legal-doc td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  color: var(--ink-muted);
}

.legal-doc th {
  background: var(--bg-elevated);
  color: var(--gold);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(201, 164, 106, 0.1), transparent 70%);
}

.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  max-width: 40ch;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #090807;
  padding-top: 3.5rem;
  margin-top: 2rem;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--gold-bright);
  margin: 0 0 0.65rem;
}

.footer-tag {
  font-size: 0.95rem;
  max-width: 28ch;
}

.footer-heading {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
  margin-bottom: 1rem;
}

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

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

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

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line-strong);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.cookie-inner a {
  color: var(--gold-bright);
}

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

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

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

.error-page .code {
  font-family: var(--serif);
  font-size: clamp(5rem, 15vw, 9rem);
  color: var(--gold);
  line-height: 0.9;
  margin: 0 0 0.3em;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.inline-error {
  color: var(--danger);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(212, 132, 106, 0.4);
  margin: 1rem 0;
}

/* Split custom page */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.split-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.split-feature-copy {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-elevated);
}

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

.course-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3rem;
}

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