/* ========================================
   triage.events — Landing Page
   Light, warm, human. Coral accent. Real product UI.
   ======================================== */

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

:root {
  /* Canvas — warm white, layered */
  --bg:           #fdfbf9;
  --bg-warm:      #f6f2ec;
  --bg-warm-2:    #efe9e0;
  --card:         #ffffff;
  --ink-block:    #17161c;   /* dark contrast section */

  /* Ink / text */
  --ink:          #16151b;
  --text:         #56545f;
  --muted:        #6f6c76;   /* 4.98:1 on --bg — WCAG AA for small text */
  --hairline:     #ebe7e1;
  --hairline-2:   #e0dcd4;

  /* Coral accent */
  --coral:        #fb5d3b;
  --coral-deep:   #e1431f;
  --coral-tint:   #fff0eb;
  --coral-line:   #ffd9cd;

  /* Support */
  --butter:       #ffcf5c;
  --green:        #1faa6b;
  --green-tint:   #e6f6ee;
  --red:          #ef4444;
  --blue:         #3b6ef5;

  /* Fonts */
  --display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', 'Fira Code', monospace;

  --container: 1140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--coral); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral-deep); }

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

h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; line-height: 1.08; }

.icon { display: inline-flex; align-items: center; justify-content: center; }
.icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* Scroll-in */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  background: var(--coral); color: #fff;
  font-weight: 600; font-size: .95rem; font-family: var(--sans);
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(251,93,59,.5);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary:hover { background: var(--coral-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(251,93,59,.55); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  background: var(--card); color: var(--ink);
  font-weight: 600; font-size: .95rem;
  border: 1px solid var(--hairline-2); border-radius: 10px; cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

/* ========================================
   Nav
   ======================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(253,251,249,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--hairline);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--display); font-size: 1.18rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.nav__logo-icon { width: 30px; height: 30px; color: #fff; background: var(--coral); border-radius: 8px; padding: 6px; box-shadow: 0 4px 12px -4px rgba(251,93,59,.6); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: .9rem; color: var(--text); font-weight: 500; }
.nav__link:hover { color: var(--ink); }
.nav__cta { padding: 9px 18px; background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; border-radius: 8px; transition: transform .2s, background .2s; }
.nav__cta:hover { background: #000; color: #fff; transform: translateY(-1px); }
@media (max-width: 720px) { .nav__link { display: none; } }

/* ========================================
   Hero (asymmetric: copy left, product right)
   ======================================== */
.hero { padding: 150px 0 90px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .76rem; font-weight: 500;
  color: var(--coral-deep); background: var(--coral-tint);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 22px;
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero__title { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; margin-bottom: 22px; }
.hero__title em { font-style: normal; color: var(--coral); }
.hero__subtitle { font-size: 1.18rem; color: var(--text); max-width: 520px; margin-bottom: 32px; line-height: 1.6; }
.hero__form { display: flex; gap: 10px; max-width: 440px; margin-bottom: 14px; }
.hero__input { flex: 1; padding: 13px 16px; background: var(--card); border: 1px solid var(--hairline-2); border-radius: 10px; color: var(--ink); font-size: .95rem; font-family: var(--sans); outline: none; transition: border-color .2s, box-shadow .2s; }
.hero__input::placeholder { color: var(--muted); }
.hero__input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-tint); }
.hero__submit { padding: 13px 22px; background: var(--coral); color: #fff; font-weight: 600; font-size: .95rem; border: none; border-radius: 10px; cursor: pointer; font-family: var(--sans); white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(251,93,59,.5); transition: transform .2s, box-shadow .2s, background .2s; }
.hero__submit:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(251,93,59,.55); }
.hero__note { font-size: .8125rem; color: var(--muted); }
.hero__success { display: none; padding: 14px 20px; background: var(--green-tint); border: 1px solid #bfe6d2; border-radius: 10px; color: var(--green); font-weight: 500; max-width: 440px; }
.hero__cred { margin-top: 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__cred-item { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); }
.hero__cred-item .icon { width: 15px; height: 15px; color: var(--coral); }

/* Hero product mock */
.hero__visual { position: relative; }
.mock-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 30px 70px -30px rgba(40,30,20,.28), 0 8px 22px -12px rgba(40,30,20,.12);
  padding: 22px;
}
.mock-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.mock-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.mock-tag--live { color: var(--red); background: #fde9e9; }
.mock-tag--live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
.mock-tag--sev { color: #b4341a; background: var(--coral-tint); margin-left: auto; }
.mock-card__title { font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.mock-card__meta { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-bottom: 18px; }
.mock-chain { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--hairline); padding-top: 16px; }
.chain-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: #fff; flex-shrink: 0; font-family: var(--sans); }
.avatar--p { background: #f0883e; }
.avatar--m { background: #6c6cf0; }
.avatar--t { background: var(--green); }
.chain-row__body { flex: 1; min-width: 0; }
.chain-row__name { font-size: .9rem; font-weight: 600; color: var(--ink); }
.chain-row__sub { font-size: .78rem; color: var(--muted); }
.chain-row__sub .mono { font-family: var(--mono); }
.chain-status { font-family: var(--mono); font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.chain-status--calling { color: var(--coral-deep); background: var(--coral-tint); }
.chain-status--queued { color: var(--muted); background: var(--bg-warm); }
.chain-status--ack { color: var(--green); background: var(--green-tint); }
.mock-actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.mock-btn { flex: 1; text-align: center; padding: 9px; border-radius: 8px; font-size: .82rem; font-weight: 600; }
.mock-btn--ack { background: var(--coral); color: #fff; }
.mock-btn--esc { background: var(--bg-warm); color: var(--text); border: 1px solid var(--hairline); }

/* floating phone-call toast */
.toast {
  position: absolute; bottom: -26px; left: -34px;
  background: var(--ink-block); color: #fff;
  border-radius: 14px; padding: 13px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.45);
  animation: floaty 5s ease-in-out infinite;
  max-width: 270px;
}
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.toast__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--coral); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast__icon .icon { width: 18px; height: 18px; color: #fff; }
.toast__title { font-size: .82rem; font-weight: 700; }
.toast__sub { font-size: .74rem; color: #b9b7c2; font-family: var(--mono); }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 440px; }
  .toast { left: 0; bottom: -20px; }
}

/* ========================================
   Logo / stack strip
   ======================================== */
.logos { padding: 24px 0 80px; }
.logos__label { text-align: center; font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-bottom: 22px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logos__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--hairline); background: var(--card); border-radius: 100px; font-family: var(--mono); font-size: .82rem; color: var(--text); }
.logos__chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

/* ========================================
   Section primitives + alt bg
   ======================================== */
.alt { background: var(--bg-warm); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.sec { padding: 100px 0; }
.section-label { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--coral-deep); margin-bottom: 14px; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.section-subtitle { font-size: 1.08rem; color: var(--text); max-width: 600px; line-height: 1.6; margin-bottom: 52px; }

/* ========================================
   Problem
   ======================================== */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem__card { padding: 30px; background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; transition: transform .3s, box-shadow .3s; }
.problem__card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(40,30,20,.22); }
.problem__card-icon { width: 42px; height: 42px; color: var(--coral); background: var(--coral-tint); border-radius: 11px; padding: 10px; margin-bottom: 18px; }
.problem__card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.problem__card-text { font-size: .92rem; color: var(--text); line-height: 1.6; }

/* ========================================
   Features (bento-ish)
   ======================================== */
.features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { padding: 34px; background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(40,30,20,.24); }
.feature__icon { width: 46px; height: 46px; color: var(--coral); background: var(--coral-tint); border-radius: 12px; padding: 11px; margin-bottom: 20px; }
.feature__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature__text { font-size: .92rem; color: var(--text); line-height: 1.65; }
.feature__tag { display: inline-block; margin-top: 16px; padding: 4px 11px; font-size: .72rem; font-family: var(--mono); border-radius: 6px; background: var(--bg-warm); color: var(--text); font-weight: 500; border: 1px solid var(--hairline); }

/* ========================================
   Product showcase (light dashboard mock)
   ======================================== */
.showcase__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.showcase__list { list-style: none; margin-top: 28px; }
.showcase__list li { display: flex; gap: 12px; padding: 12px 0; font-size: .95rem; color: var(--text); }
.showcase__list .icon { width: 20px; height: 20px; color: var(--coral); flex-shrink: 0; margin-top: 2px; }
.showcase__list strong { color: var(--ink); font-weight: 600; }

/* AI section callout — "included, not an AIOps add-on" (matches .migration__card idiom) */
.ai-note { margin-top: 30px; padding: 24px 26px; background: var(--coral-tint); border: 1px solid var(--coral-line); border-radius: 16px; }
.ai-note__label { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--coral-deep); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ai-note__label .icon { width: 14px; height: 14px; }
.ai-note__title { font-family: var(--display); font-size: 1.18rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 8px; }
.ai-note__text { font-size: .92rem; color: var(--text); line-height: 1.62; }

/* Pricing — Enterprise "Contact us" card (5th tier) */
.pricing__tier--cta { display: flex; flex-direction: column; }
.pricing__tier-price--custom { font-size: 1.9rem; }
.pricing__tier-cta { margin-top: auto; display: block; text-align: center; padding: 11px 16px; border: 1px solid var(--coral); color: var(--coral-deep); font-family: var(--mono); font-size: .8rem; font-weight: 600; border-radius: 10px; transition: background .2s, color .2s; }
.pricing__tier-cta:hover { background: var(--coral); color: #fff; }

.board { background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; box-shadow: 0 30px 70px -34px rgba(40,30,20,.26); overflow: hidden; }
.board__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--hairline); }
.board__bar .d { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline-2); }
.board__bar span { font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-left: 8px; }
.board__body { padding: 18px; }
.sched-row { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 12px; padding: 9px 0; }
.sched-name { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.sched-track { height: 26px; border-radius: 7px; background: var(--bg-warm); position: relative; overflow: hidden; }
.sched-fill { position: absolute; top: 0; bottom: 0; border-radius: 7px; display: flex; align-items: center; padding-left: 10px; font-family: var(--mono); font-size: .68rem; color: #fff; font-weight: 600; }
.sched-fill--p { left: 0; width: 42%; background: #f0883e; }
.sched-fill--m { left: 42%; width: 33%; background: #6c6cf0; }
.sched-fill--t { left: 75%; width: 25%; background: var(--green); }
.sched-axis { display: grid; grid-template-columns: 88px 1fr; gap: 12px; margin-top: 6px; }
.sched-axis .ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .66rem; color: var(--muted); }

@media (max-width: 880px) { .showcase__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ========================================
   Pricing
   ======================================== */
.pricing__comparison { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; margin-bottom: 40px; }
.pricing__table { width: 100%; border-collapse: collapse; }
.pricing__table th, .pricing__table td { padding: 16px 28px; text-align: left; border-bottom: 1px solid var(--hairline); }
.pricing__table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; font-family: var(--mono); }
.pricing__table tr:last-child td { border-bottom: none; }
.pricing__table tr:last-child { background: var(--coral-tint); }
.pricing__competitor-price { color: var(--red); font-weight: 600; font-family: var(--mono); }
.pricing__our-price { color: var(--coral-deep); font-weight: 700; font-family: var(--mono); }
.pricing__savings { font-family: var(--mono); font-size: .85rem; color: var(--green); font-weight: 600; }
.pricing__tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 20px; }
.pricing__tier { padding: 30px 24px; background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; transition: transform .3s, box-shadow .3s; }
.pricing__tier:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(40,30,20,.22); }
.pricing__tier--featured { border-color: var(--coral); position: relative; box-shadow: 0 22px 50px -28px rgba(251,93,59,.4); }
.pricing__tier--featured::before { content: 'Everything included'; position: absolute; top: -11px; left: 24px; padding: 3px 12px; background: var(--coral); color: #fff; font-size: .66rem; font-weight: 700; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; border-radius: 100px; }
.pricing__tier-name { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--coral-deep); margin-bottom: 8px; font-family: var(--mono); }
.pricing__tier-price { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.pricing__tier-price span { font-size: .9rem; font-weight: 400; color: var(--muted); }
.pricing__tier-desc { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.pricing__tier-features { list-style: none; font-size: .88rem; color: var(--text); }
.pricing__tier-features li { padding: 6px 0; display: flex; align-items: center; gap: 9px; }
.pricing__tier-features .icon { width: 15px; height: 15px; color: var(--coral); flex-shrink: 0; }
.pricing__note { text-align: center; margin-top: 30px; font-size: .875rem; color: var(--muted); }

/* ========================================
   Migration
   ======================================== */
.migration__card { padding: 52px; background: var(--coral-tint); border: 1px solid var(--coral-line); border-radius: 22px; display: flex; align-items: center; gap: 44px; }
.migration__content { flex: 1; }
.migration__label { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--coral-deep); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.migration__label .icon { width: 15px; height: 15px; }
.migration__title { font-size: 1.7rem; font-weight: 800; margin-bottom: 14px; }
.migration__text { font-size: 1rem; color: var(--text); line-height: 1.65; max-width: 540px; }
.migration__action { flex-shrink: 0; }

/* ========================================
   Founder
   ======================================== */
.founder__card { display: flex; gap: 28px; align-items: flex-start; max-width: 820px; margin: 0 auto; }
.founder__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 1.4rem; flex-shrink: 0; }
.founder__quote { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 16px; letter-spacing: -0.01em; }
.founder__name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.founder__role { color: var(--muted); font-size: .9rem; }

/* ========================================
   Final CTA (dark contrast block)
   ======================================== */
.final-cta { background: var(--ink-block); border-radius: 28px; margin: 0 24px 90px; padding: 80px 24px; text-align: center; }
.final-cta__inner { max-width: 600px; margin: 0 auto; }
.final-cta__title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.final-cta__subtitle { color: #b9b7c2; font-size: 1.05rem; margin-bottom: 36px; }
.final-cta .hero__form { margin: 0 auto 14px; }
.final-cta .hero__input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.final-cta .hero__input::placeholder { color: #8b8893; }
.final-cta .hero__note { color: #8b8893; }
.final-cta .hero__success { margin: 0 auto; }

/* ========================================
   Footer
   ======================================== */
.footer { padding: 40px 0 60px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__left { font-size: .8125rem; color: var(--muted); }
.footer__right { display: flex; gap: 24px; }
.footer__link { font-size: .8125rem; color: var(--muted); }
.footer__link:hover { color: var(--ink); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .sec { padding: 70px 0; }
  .problem__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .pricing__tiers { grid-template-columns: repeat(2, 1fr); }
  .migration__card { flex-direction: column; padding: 36px 28px; gap: 28px; text-align: center; }
  .migration__text { margin: 0 auto; }
  .migration__label { justify-content: center; }
}
@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .hero__form { flex-direction: column; }
  .hero__submit { width: 100%; }
  .pricing__tiers { grid-template-columns: 1fr; }
  .pricing__table th, .pricing__table td { padding: 13px 14px; font-size: .85rem; }
  .founder__card { flex-direction: column; align-items: center; text-align: center; }
  .footer__inner { flex-direction: column; gap: 14px; text-align: center; }
}

/* ========================================
   Mono utility + device / browser frames
   ======================================== */
.mono { font-family: var(--mono); }

.frame {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 90px -42px rgba(40,30,20,.34), 0 12px 30px -18px rgba(40,30,20,.14);
}
.frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-warm); border-bottom: 1px solid var(--hairline); }
.frame__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline-2); flex-shrink: 0; }
.frame__dot:nth-child(1) { background: #ff5f57; }
.frame__dot:nth-child(2) { background: #febc2e; }
.frame__dot:nth-child(3) { background: #28c840; }
.frame__url { margin-left: 12px; font-family: var(--mono); font-size: .74rem; color: var(--muted); background: var(--card); border: 1px solid var(--hairline); padding: 3px 14px; border-radius: 100px; flex: 1; max-width: 380px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img, .frame video { display: block; width: 100%; height: auto; }
.frame--glow { position: relative; }
.frame--glow::before { content: ''; position: absolute; inset: -16% -10% -22%; background: radial-gradient(58% 58% at 72% 28%, rgba(251,93,59,.30), transparent 70%); filter: blur(34px); z-index: -1; }

/* ========================================
   Interactive walkthrough
   ======================================== */
.walk__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.walk__tab { position: relative; border: 1px solid var(--hairline-2); background: var(--card); color: var(--text); font-family: var(--sans); font-weight: 600; font-size: .86rem; padding: 9px 16px 11px; border-radius: 10px; cursor: pointer; transition: color .2s, border-color .2s, background .2s, transform .2s; overflow: hidden; }
.walk__tab:hover { color: var(--ink); transform: translateY(-1px); }
.walk__tab.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.walk__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--coral); }
.walk__tab.is-active .walk__bar { width: 100%; animation: walkfill 5s linear; }
.walk:hover .walk__tab.is-active .walk__bar { animation-play-state: paused; }
@keyframes walkfill { from { width: 0; } to { width: 100%; } }
.walk__stage { display: grid; }
.walk__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.walk__panel.is-active { opacity: 1; visibility: visible; transform: none; }
.walk__panel figcaption { margin: 18px auto 0; text-align: center; font-size: .95rem; color: var(--text); max-width: 660px; min-height: 2.6em; }
@media (prefers-reduced-motion: reduce) { .walk__tab.is-active .walk__bar { animation: none; } .walk__panel { transition: none; } }

/* ========================================
   Video tour
   ======================================== */
.video { max-width: 1000px; margin: 0 auto; }
.video__el { background: #0c0b0a; cursor: pointer; aspect-ratio: 1280 / 800; }

/* ========================================
   AI deep-dive
   ======================================== */
.ai__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.ai__visual { position: relative; }

/* ========================================
   Mobile app section
   ======================================== */
.mobile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mobile__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.mobile__visual::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(251,93,59,.20), transparent 66%); filter: blur(38px); z-index: 0; pointer-events: none; }

/* Realistic iPhone 16 Pro mockup — black titanium, front view */
.iphone { position: relative; z-index: 1; width: min(306px, 82%); aspect-ratio: 9 / 19.5; border-radius: 56px; padding: 3px; background: linear-gradient(105deg, #62626a 0%, #17171a 9%, #0b0b0c 50%, #17171a 91%, #62626a 100%); box-shadow: 0 1px 1px rgba(255,255,255,.35) inset, 0 44px 82px -30px rgba(20,16,12,.55), 0 16px 34px -20px rgba(20,16,12,.4), 0 0 0 1px rgba(0,0,0,.5); }
.iphone__body { position: relative; height: 100%; width: 100%; background: #050506; border-radius: 53px; padding: 10px; }
.iphone__screen { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 44px; background: #0F0E0C; }
.iphone__island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 33%; height: 27px; background: #000; border-radius: 16px; z-index: 3; }
.iphone__island::after { content: ''; position: absolute; right: 13%; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #25384a, #04060a 72%); }
.iphone__btn { position: absolute; width: 3px; background: linear-gradient(180deg, #54545a, #1c1c20); z-index: 0; box-shadow: 0 1px 1px rgba(0,0,0,.4); }
.iphone__btn--act { left: -2px; top: 18.5%; height: 5%; border-radius: 3px 0 0 3px; }
.iphone__btn--vup { left: -2px; top: 27%; height: 9%; border-radius: 3px 0 0 3px; }
.iphone__btn--vdn { left: -2px; top: 38.5%; height: 9%; border-radius: 3px 0 0 3px; }
.iphone__btn--pwr { right: -2px; top: 31%; height: 12%; border-radius: 0 3px 3px 0; }
/* Two-phone composition: AI investigation fanned behind, the page in front */
.iphone-duo { position: relative; z-index: 1; width: min(420px, 100%); height: 560px; margin: 0 auto; }
.iphone-duo .iphone { position: absolute; width: 232px; }
.iphone--back { top: 0; left: 0; transform: rotate(-6deg) scale(.92); z-index: 1; }
.iphone--front { bottom: 0; right: 0; transform: rotate(4deg); z-index: 2; }

/* ========================================
   Feature variants (shipped reality)
   ======================================== */
.feature--wide { grid-column: 1 / -1; background: linear-gradient(118deg, var(--card) 40%, var(--coral-tint)); border-color: var(--coral-line); }
.feature--wide .feature__title { font-size: 1.45rem; }
.feature--wide .feature__text { max-width: 760px; font-size: .98rem; }
.feature__text .mono { font-family: var(--mono); font-size: .85em; background: var(--bg-warm); padding: 1px 6px; border-radius: 5px; color: var(--ink); border: 1px solid var(--hairline); }
.feature__tag--accent { background: var(--coral-tint); color: var(--coral-deep); border-color: var(--coral-line); }
.feature__tag--new { background: var(--green-tint); color: var(--green); border-color: #bfe6d2; }

/* ========================================
   Responsive — new sections
   ======================================== */
@media (max-width: 900px) {
  .ai__grid { grid-template-columns: 1fr; gap: 40px; }
  .mobile__grid { grid-template-columns: 1fr; gap: 40px; }
  .mobile__visual { min-height: 0; margin-top: 8px; }
}
@media (max-width: 600px) {
  .walk__tab { font-size: .8rem; padding: 8px 12px 10px; }
  .iphone-duo { height: 470px; }
  .iphone-duo .iphone { width: 186px; }
  .frame__url { max-width: 180px; }
}

/* =====================================================================
   v2 elevation — "ops console on warm paper": grain, gradient mesh,
   technical dot-grid, MacBook mockup, characterful body type, staggered
   load. Appended so these rules win over the originals.
   ===================================================================== */

/* Body type → Geist (technical, intentional) instead of Inter. */
:root { --sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body { letter-spacing: -0.011em; }

/* Film-grain overlay over the whole page — adds tactile warmth/depth. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* Hero atmosphere: coral/butter gradient mesh + a masked technical dot-grid. */
.hero { overflow: clip; }
.hero::before {
  content: ''; position: absolute; inset: -10% 0 0 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(42% 48% at 82% 4%, rgba(251,93,59,.18), transparent 70%),
    radial-gradient(34% 42% at 2% 26%, rgba(255,207,92,.12), transparent 72%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(22,21,27,.07) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(58% 56% at 72% 22%, #000, transparent 76%);
          mask-image: radial-gradient(58% 56% at 72% 22%, #000, transparent 76%);
}
/* Staggered hero reveal on load. */
.hero__eyebrow.fade-in  { transition-delay: .04s; }
.hero__title.fade-in    { transition-delay: .10s; }
.hero__subtitle.fade-in { transition-delay: .18s; }
.hero__form.fade-in     { transition-delay: .26s; }
.hero__note.fade-in     { transition-delay: .32s; }
.hero__cred.fade-in     { transition-delay: .40s; }
.hero__visual.fade-in   { transition-delay: .22s; }

/* Mono eyebrow/labels get a touch more technical spacing. */
.section-label, .hero__eyebrow, .logos__label { letter-spacing: .14em; }

/* Soft coral wash behind the dark final-CTA + a hairline frame on cards. */
.feature, .problem__card, .pricing__tier { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.feature:hover, .problem__card:hover { border-color: var(--coral-line); }

/* =====================================================================
   MacBook mockup — wraps 16:10 desktop screenshots. Lid (notch + bezel)
   over an aluminum base with a centered opening groove.
   ===================================================================== */
.macbook { width: 100%; max-width: 880px; margin: 0 auto; position: relative; }
.macbook__lid {
  position: relative; background: #0b0b0c;
  border: 2px solid #34353a; border-radius: 22px; padding: 11px;
  box-shadow:
    0 50px 90px -42px rgba(28,22,16,.55),
    0 18px 40px -26px rgba(28,22,16,.3),
    0 0 0 1px rgba(0,0,0,.45),
    0 1px 1px rgba(255,255,255,.18) inset;
}
.macbook__notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 148px; height: 19px; background: #0b0b0c; border-radius: 0 0 12px 12px; z-index: 3;
}
.macbook__notch::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #25384a, #04060a 72%);
}
picture { display: contents; }
.macbook__scr { display: block; width: 100%; height: auto; border-radius: 8px; background: #0F0E0C; }
.macbook__base {
  position: relative; height: 14px; width: 112%; margin-left: -6%;
  background: linear-gradient(180deg, #eceef1 0%, #c4c8ce 42%, #9a9fa6 100%);
  border-radius: 0 0 12px 12px / 0 0 90% 90%;
  box-shadow: 0 24px 30px -16px rgba(28,22,16,.45);
}
.macbook__base::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(0,0,0,.22); }
.macbook__base::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 138px; height: 9px; background: #bcc0c6; border-radius: 0 0 9px 9px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.2);
}
.macbook--glow::after { } /* reserved */
.macbook__halo {
  position: absolute; inset: -12% -6% -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(56% 56% at 50% 36%, rgba(251,93,59,.22), transparent 70%);
  filter: blur(34px);
}
@media (max-width: 600px) {
  .macbook__notch { width: 96px; height: 14px; }
  .macbook__lid { border-radius: 16px; padding: 7px; }
}

/* Hero stage: real product — MacBook dashboard + a phone ringing + call toast.
   The phone reuses the .iphone component but scaled down, so its fixed bezel/
   notch metrics are overridden to stay proportional at ~130px. */
.hero-stage { position: relative; }
.hero-stage .macbook { max-width: 540px; margin-left: auto; }
.hero-phone { position: absolute; left: -4%; bottom: -11%; width: 132px; z-index: 4; border-radius: 26px; padding: 2px; }
.hero-phone .iphone__body { border-radius: 24px; padding: 6px; }
.hero-phone .iphone__screen { border-radius: 18px; }
.hero-phone .iphone__island { top: 7px; height: 9px; width: 34%; border-radius: 6px; }
.hero-phone .iphone__island::after { display: none; }
.hero-phone .iphone__btn { width: 2px; }
.hero-toast {
  position: absolute; right: -3%; top: 6%; z-index: 5;
  display: flex; align-items: center; gap: 11px;
  background: var(--ink-block); color: #fff; border-radius: 13px; padding: 11px 15px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.45);
  animation: floaty 5s ease-in-out infinite; max-width: 250px;
}
.hero-toast__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--coral); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-toast__icon .icon { width: 17px; height: 17px; color: #fff; }
.hero-toast__title { font-size: .82rem; font-weight: 700; }
.hero-toast__sub { font-size: .72rem; color: #b9b7c2; font-family: var(--mono); }
@media (max-width: 880px) {
  .hero-stage .macbook { max-width: 460px; margin: 0 auto; }
  .hero-phone { left: 1%; bottom: -7%; width: 112px; }
  .hero-toast { right: 0; top: 0; }
}
@media (max-width: 600px) {
  .hero-phone { width: 94px; left: -2%; }
  .hero-toast { max-width: 196px; padding: 9px 12px; }
}

/* AI finding callout — the grounded root-cause card, floated out of the MacBook
   so the differentiator reads at a glance. */
.ai__visual { position: relative; }
.ai-callout {
  position: absolute; left: -8%; bottom: -9%; width: 66%; height: auto; z-index: 3;
  border-radius: 13px; background: var(--card);
  box-shadow: 0 34px 64px -24px rgba(28,22,16,.5), 0 0 0 1px var(--hairline);
}
@media (max-width: 880px) { .ai-callout { left: 0; bottom: -5%; width: 74%; } }
@media (max-width: 600px) { .ai-callout { position: static; width: 100%; margin-top: 16px; } }

/* The MacBook notch overlaps the captured app's top toolbar — hide it so
   nothing is occluded. The thin uniform lid bezel still reads as a laptop. */
.macbook__notch { display: none !important; }
