/* ═══════════════════════════════════════════════════════
   GoldenOS — The AI Operating System for Modern Businesses
   Black & gold. Air-heavy. Motion with purpose.
   ═══════════════════════════════════════════════════════ */

/* ---------- Tokens ---------- */
:root {
  /* Brand spec — GoldenOS identity sheet
     Gold #D4AF37 · Deep Black #0A0A0A · Ivory #F7F5EF */
  --bg:            #0a0a0a;
  --bg-elev:       #101010;
  --bg-card:       #141414;
  --bg-card-hover: #1a1a19;

  --line:          rgba(247, 245, 239, 0.07);
  --line-strong:   rgba(247, 245, 239, 0.15);

  --text:          #f7f5ef;
  --text-muted:    #b3afa4;
  --text-dim:      #928d82;

  --gold:          #d4af37;
  --gold-bright:   #f0d67e;
  --gold-deep:     #a8862a;
  --gold-ink:      #0a0a0a;
  --gold-soft:     rgba(212, 175, 55, 0.10);
  --gold-line:     rgba(212, 175, 55, 0.30);
  --gold-grad:     linear-gradient(135deg, #f0d67e 0%, #d4af37 46%, #a8862a 100%);

  --maxw:          1180px;
  --radius:        16px;
  --radius-sm:     10px;

  /* Emil's curves — the built-in easings are too weak */
  --ease-out:      cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:   cubic-bezier(0.77, 0, 0.175, 1);

  --font-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-section: clamp(6rem, 4.2rem + 7.5vw, 12rem);

  --z-bg:     -3;
  --z-grain:  -2;
  --z-base:    1;
  --z-header: 90;
  --z-menu:   95;
  --z-bar:   100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.72;              /* light-on-dark needs the extra air */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--gold-ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 0.9rem + 2.2vw, 2.75rem);
}

.text-gold { color: var(--gold); }

/* ---------- Ambient atmosphere ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: var(--z-bg);
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 78% -8%,  rgba(232, 200, 119, 0.13), transparent 60%),
    radial-gradient(760px 520px at 4%  16%,  rgba(201, 162, 74,  0.08), transparent 55%),
    radial-gradient(680px 680px at 94% 86%,  rgba(232, 200, 119, 0.05), transparent 60%);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2%, 1.5%, 0) scale(1.07); }
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: var(--z-grain);
  pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: var(--z-bar);
  height: 2px; width: 0%;
  background: var(--gold-grad);
  box-shadow: 0 0 14px rgba(232, 200, 119, 0.6);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), backdrop-filter 300ms var(--ease-out);
}
.site-header[data-scrolled] {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 80px; }

/* Wordmark lockup — "Golden" in gold Playfair, "OS" in ivory Sora ExtraBold.
   The Gateway icon is the brand's secondary mark. */
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.mark {
  width: 30px; height: 30px; flex: none;
  color: var(--gold);
  display: grid; place-items: center;
}
.mark svg { width: 100%; height: 100%; display: block; }

.brand-name { display: inline-flex; align-items: baseline; font-size: 1.24rem; line-height: 1; }
.bn-gold {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.005em;
}
.bn-os {
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-left: 0.055em;
}

.nav-links { display: flex; gap: clamp(1.1rem, 0.6rem + 1.4vw, 2.1rem); }
.nav-links a {
  display: inline-flex; align-items: center;
  min-height: 44px;                      /* touch target */
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--text); }
}

.nav-toggle { display: none; width: 40px; height: 40px; place-items: center; color: var(--text); }
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  position: sticky; top: 80px; z-index: var(--z-menu);
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem clamp(1.25rem, 0.9rem + 2.2vw, 2.75rem) 1.75rem;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted); font-weight: 500;
}
.mobile-menu .btn { margin-top: 1.25rem; border-bottom: none; justify-content: center; }

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em;
  white-space: nowrap;
  /* Magnetic offset lives in CSS vars so the :active press still composes */
  transform: translate(var(--mx-t, 0px), var(--my-t, 0px));
  transition: transform 260ms var(--ease-out), background 200ms var(--ease-out),
              border-color 200ms var(--ease-out), box-shadow 260ms var(--ease-out), color 200ms var(--ease-out);
}
.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.87rem; }

.btn--gold {
  background: var(--gold-grad);
  color: var(--gold-ink);
  box-shadow: 0 6px 26px -12px rgba(232, 200, 119, 0.7);
}
.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
}
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { box-shadow: 0 10px 38px -10px rgba(232, 200, 119, 0.85); }
  .btn--ghost:hover { border-color: var(--gold-line); color: var(--gold); }
}
.btn:active {
  transform: translate(var(--mx-t, 0px), var(--my-t, 0px)) scale(0.97);
  transition-duration: 100ms;   /* press feedback must feel instant */
}

.arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow { transform: translateX(4px); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); position: relative; z-index: var(--z-base); }
.section--tight { padding-block: clamp(4.5rem, 3.4rem + 5vw, 8.5rem); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 1.35rem + 3.1vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title--center { text-align: center; margin-inline: auto; max-width: 18ch; }

.lead {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.16rem);
  max-width: 62ch;
  margin-top: 1.6rem;
}
.lead--center { text-align: center; margin-inline: auto; max-width: 56ch; }

.center-col { max-width: 900px; margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 1.5rem + 4vw, 6rem);
  align-items: start;
}
.sticky-col { position: sticky; top: 140px; }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(6rem, 4rem + 9vw, 10rem) clamp(4rem, 3rem + 5vw, 7rem);
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 940px; }

.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  filter: blur(70px);
  transition: transform 700ms var(--ease-out);
}
.hero-orb.o1 {
  width: 460px; height: 460px; top: -8%; right: -6%;
  background: radial-gradient(circle, rgba(232, 200, 119, 0.20), transparent 68%);
}
.hero-orb.o2 {
  width: 380px; height: 380px; bottom: -12%; left: -8%;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.14), transparent 68%);
}

.badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 200, 119, 0.6);
  animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(232, 200, 119, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(232, 200, 119, 0); }
  100% { box-shadow: 0 0 0 0   rgba(232, 200, 119, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.7rem, 1.5rem + 5.2vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-top: 2rem;
  text-wrap: balance;
  max-width: 16ch;
}
.hero-sub {
  margin-top: 2rem;
  max-width: 58ch;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.45vw, 1.28rem);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.75rem; }

.scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.mouse {
  display: block; width: 24px; height: 38px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  position: relative;
}
.mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px;
  background: var(--gold);
  animation: wheel 2s var(--ease-in-out) infinite;
}
@keyframes wheel {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  60%      { transform: translateY(11px); opacity: 0; }
}

/* Kinetic headline characters */
.kin {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  filter: blur(6px);
  animation: kin-in 900ms var(--ease-out) forwards;
}
@keyframes kin-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Hero staged fade */
.hero-fade { opacity: 0; animation: fade-up 900ms var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.35rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem);
  color: var(--text-dim);
  padding-right: 1.4rem;
  white-space: nowrap;
}
.marquee .star { color: var(--gold); padding-inline: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ PROBLEM ═══════════ */
.problem-list { display: flex; flex-direction: column; gap: clamp(2.25rem, 1.8rem + 1.6vw, 3.5rem); }
.problem-item { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.1rem, 0.8rem + 1vw, 2rem); }
.pnum {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  padding-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.problem-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.problem-item p { color: var(--text-muted); margin-top: 0.85rem; max-width: 56ch; }

/* ═══════════ SOLUTION / LAYER STACK ═══════════ */
.solution { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.016), transparent); }

.stack {
  margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  perspective: 1400px;
  display: flex; flex-direction: column; align-items: center;
}
.stack-plane {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.plane-os {
  width: min(100%, 720px);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  text-align: center;
  border-color: var(--gold-line);
  background: linear-gradient(180deg, rgba(232, 200, 119, 0.14), rgba(232, 200, 119, 0.03));
  box-shadow: 0 30px 80px -40px rgba(232, 200, 119, 0.55);
  transform: rotateX(14deg);
  transform-origin: center bottom;
}
.plane-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  color: var(--gold);
  letter-spacing: -0.015em;
}
.plane-sub { display: block; margin-top: 0.5rem; font-size: 0.86rem; color: var(--text-muted); letter-spacing: 0.01em; }

.stack-beam {
  width: 1px; height: clamp(48px, 6vw, 84px);
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0.7;
}

.stack-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  width: 100%;
  transform: rotateX(14deg);
  transform-origin: center top;
}
.plane-tool {
  padding: 1.1rem 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.022);
}
.stack-caption {
  text-align: center; margin-top: 2.5rem;
  color: var(--text-dim); font-size: 0.92rem;
}

/* ═══════════ HOW IT WORKS ═══════════ */
.movement-grid {
  margin-top: clamp(3rem, 2.2rem + 3vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem);
}
.movement { padding-top: 1.5rem; border-top: 1px solid var(--line); position: relative; }
.movement::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 34px; height: 1px; background: var(--gold);
}
.mnum {
  font-family: var(--font-display);
  font-size: 0.9rem; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.movement h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.42rem; line-height: 1.25;
  margin-top: 0.7rem; letter-spacing: -0.01em;
}
.movement p { color: var(--text-muted); font-size: 0.97rem; margin-top: 0.75rem; }

/* ═══════════ CAPABILITIES ═══════════ */
.cap-grid {
  margin-top: clamp(3rem, 2.2rem + 3vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cap {
  background: var(--bg);
  padding: clamp(1.85rem, 1.5rem + 1.2vw, 2.6rem);
  transition: background 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cap:hover { background: var(--bg-card); }
}
.cap h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.36rem; letter-spacing: -0.01em;
}
.cap > p { color: var(--text-muted); font-size: 0.97rem; margin-top: 0.85rem; }
.cap-eg {
  margin-top: 1.15rem !important;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--text-dim) !important;
  font-size: 0.89rem !important;
  font-style: italic;
}

/* ═══════════ WHAT CHANGES ═══════════ */
.change-grid { margin-top: clamp(2.5rem, 2rem + 2.5vw, 4rem); display: flex; flex-direction: column; }
.change-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 0.6rem + 2vw, 3rem);
  align-items: center;
  padding-block: clamp(1.4rem, 1.1rem + 1vw, 2.1rem);
  border-bottom: 1px solid var(--line);
}
.change-row:first-child { border-top: 1px solid var(--line); }
.change-row::before {
  content: "→";
  grid-column: 2;
  order: 2;
  color: var(--gold);
  font-size: 1.1rem;
}
.change-before { grid-column: 1; order: 1; color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(232,200,119,.35); }
.change-after  { grid-column: 3; order: 3; color: var(--text); font-weight: 500; }
@media (max-width: 720px) {
  .change-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .change-row::before { grid-column: 1; }
  .change-before, .change-after { grid-column: 1; }
}

/* ═══════════ BUILT ON GOLDENOS ═══════════ */
.pf-grid {
  margin-top: clamp(3rem, 2.2rem + 3vw, 5rem);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
  perspective: 1200px;
}
/* Bento spans that divide evenly: 3+3 then 2+2+2 */
.pf-card:nth-child(1), .pf-card:nth-child(2) { grid-column: span 3; }
.pf-card:nth-child(3), .pf-card:nth-child(4), .pf-card:nth-child(5) { grid-column: span 2; }
@media (max-width: 980px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-card:nth-child(n) { grid-column: span 1; }
}
@media (max-width: 620px) {
  .pf-grid { grid-template-columns: 1fr; }
}
.pf-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease-out), background 320ms var(--ease-out);
}
.pf-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 200, 119, 0.10), transparent 70%);
  opacity: 0; transition: opacity 320ms var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .pf-card:hover { border-color: var(--gold-line); background: var(--bg-card-hover); }
  .pf-card:hover::before { opacity: 1; }
}
.pf-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pf-logo { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
.pf-logo svg { width: 100%; height: 100%; display: block; }
.pf-logo--type {
  border-radius: 9px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem; line-height: 1;
}
.pf-name {
  display: block; margin-top: 1.15rem;
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.01em;
}
.pf-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: auto; padding-top: 1.35rem;
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--gold);
}
.pf-chip {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--gold-line); border-radius: 999px;
}
.pf-one { margin-top: 0.5rem; color: var(--text); font-weight: 500; }
.pf-desc { margin-top: 0.6rem; color: var(--text-muted); font-size: 0.94rem; }

/* ═══════════ INDUSTRIES ═══════════ */
.industries {
  margin-top: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.85rem;
}
.industries li {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: border-color 240ms var(--ease-out), color 240ms var(--ease-out), background 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .industries li:hover { border-color: var(--gold-line); color: var(--gold); background: var(--gold-soft); }
}

/* ═══════════ SECURITY ═══════════ */
.trust-list { display: flex; flex-direction: column; gap: clamp(2rem, 1.6rem + 1.5vw, 3.25rem); }
.trust h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem);
  letter-spacing: -0.012em;
}
.trust p { color: var(--text-muted); margin-top: 0.8rem; max-width: 56ch; }
.deploy-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.deploy-tags span {
  font-size: 0.82rem; font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
}

/* ═══════════ CTA ═══════════ */
.cta-band { padding-bottom: clamp(5rem, 4rem + 5vw, 9rem); }
.panel {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 2.2rem + 4vw, 6rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  border: 1px solid var(--gold-line);
  border-radius: clamp(20px, 2vw, 28px);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(232, 200, 119, 0.14), transparent 70%),
    var(--bg-card);
  overflow: hidden;
}
.panel h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.6rem);
  line-height: 1.1; letter-spacing: -0.02em;
  text-wrap: balance;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.75rem; }

/* ═══════════ FOOTER ═══════════ */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 2.4rem + 2vw, 4.5rem) 2.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(2rem, 1.5rem + 3vw, 5rem);
  align-items: start;
}
/* Tagline lockup from the identity sheet */
.footer-rule {
  display: flex; align-items: center; gap: 0.8rem;
  margin-top: 1.4rem; max-width: 300px;
  color: var(--gold);
}
.footer-rule::before, .footer-rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}
.footer-rule .star { font-size: 0.8rem; }
.footer-tag {
  margin-top: 0.9rem;
  color: var(--gold);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.footer-sub {
  margin-top: 0.7rem;
  color: var(--text-dim);
  font-size: 0.82rem; letter-spacing: 0.06em;
  max-width: 32ch;
}
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 0.7rem 3rem; }
.footer-links a { font-size: 0.92rem; color: var(--text-muted); transition: color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: var(--gold); } }
.footer-bottom {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.small { font-size: 0.84rem; color: var(--text-dim); }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════ SCROLL REVEALS ═══════════
   Default state is VISIBLE. The hidden state is only applied once JS
   confirms motion is on — so the page never ships blank. */
.js-motion .reveal,
.js-motion .reveal-l,
.js-motion .reveal-r,
.js-motion .reveal-scale,
.js-motion [data-stagger] > * {
  opacity: 0;
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out);
  will-change: opacity, transform;
}
.js-motion .reveal            { transform: translateY(28px); filter: blur(6px); }
.js-motion .reveal-l          { transform: translateX(-32px); filter: blur(6px); }
.js-motion .reveal-r          { transform: translateX(32px);  filter: blur(6px); }
.js-motion .reveal-scale      { transform: scale(0.96);       filter: blur(6px); }
.js-motion [data-stagger] > * { transform: translateY(24px);  filter: blur(5px); }

.js-motion .reveal.in,
.js-motion .reveal-l.in,
.js-motion .reveal-r.in,
.js-motion .reveal-scale.in,
.js-motion [data-stagger].in > * {
  opacity: 1; transform: none; filter: blur(0);
}
.js-motion .in { will-change: auto; }

/* Layer-stack reveal: the planes separate to show the "sits above" idea */
.js-motion .stack .plane-os  { transform: rotateX(14deg) translateY(38px) scale(0.97); transition: transform 1100ms var(--ease-out); }
.js-motion .stack .stack-beam { transform: scaleY(0); transform-origin: top; transition: transform 900ms var(--ease-out) 250ms; }
.js-motion .stack .stack-row  { transform: rotateX(14deg) translateY(-24px); transition: transform 1100ms var(--ease-out) 120ms; }
.js-motion .stack.in .plane-os  { transform: rotateX(14deg); }
.js-motion .stack.in .stack-beam { transform: scaleY(1); }
.js-motion .stack.in .stack-row  { transform: rotateX(14deg); }

/* ═══════════ REDUCED MOTION ═══════════
   Fewer and gentler — not zero. Opacity stays, movement goes. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::before { animation: none; }
  .marquee-track { animation: none; }
  .kin, .hero-fade { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .js-motion .reveal,
  .js-motion .reveal-l,
  .js-motion .reveal-r,
  .js-motion .reveal-scale,
  .js-motion [data-stagger] > *,
  .js-motion .stack .plane-os,
  .js-motion .stack .stack-beam,
  .js-motion .stack .stack-row {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .js-motion .stack .plane-os,
  .js-motion .stack .stack-row { transform: rotateX(14deg) !important; }
}

/* ═══════════════════════════════════════════════
   BUSINESS PAGES — GoldenOS chrome, each business
   carries its own accent via --accent on <body>.
   ═══════════════════════════════════════════════ */
.biz-hero { padding-block: clamp(3.5rem, 2.6rem + 4.5vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.biz-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.86rem; font-weight: 500; color: var(--text-dim);
  transition: color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .biz-back:hover { color: var(--gold); } }

.biz-logo {
  width: clamp(56px, 5vw, 72px); height: clamp(56px, 5vw, 72px);
  margin-top: 2.25rem;
}
.biz-logo svg { width: 100%; height: 100%; display: block; }

.biz-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);
  line-height: 1.05; letter-spacing: -0.025em; margin-top: 1.5rem;
}
.biz-chip {
  display: inline-block; margin-top: 1.1rem;
  padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text, var(--gold));
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 40%, transparent);
  background: color-mix(in srgb, var(--accent, var(--gold)) 10%, transparent);
}
.biz-one {
  margin-top: 1.75rem; max-width: 52ch;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.42rem);
  color: var(--text); line-height: 1.5;
}
.biz-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.btn--accent {
  background: var(--accent, var(--gold));
  color: var(--accent-ink, var(--gold-ink));
  font-weight: 700;
}

/* Plain-English panel */
.plain {
  margin-top: clamp(3rem, 2.4rem + 2.5vw, 4.5rem);
  padding: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  border-left: 2px solid color-mix(in srgb, var(--accent-text, var(--gold)) 55%, transparent);
}
.plain-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-text, var(--gold));
}
.plain p { margin-top: 0.9rem; color: var(--text-muted); max-width: 62ch; font-size: 1.04rem; }

/* Detail list */
.biz-points { display: flex; flex-direction: column; gap: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.biz-point { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 0.8rem + 0.9vw, 1.75rem); }
.biz-point .pnum { color: var(--accent-text, var(--gold)); }
.biz-point h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.25;
}
.biz-point p { color: var(--text-muted); margin-top: 0.75rem; max-width: 56ch; }

/* Facts strip */
.facts {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.fact { background: var(--bg); padding: 1.5rem; }
.fact-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.fact-v { display: block; margin-top: 0.55rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--text); }

/* Sibling nav */
.siblings { margin-top: clamp(3rem, 2.4rem + 2.5vw, 5rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.85rem; }
.sib {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 240ms var(--ease-out), background 240ms var(--ease-out);
}
.sib svg { width: 24px; height: 24px; flex: none; }
.sib span { font-size: 0.9rem; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .sib:hover { border-color: var(--gold-line); background: rgba(255,255,255,.03); }
}

/* ── Cost/time comparison (MapMyKhasra) ───────────────── */
.compare { margin-top: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.compare-head {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-text, var(--gold));
}
.compare-tbl {
  margin-top: 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem; padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.compare-row:last-child { border-bottom: none; }
.compare-row.is-head {
  background: rgba(255,255,255,.03);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
}
.compare-row.is-ours {
  background: color-mix(in srgb, var(--accent-text, var(--gold)) 9%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--accent-text, var(--gold)) 35%, transparent);
}
.cmp-what { font-weight: 500; color: var(--text); }
.cmp-what small { display: block; margin-top: 0.3rem; font-size: 0.83rem; font-weight: 400; color: var(--text-dim); }
.cmp-cost, .cmp-time { color: var(--text-muted); font-size: 0.94rem; }
.compare-row.is-ours .cmp-what,
.compare-row.is-ours .cmp-cost,
.compare-row.is-ours .cmp-time { color: var(--accent-text, var(--gold)); font-weight: 600; }
.compare-note { margin-top: 1rem; font-size: 0.86rem; color: var(--text-dim); max-width: 62ch; }
@media (max-width: 700px) {
  .compare-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .compare-row.is-head { display: none; }
  .cmp-cost::before { content: "Cost: "; color: var(--text-dim); }
  .cmp-time::before { content: "Time: "; color: var(--text-dim); }
}
