/* Design tokens and shared page primitives */
:root {
  --cream: #f6f0e2;
  --paper: #fffdf7;
  --ink: #141414;
  --blue: #3157ff;
  --yellow: #ffd84d;
  --coral: #ff654d;
  --pink: #f6a8c4;
  --mint: #9fe7cb;
  --purple: #a88bff;
  --muted: #66625b;
  --line: 2px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --radius: 24px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Manrope, system-ui, sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); z-index: 20; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: "Space Grotesk", sans-serif; line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(42px, 6vw, 78px); }
p { line-height: 1.65; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: auto; }
.section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.load-error { width: min(680px, calc(100% - 40px)); margin: 140px auto; padding: 24px; border: var(--line); border-radius: var(--radius); background: var(--yellow); box-shadow: var(--shadow); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: var(--line); border-radius: 999px; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); font: 500 12px "DM Mono"; text-transform: uppercase; letter-spacing: .06em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: var(--line); border-radius: 999px; color: white; background: var(--ink); box-shadow: 4px 4px 0 var(--coral); font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--coral); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--coral); }
.btn.light { color: var(--ink); background: white; box-shadow: 4px 4px 0 var(--blue); }
.btn.blue { background: var(--blue); box-shadow: 5px 5px 0 var(--ink); }
.btn.yellow { color: var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }

/* Navigation */
.nav-shell { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; transition: .25s; }
.nav-shell.scrolled { border-bottom: 2px solid var(--ink); background: rgba(246, 240, 226, .9); backdrop-filter: blur(12px); }
nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk"; font-weight: 700; letter-spacing: -.04em; }
.logo-mark { position: relative; width: 38px; height: 38px; border: var(--line); border-radius: 50%; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.logo-mark::before { left: 9px; }
.logo-mark::after { right: 9px; }
.logo-mark span { position: absolute; bottom: 8px; left: 10px; width: 16px; height: 7px; border-bottom: 2px solid; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 100%; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: .2s; }
.nav-links a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; width: 46px; height: 46px; border: var(--line); border-radius: 50%; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }

/* Footer */
footer { padding: 65px 0 30px; color: white; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.footer-brand p { max-width: 350px; color: #aaa; }
.footer-col h4 { color: var(--yellow); font: 500 11px "DM Mono"; text-transform: uppercase; }
.footer-col a { display: block; margin: 11px 0; color: #bbb; font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-col .footer-agent-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 9px; width: 100%; max-width: 210px; margin: 8px 0 16px; padding: 11px 13px; border: 2px solid white; border-radius: 12px; color: var(--ink); background: var(--yellow); box-shadow: 4px 4px 0 var(--coral); font-weight: 800; transition: transform .2s, box-shadow .2s; }
.footer-col .footer-agent-button:hover { color: var(--ink); box-shadow: 7px 7px 0 var(--coral); transform: translate(-2px, -2px); }
.footer-agent-button span:first-child { color: var(--blue); font-size: 18px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 20px; border-top: 1px solid #555; color: #888; font: 400 11px "DM Mono"; }
