/* ============================================================
   omnoa — Landing v02
   Type system: Anton (display) · Plus Jakarta Sans · Inter
   ============================================================ */

:root {
  /* type */
  --font-display: "Anton", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* background palette */
  --bg: #F6F5F2;
  --bg-alt: #ECEAE5;
  --bg-card: #F1EFEA;

  /* ink */
  --ink: #2C2920;
  --ink-soft: rgba(44, 41, 32, 0.62);
  --ink-mute: rgba(44, 41, 32, 0.32);
  --ink-faint: rgba(44, 41, 32, 0.18);

  /* accents */
  --c-green:  #8BC47D;
  --c-yellow: #F5E15B;
  --c-blue:   #5BA4F5;
  --c-orange: #F5B85B;
  --c-lilac:  #DCB1F7;

  /* layout */
  --max: 1400px;
  --gutter: clamp(24px, 5vw, 64px);
  --radius: 14px;
  --radius-pill: 999px;

  /* easing */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  text-wrap: pretty;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(246, 245, 242, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-faint);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 160ms;
}
.nav-links a:hover { opacity: 1; }
.nav-logo { justify-self: center; }
.nav-logo img { height: 22px; width: auto; }
.nav-right { justify-self: end; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--ink);
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-pill);
  transition: transform 160ms var(--ease-out), background 200ms;
}
.nav-cta:hover { transform: translateY(-1px); background: #181612; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  border: 0;
  transition: transform 180ms var(--ease-out), background 200ms, color 200ms;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); background: #181612; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-1px); background: #fafaf8; }

/* ============================================================
   COMMON ATOMS
   ============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.swatch-row {
  display: inline-flex;
  gap: 6px;
}
.swatch-row .sw {
  width: 30px;
  height: 30px;
  border-radius: 4px;
}
.sw.green { background: var(--c-green); }
.sw.yellow { background: var(--c-yellow); }
.sw.blue { background: var(--c-blue); }
.sw.orange { background: var(--c-orange); }
.sw.lilac { background: var(--c-lilac); }

/* Section base */
section { position: relative; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--gutter) 80px;
  background: var(--bg);
}
.hero-content {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-transform: none;
}
.hero-subline {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
}
.hero-swatches { margin: 4px 0 8px; }
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ============================================================
   PRODUCT (intro statement)
   ============================================================ */
.product {
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  background: var(--bg);
}
.product .container {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  padding: 0;
}
.product-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  max-width: 780px;
}
.product-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  background: var(--bg-alt);
}
.problem .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.problem-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 28px 0 60px;
  max-width: 780px;
}
.problem-heading em {
  font-style: normal;
  color: var(--ink-soft);
  display: block;
}
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 780px;
}
.problem-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: start;
}
.problem-chevron {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--ink-soft);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.problem-scenario {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 4px;
}
.problem-punchline {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   INTERACTION (Meet Noa)
   ============================================================ */
.interaction {
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  background: var(--bg);
}
.interaction .container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.interaction-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.interaction-eyebrow {
  color: var(--c-orange);
  font-weight: 600;
  letter-spacing: 0.18em;
}
.interaction-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}
.interaction-text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
  max-width: 460px;
}
.chat-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.chat-bubble {
  background: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 18px 40px -22px rgba(44, 41, 32, 0.25);
  max-width: 460px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}
.chat-bubble.you {
  background: #C8743A;
  color: #fff;
  align-self: flex-end;
  transform: translateX(20px);
}
.chat-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: #C8743A;
  margin-bottom: 4px;
}
.chat-bubble.you .chat-name { color: rgba(255,255,255,0.86); }

/* ============================================================
   HOW IT WORKS — pinned scroll
   ============================================================ */
.how {
  background: var(--bg);
  position: relative;
}
.how-intro {
  padding: clamp(80px, 12vw, 140px) var(--gutter) 0;
}
.how-intro .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.how-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 22px 0 26px;
  max-width: 640px;
}
.how-intro-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0;
}

/* the pinned scroll region */
.how-scroll {
  position: relative;
  /* total scroll height: 3 phases * ~100vh each */
  height: 320vh;
}
.how-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(40px, 5vw, 80px);
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}
.how-steps-col {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 0;
}
.how-step {
  transition: opacity 500ms var(--ease-soft);
  opacity: 0.18;
}
.how-step.is-active { opacity: 1; }
.how-step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.how-step-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  text-align: justify;
}
.how-step-body strong { font-weight: 600; color: var(--ink); }

/* image stack on right */
.how-visual {
  position: relative;
  height: 80vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 700ms var(--ease-soft);
}
.how-visual-img.is-active { opacity: 1; }

/* ============================================================
   FEATURES (Possibilities) — kept compact
   ============================================================ */
.features {
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  background: var(--bg-alt);
}
.features .container { max-width: var(--max); margin: 0 auto; padding: 0; }
.features-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 22px 0 60px;
  max-width: 720px;
}

/* ============================================================
   BUILD FOR YOUR NEEDS — carousel
   ============================================================ */
.build {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.build-head {
  max-width: var(--max);
  margin: 0 auto 56px;
  padding: 0 var(--gutter);
}
.build-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 22px 0 18px;
}
.build-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0;
}

.carousel {
  position: relative;
}

/* === Variant A — Clean peek slider === */
.va-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.va-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  transition: transform 600ms var(--ease-soft);
  will-change: transform;
}
.va-slide {
  flex: 0 0 min(76vw, 1100px);
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.va-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows over the focused image — no chip */
.va-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  color: rgba(246, 245, 242, 0.92);
  padding: 0;
  transition: transform 220ms var(--ease-out), color 180ms;
}
.va-nav:hover { color: rgba(246, 245, 242, 1); }
.va-nav.prev { left: calc(50% - min(76vw, 1100px) / 2 + 16px); }
.va-nav.next { right: calc(50% - min(76vw, 1100px) / 2 + 16px); }
.va-nav.prev:hover { transform: translateY(-50%) translateX(-3px); }
.va-nav.next:hover { transform: translateY(-50%) translateX(3px); }
.va-nav svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Bottom-left page indicator chip */
.va-indicator {
  position: absolute;
  bottom: 20px;
  left: calc(50% - min(76vw, 1100px) / 2 + 20px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(246, 245, 242, 0.92);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.18);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
}
.va-indicator button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  transition: background 160ms;
}
.va-indicator button:hover { background: rgba(0, 0, 0, 0.06); }
.va-indicator svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.va-indicator .num { padding: 0 6px; letter-spacing: 0.04em; }

/* Caption row — left-aligned with the focused slide */
.va-foot {
  max-width: min(76vw, 1100px);
  margin: 36px auto 0;
  padding: 0;
  text-align: left;
}
.va-caption {
  transition: opacity 250ms var(--ease-soft);
}
.va-caption.is-changing .va-caption-title,
.va-caption.is-changing .va-caption-body { opacity: 0; }
.va-caption-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
  transition: opacity 280ms var(--ease-soft);
}
.va-caption-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 580px;
  margin: 0;
  transition: opacity 280ms var(--ease-soft);
}

/* ============================================================
   TEAM
   ============================================================ */
.team {
  padding: clamp(100px, 14vw, 160px) var(--gutter) clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.team .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.team-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 18px 0 80px;
  max-width: 720px;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.team-card[data-aspect="slim"] { max-width: 76%; }
.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-card);
}
.team-card[data-aspect="slim"] .team-photo { aspect-ratio: 2 / 3.4; }
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}
.team-label {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px 14px;
  z-index: 2;
}
.team-label .label-name { display: block; }
.team-label .label-role {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.22em;
  margin-top: 6px;
  opacity: 0.9;
}
/* per-card label positioning + color */
.team-card[data-pos="tl"] .team-label { top: 0; left: 0; color: var(--c-blue); }
.team-card[data-pos="bl"] .team-label { bottom: 0; left: 0; color: var(--c-yellow); }
.team-card[data-pos="tr"] .team-label { top: 0; right: 0; text-align: right; color: var(--c-orange); }

/* ============================================================
   BACKED BY
   ============================================================ */
.backed {
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 120px);
  background: var(--bg);
}
.backed-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.backed-logo {
  max-height: 44px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 200ms;
}
.backed-logo:hover { opacity: 1; }

/* ============================================================
   CONTACT — two-pane
   ============================================================ */
.contact {
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.contact-pane {
  padding: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.contact-b2b {
  background: var(--ink);
  color: #fff;
}
.contact-b2c {
  background: var(--bg-alt);
  color: var(--ink);
}
.contact-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: inherit;
  margin: 0 0 16px;
  max-width: 380px;
}
.contact-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.78;
  max-width: 360px;
  margin: 0;
}
.contact-b2c .contact-text { opacity: 1; color: var(--ink); }
.contact-b2b .btn-light {
  background: #fff;
  color: var(--ink);
}
.contact-form {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 440px;
}
.contact-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink-faint);
  background: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms;
}
.contact-input:focus { border-color: var(--ink); }
.contact-b2c-top { display: flex; flex-direction: column; gap: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 28px var(--gutter);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 13px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #fff;
}
.footer-meta { display: flex; gap: 28px; align-items: center; }
.footer-meta a:hover { color: #fff; }

/* ============================================================
   TWEAKS PANEL (host-styled, but ensure z-index)
   ============================================================ */
#tweaks-panel { position: fixed; z-index: 100; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .interaction .container { grid-template-columns: 1fr; }
  .chat-bubble.you { transform: none; }
  .team-grid { grid-template-columns: 1fr; gap: 32px; max-width: 480px; margin: 0 auto; }
  .team-card[data-aspect="slim"] { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .how-sticky { grid-template-columns: 1fr; }
  .how-visual { display: none; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr 1fr; }
  .nav-logo { justify-self: start; }

  .hero { padding-top: 120px; min-height: 90vh; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-ctas .btn { width: 100%; }

  .features-grid { grid-template-columns: 1fr; }
  .va-slide { flex-basis: 86vw; }
  .va-nav.prev { left: 8px; }
  .va-nav.next { right: 8px; }
  .va-indicator { left: 16px; bottom: 14px; }
  .va-foot { max-width: 86vw; }

  /* disable pinned scroll on mobile */
  .how-scroll { height: auto; }
  .how-sticky {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    padding: 40px var(--gutter);
  }
  .how-step { opacity: 1; }
  .how-step-body { text-align: left; }
}
