:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --surface-blue: #eef5ff;
  --ink: #0d1528;
  --muted: #546178;
  --subtle: #74819a;
  --line: #d9e3ef;
  --line-strong: #c7d4e5;
  --blue: #075cff;
  --blue-dark: #0347d8;
  --blue-soft: rgba(7, 92, 255, 0.1);
  --green: #10b981;
  --green-soft: rgba(16, 185, 129, 0.12);
  --orange: #f59e0b;
  --red: #dc2626;
  --navy: #0b172a;
  --navy-2: #10233d;
  --shadow: 0 20px 55px rgba(23, 37, 63, 0.1);
  --shadow-soft: 0 12px 30px rgba(23, 37, 63, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.98) 46%, #f4f7fb),
    radial-gradient(circle at 82% 8%, rgba(7, 92, 255, 0.14), transparent 28%),
    radial-gradient(circle at 8% 16%, rgba(16, 185, 129, 0.12), transparent 24%);
}

.wrap {
  width: min(1800px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0b172a, #12345f);
  color: #ffd028;
  font-size: 25px;
  font-weight: 1000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 24px rgba(11, 23, 42, 0.18);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.brand-sub {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 92, 255, 0.22);
}

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

.button.ghost {
  background: transparent;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(560px, 0.84fr);
  gap: 36px;
  align-items: stretch;
  padding: 38px 0 34px;
}

.hero-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  box-shadow: var(--shadow);
  padding: clamp(28px, 3.3vw, 54px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

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

h1 {
  max-width: 1120px;
  margin-bottom: 0;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 980px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 720;
  line-height: 1.55;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.proof {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.proof strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
}

.proof span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.app-preview {
  border: 1px solid rgba(13, 21, 40, 0.14);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
  min-height: 590px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
}

.app-sidebar {
  background: linear-gradient(180deg, #0b172a, #071221);
  padding: 20px 14px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.side-logo {
  display: grid;
  gap: 3px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 12px;
}

.side-logo span {
  color: #22c55e;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.side-item {
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 850;
}

.side-item.active {
  background: rgba(7, 92, 255, 0.26);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--blue);
}

.side-dot {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
}

.app-main {
  background: #eef3f9;
  padding: 20px;
}

.mini-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.mini-title {
  font-size: 26px;
  font-weight: 950;
  color: var(--ink);
}

.mini-sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  margin-top: 3px;
}

.mini-search {
  width: 230px;
  height: 36px;
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #f8fbff;
}

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

.mini-card,
.mini-panel {
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.mini-card strong {
  display: block;
  font-size: 22px;
  color: var(--ink);
}

.mini-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.mini-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 280px;
  gap: 12px;
  margin-top: 12px;
}

.mini-panel {
  min-height: 282px;
}

.mini-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 82px 78px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid #edf2f8;
  font-size: 12px;
  font-weight: 800;
  color: #24324a;
}

.mini-row.header {
  min-height: 34px;
  color: var(--subtle);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mini-row strong {
  color: var(--ink);
  font-weight: 950;
}

.pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--green-soft);
  color: #047857;
  font-size: 10px;
  font-weight: 950;
}

.mini-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mini-detail-title {
  display: grid;
  gap: 4px;
}

.mini-detail-title strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.mini-detail-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.health-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #ffffff 0 48%, transparent 49%),
    conic-gradient(var(--green) 0 78%, #e3ebf5 78% 100%);
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

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

.mini-data {
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
}

.mini-data span {
  display: block;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-data strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.mini-work-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.mini-work {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mini-work::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.bar-list {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

.bar-line {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 24px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.bar-track {
  height: 7px;
  border-radius: 999px;
  background: #e3ebf5;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.section {
  padding: 42px 0;
}

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

.section-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-note {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.card p,
.muted {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 950;
  margin-bottom: 14px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 9px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 740;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: #047857;
  font-size: 12px;
  font-weight: 950;
}

.band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #0b172a, #102a4f);
  color: #ffffff;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.band h2,
.band h3 {
  color: #ffffff;
}

.band p {
  color: rgba(255, 255, 255, 0.72);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 15px;
}

.step::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #ffffff;
  font-weight: 950;
}

.step strong {
  display: block;
  margin-bottom: 4px;
}

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

.tier {
  position: relative;
}

.tier.featured {
  border-color: rgba(7, 92, 255, 0.42);
  box-shadow: 0 20px 44px rgba(7, 92, 255, 0.12);
}

.price-pill {
  display: inline-flex;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
  margin: 8px 0 12px;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f8;
  text-align: left;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

th {
  color: var(--ink);
  background: #f8fbff;
  font-size: 12px;
  text-transform: uppercase;
}

td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.sidebar-stack {
  display: grid;
  gap: 14px;
}

form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(7, 92, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(7, 92, 255, 0.1);
}

.message {
  display: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 850;
}

.message.show {
  display: block;
}

.message.success {
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.message.error {
  border: 1px solid rgba(220, 38, 38, 0.24);
  background: rgba(220, 38, 38, 0.08);
  color: var(--red);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 24px 0 32px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 750;
}

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

.hide {
  display: none;
}

@media (max-width: 1180px) {
  .hero,
  .layout,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .app-preview {
    min-height: 440px;
  }

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

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1800px);
  }

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

  .nav-actions {
    width: 100%;
    justify-content: stretch;
  }

  .nav-actions .button {
    flex: 1 1 auto;
  }

  .hero-copy,
  .card,
  .band {
    padding: 18px;
  }

  .proof-row,
  .grid-3,
  .pricing-grid,
  .module-grid,
  .field-grid,
  .mini-stats,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .app-preview {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 520px;
  }

  .side-item {
    padding: 0;
    justify-content: center;
  }

  .side-item span:last-child,
  .side-logo span,
  .side-logo strong {
    display: none;
  }

  .mini-top {
    align-items: stretch;
    flex-direction: column;
  }

  .mini-search {
    width: 100%;
  }

  .mini-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .mini-row span:nth-child(3),
  .mini-row span:nth-child(4) {
    display: none;
  }
}
