/* Shared visual hierarchy for public pages. Loaded after the base layout styles. */
:root{
  --bg:#141515;
  --panel:#1b1c1c;
  --ink:#eeece6;
  --muted:#b4b5af;
  --gold:#c6ad78;
  --gold-600:#d5bd8b;
  --gold-2:#c6ad78;
  --border:#343635;
  --ring:rgba(198,173,120,.22);
}
body{ background:var(--bg); color:var(--ink); }
body[data-page-type="marketing"]{ font-size:20px; line-height:1.65; }
body .header{ background:rgba(20,21,21,.97); border-color:var(--border); backdrop-filter:none; }
body .brand{ color:var(--ink); font-size:1.35rem; font-weight:600; }
body .brand .truncate{ top:0; }
body .desktop-nav{ gap:1.25rem; font-size:1rem; }
body .header .btn.ghost{ border-color:var(--border); color:var(--ink); }
body .header .nav-dragon{ display:none; }
body #bgMountains{ opacity:.14; filter:grayscale(1); }
body #bgMountains::after{ background:rgba(20,21,21,.65); }
body h1, body h2, body h3, body h4{ color:var(--ink); font-weight:600; text-shadow:none; letter-spacing:-.015em; }
body[data-page-type="marketing"] .section{ padding:72px 0; }
body[data-page-type="marketing"] .text-sm,
body[data-page-type="marketing"] .text-\[15px\]{ font-size:1.0625rem; line-height:1.65; }
body[data-page-type="marketing"] .text-xs{ font-size:.8125rem; }
body[data-page-type="marketing"] section h2{ font-size:clamp(2rem,4vw,3rem); line-height:1.12; }
body[data-page-type="marketing"] section h3{ font-size:1.65rem; line-height:1.2; }
body .panel, body .card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:10px;
  box-shadow:none;
  backdrop-filter:none;
}
body .card:hover{ transform:none; box-shadow:none; border-color:#50534f; }
body .panel .panel{ background:transparent; border:0; border-radius:0; }
body .readable-block{ background:transparent; border:0; border-radius:0; padding:0; backdrop-filter:none; }
body .readable-block > p:not(.section-kicker){ color:var(--muted) !important; }
body .section-kicker{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  color:var(--muted) !important;
  font-weight:500;
  letter-spacing:.14em;
}
body .btn{
  min-height:46px;
  border-radius:6px;
  background:var(--gold);
  color:#181915;
  font-size:1.0625rem;
  font-weight:700;
  box-shadow:none;
  transition:transform .25s ease,background .25s ease,border-color .25s ease,color .25s ease;
}
body .btn:hover{ background:var(--gold-600); transform:none; box-shadow:none; filter:none; }
body .btn.ghost, body .btn-outline{ background:transparent; border:1px solid #686c63; color:var(--ink); box-shadow:none; }
body .btn.ghost:hover, body .btn-outline:hover{ background:#282a26; border-color:var(--gold); color:var(--ink); }
body #hero{ min-height:0; padding:64px 0 56px; }
body #hero::before{ background:none; }
body #hero h1{ color:var(--ink); font-size:clamp(2.8rem,6vw,5.1rem); font-weight:500; line-height:1.04; max-width:17ch; text-shadow:none; }
body #hero p{ color:var(--muted); text-shadow:none; }
body #hero .hero-eyebrow{ font-size:.8125rem; letter-spacing:.16em; }
body #hero .hero-lead{ max-width:56ch; font-size:1.25rem; line-height:1.6; }
body #hero .hero-subline{ font-size:1rem; }
body #hero .hero-explore-links{ display:flex; flex-wrap:wrap; align-items:center; gap:.25rem 1.5rem; margin-top:2rem; padding-top:1rem; border-top:1px solid var(--border); max-width:48rem; }
body #hero .hero-explore-label{ flex-basis:100%; font-size:.75rem; color:var(--muted); text-transform:uppercase; letter-spacing:.14em; }
body #hero .hero-explore-link{ display:inline-flex; align-items:center; min-height:44px; font-size:1rem; color:var(--muted); text-decoration:underline; text-decoration-color:#666961; text-underline-offset:5px; }
body #hero .hero-actions .hero-secondary-action{ background:transparent; border-color:#686c63; box-shadow:none; color:var(--ink); }
body #hero .hero-actions .hero-secondary-action::after{ content:none; }
body #hero .hero-actions .hero-secondary-action:hover{ background:#282a26; color:var(--ink); transform:none; box-shadow:none; }
body #work{ border-top:1px solid var(--border); }
body #workCaption{ color:var(--muted); background:none; padding:0; margin-top:.75rem; border-radius:0; text-shadow:none; backdrop-filter:none; font-size:1.0625rem; }
body #workPrev, body #workNext{ border-color:var(--border); background:var(--panel); color:var(--ink); box-shadow:none; width:44px; height:44px; }
body #workPrev:hover, body #workNext:hover{ border-color:var(--gold); transform:none; box-shadow:none; }
body #workTitle{ font-size:1.25rem; }
body #workLabel, body #workIndex{ font-size:.8125rem; }
body #workDots .active{ box-shadow:none; transform:none; }
body #process .card{ background:transparent; border:0; border-top:1px solid var(--border); border-radius:0; padding-left:0; }
body #faq-strip .panel .panel{ border-top:1px solid var(--border); padding:1.25rem 0; }
body #faq-strip .font-semibold, body .hero-trust-grid .font-semibold{ color:var(--ink); }
body .engineering-details{ border-top:1px solid var(--border); padding-top:1.5rem; }
body .engineering-details summary{ cursor:pointer; color:var(--ink); font-weight:600; }
body footer{ background:var(--bg); border-color:var(--border); backdrop-filter:none; }
body footer::before{ content:none; }
/* Keep the layout's staggered scroll reveals and add restrained hover motion. */
@media (prefers-reduced-motion:no-preference){
  body #hero .hero-copy-shell{ animation:heroEntrance 1.1s cubic-bezier(.22,.61,.36,1) both; }
}
@keyframes heroEntrance{
  from{ opacity:0; transform:translateY(20px); }
  to{ opacity:1; transform:translateY(0); }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  body .card:hover{ transform:translateY(-3px); }
  body .btn:hover,
  body #hero .hero-actions .hero-secondary-action:hover,
  body #workPrev:hover,
  body #workNext:hover{ transform:translateY(-2px); }
}
@media (prefers-reduced-motion:reduce){
  body .btn, body .card, body #workPrev, body #workNext{ transition:none; }
}
.mobile-explore-section{ display:none; }
@media(max-width:768px){
  body #hero{ padding:32px 0 40px !important; }
  body #hero .hero-title{ font-size:clamp(2.6rem,10vw,3.5rem) !important; line-height:1.06 !important; max-width:17ch; }
  body #hero .hero-lead{ font-size:1.15rem !important; line-height:1.55 !important; max-width:40ch; }
  body #hero .hero-actions .btn.ghost,
  body #hero .hero-actions .hero-secondary-action{ background:transparent !important; border-color:#686c63 !important; color:var(--ink) !important; -webkit-text-fill-color:var(--ink) !important; }
  body #hero .hero-explore-links{ display:none; }
  body #hero .hero-actions{ display:grid; grid-template-columns:1fr; width:100%; }
  body #hero .hero-actions .btn{ width:100%; border-radius:6px; }
  body #hero .hero-actions .btn-gold{ background:var(--gold); box-shadow:none; }
  body .mobile-explore-section{ display:block; padding:2rem 0; background:transparent; border-block:1px solid var(--border); }
  body .mobile-explore-links{ display:grid; margin-top:1rem; }
  body .mobile-explore-link{ display:flex; align-items:center; min-height:48px; border-bottom:1px solid var(--border); }
  body[data-page-type="marketing"] .section{ padding:48px 0; }
  body #work > div > .flex{ align-items:flex-start; flex-wrap:wrap; }
}
