:root {
  --brand: #d65a31;
  --brand-deep: #b8461f;
  --brand-bright: #e9663a;
  --canvas: #fbf8f4;
  --surface: #ffffff;
  --ink: #2a2622;
  --muted: #6f6862;
  --hairline: #ece6de;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(42, 38, 34, 0.06), 0 4px 16px rgba(42, 38, 34, 0.05);
  --shadow-lg: 0 24px 60px rgba(184, 70, 31, 0.18);
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.grad-text {
  background: linear-gradient(120deg, var(--brand-bright), var(--brand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-bright), var(--brand-deep));
  border: none;
  border-radius: 12px;
  padding: 11px 18px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 20px rgba(184, 70, 31, 0.22);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(184, 70, 31, 0.28); }
.btn--lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--ghost {
  background: transparent;
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); background: #fff; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(251, 248, 244, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--hairline);
  background: rgba(251, 248, 244, 0.9);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand__mark { width: 34px; height: 34px; display: inline-flex; }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__mark--sm { width: 28px; height: 28px; }
.nav__links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 6px 0 18px;
  font-weight: 800;
}
.lede { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 600; }

.hero__art { position: relative; display: grid; place-items: center; min-height: 320px; }
.glow {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 102, 58, 0.28), rgba(233, 102, 58, 0) 62%);
  filter: blur(8px);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }

.logo-stage {
  position: relative;
  width: min(340px, 72vw);
  aspect-ratio: 1;
  border-radius: 40px;
  display: grid;
  place-items: center;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.logo-hero { width: 78%; height: 78%; filter: drop-shadow(var(--shadow-lg)); }

/* Animated rows draw-in */
.logo-hero .row { opacity: 0; transform: translateX(-8px); transform-origin: left center; }
.logo-stage.play .row { animation: rowIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.logo-stage.play .row--1 { animation-delay: 0.15s; }
.logo-stage.play .row--2 { animation-delay: 0.32s; }
.logo-stage.play .row--3 { animation-delay: 0.49s; }
@keyframes rowIn { to { opacity: 1; transform: translateX(0); } }

/* Stat strip */
.strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: #fff; }
.strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 0; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 22px; color: var(--brand-deep); }
.stat span { color: var(--muted); font-size: 14.5px; }

/* Sections */
.section { padding: 84px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section__head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; margin: 4px 0 10px; }
.section__head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(214, 90, 49, 0.35); }
.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(233, 102, 58, 0.14), rgba(184, 70, 31, 0.12));
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 8px 12px; }
.step__num {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-weight: 800; font-size: 20px;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-bright), var(--brand-deep));
  box-shadow: 0 10px 22px rgba(184, 70, 31, 0.25);
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

/* About / team */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__copy h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.8px; margin: 4px 0 14px; }
.about__copy p { color: var(--muted); font-size: 16.5px; }
.about__lead { color: var(--ink); font-size: 17.5px; font-weight: 600; margin: 8px 0 4px; }
.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  justify-content: center;
  gap: 18px;
}
/* Product/tech lead sits centred below the two top cards, forming a triangle. */
.member--lead { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 240px; }
.member {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.member b { display: block; margin-top: 12px; font-size: 15.5px; }
.member span { color: var(--muted); font-size: 13.5px; }
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 20px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.avatar__initials { position: relative; z-index: 1; }
.avatar__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}
.av-1 { background: linear-gradient(135deg, #e9663a, #b8461f); }
.av-2 { background: linear-gradient(135deg, #2e7d6b, #1f5a4d); }
.av-3 { background: linear-gradient(135deg, #6a4bb0, #4a3390); }
.av-4 { background: linear-gradient(135deg, #d99a2b, #b8791f); }

/* CTA */
.cta { padding: 84px 0; }
.cta__inner {
  text-align: center;
  background: linear-gradient(130deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  border-radius: 28px;
  padding: 56px 32px;
  box-shadow: var(--shadow-lg);
}
.cta__inner h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -1px; margin: 0 0 10px; }
.cta__inner p { margin: 0 auto 24px; font-size: 17px; max-width: 48ch; opacity: 0.95; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn { background: #fff; color: var(--brand-deep); box-shadow: 0 10px 24px rgba(0,0,0,0.14); }
.cta .btn:hover { background: #fff; }
.cta .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); }
.cta .btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* Footer */
.footer { border-top: 1px solid var(--hairline); background: #fff; padding: 28px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.footer__links { display: flex; gap: 22px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.footer__links a:hover { color: var(--ink); }
.footer small { color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; }
  .lede { margin-inline: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 620px) {
  .nav__links a:not(.btn) { display: none; }
  .grid, .steps, .team { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-stage, .glow { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .logo-hero .row { opacity: 1; transform: none; }
}
