/* Noor-E-Taleem: light peach + deep teal theme */
:root {
  --peach-50: #fff9f5;
  --peach-100: #fff1e7;
  --peach-200: #fde1cf;
  --peach-300: #f8c9ab;
  --peach-400: #f2ac83;
  --peach-600: #d9784a;
  --ink: #16262d;
  --teal-900: #10303a;
  --teal-800: #163f49;
  --teal-700: #1d5660;
  --teal-100: #e3eeee;
  --gold: #e0a23a;
  --text: #2a363c;
  --muted: #5b686e;
  --line: #f0dccd;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22, 38, 45, .05), 0 8px 24px -8px rgba(22, 38, 45, .12);
  --shadow-lg: 0 24px 48px -16px rgba(22, 38, 45, .22);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--peach-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--peach-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--peach-400); outline-offset: 2px; border-radius: 6px; }

.hero__grid > *, .page-hero__grid > *, .split > *, .layout-aside > *, .grid > *, .form-grid > * { min-width: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal-900); color: var(--peach-100); box-shadow: 0 6px 16px -6px rgba(16, 48, 58, .5); }
.btn--primary:hover { background: var(--teal-700); color: #fff; }
.btn--peach { background: var(--peach-300); color: var(--ink); }
.btn--peach:hover { background: var(--peach-200); color: var(--ink); }
.btn--outline { border-color: var(--teal-900); color: var(--teal-900); background: transparent; }
.btn--outline:hover { background: var(--teal-900); color: var(--peach-100); }
.btn--ghost-light { border-color: rgba(255, 241, 231, .5); color: var(--peach-100); }
.btn--ghost-light:hover { background: rgba(255, 241, 231, .1); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Top bar */
.topbar { background: var(--teal-900); color: var(--peach-200); font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 20px; }
.topbar__social { display: flex; gap: 14px; }
@media (max-width: 640px) {
  .topbar__contact a:nth-child(2) { display: none; }
}

/* Header */
/* Solid background: backdrop-filter would make the header the containing block of the fixed mobile menu */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--peach-50); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 58px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.brand__text small { white-space: nowrap; font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.brand--light { color: #fff; }
.brand--light small { color: var(--peach-300); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon--close { display: none; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.site-nav a.btn--primary { color: var(--peach-100); }
.site-nav > ul > li > a { display: block; padding: 10px 12px; border-radius: 10px; }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a[aria-current] { background: var(--peach-100); color: var(--teal-700); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 4px; margin-left: -8px; color: var(--ink); cursor: pointer; }
.sub-toggle .icon { width: 18px; height: 18px; }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.sub a .icon { color: var(--peach-600); }
.sub a:hover, .sub a[aria-current] { background: var(--peach-100); }
@media (min-width: 1025px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--nav-top, 116px) 0 0 0; z-index: 60; background: var(--peach-50); flex-direction: column; align-items: stretch;
    padding: 16px 16px 32px; gap: 16px; overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .site-nav.open { display: flex; animation: nav-in .2s ease; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle .icon--open { display: none; }
  body.nav-open .nav-toggle .icon--close { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { padding: 14px 4px; font-size: 1.05rem; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { margin: 0; padding: 10px; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; width: 100%; display: none; padding: 0 0 8px; }
  .has-sub.open .sub { display: block; }
  .site-nav__cta { width: 100%; }
}

@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--peach-400); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-700); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--peach-100); }
.section--dark { background: var(--teal-900); color: var(--peach-200); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: var(--peach-200); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--peach-600); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--peach-300); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, var(--peach-200) 0%, transparent 70%),
    radial-gradient(40% 50% at 0% 100%, var(--peach-100) 0%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--teal-700); }
.hero__arabic { font-family: "Amiri", serif; font-size: 1.6rem; color: var(--peach-600); margin-bottom: 8px; line-height: 1.6; text-align: left; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-weight: 600; font-size: .95rem; color: var(--ink); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--teal-700); background: var(--teal-100); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.hero__art { position: relative; }
.hero__art img { width: 100%; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { max-width: 520px; margin: 0 auto; }
}

/* Page hero (inner pages) */
.page-hero { padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero__art { max-width: 400px; justify-self: end; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__art { justify-self: center; max-width: 320px; }
}
.course-art { width: 100%; height: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 600; display: flex; gap: 8px; align-items: center; color: var(--ink); }
.facts .icon { color: var(--peach-600); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--peach-100); color: var(--peach-600);
}
.icon-badge .icon { width: 28px; height: 28px; }
.section--tint .icon-badge { background: var(--peach-50); }

.course-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--peach-300); color: inherit; }
.course-card .tagline { color: var(--peach-600); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.course-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line); font-size: .9rem; }
.course-card__meta span { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.course-card__meta strong { color: var(--ink); font-size: 1.15rem; }
.course-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-700); margin-top: 16px; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--form-first > :last-child { order: -1; }
  .hide-mobile { display: none; }
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: #fff; background: var(--teal-700); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; }
.section--dark .check-list .icon { background: var(--peach-400); color: var(--ink); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(253, 225, 207, .18); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 2.2rem; font-weight: 800; color: var(--peach-300); line-height: 1; margin-bottom: 14px;
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--peach-200); }

/* Pricing */
.pricing { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan--popular { border: 2px solid var(--teal-700); }
.plan__badge { position: absolute; top: -13px; left: 24px; background: var(--teal-700); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.05rem; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.plan__price { font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.plan__price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan__price--ask { font-size: 1.6rem; padding: 8px 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: .95rem; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li .icon { color: var(--teal-700); }
.plan .btn { margin-top: auto; }
.plan--dark { background: var(--teal-900); border-color: var(--teal-900); color: var(--peach-200); }
.plan--dark h3 { color: var(--peach-300); }
.plan--dark .plan__price { color: #fff; }
.plan--dark .plan__price small { color: var(--peach-200); }
.plan--dark li .icon { color: var(--peach-300); }

/* Fee switch: Non-Arab / Arab teachers */
.fee-switch__input { position: absolute; opacity: 0; pointer-events: none; }
.fee-switch__tabs { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 12px; padding: 5px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.fee-switch__tab { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); cursor: pointer; text-align: center; transition: background-color .15s, color .15s; }
.fee-switch__tab:hover { color: var(--ink); }
.fee-switch__input--non-arab:checked ~ .fee-switch__tabs .fee-switch__tab--non-arab,
.fee-switch__input--arab:checked ~ .fee-switch__tabs .fee-switch__tab--arab { background: var(--teal-900); color: var(--peach-100); }
.fee-switch__input--non-arab:focus-visible ~ .fee-switch__tabs .fee-switch__tab--non-arab,
.fee-switch__input--arab:focus-visible ~ .fee-switch__tabs .fee-switch__tab--arab { outline: 3px solid var(--peach-400); outline-offset: 2px; }
.fee-panel { display: none; }
.fee-switch__input--non-arab:checked ~ .fee-panel--non-arab,
.fee-switch__input--arab:checked ~ .fee-panel--arab { display: block; }
.fee-panel__note { text-align: center; color: var(--muted); margin: 0 0 28px; }
@media (max-width: 480px) { .fee-switch__tab { padding: 9px 12px; font-size: .85rem; } }

/* Payment methods */
.payments { max-width: 860px; margin: 0 auto; text-align: center; }
.payments__logos { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.payments__logo { width: 104px; height: 66px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: grid; place-items: center; }
.payments__logo svg { width: 84px; height: 52px; }
.payments__text { display: inline-flex; gap: 10px; align-items: flex-start; text-align: left; color: var(--muted); margin: 0; }
.payments__text .icon { color: var(--teal-700); width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 480px) { .payments__logo { width: 88px; height: 58px; } .payments__logo svg { width: 72px; height: 45px; } }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--peach-100); color: var(--ink); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* Testimonials */
.quote-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.quote-card .icon { width: 36px; height: 36px; color: var(--peach-400); }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.quote-card figcaption { margin-top: auto; font-weight: 700; color: var(--ink); }
.quote-card figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .15s ease; }
.faq details[open] { border-color: var(--peach-300); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--peach-600); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--teal-900); color: var(--peach-200); padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; opacity: .08;
  background: url("../img/pattern-star.svg") center/contain no-repeat;
}
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: #c6cfd2; padding: 64px 0 0; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr .9fr .9fr 1fr 1.5fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c6cfd2; text-decoration: none; }
.site-footer a:hover { color: var(--peach-300); }
.site-footer__about p { margin: 16px 0; }
.site-footer__contact a, .site-footer__contact span { display: flex; gap: 10px; align-items: center; word-break: break-word; }
.site-footer__contact .icon { color: var(--peach-300); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.social a:hover { background: var(--peach-300); color: var(--ink); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 20px 16px; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Forms */
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--peach-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--peach-50);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(29, 86, 96, .12); background: #fff; }
.field .error-text { color: #b42318; font-size: .85rem; margin-top: 4px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d92d20; }
.field.has-error .error-text { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-700); flex-shrink: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 14px 16px; font-weight: 600; display: none; }
.form-status.is-error { display: block; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .icon-badge { margin: 0 auto 16px; background: var(--teal-100); color: var(--teal-700); width: 72px; height: 72px; border-radius: 50%; }
.form-success .icon-badge .icon { width: 36px; height: 36px; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li a, .contact-list li > span { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-list small { display: block; color: var(--muted); font-weight: 500; }
.contact-list .icon-badge { margin: 0; width: 48px; height: 48px; border-radius: 14px; }

/* Prose (blog + policies) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); }
.prose table { margin: 1em 0 1.5em; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.aside-sticky { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside-sticky { position: static; } }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.toc a:hover, .toc a[aria-current] { background: var(--peach-100); color: var(--teal-700); }
.updated { color: var(--muted); font-size: .9rem; }

.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: .85rem; color: var(--muted); }
.post-card h3 { margin: 6px 0 10px; }
.post-cover { border-radius: var(--radius); margin: 24px 0 32px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-meta { color: var(--muted); font-size: .95rem; display: flex; gap: 16px; flex-wrap: wrap; }

.teacher-points .card { text-align: left; }
.callout { background: var(--peach-100); border-left: 4px solid var(--peach-400); border-radius: 12px; padding: 18px 20px; margin: 1.5em 0; }

.notice-404 { text-align: center; padding: 80px 0; }
.notice-404 .big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: var(--peach-300); line-height: 1; }

.center { text-align: center; }
.mt-40 { margin-top: 40px; }

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