:root {
  --page: #070b18;
  --panel: rgba(15, 23, 42, 0.74);
  --panel-strong: #0b1220;
  --line: rgba(180, 197, 231, 0.2);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --soft: #d7dee9;
  --muted: #a8b3c7;
  --primary: #93a4ff;
  --primary-strong: #7f8fef;
  --accent: #2dd4bf;
  --warning: #fbbf24;
  --danger: #f87171;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  --radius: 16px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(147, 164, 255, 0.2), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(45, 212, 191, 0.14), transparent 32%),
    linear-gradient(180deg, #070b18 0%, #070b18 58%, #05070f 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(180, 197, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 197, 231, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
}

.brand strong {
  color: var(--accent);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, transparent 0 37%, var(--accent) 37% 54%, transparent 54%),
    linear-gradient(160deg, #1d205e, #063126);
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.18);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--text);
}

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

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 900;
}

.login-link:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: #06110f;
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(45, 212, 191, 0.24);
}

.button.secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.button.small {
  min-height: 42px;
  padding-inline: 18px;
}

.hero,
.roles,
.workflow,
.feature-band,
.reports,
.pricing,
.faq,
.final-cta,
.client-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: 72px 0 86px;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(50px, 5.7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.65;
}

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

.proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.proof-points span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 800;
}

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

.desktop-app {
  position: absolute;
  top: 22px;
  right: 0;
  width: min(100%, 650px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.app-bar {
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 22px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.96);
  font-size: 15px;
  font-weight: 900;
}

.app-bar span {
  margin-right: auto;
}

.app-bar b {
  color: var(--accent);
}

.app-bar i {
  width: 9px;
  height: 9px;
  margin-left: 8px;
  border-radius: 50%;
  background: rgba(215, 222, 233, 0.58);
}

.app-grid {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 455px;
}

.app-grid aside {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.app-grid aside span {
  height: 12px;
  border-radius: 999px;
  background: rgba(215, 222, 233, 0.18);
}

.app-grid aside .active {
  background: var(--accent);
}

.dashboard-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.dashboard-title p,
.report-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-title h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-row article,
.report-card,
.worksite-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-row article {
  padding: 16px;
}

.metric-row strong {
  display: block;
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.worksite-table {
  overflow: hidden;
}

.worksite-table div {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 78px;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

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

.worksite-table b {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.worksite-table i {
  display: block;
  width: var(--w);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.worksite-table em {
  color: var(--warning);
  font-style: normal;
  font-weight: 900;
}

.report-card {
  padding: 18px;
}

.report-card strong {
  display: block;
  font-size: 32px;
}

.report-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.phone-app {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 205px;
  min-height: 380px;
  padding: 18px 14px;
  border: 9px solid #111827;
  border-radius: 30px;
  background: #0b1220;
  box-shadow: var(--shadow);
}

.phone-head {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 900;
}

.field-mini,
.room-list span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 800;
}

.field-mini b,
.room-list b {
  color: var(--text);
}

.room-list {
  margin: 18px 0;
}

.phone-app button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  color: #06110f;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.client-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.client-strip small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-strip span {
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
}

.roles,
.workflow,
.reports,
.pricing,
.faq {
  padding: 100px 0 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.feature-band h2,
.faq h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.feature-band p,
.final-cta p {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.65;
}

.role-grid,
.report-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.role-grid article,
.report-grid article,
.price-card,
.workflow-list article,
.final-cta,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.role-grid article,
.report-grid article {
  padding: 26px;
}

.icon-square {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(45, 212, 191, 0.52);
  border-radius: 14px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.role-grid h3,
.report-grid h3,
.price-card h3,
.workflow-list h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.role-grid p,
.report-grid p,
.workflow-list p,
.price-card p,
.faq p {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px;
}

.workflow-list strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #06110f;
  background: var(--accent);
  font-size: 16px;
}

.workflow-list h3 {
  margin-top: 0;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 100px;
  padding: 42px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(147, 164, 255, 0.08));
}

.structure-preview {
  display: grid;
  gap: 14px;
}

.structure-preview div {
  display: grid;
  grid-template-columns: 0.9fr 1fr repeat(3, minmax(70px, auto));
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 11, 24, 0.46);
}

.structure-preview b {
  color: var(--accent);
}

.structure-preview span {
  color: var(--soft);
  font-weight: 800;
}

.structure-preview em {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.report-grid ul,
.price-card ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.report-grid li,
.price-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.report-grid li::before,
.price-card li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.report-grid li::after,
.price-card li::after {
  position: absolute;
  top: 6px;
  left: 4px;
  width: 6px;
  height: 3px;
  border-bottom: 2px solid #06110f;
  border-left: 2px solid #06110f;
  transform: rotate(-45deg);
  content: "";
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 26px 80px rgba(45, 212, 191, 0.14);
}

.popular {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #06110f;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 26px 0 8px;
  font-size: 42px;
  font-weight: 900;
}

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

.price-card .button {
  margin-top: auto;
}

.faq {
  padding-bottom: 88px;
}

.faq h2 {
  text-align: center;
}

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

.faq details {
  padding: 0;
}

.faq summary {
  cursor: pointer;
  padding: 22px;
  font-size: 16px;
  font-weight: 900;
}

.faq p {
  padding: 0 22px 22px;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr minmax(310px, 470px);
  gap: 38px;
  align-items: center;
  margin-bottom: 40px;
  padding: 38px;
}

.demo-form {
  display: grid;
  gap: 12px;
}

.demo-form span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.demo-form input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  font-weight: 700;
}

.demo-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

@media (max-width: 1040px) {
  .hero,
  .feature-band,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .role-grid,
  .report-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .structure-preview div {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    min-height: 68px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .site-header .button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .login-link {
    min-height: 38px;
    padding-inline: 6px;
    font-size: 12px;
  }

  .hero,
  .roles,
  .workflow,
  .feature-band,
  .reports,
  .pricing,
  .faq,
  .final-cta,
  .client-strip {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    gap: 28px;
    padding: 46px 0 58px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions .button {
    flex: 1 1 160px;
  }

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

  .desktop-app {
    top: 0;
    width: 100%;
  }

  .app-grid {
    grid-template-columns: 58px 1fr;
    min-height: 420px;
  }

  .dashboard-panel {
    padding: 16px;
  }

  .dashboard-title h2 {
    font-size: 20px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric-row article:nth-child(n+3),
  .worksite-table div b:nth-child(2),
  .worksite-table div b:nth-child(4),
  .worksite-table div span:nth-child(2),
  .worksite-table div em {
    display: none;
  }

  .worksite-table div {
    grid-template-columns: 1fr 1fr;
  }

  .phone-app {
    left: 0;
    bottom: 0;
    width: 174px;
    min-height: 310px;
    border-width: 7px;
  }

  .roles,
  .workflow,
  .reports,
  .pricing,
  .faq {
    padding-top: 68px;
  }

  .role-grid,
  .report-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    margin-top: 68px;
    padding: 24px;
  }

  .structure-preview div {
    grid-template-columns: 1fr;
  }

  .workflow-list article {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 24px;
  }
}
