/* =============================================
   OUTBOUND — Custom Stylesheet
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #09090B;
  --surface: #111114;
  --surface-2: #18181C;
  --border: #27272A;
  --orange: #FF5C00;
  --orange-dim: rgba(255, 92, 0, 0.12);
  --orange-glow: rgba(255, 92, 0, 0.06);
  --white: #FAFAFA;
  --muted: #71717A;
  --muted-2: #52525B;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Typography ---- */
.font-display { font-family: var(--font-display); }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--orange);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav__tagline {
  font-size: 12px;
  color: var(--muted);
  display: none;
}

@media (min-width: 640px) {
  .nav__tagline { display: block; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
  opacity: 0.4;
}

.hero__glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 92, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 104px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__headline-accent {
  color: var(--orange);
  display: inline-block;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  width: fit-content;
}

.hero__stat {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.hero__stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  white-space: nowrap;
}

/* ---- Problem ---- */
.problem {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

.problem__inner {
  max-width: 880px;
  margin: 0 auto;
}

.problem__label,
.how__label,
.manifesto__label,
.outcomes__label,
.closing__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.problem__headline,
.how__headline,
.outcomes__headline,
.closing__headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.problem__body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 640px;
}

.problem__gap {
  margin-top: 48px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem__gap-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.problem__gap-label {
  font-size: 13px;
  color: var(--muted);
  width: 100px;
  flex-shrink: 0;
}

.problem__gap-bar {
  height: 8px;
  border-radius: 4px;
  flex: 1;
  max-width: 360px;
}

.problem__gap-bar--want {
  background: linear-gradient(90deg, var(--orange), rgba(255, 92, 0, 0.4));
  width: 100%;
}

.problem__gap-bar--have {
  background: var(--surface-2);
  width: 28%;
}

.problem__gap-caption {
  font-size: 13px;
  color: var(--muted-2);
  font-style: italic;
}

/* ---- How ---- */
.how {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how__inner {
  max-width: 880px;
  margin: 0 auto;
}

.how__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 64px;
}

.how__step {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.how__step:last-child {
  border-bottom: none;
}

.how__step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.05em;
  padding-top: 4px;
  flex-shrink: 0;
  width: 28px;
}

.how__step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.how__step-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.how__quote {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  position: relative;
}

.how__quote-mark {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 24px;
  height: 20px;
  opacity: 0.2;
}

.how__quote p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  font-style: italic;
}

/* ---- Manifesto ---- */
.manifesto {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

.manifesto__inner {
  max-width: 880px;
  margin: 0 auto;
}

.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 32px;
  border: none;
  padding: 0;
}

.manifesto__body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 48px;
}

.manifesto__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 48px;
}

.manifesto__values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .manifesto__values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.manifesto__value {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.manifesto__value-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.manifesto__value-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Outcomes ---- */
.outcomes {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes__inner {
  max-width: 880px;
  margin: 0 auto;
}

.outcomes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .outcomes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.outcomes__card {
  background: var(--surface-2);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.outcomes__card:hover {
  background: #1F1F24;
}

.outcomes__card-icon {
  color: var(--orange);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-dim);
  border-radius: 10px;
}

.outcomes__card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.outcomes__card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- Closing ---- */
.closing {
  padding: 100px 24px 120px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.closing__bg-glow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 92, 0, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.closing__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing__headline {
  margin-bottom: 28px;
}

.closing__body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.closing__statement {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: -0.01em;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer__logo-mark {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
}

.footer__logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer__tagline {
  font-size: 13px;
  color: var(--muted);
}

.footer__copy {
  font-size: 12px;
  color: var(--muted-2);
}

/* ---- Animations ---- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__badge { animation: fade-up 0.5s ease forwards; }
.hero__headline { animation: fade-up 0.6s 0.1s ease both; }
.hero__sub { animation: fade-up 0.6s 0.2s ease both; }
.hero__stats { animation: fade-up 0.6s 0.3s ease both; }

/* ---- Mobile Tweaks ---- */
@media (max-width: 640px) {
  .hero { padding: 72px 20px 64px; }
  .hero__stats { flex-direction: column; width: 100%; }
  .hero__stat { width: 100%; }
  .hero__stat-divider { width: 100%; height: 1px; }
  .how__step { gap: 16px; }
  .problem__gap-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .problem__gap-bar { width: 100%; }
  .outcomes__card { padding: 28px 24px; }
}