* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #0f172a;
  background: #ffffff;
}
.page { overflow-x: hidden; }
.hero, .story-row, .final-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 96px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
}
.brand-title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.brand-subtitle {
  margin-top: 2px;
  font-size: 13px;
  letter-spacing: 0.38em;
  color: #64748b;
}
.eyebrow {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
}
h1 {
  margin: 18px 0 0;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero-text {
  margin: 24px 0 0;
  font-size: 24px;
  line-height: 1.45;
  color: #475569;
  max-width: 740px;
}
.hero-subtext {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  max-width: 720px;
}
.lead-form {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.lead-form input {
  min-width: 280px;
  flex: 1;
  max-width: 380px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  padding: 0 20px;
  font-size: 16px;
  outline: none;
}
.lead-form input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,.1);
}
.lead-form button {
  height: 56px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: #0f172a;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.lead-form button:disabled {
  opacity: .65;
  cursor: wait;
}
.form-note {
  margin-top: 14px;
  font-size: 14px;
  color: #64748b;
  min-height: 20px;
}
.hero-visual, .story-visual {
  position: relative;
  min-height: 520px;
}
.screen {
  position: sticky;
  top: 96px;
  width: min(980px, 90vw);
  height: 520px;
  margin-left: auto;
  margin-right: -28vw;
  border-radius: 34px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: flex;
}
.hero-screen {
  position: relative;
  top: auto;
  margin-right: -16vw;
  box-shadow: 0 32px 100px rgba(59, 130, 246, 0.12), 0 30px 80px rgba(15, 23, 42, 0.12);
}
.sidebar {
  width: 84px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0;
  gap: 14px;
}
.logo-dot {
  width: 40px;
  height: 40px;
  background: #0f172a;
  border-radius: 14px;
  margin-bottom: 6px;
}
.nav {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.nav.active {
  background: #60a5fa;
  border-color: #60a5fa;
  box-shadow: 0 10px 24px rgba(96, 165, 250, .35);
}
.screen-body { flex: 1; padding: 24px; }
.cards-grid { display: grid; gap: 16px; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
.cards-grid.two.short-gap { margin-top: 18px; }
.card, .panel.full {
  position: relative;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.card.tall { min-height: 148px; }
.card span, .line {
  display: block;
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  margin-bottom: 10px;
}
.card span:nth-child(1) { width: 62%; }
.card span:nth-child(2) { width: 82%; }
.card span:nth-child(3) { width: 44%; margin-bottom: 0; }
.card.connected::after {
  content: "";
  position: absolute;
  right: -14px;
  top: calc(50% - 2px);
  width: 28px;
  height: 4px;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  border-radius: 999px;
}
.panel.full { min-height: 150px; }
.line.w50 { width: 50%; }
.line.w80 { width: 80%; }
.line.w65 { width: 65%; }
.line.w60 { width: 60%; }
.line.w75 { width: 75%; }
.line.w52 { width: 52%; }
.line.w68 { width: 68%; }
.line.w40 { width: 40%; }
.toolbar { display: flex; gap: 10px; margin-bottom: 18px; }
.toolbar div {
  width: 92px;
  height: 34px;
  border-radius: 12px;
  background: #e2e8f0;
}
.calendar-grid, .project-grid { display: grid; gap: 10px; }
.calendar-grid { grid-template-columns: repeat(6, 1fr); }
.calendar-grid div {
  height: 72px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.project-grid {
  height: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 24px;
  padding: 16px;
  grid-template-columns: repeat(6, 1fr);
}
.project-grid div {
  height: 54px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.chat-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  padding: 0;
}
.chat-list {
  border-right: 1px solid #e2e8f0;
  padding: 20px;
}
.chat-list div {
  height: 42px;
  background: #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
}
.chat-feed { padding: 24px; }
.bubble {
  width: 72%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.story-row {
  min-height: 125vh;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 42px;
}
.story-copy {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 100px;
  max-width: 460px;
}
.story-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.story-copy p {
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.6;
  color: #64748b;
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.screen-shift {
  transform: translateX(180px);
  transition: opacity .8s ease, transform 1s ease;
}
.screen-shift.visible { transform: translateX(0); }
.final-cta { padding-top: 60px; padding-bottom: 100px; }
.cta-box {
  border: 1px solid #e2e8f0;
  border-radius: 32px;
  padding: 42px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}
.cta-box h3 {
  font-size: clamp(36px, 4vw, 58px);
  margin: 18px 0 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.cta-box p {
  margin-top: 18px;
  max-width: 720px;
  color: #64748b;
  font-size: 18px;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .hero, .story-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 32px; }
  .hero-visual, .story-visual { min-height: 430px; }
  .screen, .hero-screen {
    margin-right: -12vw;
    height: 430px;
    width: min(860px, 96vw);
  }
  .story-copy {
    position: relative;
    top: 0;
    padding-top: 32px;
    max-width: none;
  }
}
@media (max-width: 680px) {
  .hero, .story-row, .final-cta { padding-left: 18px; padding-right: 18px; }
  .brand-logo { width: 56px; height: 56px; }
  .brand-title { font-size: 28px; }
  h1 { font-size: 44px; }
  .hero-text { font-size: 19px; }
  .lead-form { flex-direction: column; }
  .lead-form input, .lead-form button { max-width: none; width: 100%; }
  .screen, .hero-screen {
    margin-right: -26vw;
    height: 340px;
    border-radius: 24px;
  }
  .sidebar { width: 64px; }
  .logo-dot, .nav {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .screen-body { padding: 14px; }
  .cards-grid.three, .cards-grid.two, .calendar-grid, .project-grid { gap: 8px; }
  .cards-grid.three { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.two { grid-template-columns: repeat(2, 1fr); }
  .calendar-grid, .project-grid { grid-template-columns: repeat(4, 1fr); }
  .toolbar div { width: 56px; }
  .chat-layout { grid-template-columns: 92px 1fr; }
  .chat-list { padding: 12px; }
  .chat-list div { height: 28px; margin-bottom: 8px; }
  .chat-feed { padding: 14px; }
  .bubble { width: 90%; }
  .cta-box { padding: 28px 20px; border-radius: 24px; }
}
