/* ===================================================================
   OffYouGo — landing page
   Dark · gradient-mesh glow · subtle brand yellow
   Display: Space Grotesk · Body: Manrope · Mono: Space Mono
   =================================================================== */

:root {
  /* surfaces (warm near-black, matched to brand off-white) */
  --bg: #0a0a09;
  --bg-2: #100f0c;
  --surface: rgba(255, 255, 255, 0.024);
  --surface-2: rgba(255, 255, 255, 0.045);
  --surface-3: rgba(255, 255, 255, 0.07);
  --border: rgba(244, 243, 242, 0.09);
  --border-strong: rgba(244, 243, 242, 0.16);

  /* ink */
  --fg: #f4f3f2;
  --fg-muted: rgba(244, 243, 242, 0.60);
  --fg-faint: rgba(244, 243, 242, 0.38);

  /* brand */
  --yellow: #ffe366;
  --yellow-2: #ffc933;
  --yellow-deep: #e0a800;

  /* type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv01";
}

/* ---- full-page ambient mesh + grain ---------------------------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 70% -10%, rgba(255, 201, 51, 0.13), transparent 60%),
    radial-gradient(45rem 38rem at 8% 8%, rgba(255, 227, 102, 0.06), transparent 55%),
    radial-gradient(70rem 55rem at 50% 120%, rgba(120, 110, 90, 0.10), transparent 60%);
}
.bg-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 243, 242, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 243, 242, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
}
.bg-field::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { position: relative; z-index: 1; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===================================================================
   SHARED ATOMS
   =================================================================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow-2);
  box-shadow: 0 0 12px 1px rgba(255, 201, 51, 0.7);
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--fg);
  color: #0a0a09;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 0 0 1px var(--yellow-2), 0 14px 38px -12px rgba(255, 201, 51, 0.45);
}
.btn-ghost {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  backdrop-filter: blur(8px);
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow-2);
  box-shadow: 0 0 10px 1px rgba(255, 201, 51, 0.8);
  position: relative;
}
.pill .dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 201, 51, 0.5);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  80%, 100% { transform: scale(2.1); opacity: 0; }
}
.pill b { color: var(--fg); font-family: var(--font-body); font-weight: 700; }

/* section scaffolding */
section { position: relative; padding: 120px 0; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 50px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 18px 0 0;
}
.section-head p {
  color: var(--fg-muted);
  font-size: 18px;
  margin-top: 16px;
  text-wrap: pretty;
}
.grad-word {
  background: linear-gradient(95deg, var(--yellow) 0%, var(--yellow-2) 55%, var(--yellow-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 9, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .logo-tile {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--fg);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px -8px rgba(255, 201, 51, 0.4);
}
.brand .logo-tile img { width: 22px; height: 22px; display: block; }
.brand .word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg); background: var(--surface); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  width: 42px; height: 42px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 18px;
}

/* ===================================================================
   HERO (3 switchable directions)
   =================================================================== */
.hero { padding: 168px 0 110px; }
.hero-variant { display: none; }
.hero-variant.active { display: block; }
.hero-variant.active.anim { animation: heroIn 0.5s var(--ease); }
@keyframes heroIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-variant.active.anim { animation: none; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.hero .lede { color: var(--fg-muted); text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* -- A: centered statement -- */
.hv-a { text-align: center; max-width: 920px; margin: 0 auto; }
.hv-a h1 { font-size: clamp(44px, 7.4vw, 88px); margin: 26px auto 0; }
.hv-a .lede { font-size: clamp(17px, 1.5vw, 21px); max-width: 600px; margin: 26px auto 0; }
.hv-a .hero-actions { justify-content: center; margin-top: 38px; }

/* -- B: left asymmetric with side rail -- */
.hv-b { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hv-b h1 { font-size: clamp(40px, 5.6vw, 70px); margin-top: 22px; }
.hv-b .lede { font-size: 19px; max-width: 520px; margin-top: 24px; }
.hv-b .hero-actions { margin-top: 34px; }
.hv-b .rail {
  border-left: 1px solid var(--border);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.rail-stat { }
.rail-stat .n {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.rail-stat .n em { font-style: normal; color: var(--yellow-2); }
.rail-stat .l { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); margin-top: 4px; }

/* -- C: oversized split type -- */
.hv-c { max-width: 1040px; margin: 0 auto; }
.hv-c .topline { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.hv-c h1 { font-size: clamp(46px, 9vw, 116px); line-height: 0.92; }
.hv-c h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--border-strong);
}
.hv-c .lede { font-size: 19px; max-width: 360px; }
.hv-c .hero-actions { margin-top: 40px; }
.hv-c .crule { height: 1px; background: var(--border); margin: 40px 0 0; }

/* logo strip */
.trust {
  margin-top: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--fg-faint);
}
.trust .tlabel { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.trust .ttags { display: flex; gap: 10px; flex-wrap: wrap; }
.trust .ttag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--surface);
}

/* hero switcher control */
.hero-switch {
  position: fixed;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(16, 15, 12, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, 0.8);
}
.hero-switch .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding: 0 10px 0 8px;
}
.hero-switch button {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.hero-switch button:hover { color: var(--fg); }
.hero-switch button.on { color: #0a0a09; background: var(--yellow); font-weight: 700; }

/* ===================================================================
   FEATURES
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.fcard {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.fcard::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(255, 201, 51, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.fcard:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.fcard:hover::before { opacity: 1; }
.fcard .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--yellow-2);
}
.fcard .ficon {
  width: 46px; height: 46px;
  margin: 18px 0 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--fg);
}
.fcard .ficon svg { width: 22px; height: 22px; }
.fcard h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.fcard p { color: var(--fg-muted); margin-top: 12px; font-size: 15.5px; text-wrap: pretty; }

/* ===================================================================
   HOW IT WORKS
   =================================================================== */
.flow-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin: 0 auto 50px;
}
.flow-tabs button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--fg-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 11px 24px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.flow-tabs button.on { color: #0a0a09; background: var(--fg); }
.flow-panel { display: none; }
.flow-panel.on { display: block; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
}
.step .snum {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--yellow-2);
  margin-bottom: 20px;
}
.step h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.step p { color: var(--fg-muted); margin-top: 10px; font-size: 14.5px; text-wrap: pretty; }
.step .conn {
  position: absolute;
  top: 48px; right: -9px;
  width: 18px; height: 1px;
  background: var(--border-strong);
  z-index: 2;
}
.step:last-child .conn { display: none; }

/* ===================================================================
   ROADMAP
   =================================================================== */
.roadmap-card {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.roadmap-card::before {
  content: "";
  position: absolute;
  top: -60%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 120%;
  background: radial-gradient(circle, rgba(255, 201, 51, 0.10), transparent 65%);
  pointer-events: none;
}
.rm-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; position: relative; }
.rm-top h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.rm-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rm-track {
  margin: 24px 0 22px;
  height: 12px;
  border-radius: 999px;
  background: rgba(244, 243, 242, 0.06);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.rm-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow-2) 55%, var(--yellow));
  box-shadow: 0 0 24px 1px rgba(255, 201, 51, 0.55);
  transition: width 1.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.rm-fill::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer { to { transform: translateX(120%); } }
.rm-card p { color: var(--fg-muted); }
.roadmap-card > p { color: var(--fg-muted); position: relative; text-wrap: pretty; }
.rm-phases { display: flex; gap: 10px; margin-top: 26px; position: relative; flex-wrap: wrap; }
.rm-phase {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--fg-faint);
}
.rm-phase.done { color: #0a0a09; background: var(--yellow); border-color: transparent; }
.rm-phase.now { color: var(--yellow); border-color: rgba(255, 201, 51, 0.4); }

/* ===================================================================
   ABOUT
   =================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: start; }
.about-mission h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 18px; }
.about-mission p { color: var(--fg-muted); font-size: 16.5px; text-wrap: pretty; }
.about-mission .sig {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-faint);
}
.founders-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 18px; }
.founders { display: flex; flex-direction: column; gap: 12px; }
.founder {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.founder:hover { border-color: var(--border-strong); background: var(--surface-2); }
.founder .av {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: #0a0a09;
  background: linear-gradient(140deg, var(--yellow), var(--yellow-2));
  flex-shrink: 0;
}
.founder .fmeta .fn { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.founder .fmeta .fr { font-size: 13px; color: var(--fg-faint); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-card {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50rem 24rem at 50% -30%, rgba(255, 201, 51, 0.12), transparent 60%);
  pointer-events: none;
}
.contact-card h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; position: relative; }
.contact-card p { color: var(--fg-muted); font-size: 18px; margin: 14px auto 0; max-width: 460px; position: relative; }
.contact-email {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--fg);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  position: relative;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.contact-email:hover { border-color: var(--yellow-2); background: var(--surface-2); transform: translateY(-2px); }
.socials { display: flex; gap: 10px; justify-content: center; margin-top: 28px; position: relative; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.social svg { width: 17px; height: 17px; }
.social:hover { color: var(--fg); border-color: var(--border-strong); transform: translateY(-2px); }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { border-top: 1px solid var(--border); padding: 48px 0; position: relative; z-index: 1; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .brand .logo-tile { width: 28px; height: 28px; border-radius: 8px; }
.footer .brand .logo-tile img { width: 19px; height: 19px; }
.footer .copy { color: var(--fg-faint); font-size: 13.5px; font-family: var(--font-mono); letter-spacing: 0.03em; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--fg-muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }

/* ===================================================================
   SUB-PAGES (Kariera, Polityka Prywatności)
   =================================================================== */
.subpage { padding: 148px 0 40px; }
.subpage .container { max-width: 880px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.back-link:hover { color: var(--fg); border-color: var(--border-strong); transform: translateX(-3px); }

.page-head { margin: 34px 0 0; }
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 62px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 18px;
}
.page-head .sub { color: var(--fg-muted); font-size: 18px; margin-top: 18px; max-width: 620px; text-wrap: pretty; }
.page-head .updated { font-family: var(--font-mono); font-size: 13px; color: var(--fg-faint); margin-top: 14px; letter-spacing: 0.03em; }

/* meta chips row (job facts) */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.meta-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
}
.meta-card .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); }
.meta-card .v { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-top: 8px; line-height: 1.25; }

/* apply bar */
.apply-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  position: relative;
  overflow: hidden;
}
.apply-bar::before {
  content: "";
  position: absolute; top: -60%; right: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(circle, rgba(255, 201, 51, 0.14), transparent 70%);
  pointer-events: none;
}
.apply-bar .at { position: relative; }
.apply-bar .at .t { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.apply-bar .at .d { color: var(--fg-muted); font-size: 14px; margin-top: 3px; }

/* article prose */
.prose { margin-top: 56px; }
.prose .block { margin-bottom: 48px; }
.prose .block:last-child { margin-bottom: 0; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.prose h2 .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--yellow-2);
}
.prose p { color: var(--fg-muted); font-size: 16.5px; margin-bottom: 14px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--yellow-2); text-decoration: none; border-bottom: 1px solid rgba(255, 201, 51, 0.3); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--yellow-2); }
.prose ul { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  color: var(--fg-muted);
  font-size: 16px;
  text-wrap: pretty;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--yellow-2);
  transform: rotate(45deg);
}
.prose ul.check li::before {
  content: "✓";
  background: none;
  color: var(--yellow-2);
  font-size: 14px;
  top: 1px; left: 2px;
  width: auto; height: auto;
  transform: none;
}

/* info callout */
.callout {
  border: 1px solid var(--border);
  border-left: 2px solid var(--yellow-2);
  background: var(--surface);
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
}
.callout p { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

.company-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 32px;
}
.company-card .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 10px; }
.company-card .nm { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.35; }
.company-card .row { color: var(--fg-muted); font-size: 14.5px; margin-top: 6px; }

@media (max-width: 760px) {
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  section { padding: 88px 0; }
  .hero { padding: 140px 0 90px; }
  .hv-b { grid-template-columns: 1fr; gap: 36px; }
  .hv-b .rail { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 28px; flex-direction: row; flex-wrap: wrap; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .steps.three { grid-template-columns: repeat(2, 1fr); }
  .step .conn { display: none; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .steps, .steps.three { grid-template-columns: 1fr; }
  .hv-c .topline { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 40px 24px; }
  .roadmap-card { padding: 30px 22px; }
  .hero-switch .lbl { display: none; }
  .nav .nav-cta .btn-ghost { display: none; }
}
