* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@view-transition { navigation: auto; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--teal); color: #fff; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* === NAV === */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,250,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand .name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--teal); }

.lang {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px;
  transition: border-color .15s, color .15s;
}
.lang:hover { border-color: var(--ink); color: var(--ink); }

.skip-link {
  position: absolute; top: -100px; left: 8px; z-index: 9999;
  padding: 8px 16px; background: #14b8a6; color: #fff;
  border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

.btn {
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px;
  padding: 9px 18px; border-radius: 8px; cursor: pointer; border: none;
  transition: transform .12s, background .15s; display: inline-block; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-teal { background: var(--teal-deep); color: #fff; }
.btn-teal:hover { background: #0f766e; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* === HERO (NEW: 2-column grid) === */
.hero { padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-text { text-align: left; }
h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(34px, 4.5vw, 56px); line-height: 1.04; letter-spacing: -1.8px;
  max-width: 580px;
}
h1 .accent { color: var(--teal); }
.hero-text p {
  font-size: 18px; color: var(--muted); max-width: 500px;
  margin: 20px 0 28px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap;     justify-content: center; }
.hero-cta .btn { padding: 13px 26px; font-size: 15px; }
.hero-note {
  font-size: 13px; color: var(--muted); margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
}

/* Hero Chat Mockup */
.hero-chat {
  background: var(--night); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--night-line); box-shadow: 0 24px 60px -20px rgba(0,0,0,.3);
}
.hc-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid var(--night-line);
}
.hc-head svg { flex-shrink: 0; }
.hc-name { color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px; }
.hc-status { color: var(--teal-light); font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.hc-body { padding: 14px 18px; display: flex; flex-direction: column; min-height: 220px; }
.hc-msg {
  font-size: 13.5px; padding: 10px 13px; border-radius: 12px; margin-bottom: 10px;
  max-width: 88%; line-height: 1.5; align-self: flex-start;
}
.hc-msg.user {
  background: #0f766e; color: #fff; align-self: flex-end; border-bottom-right-radius: 3px;
}
.hc-msg.bot {
  background: var(--night-soft); color: #E4E4E7; border-bottom-left-radius: 3px;
}
.hc-input {
  margin: 0 18px 14px; background: var(--night-soft); border: 1px solid var(--night-line);
  border-radius: 10px; padding: 10px 13px; font-size: 13px; color: var(--night-muted);
  display: flex; justify-content: space-between; align-items: center;
}

/* === LOGO STRIP === */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-label {
  text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.strip-row { display: flex; justify-content: center; gap: 42px; flex-wrap: wrap; align-items: center; }
.strip-row span {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px;
  color: #C4C4CB; letter-spacing: -0.3px;
}

/* === SECTION SHELL === */
section { padding: 96px 0; }
.sec-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--teal); text-align: center;
}
.sec-title, h2.sec-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -1.2px;
  text-align: center; margin: 10px auto 12px; max-width: 660px; line-height: 1.14;
}
.sec-sub {
  text-align: center; font-size: 17px; color: var(--muted);
  max-width: 580px; margin: 0 auto 56px;
}

/* === HOW IT WORKS === */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px;
}
.step-num {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500;
  color: var(--teal); background: var(--teal-soft);
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; margin-bottom: 7px; letter-spacing: -0.3px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* === BENEFITS (replaces old features) === */
.benefits { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ben-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 24px; text-align: center;
}
.ben-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-soft); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.ben-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px;
  margin-bottom: 6px; letter-spacing: -0.2px;
}
.ben-card p { font-size: 14px; color: var(--muted); }

/* === DEMO CHAT === */
.demo { background: var(--paper); }
.demo-chat {
  max-width: 520px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 12px 40px -16px rgba(24,24,27,.15);
}
.dc-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.dc-name { font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px; }
.dc-status { color: var(--green); font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.dc-body {
  padding: 14px 18px; display: flex; flex-direction: column;
  min-height: 120px; max-height: 320px; overflow-y: auto;
}
.dc-msg {
  font-size: 14px; padding: 10px 14px; border-radius: 12px; margin-bottom: 10px;
  max-width: 88%; line-height: 1.5; align-self: flex-start;
}
.dc-msg.bot { background: var(--paper); color: var(--ink-soft); border-bottom-left-radius: 3px; }
.dc-msg.user { background: var(--teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.dc-msg.typing {
  font-size: 24px; line-height: 1; padding: 6px 14px; color: var(--teal);
  align-self: flex-start; background: var(--paper); border-radius: 12px;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}
.dc-questions { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.dc-q-btn {
  background: var(--teal-soft); color: var(--teal-deep); border: 1px solid transparent;
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px; font-family: 'Inter', sans-serif;
  cursor: pointer; text-align: left; transition: background .15s, border-color .15s;
}
.dc-q-btn:hover { background: var(--teal-soft); border-color: var(--teal); }
.dc-q-btn.used { opacity: .4; cursor: default; }
.dc-cta { padding: 0 18px 18px; text-align: center; }
.dc-cta .btn { width: 100%; padding: 12px; }

/* === CASE STUDIES === */
.cases { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 26px; text-align: center;
}
.case-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(42px, 5vw, 56px); letter-spacing: -2px;
  color: var(--teal); line-height: 1;
}
.case-label {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px;
  margin: 12px 0 8px; letter-spacing: -0.2px;
}
.case-desc { font-size: 14px; color: var(--muted); }
.case-author { font-size: 12.5px; color: var(--teal); margin-top: 14px; font-family: 'JetBrains Mono', monospace; }

/* === PRICING === */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 28px; display: flex; flex-direction: column;
}
.price.featured { border: 2px solid var(--teal); position: relative; }
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace; letter-spacing: .5px;
  padding: 5px 14px; border-radius: 99px; white-space: nowrap;
}
.price .tier { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.price .desc { font-size: 13.5px; color: var(--muted); min-height: 40px; }
.price .amt {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(32px, 4vw, 42px); letter-spacing: -1.5px; margin: 14px 0 2px;
}
.price .amt .per { font-size: 15px; color: var(--muted); font-weight: 400; }
.price .soon {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--teal-deep);
  background: var(--teal-soft); padding: 3px 9px; border-radius: 6px;
  display: inline-block; margin: 14px 0 2px;
}
.price ul { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; }
.price li svg { flex-shrink: 0; margin-top: 3px; }
.price .btn { width: 100%; text-align: center; padding: 12px; margin-top: auto; }

/* === PRICING WAITLIST === */
.waitlist-form { margin-top: 14px; }
.wl-input {
  width: 100%; padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px; outline: none; transition: border-color .15s; box-sizing: border-box;
}
.wl-input:focus { border-color: var(--teal); }
.wl-btn { width: 100%; text-align: center; padding: 11px; font-size: 14px; box-sizing: border-box; }
.wl-msg { font-size: 13px; text-align: center; min-height: 20px; margin-top: 6px; }
.wl-msg.success { color: var(--green); }
.wl-msg.error { color: #ef4444; }

/* === FAQ === */
.faq { max-width: 720px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; padding: 22px 4px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 17px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .x {
  flex-shrink: 0; width: 24px; height: 24px; color: var(--teal);
  transition: transform .2s; font-size: 22px; line-height: 1; text-align: center;
}
.qa[open] summary .x { transform: rotate(45deg); }
.qa .ans { padding: 0 4px 22px; font-size: 15px; color: var(--muted); max-width: 620px; }

/* === FINAL CTA === */
.final {
  background: var(--night); color: #fff; text-align: center;
  border-radius: 24px; padding: 72px 32px; margin: 0 32px;
}
.final h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(32px, 4vw, 42px); letter-spacing: -1.3px;
  line-height: 1.1; max-width: 600px; margin: 0 auto 14px;
}
.final p { color: var(--night-muted); font-size: 17px; margin-bottom: 30px; }
.final .hero-cta .btn { padding: 14px 28px; font-size: 15px; }
.final .btn-ghost { color: #fff; border-color: var(--night-line); }
.final .btn-ghost:hover { border-color: #fff; }
.final .consent {
  font-size: 12px; color: #6B6B77; margin-top: 22px; max-width: 440px;
  margin-left: auto; margin-right: auto; line-height: 1.5;
}
.final .consent a { color: var(--night-muted); text-decoration: underline; }

/* === FOOTER === */
footer { padding: 60px 0 40px; border-top: 1px solid var(--line); margin-top: 90px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.foot-brand { max-width: 300px; }
.foot-brand p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h5, .foot-col h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.foot-col a { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 9px; transition: color .15s; }
.foot-col a:hover { color: var(--teal); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px;
}

/* === RESPONSIVE === */
@media (max-width: 880px) {
  .wrap { padding: 0 22px; }
  h1 { font-size: clamp(32px, 8vw, 42px); letter-spacing: -1.2px; }
  .sec-title { font-size: clamp(24px, 6vw, 30px); }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-text { text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .steps, .ben-grid, .cases-grid, .price-grid { grid-template-columns: 1fr; }
  .final h2 { font-size: clamp(24px, 6vw, 30px); }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
}

@media (max-width: 640px) {
  .ben-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 32px; }
  .hero-text p { font-size: 17px; }
  .final { padding: 48px 24px; margin: 0 16px; border-radius: 16px; }
  .strip-row { gap: 24px; }
  .strip-row span { font-size: 16px; }
  .demo-chat { border-radius: 12px; }
}

/* === CONTAINER QUERIES === */
.ben-card, .case-card, .price {
  container-type: inline-size;
}
@container (max-width: 300px) {
  .ben-card h3 { font-size: 15px; }
  .ben-card p { font-size: 13px; }
  .price .amt { font-size: clamp(24px, 8vw, 32px); }
}
