/* ============ Limb shared styles ============ */
:root {
  --bg: #FFFFFF;
  --alt: #F5F5F5;
  --ink: #1E1E1C;
  --muted: #666666;
  --hair: #E5E5E5;
  --accent: #464FDC;
  --accent-tint: #EEF0FC;
  --sage: #667E59;
  --coral: #DF776C;
  --amber: #FEBE5A;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }
.section { padding: 112px 0; }
.hairline { height: 1px; background: var(--hair); border: 0; margin: 0; }

.micro {
  font-weight: 600; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.micro.dark { color: #AAAAAA; }
.micro .num { font-family: 'JetBrains Mono', monospace; font-weight: 500; opacity: .55; margin-right: 10px; }
h1, h2, h3, h4, p { margin: 0; }
.h-hero { font-weight: 700; font-size: clamp(44px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.025em; }
.h-section { font-weight: 600; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.015em; }
.lead { font-weight: 400; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 540px; }
.body { font-weight: 400; font-size: 16px; line-height: 1.65; color: var(--ink); max-width: 640px; }
.mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 50px; padding: 10px 22px;
  font-size: 15px; font-weight: 500; line-height: 1;
  border: 1px solid transparent; transition: all 150ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #3540B8; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-tint); }
.btn-dark { background: #fff; color: var(--ink); }
.btn-dark:hover { background: #eee; }
.btn-black { background: #0d0d0d; color: #fff; border-color: #0d0d0d; }
.btn-black:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-arrow { display: inline-block; transition: transform 150ms ease; }
.btn:hover .btn-arrow { transform: translateX(2px); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--alt);
  transition: background 300ms ease;
}
.nav.past-hero {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(8px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo svg { display: block; }
.logo-word { font-family: 'Inter'; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.nav .logo-word { display: block; height: 22px; width: auto; opacity: 0; transform: translateX(-6px); transition: opacity 250ms ease, transform 250ms ease; }
.nav.past-hero .logo-word { opacity: 1; transform: translateX(0); }
.nav-center { display: flex; gap: 28px; }
.nav-center a { font-size: 13.5px; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-center a:hover, .nav-center a.active { border-bottom-color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-right .login { font-size: 13.5px; color: var(--ink); }
@media (max-width: 880px) { .nav-center { display: none; } }

/* Section anchor */
.sect-anchor {
  position: absolute; left: 40px; top: 32px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #999;
  letter-spacing: 0.04em;
}
.has-anchor { position: relative; }
@media (max-width: 980px) { .sect-anchor { position: static; margin-bottom: 16px; padding: 0 20px; } }

/* Footer */
footer.foot { background: var(--ink); color: #AAA; padding: 80px 0 40px; }
.foot-brand { position: relative; }
.foot-overlay { position: absolute; display: block; }
.foot-mat-inline { display: block; width: 132px; height: auto; margin-top: 2px; margin-left: -15px; }
.foot-logo-note { font-size: 13px; color: #777; margin-top: 8px; line-height: 1.55; max-width: 280px; }
.foot-arrow { top: 25px; left: -64px; width: 66px; }
@media (max-width: 600px) { .foot-arrow { display: none; } }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 20px; border-bottom: 1px solid #2a2a28; }
.foot-top .logo { color: #fff; }
.foot-top h5 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.foot-top li a:hover { color: #fff; }
.foot-bot {
  display: flex; justify-content: space-between; align-items: center; padding-top: 28px;
  font-size: 12px; color: #666; flex-wrap: wrap; gap: 16px;
}
.foot-social { display: flex; gap: 14px; }
.foot-social a { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #333; border-radius: 50%; transition: all 150ms; }
.foot-social a:hover { border-color: #fff; color: #fff; }
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; } }

/* Page hero (smaller than landing) */
.page-hero { background: var(--alt); padding: 80px 0 96px; }
.page-hero .micro { margin-bottom: 22px; }
.page-hero h1 { font-weight: 700; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.022em; max-width: 880px; }
.page-hero .lead { margin-top: 28px; font-size: 18px; max-width: 580px; }

/* Photo placeholder */
.ph-fill {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.035) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #DCDAD5, #C9C7C2);
  color: #2a2a28;
}
.ph-fill .tag { position: absolute; left: 14px; bottom: 12px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.02em; opacity: .7; }
.ph-fill .corner { position: absolute; right: 14px; top: 12px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; opacity: .55; }
