/* SKAVON marketing landing page — plain, hand-written CSS (no build step, no
   framework). Ported from the SKAVON design system (Tailwind v4 tokens) in
   src/website/sklio-saas-landing-page, so the palette/type here should stay
   in sync with that source if it's ever regenerated. */

:root {
  --canvas: #f4f0e9;
  --cream: #fbf8f1;
  --paper: #fffdf8;
  --sand: #ece4d3;
  --sand-deep: #e0d5bf;
  --line: #e2d8c4;
  --ink: #221910;
  --ink-soft: #695a46;
  --clay: #7a522b;
  --clay-deep: #624021;
  --cedar: #a57447;
  --acorn: #b68b5f;
  --mocha: #2b1c0e;
  --espresso: #1d1207;
  --sage: #5e7a4e;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(34, 25, 16, 0.05), 0 12px 32px -16px rgba(98, 64, 33, 0.18);
  --shadow-lift: 0 2px 4px rgba(34, 25, 16, 0.05), 0 28px 56px -24px rgba(98, 64, 33, 0.32);
  --shadow-float: 0 30px 70px -28px rgba(60, 38, 18, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
em.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--clay); }
em.serif.light { color: var(--acorn); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; border: 1px solid rgba(122, 82, 43, 0.25); background: rgba(122, 82, 43, 0.08);
  color: var(--clay-deep); padding: 6px 16px; font-size: 0.69rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow.on-dark { border-color: rgba(182, 139, 95, 0.3); background: rgba(182, 139, 95, 0.1); color: var(--acorn); }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); flex-shrink: 0; }
.eyebrow.on-dark .eyebrow-dot { background: var(--acorn); }

.section-head { display: flex; flex-direction: column; gap: 18px; }
.section-head.center { align-items: center; text-align: center; }
.section-head h2 {
  max-width: 46rem; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink);
}
.section-head.on-dark h2 { color: var(--cream); }
.section-head p.sub { max-width: 42rem; font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); }
.section-head.on-dark p.sub { color: rgba(236, 228, 211, 0.7); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--clay); color: var(--cream); box-shadow: 0 16px 34px -12px rgba(122, 82, 43, 0.7); }
.btn-primary:hover { background: var(--clay-deep); box-shadow: 0 22px 40px -12px rgba(98, 64, 33, 0.75); }
.btn-outline { border: 1px solid rgba(34, 25, 16, 0.15); background: rgba(255, 253, 248, 0.8); color: var(--ink); }
.btn-outline:hover { border-color: rgba(122, 82, 43, 0.45); color: var(--clay-deep); box-shadow: var(--shadow-card); }
.btn-cream { background: var(--cream); color: var(--clay-deep); box-shadow: 0 18px 38px -12px rgba(0, 0, 0, 0.5); }
.btn-cream:hover { background: var(--paper); }
.btn-ghost-dark { border: 1px solid rgba(251, 248, 241, 0.25); color: var(--cream); }
.btn-ghost-dark:hover { border-color: rgba(251, 248, 241, 0.5); background: rgba(251, 248, 241, 0.05); }
.btn-link {
  padding: 13px 6px; font-weight: 700; color: var(--ink-soft);
  text-decoration: underline; text-decoration-color: rgba(122, 82, 43, 0.3); text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.btn-link:hover { color: var(--clay-deep); text-decoration-color: var(--clay); }

/* ---------- Nav ---------- */
.site-nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; }
.nav-progress {
  position: absolute; inset-inline: 0; top: 0; height: 2.5px; transform-origin: left;
  background: linear-gradient(90deg, var(--clay), var(--cedar), var(--acorn));
  transform: scaleX(0); transition: transform 0.1s linear;
}
.nav-shell { transition: all 0.4s var(--ease); border-bottom: 1px solid transparent; }
.nav-shell.is-scrolled, .nav-shell.is-open {
  border-bottom-color: rgba(226, 216, 196, 0.8); background: rgba(244, 240, 233, 0.85);
  backdrop-filter: blur(20px); box-shadow: 0 12px 36px -24px rgba(98, 64, 33, 0.4);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; flex-shrink: 0; transition: transform 0.5s var(--ease); }
.brand-mark img { height: 28px; width: auto; display: block; }
.brand:hover .brand-mark { transform: rotate(8deg); }
.brand-logo { display: block; height: 40px; width: auto; }
/* The bronze logo is dark; on the espresso footer it sits on a cream plate. */
.footer-brand .brand-logo { height: 44px; box-sizing: content-box; padding: 8px 14px; border-radius: 14px; background: #F7EFE4; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6); }
.brand-word { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.brand-word span { color: var(--clay); }

.nav-links { display: none; align-items: center; gap: 2px; }
.nav-link { padding: 9px 14px; white-space: nowrap; border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); transition: background 0.2s ease, color 0.2s ease; }
.nav-link:hover { background: rgba(236, 228, 211, 0.7); color: var(--ink); }
.nav-cta-desktop { display: none; align-items: center; gap: 10px; }
.menu-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 253, 248, 0.8);
}
/* Seven links plus both CTAs need more than 1024px to sit on one row without
   "How it works" wrapping into the wordmark — below this the menu button takes over. */
@media (min-width: 1152px) {
  .nav-links { display: flex; }
  .nav-cta-desktop { display: flex; }
  .menu-toggle { display: none; }
}
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.mobile-menu.is-open { max-height: 420px; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 2px; padding: 8px 0 24px; }
.mobile-menu .nav-link { text-align: left; padding: 12px 16px; font-size: 0.95rem; }
.mobile-cta { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.mobile-cta .btn { width: 100%; }

/* ---------- Reveal / stagger ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.34s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.42s; }
.stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- backgrounds ---------- */
.bg-dotgrid { background-image: radial-gradient(rgba(34, 25, 16, 0.08) 1.1px, transparent 1.1px); background-size: 22px 22px; }
.bg-dotgrid-light { background-image: radial-gradient(rgba(244, 240, 233, 0.14) 1.1px, transparent 1.1px); background-size: 22px 22px; }
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 4.25rem; }
.hero-backdrop { position: absolute; inset: 0; pointer-events: none; }
.hero-blur-a { position: absolute; top: -10rem; left: 50%; width: 54rem; height: 34rem; transform: translateX(-50%);
  border-radius: 999px; background: radial-gradient(circle, var(--sand), var(--canvas) 70%, transparent); filter: blur(40px); }
.hero-blur-b { position: absolute; top: 8rem; left: -10rem; width: 28rem; height: 28rem; border-radius: 999px; background: rgba(165, 116, 71, 0.1); filter: blur(80px); }
/* Hero: an editorial headline across the page, then copy beside the desk. */
.hero-ed { position: relative; padding-top: 3rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .hero-ed { padding-top: 4.5rem; padding-bottom: 7.5rem; } }

.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
}
.hero-kicker::before { content: ""; width: 28px; height: 1px; background: var(--cedar); flex-shrink: 0; }

.hero h1 {
  margin-top: 1.1rem; max-width: 18ch;
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: clamp(2.9rem, 6.8vw, 6rem); line-height: 0.98; letter-spacing: -0.025em; color: var(--ink);
}
@media (min-width: 1024px) { .hero h1 { max-width: none; } }
.hero-br { display: none; }
@media (min-width: 1024px) { .hero-br { display: inline; } }
.hero h1 em { position: relative; display: inline-block; font-style: italic; color: var(--clay); white-space: nowrap; }
/* A pen stroke under the promise, drawn once on load. */
.hero-underline {
  position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: 0.22em; overflow: visible;
}
.hero-underline path {
  fill: none; stroke: var(--cedar); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: hero-ink 1.1s 0.5s var(--ease) forwards;
}
@keyframes hero-ink { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-underline path { animation: none; stroke-dashoffset: 0; } }

.hero-row { display: grid; gap: 3.5rem; margin-top: 2.25rem; align-items: start; }
@media (min-width: 1024px) { .hero-row { grid-template-columns: 0.72fr 1.28fr; gap: 4rem; margin-top: 3rem; } }
.hero-copy { max-width: 30rem; }
@media (min-width: 1024px) { .hero-copy { padding-top: 0.75rem; } }
.hero-lede { font-size: 1.12rem; line-height: 1.7; color: var(--ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.play-badge { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: rgba(122, 82, 43, 0.1); color: var(--clay); }

/* Three plain facts, set like a footnote — no avatars, no stars. */
.hero-facts { margin-top: 2.25rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hero-facts li {
  display: flex; align-items: baseline; gap: 10px; padding: 11px 0;
  border-bottom: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-soft);
}
.hero-facts strong {
  min-width: 4.4rem; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: 1.35rem; line-height: 1; color: var(--ink);
}

/* Trusted by: a quiet band of school crests, muted until hovered. */
.trusted { background: var(--cream); border-bottom: 1px solid rgba(226, 216, 196, 0.7); }
.trusted-inner { display: grid; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.trusted-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.75rem 2.5rem; margin: 0; padding: 0; list-style: none;
}
@media (max-width: 639px) { .trusted-logos { justify-content: center; gap: 1.5rem 2rem; } }
.trusted-logos img {
  display: block; width: auto; height: 64px; max-width: 150px; object-fit: contain;
  filter: grayscale(1) sepia(0.25) contrast(1.05); opacity: 0.72; mix-blend-mode: multiply;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
@media (min-width: 1024px) { .trusted-logos img { height: 72px; } }
.trusted-logos li:hover img { filter: none; opacity: 1; transform: translateY(-2px); }
@media (hover: none) { .trusted-logos img { filter: none; opacity: 0.95; } }

/* Hero visual: a school desk laid flat — the console on a laptop, the app on
   a phone, and a student ID badge carrying the SKAVON mark and a real QR code. */
.hero-visual { position: relative; padding: 0 4px 3.5rem; }
.desk { position: relative; padding: 0 0 0 0; }
.desk::before {
  content: ""; position: absolute; inset: 8% -6% -10% 4%; z-index: 0; border-radius: 2rem;
  background: radial-gradient(ellipse at 60% 40%, rgba(165, 116, 71, 0.22), transparent 65%);
  filter: blur(20px);
}
.desk-laptop {
  position: relative; z-index: 1; margin: 0 0 0 auto; width: 92%; overflow: hidden;
  border-radius: 14px; border: 1px solid rgba(226, 216, 196, 0.9); background: var(--paper);
  box-shadow: 0 40px 70px -34px rgba(60, 38, 18, 0.5), 0 2px 0 rgba(255, 255, 255, 0.7) inset;
}
.desk-laptop img {
  display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900;
  object-fit: cover; object-position: top left; background: var(--canvas);
}
.shot-bar {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-bottom: 1px solid var(--line); background: var(--sand);
}
.shot-dots { display: inline-flex; gap: 4px; flex-shrink: 0; }
.shot-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e08a74; }
.shot-dots i:nth-child(2), .browser-dots i:nth-child(2) { background: #e7bd62; }
.shot-dots i:nth-child(3), .browser-dots i:nth-child(3) { background: #93bf7c; }
.shot-url {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border-radius: 999px; background: var(--paper); padding: 3px 10px;
  font-size: 0.6rem; font-weight: 600; color: var(--ink-soft);
}

/* The phone rests on the laptop's lower-right corner. */
.desk-phone {
  position: absolute; z-index: 3; right: -2%; bottom: -12%; width: 27%; margin: 0;
  border-radius: 1.6rem; padding: 6px;
  background: linear-gradient(150deg, #5a4029 0%, #24180e 40%, #140d07 65%, #4a331f 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 34px 50px -22px rgba(30, 18, 8, 0.65);
  transform: rotate(4deg);
}
.desk-phone img { display: block; width: 100%; height: auto; border-radius: 1.25rem; }

/* The ID badge: dark band with the logo, white card, QR, lanyard slot. */
.desk-badge {
  position: absolute; z-index: 2; left: 0; bottom: -16%; width: 15.5rem;
  border-radius: 14px; overflow: hidden; background: #fffdf8;
  border: 1px solid rgba(226, 216, 196, 0.9);
  box-shadow: 0 28px 44px -22px rgba(30, 18, 8, 0.55), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transform: rotate(-7deg);
}
.badge-slot {
  position: absolute; z-index: 1; top: 7px; left: 50%; width: 34px; height: 6px; transform: translateX(-50%);
  border-radius: 999px; background: rgba(255, 253, 248, 0.25); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.badge-top {
  display: flex; align-items: center; gap: 10px; padding: 20px 14px 11px;
  background: linear-gradient(135deg, #2b1c0e, #1d1207);
}
.badge-top img { width: 26px; height: auto; flex-shrink: 0; box-sizing: content-box; padding: 3px 4px; border-radius: 8px; background: #F7EFE4; }
.badge-school { font-size: 0.78rem; font-weight: 800; line-height: 1.2; color: var(--cream); }
.badge-kind { margin-top: 1px; font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: #d6aa78; }
.badge-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 12px 14px 8px; }
.badge-photo {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 10px;
  background: linear-gradient(140deg, #d6aa78, var(--cedar)); color: var(--cream); font-size: 0.8rem; font-weight: 800;
}
.badge-name { font-size: 0.95rem; font-weight: 800; color: var(--ink); }
.badge-meta { font-size: 0.66rem; line-height: 1.5; color: var(--ink-soft); }
.badge-qr { width: 66px; height: 66px; padding: 4px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.badge-foot {
  border-top: 1px dashed var(--line); padding: 6px 14px 8px;
  font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(105, 90, 70, 0.75);
}

@media (min-width: 1024px) {
  .hero-visual { padding-bottom: 4.5rem; }
  /* Let the desk run a little past the column so the console reads larger. */
  .desk { margin-right: -9%; }
  .desk-laptop { width: 94%; }
  .desk-badge { width: 14rem; bottom: -15%; transform: rotate(-6deg); }
  .desk-phone { animation: deskfloat 10s ease-in-out infinite; }
}
@media (max-width: 639px) {
  .hero-visual { padding-bottom: 5.5rem; }
  .desk-laptop { width: 100%; }
  .desk-phone { width: 30%; right: 0; bottom: -18%; }
  .desk-badge { width: 9.5rem; bottom: -20%; left: -1%; }
  .badge-kind, .badge-photo { display: none; }
  .badge-top img { width: 20px; }
  .badge-school { font-size: 0.66rem; }
  .badge-kind { font-size: 0.5rem; }
  .badge-name { font-size: 0.8rem; }
  .badge-meta { font-size: 0.58rem; }
  .badge-foot { display: none; }
  .badge-top { padding: 17px 11px 9px; }
  .badge-body { padding: 10px 11px 6px; }
  .badge-qr { width: 44px; height: 44px; padding: 3px; }
  .badge-photo { width: 32px; height: 32px; margin-bottom: 6px; }
}

@keyframes deskfloat { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-10px); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* marquee */
.marquee-wrap {
  position: relative; overflow: hidden; margin: 0 -0.75rem; width: calc(100% + 1.5rem);
  transform: rotate(-0.6deg); border-top: 1px solid var(--espresso); border-bottom: 1px solid var(--espresso);
  background: var(--clay-deep); padding: 16px 0; box-shadow: var(--shadow-lift);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.marquee-track em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 1.15rem; color: rgba(251, 248, 241, 0.9); white-space: nowrap; }
.marquee-dot { width: 6px; height: 6px; border-radius: 2px; background: rgba(182, 139, 95, 0.8); transform: rotate(45deg); margin-left: 2.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- generic section rhythm ---------- */
section.pad { padding: 6rem 0; }
@media (min-width: 640px) { section.pad { padding: 8rem 0; } }

/* ---------- How it works ---------- */
.steps-wrap { position: relative; margin-top: 4rem; }
.steps-connector { position: absolute; top: 50%; left: 6%; right: 6%; border-top: 2px dashed rgba(122, 82, 43, 0.25); display: none; }
@media (min-width: 1024px) { .steps-connector { display: block; } }
.steps-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  position: relative; overflow: hidden; height: 100%; border-radius: 2rem; border: 1px solid rgba(226, 216, 196, 0.8);
  background: var(--paper); padding: 1.75rem; box-shadow: var(--shadow-card); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.step-num-bg { position: absolute; top: -1.5rem; right: -0.5rem; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 6rem; line-height: 1; color: rgba(224, 213, 191, 0.45); }
.step-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--cedar), var(--clay-deep)); color: var(--cream); }
.step-eyebrow { position: relative; margin-top: 24px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cedar); }
.step-card h3 { position: relative; margin-top: 8px; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.step-card p { position: relative; margin-top: 10px; font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }
.steps-cta { margin-top: 3rem; display: flex; justify-content: center; }

/* ---------- Roles (dark section) ---------- */
.section-dark { position: relative; overflow: hidden; background: var(--mocha); }
.dark-glow-a { position: absolute; top: -12rem; left: 25%; width: 34rem; height: 34rem; border-radius: 999px; background: rgba(122, 82, 43, 0.3); filter: blur(90px); }
.dark-glow-b { position: absolute; bottom: -14rem; right: -6rem; width: 30rem; height: 30rem; border-radius: 999px; background: rgba(165, 116, 71, 0.25); filter: blur(90px); }
/* Roles: an office-wall organisation chart — paper cards joined by plain rules. */
.org-head { text-align: center; }
.org-head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--cream);
}
.org-head p { margin: 1rem auto 0; max-width: 34rem; font-size: 1rem; line-height: 1.7; color: rgba(236, 228, 211, 0.7); }

.org { --gap: 2.75rem; --w: 15rem; --col: 4rem; --rule: rgba(214, 170, 120, 0.45); margin-top: 3.5rem; }
.org-row { position: relative; display: flex; justify-content: center; margin-top: var(--gap); }
.org-row:first-child { margin-top: 0; }

.org-card {
  position: relative; width: 100%; max-width: 22rem; margin: 0 auto;
  border-radius: 12px; background: var(--paper); padding: 16px 18px 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 30px -18px rgba(0, 0, 0, 0.6);
}
.org-who { font-size: 0.72rem; color: var(--ink-soft); }
.org-card h3 {
  margin-top: 2px; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: 1.6rem; line-height: 1.15; color: var(--ink);
}
.org-desc { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.82rem; line-height: 1.55; color: var(--ink-soft); }
.org-top { background: linear-gradient(180deg, #fffaf0, #f3e6cf); }
.org-ghost { display: none; }

/* Phones and tablets: one column, a single rule down the middle. */
.org-fan { display: grid; gap: var(--gap); }
.org-card::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; height: var(--gap); border-left: 1px solid var(--rule);
}
.org-top::before { display: none; }

.org-fan { width: 100%; grid-template-columns: minmax(0, 22rem); justify-content: center; }
/* Staff, Teacher and Student are siblings under Admin: on one column they sit
   as a tight group with a single line in, not a chain. */
@media (max-width: 1023px) {
  .org-people { gap: 0.6rem; }
  .org-people > .org-card:not(:first-child)::before { display: none; }
}
/* Desktop: the real chart, with fans that branch left and right. */
@media (min-width: 1024px) {
  .org-card { width: var(--w); max-width: none; margin: 0; }
  .org-fan { grid-template-columns: repeat(3, var(--w)); column-gap: var(--col); justify-content: center; }
  .org-ghost {
    display: grid; place-items: center; min-height: 100%;
    background: transparent; border: 1px dashed rgba(214, 170, 120, 0.35); box-shadow: none;
  }
  .org-ghost h3 { font-size: 1.15rem; color: rgba(236, 228, 211, 0.4); }
  /* In a fan, each card drops half the gap from a shared bar… */
  .org-fan > .org-card::before { height: calc(var(--gap) / 2); }
  /* …the bar spans first to last column centre… */
  .org-branches::after, .org-people::after {
    content: ""; position: absolute; top: calc(var(--gap) / -2);
    left: calc(50% - var(--w) - var(--col)); width: calc(var(--w) * 2 + var(--col) * 2);
    border-top: 1px solid var(--rule);
  }
  /* …and one stem joins it to the card above. */
  .org-branches::before, .org-people::before {
    content: ""; position: absolute; left: 50%; top: calc(var(--gap) * -1); height: calc(var(--gap) / 2);
    border-left: 1px solid var(--rule);
  }
  .org-branches::after, .org-ghost::before { border-color: rgba(214, 170, 120, 0.3); }
  .org-ghost::before { border-left-style: dashed; }
  /* Parent hangs straight under Student. */
  .org-family .org-parent { grid-column: 3; }
  .org-family .org-parent::before { height: var(--gap); }
  /* Teacher and Student: a dashed "teaches" link across the gap. */
  .org-teacher::after {
    content: "teaches"; position: absolute; top: 50%; left: 100%; width: var(--col);
    border-top: 1px dashed var(--rule); padding-top: 4px; text-align: center;
    font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 0.85rem;
    color: rgba(214, 170, 120, 0.85); line-height: 1; transform: translateY(-1px);
  }
}
.org-foot { margin-top: 2.75rem; text-align: center; font-size: 0.9rem; color: rgba(236, 228, 211, 0.55); }
.org-foot a {
  white-space: nowrap; color: var(--cream); font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(182, 139, 95, 0.6); text-underline-offset: 4px;
}
.org-foot a:hover { color: var(--acorn); }

/* ---------- Features ---------- */
/* Features: an open register book — two ruled pages, a red margin, a spine. */
.reg-head { max-width: 46rem; }
.reg-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); }
.reg-head p { margin-top: 1rem; max-width: 36rem; font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }

.register {
  --rule: rgba(70, 110, 160, 0.16); --margin: rgba(196, 72, 58, 0.45);
  position: relative; margin-top: 3rem; display: grid;
  border-radius: 6px 6px 10px 10px; background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 #efe6d5, 0 4px 0 #e6dbc6, 0 30px 60px -30px rgba(60, 38, 18, 0.35);
}
@media (min-width: 1024px) {
  .register { grid-template-columns: 1fr 1fr; }
  /* The spine: a soft fold shadow down the middle. */
  .register::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 48px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(98, 64, 33, 0.10) 45%, rgba(98, 64, 33, 0.16) 50%, rgba(98, 64, 33, 0.10) 55%, transparent);
    pointer-events: none;
  }
}
.reg-page { position: relative; padding: 1.75rem 1.5rem 1.5rem 3.6rem; }
@media (min-width: 640px) { .reg-page { padding: 2.25rem 2.5rem 2rem 4.5rem; } }
.reg-page + .reg-page { border-top: 1px dashed var(--line); }
@media (min-width: 1024px) { .reg-page + .reg-page { border-top: 0; } }
/* Double red margin line, as in a school exercise book. */
.reg-page::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 2.6rem; width: 4px;
  border-left: 1px solid var(--margin); border-right: 1px solid var(--margin);
}
@media (min-width: 640px) { .reg-page::before { left: 3.3rem; } }
.reg-title {
  padding-bottom: 10px; border-bottom: 2px solid var(--rule);
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.35rem; color: var(--clay);
}
.reg-page ol { list-style: none; margin: 0; padding: 0; }
.reg-page li { position: relative; padding: 14px 0 15px; border-bottom: 1px solid var(--rule); }
.reg-no {
  position: absolute; left: -3.05rem; top: 15px; width: 1.6rem; text-align: right;
  font-family: 'Instrument Serif', Georgia, serif; font-size: 1rem; color: rgba(105, 90, 70, 0.6);
}
@media (min-width: 640px) { .reg-no { left: -3.4rem; width: 2rem; } }
.reg-was { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.08rem; line-height: 1.3; color: rgba(105, 90, 70, 0.8); }
.reg-was s { text-decoration-color: rgba(196, 72, 58, 0.55); text-decoration-thickness: 1px; }
.reg-page h3 { margin-top: 2px; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.reg-now { margin-top: 2px; font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); }

.reg-foot { margin-top: 1.75rem; font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); }
.reg-foot a { color: var(--clay); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(122, 82, 43, 0.35); text-underline-offset: 4px; }
.reg-foot a:hover { color: var(--ink); }

/* ---------- Desktop console ---------- */
.shot-tabs {
  margin: 2.75rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  width: fit-content; max-width: 100%; padding: 6px;
  border-radius: 1.5rem; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-card);
}
.shot-tab {
  border-radius: 999px; padding: 9px 18px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--ink-soft); transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.shot-tab:hover { background: var(--sand); color: var(--ink); }
.shot-tab.is-active { background: linear-gradient(135deg, var(--cedar), var(--clay-deep)); color: var(--cream); }
.shot-tab.is-active:hover { color: var(--cream); }

/* A browser chrome around the screenshot, so a desktop shot reads as a desktop shot. */
.browser {
  position: relative; margin: 2.5rem auto 0; max-width: 64rem; overflow: hidden;
  border-radius: 1.5rem; border: 1px solid rgba(226, 216, 196, 0.9); background: var(--paper);
  box-shadow: var(--shadow-float);
}
.browser-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  border-bottom: 1px solid var(--line); background: var(--sand);
}
.browser-dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e08a74; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.browser-url {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border-radius: 999px; background: var(--paper); padding: 5px 14px;
  font-size: 0.72rem; font-weight: 600; color: var(--ink-soft);
}
.browser-screen { background: var(--canvas); }
/* Fixed ratio, so swapping screenshots never jumps the page. */
.browser-screen img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top center; }
.browser-caption {
  border-top: 1px solid var(--line); background: var(--paper); padding: 16px 20px;
  text-align: center; font-size: 0.86rem; line-height: 1.6; color: var(--ink-soft);
}

.palette-head { margin-top: 4.5rem; text-align: center; }
.palette-head h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.palette-head p { margin: 10px auto 0; max-width: 34rem; font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }

.palette-grid {
  margin-top: 2rem; display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .palette-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .palette-grid { grid-template-columns: repeat(5, 1fr); } }
.palette { margin: 0; }
.palette img {
  width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top left;
  border-radius: 1rem; border: 1px solid var(--line); background: var(--canvas);
  box-shadow: var(--shadow-card); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.palette:hover img { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.palette figcaption {
  margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.palette-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(34, 25, 16, 0.12); }

.desk-points { margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .desk-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .desk-points { grid-template-columns: repeat(4, 1fr); } }
.desk-point {
  display: flex; align-items: flex-start; gap: 12px; height: 100%;
  border-radius: 1.25rem; border: 1px solid rgba(226, 216, 196, 0.8); background: var(--paper);
  padding: 18px; font-size: 0.86rem; line-height: 1.6; color: var(--ink-soft);
}
.desk-point a { color: var(--clay); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.desk-check {
  display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%; background: var(--sand); color: var(--clay-deep);
}

/* ---------- Mobile app ---------- */
.theme-switch {
  position: relative; width: fit-content; margin: 2.75rem auto 0; display: flex; gap: 4px; padding: 5px;
  border-radius: 999px; border: 1px solid rgba(251, 248, 241, 0.14); background: rgba(251, 248, 241, 0.06);
}
.theme-opt {
  border-radius: 999px; padding: 8px 22px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: rgba(236, 228, 211, 0.7); transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.theme-opt:hover { color: var(--cream); }
.theme-opt.is-active { background: linear-gradient(135deg, var(--cedar), var(--clay-deep)); color: var(--cream); }

/* Horizontal rail on small screens so five phones never squash; a plain row from lg up. */
.phone-rail {
  position: relative; margin-top: 3rem; display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(10.5rem, 1fr); gap: 1.25rem;
  overflow-x: auto; padding: 0 4px 1.25rem; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: rgba(182, 139, 95, 0.5) transparent;
}
@media (min-width: 1024px) {
  .phone-rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; padding-bottom: 0; }
}
.phone { position: relative; margin: 0; scroll-snap-align: center; }
/* A real handset: dark bronze body, thin bezel, punch-hole camera, side keys
   and a faint glass sheen, so the screenshots read as a phone in the hand. */
.phone-frame {
  position: relative; border-radius: 2.35rem; padding: 8px;
  background: linear-gradient(150deg, #5a4029 0%, #24180e 38%, #140d07 62%, #4a331f 100%);
  border: 1px solid rgba(251, 248, 241, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 34px 60px -24px rgba(0, 0, 0, 0.7),
    0 14px 28px -16px rgba(0, 0, 0, 0.55);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.phone-frame::before {
  content: ""; position: absolute; z-index: 2; top: 13px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3440 0%, #07090c 60%);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.6);
}
.phone-frame::after {
  content: ""; position: absolute; z-index: 1; inset: 8px; border-radius: 1.9rem; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 30%);
}
/* Power key on the right, volume rocker on the left. */
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #4a331f, #1c130b);
}
.phone::before { right: -2px; top: 22%; height: 9%; }
.phone::after { left: -2px; top: 16%; height: 14%; }
.phone:hover .phone-frame {
  transform: translateY(-10px); border-color: rgba(182, 139, 95, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 44px 70px -24px rgba(0, 0, 0, 0.75),
    0 0 0 6px rgba(182, 139, 95, 0.08);
}
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 1.9rem; background: var(--canvas); }
/* From lg up the five phones fan out: the middle one leads, the edges step back. */
@media (min-width: 1024px) {
  .phone-rail { padding-top: 1.5rem; }
  .phone-rail::before {
    content: ""; position: absolute; z-index: 0; left: 15%; right: 15%; top: 18%; bottom: 10%;
    border-radius: 999px; background: radial-gradient(closest-side, rgba(182, 139, 95, 0.28), transparent);
    filter: blur(30px); pointer-events: none;
  }
  .phone { z-index: 1; }
  .phone:nth-child(2), .phone:nth-child(4) { top: -14px; }
  .phone:nth-child(3) { top: -28px; z-index: 2; }
}
.phone figcaption {
  margin-top: 14px; text-align: center; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(182, 139, 95, 0.9);
}

.app-points { position: relative; margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .app-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .app-points { grid-template-columns: repeat(4, 1fr); } }
.app-point {
  display: flex; align-items: flex-start; gap: 12px; height: 100%;
  border-radius: 1.25rem; border: 1px solid rgba(251, 248, 241, 0.1); background: rgba(251, 248, 241, 0.05);
  padding: 18px; font-size: 0.86rem; line-height: 1.6; color: rgba(236, 228, 211, 0.8);
}
.app-check {
  display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%; background: rgba(182, 139, 95, 0.2); color: var(--acorn);
}

/* ---------- Services ---------- */
.section-cream { background: var(--cream); border-top: 1px solid rgba(226, 216, 196, 0.7); border-bottom: 1px solid rgba(226, 216, 196, 0.7); }
/* Services: a newspaper "Situations Vacant" page — four ads, each stamped HIRED. */
.ads-head { max-width: 44rem; }
.ads-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); }
.ads-head p { margin-top: 1rem; max-width: 36rem; font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }

.ads { margin-top: 3rem; color: var(--ink); }
.ads-masthead {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-top: 4px double var(--ink); border-bottom: 1px solid var(--ink); padding: 10px 2px 8px;
  font-size: 0.72rem; color: var(--ink-soft);
}
.ads-masthead strong {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.02em; color: var(--ink);
}
.ads-masthead span:first-child, .ads-masthead span:last-child { flex: 1; }
.ads-masthead span:last-child { text-align: right; }
@media (max-width: 639px) { .ads-masthead span { display: none; } .ads-masthead { justify-content: center; } }

.ads-grid { display: grid; border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) { .ads-grid { grid-template-columns: 1fr 1fr; } }
.ad { position: relative; padding: 1.75rem 0.25rem 1.9rem; }
.ad + .ad { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .ad { padding: 2rem 2.25rem 2.25rem; }
  .ad:nth-child(odd) { padding-left: 0.25rem; border-right: 1px solid var(--line); }
  .ad:nth-child(even) { padding-right: 0.25rem; }
  .ad + .ad { border-top: 0; }
  .ad:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
.ad-kicker { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.05rem; color: var(--clay); }
.ad h3 { font-size: 1.55rem; font-weight: 900; line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; }
.ad-body { margin-top: 12px; max-width: 30rem; font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; line-height: 1.6; color: #3d3124; }
.ad-body::first-letter {
  float: left; margin: 5px 3px 0 0; font-family: 'Instrument Serif', Georgia, serif;
  font-size: 3.3rem; line-height: 0.8; color: var(--clay-deep);
}
.ad-duties { margin-top: 12px; max-width: 30rem; font-size: 0.86rem; line-height: 1.6; color: var(--ink-soft); }
.ad-duties span { font-weight: 800; color: var(--ink); }
.ad-terms { margin-top: 10px; font-family: Georgia, serif; font-style: italic; font-size: 0.84rem; color: rgba(105, 90, 70, 0.85); }

/* The rubber stamp: double ink border, a little crooked, never perfectly placed. */
.ad-stamp {
  position: absolute; top: 1.6rem; right: 0.5rem;
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1;
  border: 2px solid rgba(168, 52, 40, 0.75); outline: 1px solid rgba(168, 52, 40, 0.55); outline-offset: 2px;
  border-radius: 6px; padding: 6px 12px 5px;
  font-size: 1.05rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(168, 52, 40, 0.8); transform: rotate(-9deg); mix-blend-mode: multiply;
  user-select: none;
}
.ad-stamp small { margin-top: 3px; font-size: 0.55rem; letter-spacing: 0.3em; }
.ad:nth-child(2) .ad-stamp { transform: rotate(6deg); top: 2.1rem; }
.ad:nth-child(3) .ad-stamp { transform: rotate(-4deg); }
.ad:nth-child(4) .ad-stamp { transform: rotate(8deg); top: 2.3rem; }
@media (min-width: 900px) {
  .ad:nth-child(odd) .ad-stamp { right: 2rem; }
  .ad:nth-child(even) .ad-stamp { right: 0.75rem; }
}

/* ---------- Pricing ---------- */
.pricing-section { position: relative; overflow: hidden; }
.pricing-wash { position: absolute; inset-inline: 0; top: 0; height: 18rem; background: linear-gradient(180deg, rgba(236, 228, 211, 0.6), transparent); pointer-events: none; }
.pricing-grid { position: relative; margin-top: 4rem; display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.price-card {
  position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 2rem;
  border: 1px solid rgba(226, 216, 196, 0.8); background: var(--paper); padding: 1.75rem;
  box-shadow: var(--shadow-card); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.price-card.popular { border-color: var(--espresso); background: var(--mocha); color: var(--cream); box-shadow: var(--shadow-float); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  border-radius: 999px; background: linear-gradient(90deg, var(--cedar), var(--acorn)); color: var(--espresso);
  padding: 6px 16px; font-size: 0.63rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; box-shadow: var(--shadow-card);
}
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-name { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); }
.price-card.popular .price-name { color: var(--acorn); }
.price-placeholder-tag { border-radius: 999px; background: var(--sand); color: rgba(105, 90, 70, 0.6); padding: 4px 10px; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.price-card.popular .price-placeholder-tag { background: rgba(251, 248, 241, 0.1); color: rgba(236, 228, 211, 0.6); }
.price-amount { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; }
.price-amount .num { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.price-card.popular .price-amount .num { color: var(--cream); }
.price-amount .cadence { font-size: 0.75rem; font-weight: 700; color: rgba(105, 90, 70, 0.7); }
.price-card.popular .price-amount .cadence { color: rgba(236, 228, 211, 0.6); }
.price-blurb { margin-top: 10px; font-size: 0.88rem; line-height: 1.6; color: var(--ink-soft); }
.price-card.popular .price-blurb { color: rgba(236, 228, 211, 0.65); }
.price-features { margin: 22px 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; flex: 1; }
.price-card.popular .price-features { border-top-color: rgba(251, 248, 241, 0.12); }
.price-features li { display: flex; align-items: flex-start; gap: 10px; }
.price-check { display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px; flex-shrink: 0; background: rgba(122, 82, 43, 0.1); color: var(--clay-deep); }
.price-card.popular .price-check { background: rgba(182, 139, 95, 0.2); color: var(--acorn); }
.price-features span { font-size: 0.8rem; font-weight: 600; line-height: 1.4; color: var(--ink-soft); }
.price-card.popular .price-features span { color: rgba(236, 228, 211, 0.85); }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card:not(.popular) .btn { background: var(--clay); color: var(--cream); box-shadow: 0 12px 26px -12px rgba(122, 82, 43, 0.8); }
.price-card:not(.popular) .btn:hover { background: var(--clay-deep); }

.pricing-note { margin-top: 3rem; display: flex; justify-content: center; }
.pricing-note p { max-width: 40rem; border-radius: 1rem; border: 1px dashed rgba(122, 82, 43, 0.3); background: rgba(255, 253, 248, 0.7); padding: 16px 24px; text-align: center; font-size: 0.8rem; font-weight: 600; line-height: 1.6; color: var(--ink-soft); }
.pricing-note strong { color: var(--clay-deep); font-weight: 800; }

/* ---------- Testimonial ---------- */
.testimonial-card {
  position: relative; overflow: hidden; border-radius: 2.5rem; padding: 3.5rem 1.75rem;
  background: linear-gradient(135deg, var(--cedar), var(--clay), var(--clay-deep)); box-shadow: var(--shadow-float);
}
@media (min-width: 640px) { .testimonial-card { padding: 4.5rem 3rem; } }
.testimonial-glow-a { position: absolute; top: -8rem; left: -5rem; width: 24rem; height: 24rem; border-radius: 999px; background: rgba(182, 139, 95, 0.35); filter: blur(70px); }
.testimonial-glow-b { position: absolute; right: -6rem; bottom: -8rem; width: 20rem; height: 20rem; border-radius: 999px; background: rgba(29, 18, 7, 0.4); filter: blur(70px); }
.testimonial-grid { position: relative; display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-item { position: relative; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px 26px 26px; border-radius: 1.25rem; border: 1px solid rgba(251, 248, 241, 0.15); background: rgba(29, 18, 7, 0.25); }
.testimonial-quote-badge { position: absolute; top: -18px; left: 24px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 14px; background: var(--cream); color: var(--clay); box-shadow: var(--shadow-lift); }
.testimonial-quote { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.4; font-weight: 400; color: var(--cream); }
.testimonial-cite { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { flex: none; display: grid !important; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: var(--cream); color: var(--clay-deep, var(--clay)) !important; font-size: 0.85rem !important; font-weight: 800 !important; letter-spacing: 0.04em; }
.testimonial-cite strong { display: block; font-size: 0.9rem; font-weight: 800; color: var(--cream); }
.testimonial-cite span { display: block; font-size: 0.75rem; font-weight: 600; color: rgba(251, 248, 241, 0.7); }

.stats-grid { position: relative; margin-top: 3.5rem; display: grid; gap: 1px; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(251, 248, 241, 0.15); background: rgba(251, 248, 241, 0.15); }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; background: rgba(29, 18, 7, 0.3); padding: 28px 24px; text-align: center; }
.stat-tile .num { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--cream); }
.stat-tile .label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(251, 248, 241, 0.65); }

/* ---------- FAQ ---------- */
.faq-section { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .faq-section { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.faq-side .btn { margin-top: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { overflow: hidden; border-radius: 1.5rem; border: 1px solid rgba(226, 216, 196, 0.8); background: rgba(255, 253, 248, 0.6); box-shadow: var(--shadow-card); transition: all 0.4s var(--ease); }
.faq-item:hover { border-color: rgba(122, 82, 43, 0.25); background: var(--paper); }
.faq-item.is-open { border-color: rgba(122, 82, 43, 0.3); background: var(--paper); box-shadow: var(--shadow-lift); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; }
.faq-q .txt { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.faq-q .plus { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; border: 1px solid rgba(34, 25, 16, 0.15); color: var(--ink-soft); transition: all 0.4s var(--ease); }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); border-color: var(--clay); background: var(--clay); color: var(--cream); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.is-open .faq-a { max-height: 260px; }
.faq-a p { padding: 0 24px 22px; font-size: 0.9rem; line-height: 1.65; color: var(--ink-soft); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: 2.5rem; background: var(--mocha); padding: 4rem 1.75rem; text-align: center; box-shadow: var(--shadow-float); }
@media (min-width: 640px) { .cta-banner { padding: 6rem 3rem; } }
.cta-ring-a { position: absolute; top: 50%; left: 50%; width: 42rem; height: 42rem; transform: translate(-50%, -50%); border-radius: 999px; border: 1px dashed rgba(182, 139, 95, 0.2); }
.cta-ring-b { position: absolute; top: 50%; left: 50%; width: 54rem; height: 54rem; transform: translate(-50%, -50%); border-radius: 999px; border: 1px solid rgba(251, 248, 241, 0.06); }
.cta-glow { position: absolute; top: -10rem; left: 50%; width: 36rem; height: 36rem; transform: translateX(-50%); border-radius: 999px; background: rgba(122, 82, 43, 0.35); filter: blur(70px); }
.cta-inner { position: relative; }
.cta-inner h2 { margin: 28px auto 0; max-width: 44rem; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; color: var(--cream); }
.cta-inner p.lede { margin: 20px auto 0; max-width: 34rem; font-size: 1.05rem; line-height: 1.6; color: rgba(236, 228, 211, 0.7); }
.cta-inner .hero-ctas { justify-content: center; margin-top: 36px; }
.cta-meta { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; font-size: 0.72rem; font-weight: 700; color: rgba(236, 228, 211, 0.55); }
.cta-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--espresso); color: rgba(236, 228, 211, 0.7); padding: 4rem 0 3rem; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.footer-brand p { margin-top: 20px; max-width: 20rem; font-size: 0.9rem; line-height: 1.6; }
.footer-socials { margin-top: 24px; display: flex; gap: 10px; }
.footer-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(251, 248, 241, 0.12); color: rgba(236, 228, 211, 0.6); transition: all 0.3s ease; }
.footer-socials a:hover { transform: translateY(-3px); border-color: rgba(182, 139, 95, 0.5); background: rgba(182, 139, 95, 0.1); color: var(--acorn); }
.footer-col h3 { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--acorn); }
.footer-col ul { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.footer-col a { display: inline-block; padding: 6px 0; font-size: 0.9rem; font-weight: 600; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cream); }
.footer-card { border-radius: 1.5rem; border: 1px solid rgba(251, 248, 241, 0.1); background: rgba(251, 248, 241, 0.04); padding: 22px; }
.footer-card p { margin-top: 14px; font-size: 0.88rem; line-height: 1.6; }
.footer-card strong { color: var(--cream); }
.footer-card-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.footer-card-cta a:first-child { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--cream); color: var(--clay-deep); padding: 10px 20px; font-size: 0.8rem; font-weight: 800; }
.footer-card-cta a:last-child { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(251, 248, 241, 0.2); color: var(--cream); padding: 10px 20px; font-size: 0.8rem; font-weight: 700; }
.footer-bottom { margin-top: 3.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(251, 248, 241, 0.1); padding-top: 32px; font-size: 0.75rem; font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 100; border-radius: 999px; background: var(--ink); color: var(--cream); padding: 10px 20px; font-size: 0.85rem; font-weight: 700; transition: top 0.2s ease; }
.skip-link:focus { top: 12px; }

/* Phones: a smaller stamp, and titles that wrap before they reach it. */
@media (max-width: 899px) {
  .ad h3 { padding-right: 6.5rem; }
  .ad-stamp { font-size: 0.85rem; padding: 5px 9px 4px; top: 1.5rem !important; }
}
