/* Osprey Revenue: one-page site
   Brand: deep navy, teal-to-sky gradient, honey-gold accent. */

:root {
  --bg: #06121F;
  --bg-raise: #0A1A2A;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #FFFFFF;
  --muted: #A9BCCB;
  --soft: #DCE7EF;
  --teal: #2DD4BF;
  --sky: #38BDF8;
  --honey-light: #FDE68A;
  --honey: #FBBF24;
  --honey-deep: #F59E0B;
  --ink: #04212A;
  --grad: linear-gradient(100deg, var(--teal) 0%, var(--sky) 100%);
  --grad-honey: linear-gradient(100deg, var(--honey-light) 0%, var(--honey) 45%, var(--honey-deep) 100%);
  --font: "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 22px;
  --header-h: 72px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(44rem 36rem at 88% -8rem, rgba(14, 165, 233, .40), transparent 70%) no-repeat,
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.honey {
  background: var(--grad-honey);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-size: 16.5px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-primary {
  background: var(--grad); color: var(--ink);
  box-shadow: 0 10px 30px rgba(45, 212, 191, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(45, 212, 191, .40); }
.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, .04);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn-icon { width: 19px; height: 19px; flex: none; }
.btn-icon.stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 18, 31, .6);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(45, 212, 191, .30);
}
.mark svg { width: 31px; height: 31px; margin-top: 2px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark .name { font-size: 19px; font-weight: 800; letter-spacing: .14em; }
.wordmark .sub { margin-top: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .52em; color: var(--muted); }

.nav { margin-left: auto; display: flex; gap: 30px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15.5px; font-weight: 600; transition: color .15s; }
.nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 112px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(36rem 28rem at -8% 100%, rgba(45, 212, 191, .18), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 60%, transparent 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}

.pill {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1.5px solid var(--border); border-radius: 999px;
  padding: 9px 16px; background: rgba(255, 255, 255, .03);
}
h1 {
  margin-top: 26px;
  font-size: clamp(44px, 7.2vw, 92px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em;
  text-wrap: balance;
}
h1 .honey { display: inline-block; padding-bottom: .06em; }
.lead {
  margin-top: 26px; max-width: 36em;
  font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; font-weight: 500; color: var(--muted);
}
.lead b { color: var(--text); font-weight: 600; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.checks { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--soft); font-weight: 600; font-size: 16px; }
.checks li { display: flex; align-items: center; gap: 9px; }
.checks svg { width: 19px; height: 19px; fill: none; stroke: var(--honey); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Honeycomb artwork */
.comb { width: 100%; max-width: 380px; height: auto; justify-self: end; overflow: visible; }
.comb .drip { transform-box: fill-box; transform-origin: 50% 0; animation: drip 4.2s 1s ease-in-out infinite; }

@keyframes drip {
  0%, 55%, 100% { transform: translateY(0) scaleY(1); }
  70% { transform: translateY(3px) scaleY(1.18); }
  82% { transform: translateY(1px) scaleY(.94); }
}

/* ---------- Stack band ---------- */
.stack { border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .015); }
.stack-inner { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.stack-label { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stack ul { display: flex; flex-wrap: wrap; gap: 10px; }
.stack li {
  font-size: 14.5px; font-weight: 600; letter-spacing: .03em; color: #CFE3EE;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05);
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt {
  background:
    radial-gradient(40rem 26rem at 100% 0%, rgba(56, 189, 248, .10), transparent 70%),
    var(--bg-raise);
  border-top: 1px solid rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
h2 {
  margin-top: 12px;
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em;
  text-wrap: balance;
}
.section-sub { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 40em; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--panel); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(45, 212, 191, .38); background: var(--panel-hover); transform: translateY(-2px); }
.icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 212, 191, .22), rgba(56, 189, 248, .22));
  border: 1.5px solid rgba(45, 212, 191, .45);
  display: grid; place-items: center;
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 22px; font-size: clamp(21px, 2vw, 24px); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.card ul { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 9px; }
.card li { position: relative; padding-left: 28px; color: var(--soft); font-size: 15.5px; font-weight: 500; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--honey); border-bottom: 2.5px solid var(--honey);
  transform: rotate(-45deg); transform-origin: center; border-radius: 1px;
}

/* ---------- How we work ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 34px; right: calc(25% - 34px); top: 34px; height: 2px;
  background: linear-gradient(90deg, rgba(45, 212, 191, .7), rgba(56, 189, 248, .7) 65%, var(--honey));
  opacity: .55;
}
.step { position: relative; }
.badge { position: relative; display: grid; place-items: center; width: 68px; height: 68px; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge use { fill: var(--bg-raise); stroke: var(--sky); stroke-width: 2.5; }
.badge span { position: relative; font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.step-honey .badge use { fill: url(#honeyFill); stroke: none; }
.step-honey .badge span { color: var(--ink); }
.step h3 { margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.step-honey h3 { color: var(--honey); }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---------- Contact ---------- */
.cta { border-radius: 28px; padding: 2px; background: var(--grad); box-shadow: 0 30px 80px rgba(14, 165, 233, .14); }
.cta-inner {
  position: relative; overflow: hidden;
  border-radius: 26px; background: var(--bg-raise);
  padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 48px; align-items: center;
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(30rem 20rem at 100% 0%, rgba(251, 191, 36, .10), transparent 70%);
}
.cta-copy, .cta-actions { position: relative; z-index: 1; }
.cta-copy h2 { font-size: clamp(34px, 4.6vw, 56px); }
.cta-copy p:last-child { margin-top: 16px; font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 30em; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn { width: 100%; }
.cta-note { font-size: 15px; color: var(--muted); text-align: center; }
.cta-note a { color: var(--soft); text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; word-break: break-all; }
.cta-note a:hover { color: var(--text); }
.cta-cell { width: 34px; height: auto; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .06); padding: 40px 0 48px; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; }
.footer-tag { font-weight: 700; font-size: 16px; }
.footer-links { margin-left: auto; display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.copyright { width: 100%; color: #6F8597; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .steps::before { display: none; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .comb { order: -1; justify-self: start; max-width: 150px; margin-bottom: -4px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { max-width: 420px; }
  .cta-note { text-align: left; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .services { grid-template-columns: 1fr; gap: 16px; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .mark { width: 36px; height: 36px; border-radius: 10px; }
  .mark svg { width: 28px; height: 28px; }
  .wordmark .name { font-size: 17px; }
  .wordmark .sub { font-size: 8.5px; }
  .hero { padding-top: 36px; }
  .comb { max-width: 124px; }
  .pill { font-size: 11.5px; letter-spacing: .12em; padding: 8px 13px; }
  h1 { margin-top: 20px; }
  .actions .btn { flex: 1 1 100%; }
  .checks { gap: 10px 22px; font-size: 15px; }

  /* Vertical timeline on phones */
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; left: 33px; top: 72px; bottom: -26px; width: 2px;
    background: linear-gradient(180deg, rgba(45, 212, 191, .6), rgba(56, 189, 248, .6));
  }
  .step:nth-child(3)::after { background: linear-gradient(180deg, rgba(56, 189, 248, .6), var(--honey)); }
  .step { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 20px; }
  .step .badge { grid-row: span 2; }
  .step h3 { margin-top: 6px; }
}

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