:root {
  --ink: #07111f;
  --muted: #607086;
  --paper: #ffffff;
  --paper-soft: #f5f8fb;
  --surface: #ffffff;
  --line: #dbe4ee;
  --line-strong: #c7d3df;
  --dark: #07111f;
  --dark-2: #0d1828;
  --dark-3: #132237;
  --teal: #078b7b;
  --teal-2: #20c7b1;
  --teal-soft: #e8f7f5;
  --amber: #c8821e;
  --red: #c3445a;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.13);
  --shadow-soft: 0 18px 45px rgba(7, 17, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(46px, 4.2vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 15px clamp(28px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 228, 238, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #087f71, #0fb7a2);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(7, 139, 123, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #344256;
  font-size: 15px;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--teal);
}

.nav-cta {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 7px;
  background: var(--teal);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(7, 139, 123, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(540px, 1fr);
  gap: clamp(42px, 5vw, 74px);
  align-items: start;
  padding: 34px clamp(28px, 5vw, 72px) 26px;
  background:
    radial-gradient(circle at 82% 12%, rgba(32, 199, 177, 0.12), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.hero-copy {
  padding-top: 26px;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.button.primary {
  border-color: var(--teal);
  background: linear-gradient(135deg, #087f71, #0a9c8c);
  color: #fff;
  box-shadow: 0 18px 34px rgba(7, 139, 123, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--teal);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 740px;
}

.hero-proof div {
  min-width: 0;
}

.hero-proof svg {
  width: 33px;
  height: 33px;
  margin-bottom: 14px;
  color: var(--teal);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 900;
}

.hero-proof span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.system-panel {
  overflow: hidden;
  border: 1px solid rgba(219, 228, 238, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% -12%, rgba(32, 199, 177, 0.16), transparent 34%),
    linear-gradient(180deg, #0b1524 0%, #07111f 100%);
  color: #eff6ff;
  box-shadow: 0 30px 85px rgba(7, 17, 31, 0.28);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-top strong {
  font-size: 19px;
}

.panel-top span {
  color: #94a6bc;
  font-size: 13px;
}

.panel-top em {
  color: var(--teal-2);
  font-style: normal;
  font-weight: 900;
}

.module-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 20px;
}

.module-row article,
.metric,
.chart-card,
.status-board,
.position-table {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.module-row article {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  text-align: center;
}

.module-row svg {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  color: var(--teal-2);
}

.module-row strong,
.module-row span {
  display: block;
}

.module-row strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.module-row span {
  color: #a4b4c8;
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(190px, 0.9fr);
  gap: 12px;
  padding: 0 20px 14px;
}

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

.metric {
  min-height: 62px;
  padding: 10px;
}

.metric span {
  display: block;
  color: #91a3b8;
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 19px;
}

.metric.positive strong {
  color: var(--teal-2);
}

.chart-card {
  grid-column: 1 / -1;
  padding: 12px;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  color: #cbd7e6;
  font-size: 13px;
}

.chart-head span {
  color: #91a3b8;
}

.line-chart {
  width: 100%;
  height: 88px;
  margin-top: 8px;
}

.chart-area {
  fill: rgba(32, 199, 177, 0.16);
  stroke: none;
}

.chart-line {
  fill: none;
  stroke: var(--teal-2);
  stroke-width: 3;
}

.status-board {
  padding: 13px;
}

.status-board strong {
  display: block;
  margin-bottom: 14px;
}

.status-board ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-board li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #a4b4c8;
  font-size: 12px;
}

.status-board em {
  color: var(--teal-2);
  font-style: normal;
  font-weight: 900;
}

.position-table {
  margin: 0 20px 14px;
  padding: 12px;
}

.table-title {
  margin-bottom: 8px;
  font-weight: 900;
}

.table-row {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr 0.8fr;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #d7e2f0;
  font-size: 12px;
}

.table-head {
  color: #8293aa;
}

.long {
  color: var(--teal-2);
}

.short {
  color: #ff9aad;
}

.section {
  padding: 82px clamp(28px, 5vw, 72px);
}

.section-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.section-head.dark h2,
.section-head.dark p {
  color: #fff;
}

.section-head.dark p {
  color: #a9b8ca;
}

.services {
  background: var(--paper);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}

.capability-grid article {
  padding: 12px 18px 12px 0;
  border-right: 1px solid var(--line);
}

.capability-grid article:last-child {
  border-right: 0;
}

.capability-grid svg {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal);
  background: #fff;
}

.capability-grid p {
  color: var(--muted);
}

.capability-grid a {
  color: #405065;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.architecture {
  padding: 74px clamp(28px, 5vw, 72px);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 199, 177, 0.12), transparent 32%),
    linear-gradient(180deg, #0a1422 0%, #07111f 100%);
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto 34px;
}

.architecture-flow article {
  position: relative;
  min-height: 142px;
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-align: center;
}

.architecture-flow article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -13px;
  width: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-2), rgba(200, 130, 30, 0.85));
  content: "";
}

.architecture-flow svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--teal-2);
}

.architecture-flow strong,
.architecture-flow span {
  display: block;
}

.architecture-flow strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.architecture-flow span {
  color: #9fb0c6;
  font-size: 12px;
}

.architecture-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.architecture-notes div {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.architecture-notes strong,
.architecture-notes span {
  display: block;
}

.architecture-notes strong {
  color: #fff;
}

.architecture-notes span {
  color: #9fb0c6;
  font-size: 14px;
}

.packages {
  background: var(--paper-soft);
}

.package-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.timeline {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 900;
}

.timeline strong,
.timeline em {
  display: block;
}

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

.timeline em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

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

.pricing-grid article,
.guardrail-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.pricing-grid article {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 34px;
}

.pricing-grid article.featured {
  border-color: rgba(7, 139, 123, 0.45);
  box-shadow: 0 24px 65px rgba(7, 139, 123, 0.14);
}

.corner {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 6px 14px;
  border-radius: 0 0 8px 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.pricing-grid p {
  color: var(--muted);
}

.price {
  display: block;
  margin: 14px 0 22px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.1;
}

.pricing-grid ul,
.check-list,
.plain-list,
.contact-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-grid li,
.check-list li,
.plain-list li,
.contact-card li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--muted);
}

.pricing-grid li::before,
.check-list li::before,
.contact-card li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
  content: "✓";
}

.plain-list li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
  content: "!";
}

.pricing-grid .button {
  margin-top: auto;
}

.guardrails {
  background: #fff;
}

.guardrail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
}

.guardrail-grid article {
  padding: 30px;
  box-shadow: none;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.62fr);
  gap: 46px;
  align-items: center;
  padding: 82px clamp(28px, 5vw, 72px);
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}

.contact-copy {
  max-width: 780px;
}

.contact-copy h2 {
  max-width: 720px;
}

.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-row a,
.contact-row button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.contact-row button {
  color: var(--teal);
}

.copy-status {
  min-height: 28px;
  margin: 18px 0 0;
  color: var(--teal) !important;
  font-size: 15px !important;
  font-weight: 900;
}

.contact-card {
  padding: 34px;
}

.contact-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px clamp(28px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--dark);
  color: #a7b5c8;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  text-align: right;
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #cbd7e6;
  text-decoration: none;
}

.mobile-contact-bar {
  display: none;
}

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

  .system-panel {
    max-width: 850px;
  }

  .capability-grid,
  .architecture-notes {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid article:nth-child(2) {
    border-right: 0;
  }

  .architecture-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .architecture-flow article::after {
    display: none;
  }

  .package-layout {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 70px;
  }

  h1 {
    font-size: 41px;
  }

  h2 {
    font-size: 29px;
  }

  .site-header {
    position: static;
    align-items: center;
    flex-direction: row;
    gap: 14px;
    padding: 18px 24px;
  }

  .nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    gap: 22px;
    padding: 32px 24px 26px;
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 0;
  }

  .button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 11px 13px;
    font-size: 14px;
  }

  .hero-proof {
    display: none;
  }

  .panel-top {
    padding: 18px;
  }

  .module-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .module-row article {
    min-height: 66px;
    padding: 9px 4px;
  }

  .module-row svg {
    width: 20px;
    height: 20px;
    margin-bottom: 7px;
  }

  .module-row strong {
    font-size: 10px;
    line-height: 1.2;
  }

  .module-row span {
    display: none;
  }

  .dashboard-grid {
    display: none;
  }

  .position-table {
    display: none;
  }

  .section {
    padding: 20px 24px 56px;
  }

  .capability-grid,
  .architecture-flow,
  .architecture-notes,
  .pricing-grid,
  .guardrail-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-grid article:last-child {
    border-bottom: 0;
  }

  .architecture {
    padding: 56px 24px;
  }

  .architecture-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture-notes {
    gap: 12px;
  }

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

  .pricing-grid article {
    min-height: auto;
    padding: 28px;
  }

  .contact {
    padding: 56px 24px;
  }

  .contact-row {
    flex-direction: column;
  }

  .contact-row a,
  .contact-row button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p:last-child {
    text-align: left;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 17, 31, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-bar a,
  .mobile-contact-bar button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: var(--teal);
    color: #fff;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-contact-bar button {
    background: #1b2739;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 37px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-proof {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

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

  .chart-card {
    grid-column: 1 / -1;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
  }

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