:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --paper: #ffffff;
  --ink: #111716;
  --muted: #60706b;
  --line: #d9ddd5;
  --field: #eef3ed;
  --green: #1f7a62;
  --green-dark: #102f28;
  --amber: #b6782c;
  --coral: #c85846;
  --shadow: 0 24px 70px rgba(21, 34, 30, 0.14);
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid rgba(17, 23, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--green-dark);
  border-radius: 8px;
  font-weight: 800;
}

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

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #33433f;
  font-size: 14px;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: #ffffff;
  background: var(--green-dark);
}

.button.secondary {
  color: var(--green-dark);
  background: transparent;
  border-color: rgba(16, 47, 40, 0.24);
}

.header-cta:hover,
.button.primary:hover {
  background: #174238;
}

.button.secondary:hover {
  border-color: rgba(16, 47, 40, 0.48);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vh, 92px) 0 48px;
}

.studio-line {
  max-width: 520px;
  margin: 0 0 26px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(70px, 11vw, 148px);
  line-height: 0.84;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-body {
  max-width: 620px;
  color: #3c4a47;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.boundary-note {
  max-width: 620px;
  margin-bottom: 0;
  color: #5d6865;
  font-size: 13px;
  line-height: 1.55;
}

.product-stage {
  position: relative;
  min-height: 560px;
}

.phone-frame,
.manager-board,
.mini-phone,
.desktop-preview {
  background: var(--paper);
  border: 1px solid rgba(16, 47, 40, 0.12);
  box-shadow: var(--shadow);
}

.phone-frame {
  width: min(310px, 82vw);
  min-height: 590px;
  margin-left: auto;
  padding: 14px;
  border-radius: 34px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 5px 14px 12px;
  color: #273935;
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 48px;
  height: 12px;
  background: #111716;
  border-radius: 999px;
}

.phone-app {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 520px;
  padding: 18px;
  background: #f4f7f2;
  border-radius: 24px;
}

.app-topline span,
.board-header span,
.quiz-card span,
.mini-phone span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-topline strong,
.board-header strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.05;
}

.chat-line {
  max-width: 92%;
  padding: 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.question {
  align-self: flex-end;
  color: #ffffff;
  background: var(--green-dark);
  border-bottom-right-radius: 6px;
}

.answer {
  color: #22312e;
  background: #ffffff;
  border-bottom-left-radius: 6px;
}

.quiz-card {
  margin-top: auto;
  padding: 18px;
  background: #fff7e8;
  border: 1px solid rgba(182, 120, 44, 0.22);
  border-radius: 18px;
}

.quiz-card strong {
  display: block;
  margin: 6px 0 14px;
  font-size: 18px;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  background: rgba(182, 120, 44, 0.18);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--amber);
}

.manager-board {
  position: absolute;
  right: 188px;
  bottom: 8px;
  width: min(360px, 58vw);
  padding: 22px;
  border-radius: 14px;
}

.metric-row,
.staff-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.metric-row:first-of-type {
  margin-top: 18px;
}

.metric-row strong {
  font-size: 30px;
}

.staff-list {
  margin-top: 8px;
  font-size: 14px;
}

.staff-list b {
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.ok {
  color: #13624f;
  background: #dff0e7;
}

.warn {
  color: #8a4f12;
  background: #f6e6cc;
}

.review {
  color: #8a3528;
  background: #f4ded8;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.64fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  margin-bottom: 42px;
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-intro p,
.pilot-copy p,
.final-cta p {
  color: #465552;
  font-size: 17px;
  line-height: 1.72;
}

.problem-section {
  border-top: 1px solid rgba(17, 23, 22, 0.12);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-list div {
  min-height: 178px;
  padding: 24px;
  color: #263632;
  font-size: 18px;
  line-height: 1.45;
  border-right: 1px solid var(--line);
}

.problem-list div:last-child {
  border-right: 0;
}

.flow-section,
.pilot-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: #10231f;
  color: #ffffff;
}

.flow-section .section-intro p,
.pilot-section p,
.pilot-helper {
  color: rgba(255, 255, 255, 0.74);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.steps li {
  min-height: 270px;
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.steps li:last-child {
  border-right: 0;
}

.steps span {
  display: block;
  margin-bottom: 54px;
  color: #b6d9cd;
  font-size: 14px;
  font-weight: 800;
}

.steps h3 {
  font-size: 22px;
  line-height: 1.12;
}

.steps p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

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

.proof-grid article {
  padding-top: 4px;
}

.proof-grid h3 {
  margin: 20px 0 8px;
  font-size: 23px;
}

.proof-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.mini-phone {
  min-height: 380px;
  padding: 26px;
  border-radius: 26px;
}

.mini-phone p {
  margin: 72px 0 18px;
  color: #263632;
  font-size: 24px;
  line-height: 1.18;
}

.mini-phone strong {
  display: block;
  padding: 16px;
  color: #7a3429;
  background: #faebe7;
  border-radius: 12px;
  line-height: 1.45;
}

.mini-phone.quiz strong {
  color: #155944;
  background: #e0f0e6;
}

.desktop-preview {
  min-height: 380px;
  padding: 24px;
  border-radius: 16px;
}

.desktop-bar {
  height: 48px;
  margin-bottom: 22px;
  background: #ecf2eb;
  border-radius: 8px;
}

.desktop-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.desktop-columns span {
  height: 86px;
  background: #f8ecd9;
  border-radius: 8px;
}

.desktop-columns span:nth-child(2) {
  background: #dfefe7;
}

.desktop-columns span:nth-child(3) {
  background: #f3ddd7;
}

.desktop-table {
  display: grid;
  gap: 10px;
}

.desktop-table span {
  height: 28px;
  background: #ecf2eb;
  border-radius: 6px;
}

.pilot-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(360px, 0.72fr);
  gap: clamp(36px, 8vw, 112px);
  align-items: start;
}

.pilot-section .button.primary {
  margin: 12px 0 14px;
  background: #f0c36d;
  color: #10231f;
}

.pilot-details {
  display: grid;
  gap: 24px;
  padding-top: 10px;
}

.pilot-details h3 {
  margin-bottom: 10px;
  color: #f0c36d;
  font-size: 20px;
}

.pilot-details ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.pilot-details li {
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 750;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--green);
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 820px;
  padding-bottom: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.final-cta {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 120px) 0;
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 0.8fr) minmax(300px, 1.1fr);
  gap: 28px;
  padding: 38px clamp(20px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.76);
  background: #10231f;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer p {
  margin-bottom: 0;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-note {
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero,
  .section-intro,
  .pilot-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .product-stage {
    min-height: 650px;
  }

  .phone-frame {
    margin: 0 auto;
  }

  .manager-board {
    right: 50%;
    bottom: 0;
    width: min(360px, 86vw);
    transform: translateX(50%);
  }

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

  .problem-list div:nth-child(2) {
    border-right: 0;
  }

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

  .steps li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .steps span {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    width: min(100% - 28px, var(--max));
    gap: 30px;
    padding-top: 34px;
  }

  .studio-line {
    margin-bottom: 16px;
  }

  .hero-body {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }

  .product-stage {
    min-height: 610px;
  }

  .phone-frame {
    min-height: 500px;
  }

  .phone-app {
    min-height: 430px;
  }

  .manager-board {
    bottom: 2px;
  }

  .app-topline strong,
  .board-header strong {
    font-size: 20px;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 58px 0;
  }

  .problem-list,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .problem-list div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem-list div:last-child {
    border-bottom: 0;
  }

  .flow-section,
  .pilot-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .mini-phone,
  .desktop-preview {
    min-height: 300px;
  }

  .mini-phone p {
    margin-top: 44px;
    font-size: 21px;
  }
}

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