:root {
  color-scheme: light;
  --ink: oklch(21% 0.015 210);
  --muted: oklch(45% 0.024 220);
  --soft: oklch(96% 0.008 150);
  --paper: oklch(98% 0.006 130);
  --line: oklch(84% 0.014 155);
  --green: oklch(31% 0.083 165);
  --green-2: oklch(39% 0.095 165);
  --blue: oklch(42% 0.08 235);
  --amber: oklch(70% 0.12 80);
  --rust: oklch(50% 0.12 45);
  --white: oklch(99% 0.003 130);
  --shadow: 0 24px 70px oklch(27% 0.04 165 / 14%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, oklch(99% 0.006 130), oklch(95% 0.012 150) 58%, oklch(97% 0.008 130));
  color: var(--ink);
  font-family:
    "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial,
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 16px clamp(18px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: oklch(99% 0.004 130 / 90%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 23px;
  height: 23px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 33%, var(--paper) 33% 55%, transparent 55%),
    linear-gradient(0deg, transparent 33%, var(--paper) 33% 55%, transparent 55%),
    var(--green);
  box-shadow: inset 0 0 0 1px oklch(20% 0.06 165 / 30%);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 36px);
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(99% 0.004 130);
  padding: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.language-switch a {
  display: inline-flex;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch .active {
  background: var(--green);
  color: var(--paper);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 750;
}

.header-cta,
.primary-button {
  background: var(--green);
  color: oklch(98% 0.006 140);
  box-shadow: 0 14px 30px oklch(26% 0.08 165 / 16%);
}

.header-cta:hover,
.primary-button:hover,
.header-cta:focus-visible,
.primary-button:focus-visible {
  background: var(--green-2);
}

.secondary-button {
  background: transparent;
  border-color: var(--line);
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(44px, 6vw, 76px) clamp(18px, 4vw, 72px) 44px;
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.95;
  font-weight: 850;
}

.hero-lede {
  max-width: 61ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-price {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 24px;
  color: var(--muted);
  flex-wrap: wrap;
}

.hero-price strong {
  color: var(--rust);
  font-size: 20px;
}

.hero-price span {
  min-width: 0;
  flex: 1 1 240px;
}

.product-visual {
  min-width: 0;
  width: 100%;
}

.pipeline-strip {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: oklch(99% 0.005 140 / 78%);
  box-shadow: var(--shadow);
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
}

.pipeline-strip i {
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

.app-frame {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 470px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: oklch(96% 0.011 150);
}

.app-logo {
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 850;
}

.app-sidebar button {
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  padding: 0 10px;
}

.app-sidebar .side-active {
  background: var(--green);
  color: var(--paper);
}

.storage-meter {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}

.storage-meter strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
}

.storage-meter div {
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: oklch(86% 0.015 150);
}

.storage-meter b {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
}

.app-main {
  min-width: 0;
  padding: 18px;
}

.app-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 800;
}

.search-box {
  width: min(340px, 48%);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  color: oklch(60% 0.02 220);
  font-weight: 500;
  font-size: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
  min-height: 370px;
}

.source-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.source-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}

.source-item.active {
  border-color: oklch(52% 0.08 165);
  background: oklch(96% 0.018 150);
}

.source-item strong,
.source-item small {
  display: block;
}

.source-item strong {
  font-size: 13px;
}

.source-item small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.thumb {
  width: 50px;
  height: 50px;
  border-radius: 7px;
  background: var(--blue);
}

.thumb.report {
  background:
    linear-gradient(135deg, oklch(72% 0.09 80), transparent),
    var(--blue);
}

.thumb.wave {
  background:
    linear-gradient(90deg, transparent 18%, var(--paper) 18% 25%, transparent 25% 36%, var(--paper) 36% 45%, transparent 45% 56%, var(--paper) 56% 65%, transparent 65%),
    var(--green);
}

.thumb.meeting {
  background:
    radial-gradient(circle at 35% 45%, oklch(90% 0.02 80) 0 16%, transparent 17%),
    radial-gradient(circle at 65% 45%, oklch(90% 0.02 80) 0 16%, transparent 17%),
    linear-gradient(135deg, var(--blue), var(--green));
}

.transcript-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.transcript-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.transcript-head strong,
.transcript-head small {
  display: block;
}

.transcript-head small {
  margin-top: 4px;
  color: var(--muted);
}

.transcript-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.transcript-panel p {
  margin: 12px 0;
  padding: 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
}

.transcript-panel .highlight {
  background: oklch(93% 0.026 80);
  color: var(--ink);
}

.transcript-panel time,
.transcript-panel b {
  margin-right: 10px;
  color: var(--green);
}

.jump-button {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--green);
  font-weight: 800;
}

.proof-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px clamp(18px, 4vw, 72px);
  background: var(--green);
  color: var(--paper);
}

.proof-band span {
  padding: 8px 12px;
  border: 1px solid oklch(95% 0.006 140 / 24%);
  border-radius: 999px;
}

.problem-section,
.pipeline-section,
.deployment-section,
.pilot-section,
.apply-section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 72px);
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 8vw, 110px);
}

.problem-section h2,
.section-heading h2,
.deployment-copy h2,
.apply-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.7vw, 72px);
  line-height: 1.05;
}

.problem-copy {
  max-width: 74ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.pipeline-section {
  background: oklch(26% 0.05 170);
  color: var(--paper);
}

.pipeline-section .section-kicker,
.pipeline-section h2 {
  color: var(--paper);
}

.section-heading {
  max-width: 760px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(32px, 5vw, 64px);
  background: oklch(92% 0.01 140 / 28%);
  border: 1px solid oklch(92% 0.01 140 / 28%);
}

.pipeline-grid article {
  min-height: 290px;
  padding: clamp(22px, 3vw, 34px);
  background: oklch(26% 0.05 170);
}

.step {
  display: inline-flex;
  color: var(--amber);
  font-size: 44px;
  font-weight: 850;
}

.pipeline-grid h3 {
  margin: 50px 0 14px;
  font-size: 24px;
}

.pipeline-grid p {
  margin: 0;
  color: oklch(87% 0.012 150);
  line-height: 1.7;
}

.deployment-section {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
}

.deployment-copy p:last-child {
  max-width: 65ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.deployment-matrix {
  display: grid;
  gap: 14px;
}

.deployment-matrix div,
.pilot-offer,
.decision-list,
.pilot-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 50px oklch(27% 0.04 165 / 8%);
}

.deployment-matrix div {
  padding: 24px;
}

.deployment-matrix span,
.pilot-offer span {
  color: var(--rust);
  font-weight: 850;
}

.deployment-matrix strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

.deployment-matrix p {
  margin: 10px 0 0;
  color: var(--muted);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(320px, 1.22fr);
  gap: 22px;
  margin-top: clamp(30px, 5vw, 56px);
}

.pilot-offer,
.decision-list {
  padding: clamp(24px, 4vw, 42px);
}

.pilot-offer h3,
.decision-list h3 {
  margin: 12px 0 14px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.pilot-offer p,
.decision-list li {
  color: var(--muted);
  line-height: 1.65;
}

.pilot-offer ul,
.decision-list ol {
  padding-left: 22px;
  margin: 24px 0 0;
}

.pilot-offer li {
  margin: 10px 0;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(340px, 1.24fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  background: oklch(93% 0.012 150);
}

.apply-copy {
  position: sticky;
  top: 110px;
}

.apply-copy p:last-child {
  max-width: 54ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.pilot-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.pilot-form label,
.pilot-form fieldset {
  min-width: 0;
}

.pilot-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px;
}

.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus {
  outline: 2px solid oklch(70% 0.12 80 / 45%);
  border-color: var(--green);
}

.pilot-form fieldset {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
}

.pilot-form legend {
  padding: 0 8px;
  font-weight: 850;
}

.pilot-form fieldset label,
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 650;
}

.pilot-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.wide-field {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 72px);
  background: var(--green);
  color: var(--paper);
}

.site-footer div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  min-width: 0;
}

.icp-link {
  color: oklch(91% 0.012 150);
  white-space: nowrap;
  text-decoration: none;
}

.icp-link:hover,
.icp-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-visual {
    max-width: 940px;
  }

  .pipeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    max-width: 8ch;
  }

  .hero-copy,
  .product-visual,
  .pipeline-strip,
  .app-frame {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero-lede {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-price {
    display: block;
  }

  .hero-price span {
    display: block;
    margin-top: 6px;
    overflow-wrap: anywhere;
  }

  .pipeline-strip {
    grid-template-columns: 1fr;
  }

  .pipeline-strip i {
    display: none;
  }

  .app-frame,
  .content-grid,
  .problem-section,
  .deployment-section,
  .pilot-layout,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .search-box {
    width: 100%;
  }

  .pipeline-grid {
    grid-template-columns: 1fr;
  }

  .apply-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .problem-section,
  .pipeline-section,
  .deployment-section,
  .pilot-section,
  .apply-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .app-toolbar,
  .transcript-head,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .source-item {
    grid-template-columns: 42px 1fr;
  }

  .thumb {
    width: 42px;
    height: 42px;
  }

  .pilot-form,
  .pilot-form fieldset {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
