:root {
  --ink: #102033;
  --muted: #5b6c7e;
  --line: #d8e2ee;
  --surface: #ffffff;
  --soft-blue: #edf6ff;
  --soft-green: #effaf3;
  --soft-amber: #fff7e7;
  --blue: #2563eb;
  --blue-dark: #0f2a45;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --shadow: 0 18px 46px rgba(16, 32, 51, 0.13);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #f7fafc;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
  padding: 14px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand-group,
.brand {
  display: inline-flex;
  align-items: center;
}

.brand-group {
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 204px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #314257;
  font-weight: 700;
}

.site-nav a {
  transition: color 0.18s ease;
}

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

.nav-cta,
.nav-system,
.header-system-access,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
}

.nav-cta {
  padding: 0 18px;
  color: #ffffff;
  background: var(--green);
}

.nav-system {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  background: #ffffff;
}

.header-system-access {
  display: inline-flex;
  min-height: 42px;
  margin-left: auto;
  padding: 0 14px;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  background: #ffffff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 10px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(640px, calc(100svh - var(--header-height) - 96px));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 24, 42, 0.92) 0%, rgba(8, 24, 42, 0.76) 44%, rgba(8, 24, 42, 0.2) 100%),
    url("assets/hero-dashboard.png") center right / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 16%, rgba(34, 197, 94, 0.26), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(8, 24, 42, 0.28) 100%);
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 46px 0;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7dd3fc;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 990px;
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d9e8f6;
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
}

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

.button {
  border: 1px solid transparent;
  padding: 0 22px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 14px 26px rgba(34, 197, 94, 0.26);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 14px;
  margin: 28px 0 0;
}

.trust-row div {
  padding-top: 14px;
  border-top: 2px solid rgba(125, 211, 252, 0.45);
}

.trust-row dt {
  font-size: 1.2rem;
  font-weight: 900;
}

.trust-row dd {
  margin: 2px 0 0;
  color: #cce0f2;
  font-size: 0.86rem;
}

.section {
  padding: 88px 0;
}

.intro-band {
  padding: 26px 0;
  background: var(--blue-dark);
  color: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.intro-grid p {
  max-width: 820px;
  margin: 0;
  color: #d6e5f1;
  font-weight: 600;
}

.text-link {
  color: #ffffff;
  font-weight: 900;
  border-bottom: 2px solid var(--green);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution-card,
.plan-card,
.process article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.06);
}

.solution-card {
  min-height: 234px;
  padding: 24px;
}

.solution-card p,
.plan-card p,
.process p,
.product-grid p,
.contact-grid p,
.footer-grid p {
  color: var(--muted);
}

.card-marker {
  width: 42px;
  height: 8px;
  margin-bottom: 28px;
  border-radius: 999px;
}

.card-marker.blue {
  background: var(--blue);
}

.card-marker.green {
  background: var(--green);
}

.card-marker.amber {
  background: var(--amber);
}

.card-marker.red {
  background: var(--red);
}

.product-section {
  background: linear-gradient(180deg, #ffffff, #eef6fb);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 44px;
}

.product-grid p {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px #dff8e8;
}

.product-visual {
  margin: 0;
}

.product-visual img {
  width: 100%;
  border: 1px solid #cbd9e8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process {
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process article {
  min-height: 216px;
  padding: 24px;
}

.process span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #ffffff;
  background: var(--blue);
  border-radius: var(--radius);
  font-weight: 900;
}

.plans {
  background: #f7fafc;
}

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

.plan-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 28px;
}

.plan-card.featured {
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow: 0 22px 42px rgba(37, 99, 235, 0.14);
}

.plan-label {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card p {
  min-height: 76px;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 10px 0 28px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.plan-card a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.plan-card.featured a {
  color: #ffffff;
  border-color: var(--green);
  background: var(--green);
}

.contact-section {
  background: var(--blue-dark);
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #7dd3fc;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.contact-grid p {
  color: #d6e5f1;
  font-size: 1.05rem;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #273b51;
  font-size: 0.92rem;
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  color: var(--ink);
  border: 1px solid #cbd9e8;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 11px 12px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.button.full {
  width: 100%;
  border: none;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 44px 0 28px;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: start;
}

.footer-grid img {
  width: 210px;
  margin-bottom: 18px;
}

.footer-grid p {
  max-width: 560px;
  margin: 0;
}

.footer-grid nav {
  display: grid;
  gap: 10px;
  color: #314257;
  font-weight: 800;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 36px auto 0;
  padding-top: 22px;
  color: #718195;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.access-page {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(15, 42, 69, 0.96), rgba(15, 42, 69, 0.78)),
    url("assets/hero-dashboard.png") center / cover no-repeat;
}

.access-screen {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1fr);
  width: min(100%, 1040px);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(216, 226, 238, 0.82);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(16, 32, 51, 0.28);
}

.access-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  color: #ffffff;
  background:
    linear-gradient(150deg, rgba(15, 42, 69, 0.98), rgba(37, 99, 235, 0.72)),
    url("assets/hero-dashboard.png") 42% center / cover no-repeat;
}

.access-brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 69, 0.08), rgba(15, 42, 69, 0.4));
  pointer-events: none;
}

.access-brand-panel > * {
  position: relative;
  z-index: 1;
}

.access-brand-panel img {
  width: 224px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.access-brand-panel .eyebrow {
  margin: auto 0 14px;
  color: #7dd3fc;
}

.access-brand-panel h1 {
  max-width: 480px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
}

.access-brand-panel p:not(.eyebrow) {
  max-width: 440px;
  margin: 20px 0 0;
  color: #d9e8f6;
  font-size: 1.05rem;
}

.access-points {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.access-points span {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px 0 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 800;
  position: relative;
}

.access-points span::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.access-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 6vw, 64px);
}

.access-form-heading span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 10px;
  color: #178a4f;
  background: #e9f9ef;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.access-form-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.08;
}

.access-form-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.access-form {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  text-align: left;
}

.access-form label {
  color: #273b51;
  font-size: 0.92rem;
  font-weight: 850;
}

.access-input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.access-input-row input {
  min-height: 48px;
  width: 100%;
  color: var(--ink);
  border: 1px solid #cbd9e8;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 12px 14px;
  outline: none;
  font-weight: 750;
}

.access-input-row input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.access-help {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.access-support {
  display: inline-flex;
  color: var(--blue-dark);
  font-weight: 900;
  border-bottom: 2px solid var(--green);
}

.access-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: var(--blue-dark);
  font-weight: 850;
}

.access-footer-actions a:not(.access-support) {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-nav .nav-system {
    display: inline-flex;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero-content {
    padding: 70px 0 62px;
  }

  .intro-grid,
  .product-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .product-grid {
    gap: 28px;
  }

  .contact-grid {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 11px 14px;
  }

  .brand img {
    width: 150px;
  }

  .header-system-access {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 86px);
    background:
      linear-gradient(90deg, rgba(8, 24, 42, 0.96) 0%, rgba(8, 24, 42, 0.84) 62%, rgba(8, 24, 42, 0.42) 100%),
      url("assets/hero-dashboard.png") 62% center / cover no-repeat;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding: 58px 0 52px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .trust-row {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .intro-grid {
    gap: 16px;
  }

  .solution-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .process article,
  .plan-card,
  .lead-form {
    padding: 22px;
  }

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

  .copyright {
    width: min(100% - 28px, 1120px);
  }

  .access-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .access-brand-panel {
    min-height: 370px;
    padding: 26px 20px;
  }

  .access-brand-panel img {
    width: 190px;
  }

  .access-form-panel {
    padding: 26px 20px 30px;
  }
}
