/* Ilmora — global styles (LTR + RTL via logical properties) */
:root {
  --ink: #0e1736;
  --ink-2: #1b2650;
  --ink-3: #2c3868;
  --text: #1c2340;
  --muted: #5b6283;
  --bg: #fbf8f2;
  --bg-alt: #f4efe4;
  --surface: #ffffff;
  --line: #e7e0d2;
  --amber: #f2a93b;
  --amber-deep: #b86e05;
  --amber-soft: #fdf1dc;
  --success: #1d7a5f;
  --danger: #b4332b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 23, 54, .06), 0 12px 32px -12px rgba(14, 23, 54, .18);
  --shadow-lg: 0 30px 60px -20px rgba(5, 10, 30, .55);
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --container: 1160px;
}
:lang(ar) {
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.35; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--amber); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: .75rem 1.35rem; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55rem 1rem; font-size: .95rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(242, 169, 59, .9); }
.btn-primary:hover { background: #f6b955; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-dark { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 23, 54, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #fff;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: #fff; }
.logo-mark { width: 34px; height: 34px; }
.logo-word { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.logo-go { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a:not(.btn):hover { color: #fff; }
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; }
.lang-switch .icon { width: 17px; height: 17px; }
.lang-switch[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.lang-switch[lang="en"] { font-family: 'Plus Jakarta Sans', sans-serif; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem 20px 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 1rem; }
  .nav-links .btn { margin-top: 1rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 82% 18%, rgba(242, 169, 59, .28), transparent 70%),
    radial-gradient(520px 420px at 8% 100%, rgba(84, 104, 214, .28), transparent 70%);
}
[dir="rtl"] .hero-glow { transform: scaleX(-1); }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: rgba(242, 169, 59, .12); border: 1px solid rgba(242, 169, 59, .35);
  color: #ffd497; font-size: .88rem; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242, 169, 59, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(242, 169, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, 0); } }
.hero h1 {
  color: #fff; font-weight: 600; margin: 1.25rem 0 1.1rem;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em;
}
:lang(ar) .hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); line-height: 1.3; letter-spacing: 0; }
.hero h1 em { font-style: italic; color: var(--amber); }
:lang(ar) .hero h1 em { font-style: normal; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.cta-row.center { justify-content: center; }
.hero-note { margin-top: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .55); }

/* hero visual */
.hero-visual { position: relative; padding: 1rem 0 2.2rem; }
.serp-card, .profile-card { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.serp-card {
  background: #fff; color: #202124; padding: 1rem 1.2rem 1.15rem;
  width: 88%; transform: rotate(-2deg); position: relative; z-index: 1;
}
[dir="rtl"] .serp-card { transform: rotate(2deg); }
.serp-bar { display: flex; gap: 6px; margin-bottom: .8rem; }
.serp-bar span { width: 9px; height: 9px; border-radius: 50%; background: #e3e3e3; }
.serp-url { font-size: .8rem; color: #4d5156; margin-bottom: .15rem; direction: ltr; text-align: start; }
[dir="rtl"] .serp-url { direction: rtl; }
.serp-title { color: #1a0dab; font-size: 1.12rem; line-height: 1.35; margin-bottom: .3rem; font-weight: 500; }
.serp-snippet { font-size: .88rem; color: #4d5156; line-height: 1.5; }
.profile-card {
  background: linear-gradient(160deg, #1f2b5a, #18224a); border: 1px solid rgba(255, 255, 255, .1);
  padding: 1.3rem; width: 78%; margin-inline-start: auto; margin-top: -1.4rem;
  position: relative; z-index: 2; transform: rotate(1.5deg);
}
[dir="rtl"] .profile-card { transform: rotate(-1.5deg); }
.profile-top { display: flex; align-items: center; gap: .9rem; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; color: var(--ink);
  background: linear-gradient(135deg, #ffd497, var(--amber));
}
.profile-name { font-weight: 700; font-size: 1.08rem; display: flex; align-items: center; gap: .35rem; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #3f8cff; }
.verified .icon { width: 12px; height: 12px; stroke-width: 3; color: #fff; }
.profile-role { color: rgba(255, 255, 255, .62); font-size: .9rem; }
.profile-video {
  margin-top: 1rem; height: 96px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(242, 169, 59, .22), rgba(84, 104, 214, .3));
  display: flex; align-items: center; justify-content: center; gap: .6rem; font-size: .92rem; font-weight: 600;
}
.play { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.play .icon { width: 16px; height: 16px; margin-inline-start: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.tags span { font-size: .78rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); }
.profile-cta { margin-top: 1rem; text-align: center; background: var(--amber); color: var(--ink); font-weight: 700; border-radius: 999px; padding: .6rem; font-size: .92rem; }
.visual-caption { position: absolute; bottom: 0; inset-inline: 0; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .5); margin: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
}

/* ---------- subjects ---------- */
.subjects { padding: 2.4rem 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.subjects-title { text-align: center; color: var(--muted); font-weight: 500; font-size: .95rem; margin-bottom: 1.1rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.chips li { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: .95rem; font-weight: 500; color: var(--ink-3); }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: .9rem; }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow-light { color: var(--amber); }
.section-sub { color: var(--muted); font-size: 1.1rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-deep); margin-bottom: 1.1rem; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* tabs + steps */
.tabs { display: flex; justify-content: center; gap: .3rem; margin: 0 auto 2.5rem; padding: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; }
.tabs button { font: inherit; font-weight: 600; border: 0; background: none; color: var(--muted); padding: .65rem 1.4rem; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.step { position: relative; background: var(--surface); border-radius: var(--radius); padding: 1.8rem 1.6rem; border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--amber); font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem; margin-bottom: 1.1rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* founding */
.founding { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.founding::before { content: ''; position: absolute; width: 520px; height: 520px; inset-inline-end: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .25), transparent 65%); }
.founding h2 { color: #fff; }
.founding .section-sub { color: rgba(255, 255, 255, .7); margin-bottom: 1.8rem; }
.founding-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.perks li { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); font-weight: 500; }
.perks .icon { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--amber); color: var(--ink); stroke-width: 3; }
@media (max-width: 860px) { .founding-grid { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-intro { position: sticky; top: 100px; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } .form-intro { position: static; } }
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); display: grid; gap: 1.15rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .93rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: .45rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .78rem .95rem; transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6283' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right .85rem center; padding-inline-end: 2.5rem; }
[dir="rtl"] select { background-position: left .85rem center; }
input:hover, select:hover, textarea:hover { border-color: #d5ccb9; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); background: #fff; box-shadow: 0 0 0 4px rgba(242, 169, 59, .18); }
input[dir="ltr"] { text-align: left; }
::placeholder { color: #9a9fb5; }
.invalid input, .invalid select, .invalid textarea, input.invalid, select.invalid, textarea.invalid { border-color: var(--danger); background: #fff7f6; }
.chip-select { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-select.invalid .chip-opt span { border-color: var(--danger); }
.chip-opt, .segmented label { position: relative; cursor: pointer; }
.chip-opt input, .segmented input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-opt span { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: .92rem; font-weight: 500; transition: all .15s; user-select: none; }
.chip-opt:hover span { border-color: #d5ccb9; }
.chip-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-opt input:focus-visible + span, .segmented input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.segmented { display: flex; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 4px; gap: 4px; }
.segmented label { flex: 1; }
.segmented span { display: block; text-align: center; padding: .55rem .4rem; border-radius: 9px; font-size: .93rem; font-weight: 500; color: var(--muted); transition: all .15s; }
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(14, 23, 54, .15); font-weight: 600; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; position: relative; }
.consent span::before {
  content: ''; flex: none; display: inline-block; width: 20px; height: 20px; margin-inline-end: .7rem; vertical-align: -4px;
  border: 1.5px solid #cfc6b3; border-radius: 6px; background: var(--bg) no-repeat center / 14px;
  transition: all .15s;
}
.consent input:checked + span::before { background-color: var(--amber); border-color: var(--amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1736' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.consent input:focus-visible + span::before { outline: 3px solid var(--amber); outline-offset: 2px; }
.consent.invalid span::before { border-color: var(--danger); }
.consent a { color: var(--ink); font-weight: 600; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: .93rem; font-weight: 500; color: var(--danger); }
.form-status:empty { display: none; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success .ok { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: #e3f4ec; color: var(--success); }
.form-success .ok .icon { width: 32px; height: 32px; stroke-width: 2.6; }
.form-success h3 { font-size: 1.45rem; }
.form-success p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.3rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-deep); font-size: 1.3rem; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 3.5rem 0 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer-tagline { margin: .9rem 0 0; max-width: 22em; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.footer-links a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .09); font-size: .88rem; color: rgba(255, 255, 255, .5); }

/* ---------- privacy / 404 ---------- */
.prose h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-top: 1rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p { color: var(--muted); }
.muted { color: var(--muted); }
.back-link { color: var(--amber-deep); font-weight: 600; text-decoration: none; }
.notfound { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: #fff; text-align: center; }
.notfound .logo { justify-content: center; }
.notfound h1 { color: var(--amber); font-size: 6rem; margin: 2rem 0 .5rem; }
.notfound .btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
