:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #94a3b8;
  --line: rgba(15, 23, 42, 0.1);
  --paper: #f8fafc;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: #ffffff;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --mint: #10b981;
  --coral: #f97316;
  --violet: #7c3aed;
  --shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 44%, #eef2ff 100%),
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

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

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

.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.62;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 8px;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(37, 99, 235, 0.08);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  gap: 48px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 74px 0 92px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  padding: 0 10px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(58px, 8.5vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: #334155;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.64;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
}

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

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.button.ghost:hover {
  border-color: rgba(37, 99, 235, 0.28);
}

.mission-panel {
  position: relative;
  align-self: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.mission-panel::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(16, 185, 129, 0.2));
  border-radius: 8px;
  transform: translate(12px, 12px);
}

.panel-topline,
.proof-row,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-topline {
  padding: 8px 8px 16px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #047857;
  font-weight: 900;
}

.status-dot::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--mint);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.14);
}

.task-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.task-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 8px;
}

.task-item.active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
}

.task-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  background: #e2e8f0;
  border-radius: 8px;
}

.task-item.active .task-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.intro-band,
.offer-section,
.use-cases,
.faq-section,
.waitlist-section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 34px;
}

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

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 12px;
}

.workflow article,
.offer-grid article,
.fit-grid article,
.case-grid article {
  min-height: 232px;
  padding: 22px;
  background: var(--panel-strong);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.workflow article {
  position: relative;
  overflow: hidden;
}

.workflow article::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 44px;
  height: 4px;
  content: "";
  background: rgba(37, 99, 235, 0.18);
  border-radius: 999px;
}

.step-number {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--primary);
  border-radius: 8px;
}

.workflow article:nth-child(2) .step-number {
  background: var(--mint);
}

.workflow article:nth-child(3) .step-number {
  background: var(--violet);
}

.workflow article:nth-child(4) .step-number {
  background: var(--coral);
}

.workflow article:nth-child(5) .step-number {
  background: #0f172a;
}

.workflow p,
.offer-grid p,
.fit-grid p,
.case-grid p,
.waitlist-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.offer-grid article {
  min-height: 252px;
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 30px;
  padding: 0 10px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.case-grid article {
  min-height: 190px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.case-grid article:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.case-grid article:nth-child(2) {
  border-top: 4px solid var(--violet);
}

.case-grid article:nth-child(3) {
  border-top: 4px solid var(--mint);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.fit-grid article {
  min-height: auto;
}

.fit-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-layout {
  display: grid;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.faq-intro h2 {
  margin-bottom: 16px;
}

.faq-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.faq-list article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 22px 24px;
}

.faq-list article + article {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.faq-list h3 {
  margin: 0;
  font-size: 17px;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 112px;
}

.waitlist-copy {
  position: sticky;
  top: 106px;
}

.waitlist-copy p {
  max-width: 580px;
  margin-top: 18px;
  font-size: 18px;
}

.proof-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

.proof-row span {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.proof-row strong {
  color: var(--ink);
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 8px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

input {
  height: 50px;
  padding: 0 14px;
}

select {
  height: 50px;
  padding: 0 38px 0 14px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
}

textarea {
  min-height: 122px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.72);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.submit-button {
  width: 100%;
  margin-top: 4px;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: #047857;
  line-height: 1.5;
}

.form-message.error {
  color: #dc2626;
}

.next-step {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 8px;
}

.next-step[hidden] {
  display: none;
}

.next-step strong {
  color: #047857;
}

.next-step p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.export-button {
  min-height: 40px;
  color: var(--primary);
  background: transparent;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.export-button:hover {
  background: rgba(37, 99, 235, 0.08);
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 30px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--primary-dark);
  font-weight: 900;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.footer-links div {
  display: grid;
  gap: 10px;
}

.footer-links h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-head p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(160px, 0.5fr) auto auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.admin-toolbar label {
  gap: 6px;
}

.admin-toolbar input,
.admin-toolbar select {
  min-width: 0;
}

.admin-status {
  margin: 16px 0 0;
  color: var(--muted);
}

.admin-status.error {
  color: #dc2626;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.metric {
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.metric .label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.metric .value {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.admin-table-wrap {
  overflow: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-table td {
  color: #1e293b;
}

.admin-table td small {
  color: var(--muted);
}

.admin-empty {
  padding: 40px 18px;
  color: var(--muted);
  text-align: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.chip.intent-high {
  color: #b45309;
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.2);
}

.chip.intent-medium {
  color: #5b21b6;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.18);
}

.chip.intent-low {
  color: #475569;
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.16);
}

.table-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.goal-text {
  max-width: 360px;
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

.table-control {
  gap: 5px;
  margin-bottom: 8px;
  font-size: 12px;
}

.table-control select {
  height: 36px;
  min-width: 140px;
  background-position:
    calc(100% - 18px) 14px,
    calc(100% - 13px) 14px;
}

.table-control textarea {
  min-height: 82px;
  min-width: 220px;
  font-size: 13px;
}

.action-stack {
  display: grid;
  gap: 8px;
  min-width: 120px;
}

.mini-button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .hero,
  .waitlist-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

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

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

  .waitlist-copy {
    position: static;
  }
}

@media (max-width: 960px) {
  .admin-toolbar,
  .admin-summary {
    grid-template-columns: 1fr;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 8px;
    align-items: flex-start;
    padding: 10px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 2px;
    font-size: 13px;
  }

  .nav a {
    padding: 6px 7px;
  }

  .hero,
  .intro-band,
  .use-cases,
  .waitlist-section,
  .admin-shell {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    gap: 28px;
    padding: 44px 0 60px;
  }

  h1 {
    font-size: clamp(52px, 17vw, 86px);
  }

  .workflow,
  .offer-grid,
  .fit-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .workflow article,
  .offer-grid article,
  .case-grid article {
    min-height: auto;
  }

  .waitlist-section,
  .offer-section,
  .faq-section,
  .intro-band,
  .use-cases {
    padding: 62px 0;
  }

  .waitlist-form {
    padding: 18px;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
