:root {
  --ink: #17212f;
  --muted: #5f6b7a;
  --line: #d9e1ea;
  --paper: #ffffff;
  --bg: #f5f7fa;
  --accent: #0d766e;
  --accent-dark: #095b55;
  --blue: #1b62a8;
  --gold: #b7791f;
  --rose: #b42347;
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-cta {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 76px 6vw 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.22;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hero-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero-visual {
  min-width: 0;
}

.mock-window {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: #edf2f7;
  border-bottom: 1px solid #d8e0ea;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d94b4b;
}

.window-bar span:nth-child(2) {
  background: #d69e2e;
}

.window-bar span:nth-child(3) {
  background: #38a169;
}

.dashboard {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 420px;
}

.dashboard aside {
  padding: 20px;
  background: #152234;
  color: #fff;
}

.dashboard aside b {
  display: block;
  margin-bottom: 28px;
}

.dashboard aside small {
  display: block;
  color: #b8c3d2;
  margin-top: 18px;
}

.dashboard aside strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
}

.dashboard section {
  padding: 20px;
  background: linear-gradient(180deg, #fbfdff, #eef3f8);
}

.task-card {
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.task-card.active {
  border-color: rgba(13, 118, 110, 0.45);
  box-shadow: 0 12px 30px rgba(13, 118, 110, 0.12);
}

.task-card span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.task-card b {
  display: block;
}

.task-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.task-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.task-row i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
}

.task-row em {
  font-style: normal;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metrics div {
  padding: 24px 6vw;
  border-right: 1px solid var(--line);
}

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

.metrics strong {
  display: block;
  font-size: 26px;
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 76px 6vw;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
}

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

.product-card,
.detail-card,
.proof-grid > div,
.contact,
.timeline li,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 20px;
}

.product-card .tag {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #edf7f6;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  margin-top: 18px;
}

.product-card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.product-card ul {
  margin: 0;
  padding-left: 18px;
  color: #3d4856;
  font-size: 14px;
}

.product-card footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 18px;
}

.product-card strong {
  color: var(--ink);
}

.text-button {
  color: var(--blue);
  font-weight: 800;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.detail-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 18px;
}

.detail-tabs {
  display: grid;
  gap: 8px;
  align-self: start;
  position: sticky;
  top: 88px;
}

.detail-tabs button {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.detail-tabs button.active {
  border-color: rgba(13, 118, 110, 0.55);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(13, 118, 110, 0.1);
}

.detail-card {
  padding: 28px;
}

.detail-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.detail-card p {
  color: var(--muted);
}

.detail-mock {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
}

.mini-screen {
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.mini-screen header {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.mini-screen .bars {
  padding: 14px;
}

.bar {
  height: 12px;
  margin: 10px 0;
  border-radius: 999px;
  background: #d9e6ef;
}

.bar:nth-child(2) {
  width: 74%;
  background: #c8ddd8;
}

.bar:nth-child(3) {
  width: 58%;
  background: #dfd6c4;
}

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

.detail-columns div,
.proof-grid > div {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-columns ul {
  margin: 0;
  padding-left: 18px;
}

.price-line {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.price-line span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef2f7;
  font-weight: 800;
}

.proof-grid {
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.roadmap {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 18px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.panel {
  padding: 24px;
  margin: 28px 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: start;
  background: #132033;
  color: #fff;
}

.contact p {
  color: #c7d1df;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.thanks-section {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 137px);
  padding: 76px 20px;
}

.thanks-card {
  width: min(1120px, 100%);
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  max-width: none;
  font-size: clamp(38px, 5vw, 72px);
  white-space: nowrap;
}

.thanks-lead {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(16px, 2.15vw, 28px);
  white-space: nowrap;
}

.thanks-card .hero-actions {
  justify-content: center;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .detail-layout,
  .detail-top,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .proof-grid,
  .timeline,
  .metrics,
  .detail-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-tabs {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  h1 {
    font-size: 42px;
  }

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

  .dashboard aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }

  .dashboard aside b {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .product-grid,
  .proof-grid,
  .timeline,
  .metrics,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .contact {
    padding: 32px 20px;
  }

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