:root {
  --ink: #122033;
  --muted: #66758a;
  --line: #dce5ef;
  --paper: #f7f9fc;
  --panel: #ffffff;
  --blue: #1679d6;
  --blue-dark: #0d4f9d;
  --cyan: #00a7c6;
  --green: #267a59;
  --coral: #c95f4d;
  --gold: #b5872d;
  --soft-blue: #eaf4ff;
  --shadow: 0 18px 45px rgba(18, 32, 51, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 229, 239, 0.9);
  background: rgba(247, 249, 252, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 720;
}

.nav a:hover,
.nav a.active {
  background: var(--soft-blue);
  color: var(--blue-dark);
}

.nav-pill {
  border: 1px solid var(--line);
  background: var(--panel);
}

main {
  min-height: 72vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(48px, 7vw, 94px) clamp(18px, 4vw, 56px) clamp(36px, 5vw, 70px);
  background:
    linear-gradient(120deg, rgba(22, 121, 214, 0.12), rgba(0, 167, 198, 0.06) 42%, rgba(38, 122, 89, 0.08)),
    var(--paper);
}

.hero h1,
.page-head h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.4rem, 6vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.page-head p {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-weight: 780;
}

.button.secondary {
  background: var(--panel);
  color: var(--blue-dark);
}

.button.ghost {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}

.product-visual {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.visual-top {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: #f4f9ff;
}

.visual-top img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
}

.visual-top strong,
.visual-row strong {
  display: block;
}

.visual-top span,
.visual-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.health {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(38, 122, 89, 0.12);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

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

.visual-row {
  min-height: 122px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdff;
}

.visual-row .icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  color: white;
  font-weight: 900;
}

.icon.blue {
  background: var(--blue);
}

.icon.green {
  background: var(--green);
}

.icon.coral {
  background: var(--coral);
}

.icon.gold {
  background: var(--gold);
}

.band {
  padding: clamp(38px, 6vw, 78px) clamp(18px, 4vw, 56px);
}

.band.tint {
  background: #edf4f8;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-title p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

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

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

.card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card {
  min-height: 186px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-block ul {
  margin: 16px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.feature-block li + li {
  margin-top: 7px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

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

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.metric-strip,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-strip {
  margin-top: 30px;
}

.metric {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.page-head {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 56px) 30px;
  background: linear-gradient(120deg, rgba(22, 121, 214, 0.11), rgba(201, 95, 77, 0.06));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 20px 20px 20px 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 900;
}

.step h3 {
  margin: 0 0 8px;
}

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

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

.module-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.module-item h3 {
  margin: 0 0 6px;
}

.module-item p {
  margin: 0;
  color: var(--muted);
}

.module-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-weight: 900;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 167, 198, 0.11);
  color: #08748a;
  font-weight: 820;
  white-space: nowrap;
}

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

.app-preview {
  margin: 0;
}

.app-preview figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.app-screen {
  overflow: hidden;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.app-blur .screen-body {
  filter: blur(2.4px);
  opacity: 0.82;
}

.screen-top {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color: white;
}

.screen-top span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.26);
}

.screen-top em {
  font-style: normal;
  font-weight: 800;
  opacity: 0.82;
}

.screen-body {
  display: grid;
  grid-template-columns: 94px 1fr;
  min-height: 252px;
}

.screen-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #f2f6fb;
}

.screen-sidebar span {
  height: 28px;
  border-radius: 7px;
  background: #d7e4f2;
}

.screen-content {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.screen-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) 1fr;
  gap: 12px;
  align-items: center;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  background: #fbfdff;
}

.screen-row b {
  font-size: 0.86rem;
}

.screen-row span,
.screen-tiles span {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bcd6f1, #d9efe8);
}

.screen-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.screen-tiles span {
  height: 54px;
  border-radius: 8px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1fr);
  gap: 24px;
}

.form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 720;
}

.form input,
.form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
}

.form textarea {
  min-height: 132px;
  resize: vertical;
}

.stats-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 420px);
  gap: 24px;
  align-items: start;
}

.login-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--soft-blue);
  color: var(--blue-dark);
  text-align: left;
  font-size: 0.94rem;
}

.form-error {
  min-height: 22px;
  margin: 0;
  color: #b42318;
  text-align: left;
  font-weight: 720;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.bar {
  width: 124px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf3;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--green);
}

.event-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.event {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #eef3f7;
}

.footer p {
  max-width: 580px;
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px;
  color: var(--blue-dark);
  font-weight: 760;
}

@media (max-width: 940px) {
  .hero,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.two,
  .feature-grid,
  .feature-grid.wide,
  .metric-strip,
  .stats-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero h1,
  .page-head h1 {
    font-size: 2.42rem;
  }

  .grid,
  .grid.two,
  .feature-grid,
  .feature-grid.wide,
  .metric-strip,
  .stats-grid,
  .visual-grid,
  .showcase-grid,
  .login-panel {
    grid-template-columns: 1fr;
  }

  .visual-top,
  .module-item,
  .event {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .screen-body {
    grid-template-columns: 1fr;
  }

  .screen-sidebar {
    display: none;
  }
}
