/* ─────────────────────────────────────────────────────────────
   Outsite — intro.outsites.app
   Design language: mono-black on white, green only on money/CTA,
   generous whitespace, hairline rules. Modeled on the pitch deck.
   ───────────────────────────────────────────────────────────── */

:root {
  --ink:        #0A0A0A;
  --ink-muted:  #5A5A5A;
  --ink-faint:  #9AA0A6;
  --hairline:   #E4E4E7;
  --hairline-2: #EFEFEF;
  --surface:    #FAFAF9;
  --surface-2:  #F5F5F4;
  --white:      #FFFFFF;
  --green:      #0F7A53;
  --green-soft: #D7EBE1;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 2px rgba(10, 10, 10, 0.04),
                0 1px 1px rgba(10, 10, 10, 0.03);
  --shadow:     0 12px 32px -12px rgba(10, 10, 10, 0.18),
                0 4px 12px -6px rgba(10, 10, 10, 0.08);
  --shadow-lg:  0 40px 80px -28px rgba(10, 10, 10, 0.25),
                0 12px 32px -12px rgba(10, 10, 10, 0.14);

  --max-w:      1180px;

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text',
                'Segoe UI', Roboto, system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

em { font-style: normal; color: var(--green); font-weight: 600; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ───── small primitives ───── */
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 16px;
}

.dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--hairline);
  border-radius: 50%;
  margin: 0 10px;
  vertical-align: middle;
}

.money { color: var(--green); font-weight: 600; }

/* ───── buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  color: var(--ink);
  border-color: var(--hairline);
  background: var(--white);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface-2);
}

/* ───── nav ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: var(--ink);
  font-weight: 600;
}

/* ───── hero ───── */
.hero {
  position: relative;
  padding: 96px 0 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(10,10,10,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  padding-bottom: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--white);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15, 122, 83, 0.15);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}
.hero h1 {
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 auto 28px;
  color: var(--ink);
  max-width: 14ch;
}
.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 auto 36px;
  letter-spacing: -0.005em;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  font-size: 14px;
  color: var(--ink-muted);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }

.hero-shot {
  position: relative;
  margin: 0;
  padding: 0 24px 96px;
  max-width: calc(var(--max-w) + 48px);
  margin: 0 auto;
}

/* ───── shot-frame (the screenshot card) ───── */
.shot-frame {
  position: relative;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.hero-shot .shot-frame {
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}
.shot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--hairline);
}
.shot-chrome span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--hairline);
}
.shot-chrome span:nth-child(1) { background: #FF5F57; }
.shot-chrome span:nth-child(2) { background: #FEBC2E; }
.shot-chrome span:nth-child(3) { background: #28C840; }
.shot-chrome code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  margin-left: auto;
  padding: 2px 8px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 6px;
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ───── problem ───── */
.problem {
  background: var(--ink);
  color: var(--white);
  padding: 120px 0;
  position: relative;
}
.problem .kicker { color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.problem-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 64px;
  max-width: 18ch;
}
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0 0 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.problem-list li {
  padding: 28px 24px 28px 0;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.problem-list li:nth-child(odd)  { padding-right: 36px; }
.problem-list li:nth-child(even) { padding-left: 36px; border-left: 1px solid rgba(255,255,255,0.12); }
.problem-list .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  padding-top: 4px;
  flex-shrink: 0;
}
.problem-tagline {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 32ch;
  margin: 0;
}
.problem-tagline .money { color: #5DDDA8; }

/* ───── features ───── */
.features {
  padding: 120px 0;
}
.section-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 18ch;
}
.section-sub {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 0 72px;
  line-height: 1.5;
}
.feature-grid,
.secondary-grid {
  display: grid;
  gap: 32px;
}
.feature-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 32px;
}
.secondary-grid {
  grid-template-columns: repeat(2, 1fr);
}
.feature-wide {
  grid-column: span 2;
}

.feature {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: #D4D4D7;
  box-shadow: var(--shadow);
}
.feature-meta { display: flex; flex-direction: column; gap: 8px; }
.feature-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.04em;
  margin: 0;
}
.feature h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  max-width: 22ch;
}
.feature-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 4px 0 0;
  max-width: 56ch;
}
.feature .shot-frame {
  margin-top: auto;
}
.feature.secondary { padding: 32px; }
.feature.secondary h3 { font-size: 22px; }

/* feature-wide: side-by-side on desktop */
@media (min-width: 920px) {
  .feature-wide {
    flex-direction: row;
    align-items: stretch;
    padding: 48px;
    gap: 48px;
  }
  .feature-wide .feature-meta {
    flex: 0 0 38%;
    justify-content: center;
  }
  .feature-wide .shot-frame {
    flex: 1;
    margin-top: 0;
    align-self: center;
  }
}

/* ───── how it works ───── */
.how {
  padding: 120px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.how-steps li {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.05em;
  margin: 0 0 18px;
  font-weight: 500;
}
.how-steps h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.how-steps p:not(.step-no) {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

/* ───── closing CTA ───── */
.closing {
  padding: 120px 0;
}
.closing-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.closing-headline {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 20px;
}
.closing-sub {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 0 32px;
  max-width: 50ch;
  line-height: 1.55;
}
.closing-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.closing-card {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.closing-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 60px; height: 4px;
  background: var(--green);
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
}
.closing-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin: 0 0 16px;
  font-weight: 500;
}
.closing-card-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 24px;
}
.closing-card-sig {
  font-size: 14px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.sig-name { font-weight: 600; color: var(--ink); }
.sig-role { color: var(--ink-muted); }

/* ───── footer ───── */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 36px 0;
  background: var(--white);
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot .brand { font-size: 15px; }
.foot-meta {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}
.foot-copy {
  font-size: 13px;
  color: var(--ink-faint);
  margin: 0;
}

/* ───── responsive ───── */
@media (max-width: 920px) {
  .nav { padding: 12px 20px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-links a:not(.nav-cta) { display: none; }

  .hero { padding-top: 56px; }
  .hero-inner { padding-bottom: 40px; }
  .hero-shot { padding: 0 16px 56px; }
  .hero h1 { letter-spacing: -0.035em; }

  .problem { padding: 80px 0; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li,
  .problem-list li:nth-child(odd),
  .problem-list li:nth-child(even) {
    padding: 24px 0;
    border-left: none;
  }

  .features { padding: 80px 0; }
  .feature-grid,
  .secondary-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .feature { padding: 28px; }
  .feature h3 { font-size: 22px; }

  .how { padding: 80px 0; }
  .how-steps { grid-template-columns: 1fr; }

  .closing { padding: 80px 0; }
  .closing-inner { grid-template-columns: 1fr; gap: 40px; }

  .foot-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .hero h1 { font-size: 44px; }
  .section-headline,
  .problem-headline,
  .closing-headline { font-size: 32px; }
}
