/* ============================================================
   WebNestLab — main stylesheet
   Mobile-first. Breakpoints: 640px, 900px, 1140px
   ============================================================ */

:root {
  --bg:        #0b1120;
  --bg-soft:   #0f1729;
  --panel:     #131d33;
  --panel-2:   #182440;
  --line:      rgba(148, 163, 184, .14);
  --text:      #e2e8f0;
  --text-dim:  #94a3b8;
  --accent:    #2dd4bf;
  --accent-2:  #38bdf8;
  --grad:      linear-gradient(100deg, #2dd4bf, #38bdf8);
  --warn:      #fb923c;
  --radius:    16px;
  --radius-sm: 10px;
  --header-h:  64px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.01em; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }

/* ---------- utilities ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.kicker {
  display: inline-block;
  font: 600 13px/1 var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 4.5vw, 40px); margin-bottom: 12px; }
.section-head p { color: var(--text-dim); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 15px/1 var(--font-head);
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  min-height: 46px;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--grad);
  color: #06202b;
  box-shadow: 0 6px 24px rgba(45, 212, 191, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(45, 212, 191, .35); }
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 17, 32, .78);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(11, 17, 32, .92); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 19px/1 var(--font-head);
}
.logo em { font-style: normal; color: var(--accent); }
.logo-mark { flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a {
  font: 500 15px/1 var(--font-body);
  color: var(--text-dim);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.main-nav > a:hover { color: var(--text); }
.main-nav > a.active { color: var(--accent); }
.nav-cta { margin-left: 10px; color: #06202b !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

/* mobile nav */
@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #0d1426;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav > a { padding: 15px 12px; font-size: 17px; border-radius: var(--radius-sm); }
  .main-nav > a:hover { background: rgba(255, 255, 255, .04); }
  .nav-cta { margin: 12px 0 0; text-align: center; }
  body.nav-open { overflow: hidden; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 64px;
  overflow: hidden;
}
@media (min-width: 900px) { .hero { padding: calc(var(--header-h) + 96px) 0 110px; } }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px;
  background: rgba(45, 212, 191, .13);
  top: -140px; right: -120px;
}
.hero::after {
  width: 420px; height: 420px;
  background: rgba(56, 189, 248, .10);
  bottom: -180px; left: -140px;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.hero h1 {
  font-size: clamp(32px, 6.5vw, 56px);
  font-weight: 800;
  margin: 18px 0;
}
.hero-sub {
  color: var(--text-dim);
  font-size: clamp(16px, 2.4vw, 19px);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px/1 var(--font-head);
  color: var(--accent);
  background: rgba(45, 212, 191, .08);
  border: 1px solid rgba(45, 212, 191, .25);
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .2);
}

/* hero visual — stylised order-flow card stack */
.hero-visual { position: relative; min-height: 300px; }
.flow-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(2, 6, 17, .5);
  width: min(78%, 300px);
}
.flow-card h5 { font: 700 14px/1.3 var(--font-head); margin-bottom: 4px; }
.flow-card p { font-size: 13px; color: var(--text-dim); }
.flow-card .tick { color: var(--accent); font-weight: 700; }
.fc-1 { top: 0; left: 0; }
.fc-2 { top: 34%; right: 0; }
.fc-3 { bottom: 0; left: 8%; }
.flow-card .fc-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(45, 212, 191, .1);
  border-radius: 9px;
  margin-bottom: 10px;
  font-size: 16px;
}
@media (max-width: 899px) {
  /* stack the flow cards — overlapping clips text on small screens */
  .hero-visual { min-height: 0; margin-top: 8px; display: flex; flex-direction: column; gap: 14px; }
  .flow-card { position: static; width: 100%; }
  .flow-card .fc-icon { margin-bottom: 8px; }
}

/* ---------- stats ---------- */
.stats { padding: 0 0 8px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.stat b {
  display: block;
  font: 800 clamp(24px, 4vw, 34px)/1.1 var(--font-head);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 13px; color: var(--text-dim); }

/* ---------- services ---------- */
.services-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(45, 212, 191, .4); }
.service-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .2);
  font-size: 20px;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-dim); }
.service-card .sc-note {
  display: block;
  margin-top: 14px;
  font: 600 12px/1.4 var(--font-head);
  color: var(--accent);
}

/* ---------- zero-commission strip ---------- */
.zc {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.zc-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .zc-grid { grid-template-columns: 1fr 1fr; } }
.zc-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.zc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.zc-row:last-child { border-bottom: none; }
.zc-row > div { padding: 13px 16px; }
.zc-row > div:first-child { color: var(--text-dim); background: rgba(255, 255, 255, .02); }
.zc-row > div:last-child { border-left: 1px solid var(--line); }
.zc-row.zc-head > div { font: 700 13px/1.3 var(--font-head); color: var(--text); background: var(--panel-2); }
.zc-row .good { color: var(--accent); font-weight: 600; }
.zc ul { list-style: none; margin-top: 18px; }
.zc ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-dim);
}
.zc ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- projects ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-chip {
  font: 600 14px/1 var(--font-head);
  color: var(--text-dim);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
  min-height: 42px;
}
.filter-chip:hover { color: var(--text); border-color: rgba(45, 212, 191, .4); }
.filter-chip.active {
  color: #06202b;
  background: var(--grad);
  border-color: transparent;
}

.projects-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 212, 191, .45);
  box-shadow: 0 18px 44px rgba(2, 6, 17, .5);
}
.pc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--panel-2);
  overflow: hidden;
}
.pc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .4s ease;
}
.project-card:hover .pc-media img { transform: scale(1.04); }
.pc-media .pc-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font: 800 clamp(20px, 3vw, 26px)/1.2 var(--font-head);
  text-align: center;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(45, 212, 191, .16), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, .14), transparent 55%),
    var(--panel-2);
}
.pc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-tag {
  font: 600 11px/1 var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(45, 212, 191, .08);
  border: 1px solid rgba(45, 212, 191, .22);
  padding: 6px 10px;
  border-radius: 999px;
}
.pc-tag.dim { color: var(--text-dim); background: rgba(255,255,255,.03); border-color: var(--line); }
.pc-body h3 { font-size: 19px; }
.pc-body p { font-size: 14px; color: var(--text-dim); flex: 1; }
.pc-link {
  font: 600 14px/1 var(--font-head);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.pc-link::after { content: "→"; transition: transform .18s ease; }
.project-card:hover .pc-link::after { transform: translateX(4px); }

/* featured card spans wider on desktop */
@media (min-width: 1140px) {
  .project-card.featured { grid-column: span 2; }
  .project-card.featured .pc-media { aspect-ratio: auto; min-height: 100%; }
  .project-card.featured { flex-direction: row; }
  .project-card.featured .pc-media { flex: 1.2; }
  .project-card.featured .pc-body { flex: 1; justify-content: center; }
}

/* ---------- project detail ---------- */
.detail-hero { padding: calc(var(--header-h) + 48px) 0 40px; }
.detail-hero .kicker { margin-bottom: 10px; }
.detail-hero h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }
.detail-hero .lead { color: var(--text-dim); font-size: 18px; max-width: 640px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.detail-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.detail-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-2);
}
.detail-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.detail-panel h3 { font-size: 17px; margin-bottom: 14px; }
.detail-panel ul { list-style: none; }
.detail-panel ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 11px;
  font-size: 14px;
  color: var(--text-dim);
}
.detail-panel ul li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ---------- process ---------- */
.process-grid { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font: 800 34px/1 var(--font-head);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-dim); }

/* ---------- team ---------- */
.team-grid { display: grid; gap: 18px; max-width: 760px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font: 800 22px/1 var(--font-head);
  color: #06202b;
  background: var(--grad);
  margin-bottom: 18px;
}
.team-card h3 { font-size: 19px; }
.team-card .role { color: var(--accent); font: 600 13px/1.4 var(--font-head); display: block; margin: 4px 0 12px; }
.team-card p { font-size: 14px; color: var(--text-dim); }

/* ---------- about page ---------- */
.about-cols { display: grid; gap: 36px; }
@media (min-width: 900px) { .about-cols { grid-template-columns: 1.1fr .9fr; } }
.about-cols .prose p { color: var(--text-dim); margin-bottom: 16px; }
.about-cols .prose p strong { color: var(--text); }
.value-list { display: grid; gap: 14px; }
.value-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.value-item h4 { font-size: 15px; margin-bottom: 4px; color: var(--accent); }
.value-item p { font-size: 14px; color: var(--text-dim); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.contact-info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: grid;
  gap: 20px;
}
.ci-row { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .2);
  font-size: 17px;
}
.ci-row h4 { font-size: 14px; margin-bottom: 2px; }
.ci-row a, .ci-row span { font-size: 14px; color: var(--text-dim); word-break: break-word; }
.ci-row a:hover { color: var(--accent); }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font: 600 13px/1.4 var(--font-head);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: 400 15px/1.5 var(--font-body);
  padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .15);
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.form-status.ok { display: block; background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .3); color: var(--accent); }
.form-status.err { display: block; background: rgba(251, 146, 60, .1); border: 1px solid rgba(251, 146, 60, .3); color: var(--warn); }

/* ---------- CTA band ---------- */
.cta-band { padding: 72px 0; }
.cta-band-inner {
  background:
    radial-gradient(circle at 15% 15%, rgba(45, 212, 191, .16), transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(56, 189, 248, .14), transparent 50%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px 24px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 4.5vw, 38px); margin-bottom: 12px; }
.cta-band p { color: var(--text-dim); max-width: 520px; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-grid {
  display: grid;
  gap: 32px;
  padding: 52px 20px 36px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col h4 { font-size: 14px; margin-bottom: 4px; }
.footer-col a, .footer-col span, .footer-col p { font-size: 14px; color: var(--text-dim); }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { margin-top: 12px; max-width: 300px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- misc pages ---------- */
.page-hero { padding: calc(var(--header-h) + 48px) 0 8px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 12px; }
.page-hero p { color: var(--text-dim); max-width: 620px; }

.prose-page { max-width: 760px; }
.prose-page h2 { font-size: 22px; margin: 32px 0 12px; }
.prose-page p, .prose-page li { color: var(--text-dim); margin-bottom: 12px; }
.prose-page ul { padding-left: 22px; }

/* very small phones */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
