/* ============================================================
   EQUALLYOKED — the dark pages (home, Enterprise), 2026-11-04
   Black, off-white and yellow only. DM Sans for type, Instrument
   Serif italic for the softer half of a line, Bebas Neue for prices.
   ============================================================ */
:root {
  --black: #080808;
  --panel: #101010;
  --panel-2: #151515;
  --white: #f5f5f0;
  --muted: rgba(245, 245, 240, 0.64);
  --faint: rgba(245, 245, 240, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --yellow: #f5c400;
  --yellow-2: #ffd84a;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --display: 'Bebas Neue', Impact, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 28px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--black); color: var(--white); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.y { color: var(--yellow); }
em, .s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }

/* ---- type ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--yellow); }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--yellow); }
.h-l { font-size: clamp(40px, 6.2vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -0.038em; }
.h-l em { color: var(--white); font-size: 1.04em; }
.h-m { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--muted); max-width: 40ch; }
.sec { padding: clamp(96px, 13vw, 168px) 0; position: relative; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.center .lead { max-width: 46ch; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-y { background: var(--yellow); color: #0a0a0a; box-shadow: 0 10px 40px -12px rgba(245, 196, 0, 0.55); }
.btn-y:hover { background: var(--yellow-2); }
.btn-g { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--white); }
.btn-g:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 600; font-size: 15px; text-decoration: none; }
.link::after { content: '→'; transition: transform 0.25s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* ---- navigation ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(8, 8, 8, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 28px; }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.wordmark i { font-style: normal; color: var(--yellow); }
.nav-links { display: flex; gap: 4px; list-style: none; margin-left: auto; }
.nav-links a, .nav-dd > button { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; border-radius: 999px; background: none; border: 0; cursor: pointer; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-dd > button:hover, .nav-links a[aria-current] { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav-dd { position: relative; }
.nav-dd-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; padding: 8px; border-radius: 16px; background: rgba(18, 18, 18, 0.96); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: 0.2s var(--ease); }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu a { border-radius: 10px; }
.nav-act { display: flex; align-items: center; gap: 8px; }
.nav-act .login { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 8px 12px; }
.nav-act .login:hover { color: var(--white); }
.nav-act .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 68px 0 0; z-index: 49; background: rgba(8, 8, 8, 0.97); backdrop-filter: blur(16px); padding: 24px; display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transition: 0.3s var(--ease); overflow-y: auto; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu a.small { font-size: 17px; font-weight: 500; color: var(--muted); border: 0; padding: 8px 4px; }
.mobile-menu .btn { margin-top: 18px; font-size: 17px; border: 0; }
.menu-open { overflow: hidden; }
@media (max-width: 980px) { .nav-links, .nav-act { display: none; } .burger { display: block; } }

/* ---- reveal on scroll: rise, unblur ---- */
.js .rv { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js.still .rv { opacity: 1; transform: none; filter: none; transition: none; }

/* ---- cards ---- */
.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); border-radius: var(--r); }

/* ---- forms (dark) ---- */
.f-grid { display: grid; gap: 18px; }
.f-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: grid; gap: 8px; }
.f-field > span { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.f-field > span b { color: var(--yellow); font-weight: 600; }
.f-in { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--white); font: inherit; font-size: 16px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.f-in::placeholder { color: rgba(245, 245, 240, 0.3); }
.f-in:focus { outline: none; border-color: var(--yellow); background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.12); }
textarea.f-in { min-height: 128px; resize: vertical; line-height: 1.55; }
select.f-in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
select.f-in option { background: #141414; color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 640px) { .f-2 { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); padding: 72px 0 40px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot h6 { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.foot a:hover { color: var(--white); }
.foot .wordmark { color: var(--white); }
.foot-tag { margin-top: 16px; max-width: 30ch; line-height: 1.6; }
.foot-last { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; filter: none; }
}
