:root {
  --ok-gold: #ffce01;
  --ok-gold-deep: #e6b800;
  --ok-ink: #0b0b0f;
  --ok-ink-2: #14141c;
  --ok-ink-3: #1c1c28;
  --ok-text: #f4f1e8;
  --ok-muted: #9a978c;
  --ok-line: rgba(255, 206, 1, 0.18);
  --ok-font-display: "Bebas Neue", Impact, sans-serif;
  --ok-font-body: "Manrope", Georgia, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ok-font-body);
  color: var(--ok-text);
  background: var(--ok-ink);
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--ok-gold); text-decoration: none; }
a:hover { color: #ffe566; }

.ok-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ok-gold);
  color: #111;
  padding: 8px 12px;
  z-index: 100;
}
.ok-skip:focus { left: 8px; }

.ok-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.ok-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 15, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ok-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.ok-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ok-gold);
  font-family: var(--ok-font-display);
  font-size: 1.65rem;
  letter-spacing: 0.06em;
}
.ok-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.ok-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
  margin-right: 8px;
}
.ok-nav a {
  color: var(--ok-muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.ok-nav a:hover { color: var(--ok-text); }

.ok-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.ok-btn:hover { transform: translateY(-1px); }
.ok-btn-gold {
  background: var(--ok-gold);
  color: #14120a;
}
.ok-btn-gold:hover { background: #ffe566; color: #14120a; }
.ok-btn-ghost {
  border-color: rgba(255, 206, 1, 0.45);
  color: var(--ok-gold);
  background: transparent;
}
.ok-btn-ghost:hover { border-color: var(--ok-gold); color: var(--ok-gold); }

/* Hero — one composition, brand first, full-bleed */
.ok-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.ok-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255, 206, 1, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(255, 120, 40, 0.12), transparent 50%),
    linear-gradient(165deg, #12121a 0%, #0b0b0f 45%, #08080c 100%);
}

.ok-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 206, 1, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 206, 1, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
  animation: okGridDrift 28s linear infinite;
}

@keyframes okGridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

.ok-hero-glow {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  right: -12%;
  top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 206, 1, 0.22), transparent 68%);
  z-index: -1;
  animation: okPulse 7s ease-in-out infinite;
}

@keyframes okPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.ok-hero-inner {
  padding: 48px 0 72px;
  max-width: 720px;
}

.ok-brand {
  font-family: var(--ok-font-display);
  font-size: clamp(4.2rem, 14vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ok-gold);
  margin: 0 0 18px;
  animation: okRise 0.9s cubic-bezier(.2,.8,.2,1) both;
}

.ok-hero h1 {
  font-family: var(--ok-font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: 0.03em;
  font-weight: 400;
  margin: 0 0 14px;
  color: var(--ok-text);
  animation: okRise 0.9s .12s cubic-bezier(.2,.8,.2,1) both;
}

.ok-hero p {
  margin: 0 0 28px;
  color: var(--ok-muted);
  font-size: 1.05rem;
  max-width: 34rem;
  animation: okRise 0.9s .22s cubic-bezier(.2,.8,.2,1) both;
}

.ok-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: okRise 0.9s .32s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes okRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.ok-section {
  padding: 72px 0;
}

.ok-section h2 {
  font-family: var(--ok-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: var(--ok-gold);
}

.ok-section .ok-lead {
  color: var(--ok-muted);
  margin: 0 0 36px;
  max-width: 36rem;
}

.ok-apply-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ok-apply-tile {
  display: block;
  padding: 28px 26px;
  background: linear-gradient(145deg, var(--ok-ink-2), var(--ok-ink-3));
  border: 1px solid var(--ok-line);
  border-radius: 4px;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.ok-apply-tile:hover {
  border-color: rgba(255, 206, 1, 0.55);
  transform: translateY(-3px);
  color: inherit;
}
.ok-apply-tile h3 {
  font-family: var(--ok-font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: var(--ok-gold);
}
.ok-apply-tile p {
  margin: 0;
  color: var(--ok-muted);
  font-size: 0.95rem;
}

.ok-page {
  padding: 56px 0 80px;
}
.ok-page h1 {
  font-family: var(--ok-font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.04em;
  color: var(--ok-gold);
  margin: 0 0 20px;
}
.ok-prose {
  max-width: 680px;
  color: #d8d4c8;
}
.ok-prose p { margin: 0 0 1em; }
.ok-prose a { text-decoration: underline; text-underline-offset: 3px; }

.ok-form-shell {
  max-width: 560px;
  margin-top: 28px;
}
.ok-field {
  margin-bottom: 16px;
}
.ok-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ok-muted);
  margin-bottom: 6px;
}
.ok-field input,
.ok-field textarea,
.ok-field select {
  width: 100%;
  background: var(--ok-ink-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ok-text);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}
.ok-field input:focus,
.ok-field textarea:focus {
  outline: none;
  border-color: rgba(255, 206, 1, 0.55);
}
.ok-field textarea { min-height: 110px; resize: vertical; }
.ok-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.ok-alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.ok-alert-ok { background: rgba(80, 200, 120, 0.15); color: #8de4a8; }
.ok-alert-err { background: rgba(255, 80, 80, 0.12); color: #ff9b9b; }

.ok-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 28px;
  background: #08080c;
}
.ok-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.ok-footer-brand {
  font-family: var(--ok-font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--ok-gold);
  margin-bottom: 8px;
}
.ok-footer h3 {
  margin: 0 0 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ok-muted);
}
.ok-footer a,
.ok-footer p {
  display: block;
  color: #c8c4b8;
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.ok-footer-copy {
  color: #6e6b62;
  font-size: 0.8rem;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .ok-nav { display: none; }
  .ok-apply-grid { grid-template-columns: 1fr; }
  .ok-footer-grid { grid-template-columns: 1fr 1fr; }
  .ok-header-inner { min-height: 64px; }
}

@media (max-width: 560px) {
  .ok-footer-grid { grid-template-columns: 1fr; }
  .ok-hero-inner { padding-bottom: 56px; }
}
