/* Infraobservability — elegant luxury theme */
:root {
  --ink: #0f1c2e;
  --ink-soft: #243447;
  --muted: #5a6674;
  --line: #d8d4cc;
  --paper: #f3f1ec;
  --paper-deep: #e8e4db;
  --surface: #faf9f6;
  --gold: #b08d57;
  --gold-deep: #8c6d3f;
  --gold-soft: #d4c4a4;
  --success: #2f6b4f;
  --error: #8b3a3a;
  --radius: 2px;
  --shadow: 0 18px 50px rgba(15, 28, 46, 0.08);
  --font-display: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(176, 141, 87, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(36, 52, 71, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  background-attachment: fixed;
  line-height: 1.75;
  min-height: 100vh;
}

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(243, 241, 236, 0.86);
  border-bottom: 1px solid rgba(216, 212, 204, 0.7);
  transition: box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 28, 46, 0.06);
}

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

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

.brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: inset 0 0 0 3px var(--paper);
  background: linear-gradient(135deg, var(--gold-soft), transparent);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 1px solid var(--gold);
  color: var(--ink) !important;
  background: linear-gradient(180deg, rgba(176, 141, 87, 0.12), transparent);
}

.nav-cta::after {
  display: none !important;
}

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

.btn:hover {
  background: transparent;
  color: var(--ink);
}

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

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-color: var(--gold-deep);
  color: #fff;
}

.btn-gold:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Hero — editorial vertical brand composition */
.hero-editorial {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  overflow: hidden;
}

.hero-rail {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  font-family: var(--font-display);
  letter-spacing: 0.35em;
  color: var(--gold-deep);
  font-size: 0.95rem;
}

.hero-stage {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - var(--header-h));
  padding: 3rem 0 4rem;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 28, 46, 0.78) 18%, rgba(15, 28, 46, 0.35) 55%, rgba(15, 28, 46, 0.15) 100%),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  z-index: 0;
  animation: heroKen 18s ease-in-out infinite alternate;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 720px);
  margin-left: clamp(1.5rem, 6vw, 4rem);
  color: #f7f4ee;
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 1s ease 0.2s forwards;
}

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(247, 244, 238, 0.88);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions .btn {
  border-color: rgba(247, 244, 238, 0.55);
  color: #f7f4ee;
  background: transparent;
}

.hero-actions .btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-color: var(--gold-deep);
  color: #fff;
}

.hero-actions .btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

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

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  max-width: 18em;
}

.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.panel {
  background: rgba(250, 249, 246, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel-pad {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

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

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 500;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Feature / benefit list — not cards by default */
.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.75rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.benefit-row.is-visible {
  opacity: 1;
  transform: none;
}

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

.benefit-row h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.benefit-row p {
  color: var(--muted);
  margin: 0;
}

/* Featured course band */
.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
  overflow: hidden;
}

.feature-band-media {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(15, 28, 46, 0.15), rgba(15, 28, 46, 0.45)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
}

.feature-band-body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}

.feature-band-body h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}

/* Course grid — interaction containers */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.course-tile:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

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

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

.course-tile h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.course-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.course-meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin-top: 1rem;
}

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

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

.quote-block:first-child {
  border-top: 1px solid var(--line);
}

.quote-block blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.7;
}

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

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

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #f7f4ee;
  background: var(--ink);
  padding: 4.5rem 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(176, 141, 87, 0.25), transparent 60%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  color: #fff;
  max-width: 16em;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(247, 244, 238, 0.75);
  margin: 0;
  max-width: 28rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 14em;
}

.page-hero p {
  color: var(--muted);
  max-width: 38rem;
  margin: 0;
}

.page-hero-media {
  margin-top: 2rem;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

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

.price-plan {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.price-plan:hover {
  border-color: var(--gold);
}

.price-plan.is-featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(176, 141, 87, 0.08), transparent 40%),
    var(--surface);
}

.price-plan h3 {
  font-size: 1.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.price-amount small {
  font-size: 0.95rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.price-plan ul {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  flex: 1;
}

.price-plan li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(216, 212, 204, 0.7);
  padding-left: 1rem;
  position: relative;
}

.price-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Forms */
.form-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.25s ease;
}

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

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

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

.form-group.is-invalid .field-error {
  display: block;
}

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
  border-color: var(--error);
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  display: none;
  border: 1px solid var(--line);
}

.form-status.is-success {
  display: block;
  border-color: var(--success);
  color: var(--success);
  background: rgba(47, 107, 79, 0.06);
}

.form-status.is-error {
  display: block;
  border-color: var(--error);
  color: var(--error);
  background: rgba(139, 58, 58, 0.06);
}

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

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

.contact-aside dl {
  margin: 0;
}

.contact-aside dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-top: 1.25rem;
}

.contact-aside dd {
  margin: 0.35rem 0 0;
}

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

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.blog-item:first-child {
  border-top: 1px solid var(--line);
}

.blog-item:hover {
  opacity: 0.85;
  color: inherit;
}

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

.blog-item time {
  font-size: 0.8rem;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
}

.blog-item h2 {
  font-size: 1.35rem;
  margin: 0.4rem 0 0.5rem;
}

.blog-item p {
  color: var(--muted);
  margin: 0;
}

.article-body {
  max-width: 42rem;
}

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

.article-cover {
  margin: 2rem 0 2.5rem;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--line);
}

/* Legal */
.legal-body {
  max-width: 46rem;
}

.legal-body h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

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

.legal-body th,
.legal-body td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal-body th {
  background: rgba(176, 141, 87, 0.1);
  font-weight: 500;
}

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

.module-list li {
  counter-increment: mod;
  padding: 1.35rem 0 1.35rem 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.35rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
}

.module-list h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.module-list p {
  margin: 0;
  color: var(--muted);
}

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

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
}

/* Instructor */
.instructor {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
}

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

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

.case-study h3 {
  font-size: 1.4rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(247, 244, 238, 0.78);
  margin-top: 4rem;
  padding-top: 3.5rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tag {
  color: rgba(247, 244, 238, 0.55);
  font-size: 0.9rem;
  max-width: 16rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col h3 {
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

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

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

.footer-col a {
  color: rgba(247, 244, 238, 0.78);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-address {
  white-space: pre-line;
  font-size: 0.9rem;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(247, 244, 238, 0.12);
  font-size: 0.82rem;
  color: rgba(247, 244, 238, 0.45);
}

.footer-bottom p {
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.5rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: riseIn 0.45s ease forwards;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

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

.cookie-actions a {
  margin-right: auto;
  font-size: 0.88rem;
}

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

.error-page .code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Inline script error */
.runtime-error {
  margin: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--error);
  color: var(--error);
  background: rgba(139, 58, 58, 0.06);
  font-size: 0.9rem;
}

/* Split content helpers */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.prose-muted {
  color: var(--muted);
}

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-editorial {
    grid-template-columns: 1fr;
  }

  .hero-rail {
    writing-mode: horizontal-tb;
    justify-content: flex-start;
    padding: 0.85rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid var(--line);
    letter-spacing: 0.2em;
  }

  .feature-band,
  .form-wrap,
  .split-2,
  .footer-inner,
  .course-grid,
  .pricing-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .blog-item {
    grid-template-columns: 1fr;
  }

  .instructor {
    grid-template-columns: 120px 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(250, 249, 246, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1rem 1.25rem 1.5rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-content {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: auto;
  }
}
