:root {
  color-scheme: light;
  --ink: #14211f;
  --muted: #5e6a67;
  --line: #d8dedb;
  --paper: #f7f4ee;
  --white: #ffffff;
  --teal: #0c8a7d;
  --teal-dark: #07554f;
  --amber: #d98f24;
  --rose: #bf4b5b;
  --shadow: 0 20px 70px rgba(20, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(247, 244, 238, 0.82);
  border-bottom: 1px solid rgba(20, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 118px clamp(20px, 6vw, 86px) 82px;
  overflow: hidden;
  isolation: isolate;
}

.workspace-scene {
  position: absolute;
  inset: 78px clamp(12px, 3vw, 42px) 32px;
  z-index: 0;
  border: 1px solid rgba(20, 33, 31, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.46) 1px, transparent 1px),
    #e6e5dc;
  background-size: 70px 70px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg) scale(1.02);
}

.workspace-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 244, 238, 0.92) 0%, rgba(247, 244, 238, 0.74) 42%, rgba(247, 244, 238, 0.22) 100%);
  border-radius: inherit;
}

.scene-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(20, 33, 31, 0.1);
}

.scene-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.scene-topbar span:nth-child(2) {
  background: var(--amber);
}

.scene-topbar span:nth-child(3) {
  background: var(--teal);
}

.scene-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 18px;
  width: min(740px, 56vw);
  margin-left: auto;
  padding: 24px;
}

.scene-panel {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(20, 33, 31, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.scene-panel-large {
  min-height: 320px;
}

.scene-panel-wide {
  grid-column: 1 / -1;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scene-line,
.scene-message,
.scene-pill,
.scene-chip {
  border-radius: 999px;
}

.scene-line.strong {
  width: 42%;
  height: 14px;
  background: var(--ink);
}

.scene-message {
  height: 56px;
  margin-top: 18px;
  background: #dfe5e2;
}

.scene-message.user {
  width: 76%;
  margin-left: auto;
  background: rgba(12, 138, 125, 0.25);
}

.scene-message.agent {
  width: 88%;
}

.scene-message.short {
  width: 58%;
}

.scene-pill {
  width: 46%;
  height: 16px;
  background: var(--ink);
}

.scene-meter {
  height: 14px;
  margin-top: 26px;
  background: #dde3df;
}

.scene-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.scene-meter.alt span {
  width: 46%;
  background: var(--rose);
}

.scene-meter.warm span {
  width: 61%;
  background: var(--amber);
}

.scene-chip {
  width: 22%;
  height: 34px;
  background: var(--ink);
}

.scene-chip.teal {
  background: var(--teal);
}

.scene-chip.amber {
  background: var(--amber);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(5.2rem, 14vw, 12rem);
  line-height: 0.78;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 640px;
  color: #32413d;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
}

.section {
  padding: clamp(64px, 9vw, 128px) clamp(20px, 6vw, 86px);
}

.section-heading {
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--amber);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--rose);
}

.feature-card p,
.split-band p,
.access-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.split-band .eyebrow {
  color: #87d8cf;
}

.split-band p {
  max-width: 720px;
  color: #d1dbd8;
}

.plan-list {
  display: grid;
  gap: 12px;
}

.plan-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.plan-list span {
  max-width: 230px;
  color: #d1dbd8;
  text-align: right;
}

.access-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.access-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(20, 33, 31, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(12, 138, 125, 0.18);
  border-color: var(--teal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 820px;
    align-items: flex-start;
  }

  .workspace-scene {
    inset: auto 12px 24px;
    height: 430px;
    transform: rotate(-1deg);
  }

  .workspace-scene::after {
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.92) 0%, rgba(247, 244, 238, 0.45) 100%);
  }

  .scene-grid {
    width: auto;
    grid-template-columns: 1fr;
  }

  .scene-panel:nth-child(2),
  .scene-panel-wide {
    display: none;
  }

  .feature-grid,
  .split-band,
  .access-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

  .plan-list div {
    display: grid;
  }

  .plan-list span {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(4.4rem, 24vw, 7rem);
  }

  .site-footer {
    display: grid;
  }
}
