:root {
  --blue-900: #102f4f;
  --blue-800: #173f68;
  --blue-100: #e8f0f8;
  --orange: #f26a21;
  --orange-dark: #c94d10;
  --text: #1d2b39;
  --muted: #5d6d7c;
  --line: #dce5ee;
  --bg: #ffffff;
  --soft: #f5f8fb;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(16, 47, 79, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--blue-800);
  text-decoration: none;
}

a:hover {
  color: var(--orange-dark);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell,
.footer-shell,
.hero,
.section,
.page-hero,
.content-band,
.policy-content,
.solution-hero,
.auth-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-shell {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
  max-width: 216px;
  object-fit: contain;
}

.primary-nav,
.account-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.primary-nav a,
.nav-dropdown-button,
.account-nav a {
  color: var(--text);
  font: inherit;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-button,
.avatar-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
}

.nav-dropdown-menu,
.avatar-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
}

.nav-dropdown-menu a,
.avatar-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.account-nav.open .avatar-menu {
  display: block;
}

.avatar-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-900);
  color: #ffffff;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--orange);
  color: #ffffff;
  border: 1px solid var(--orange);
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  color: #ffffff;
  background: var(--orange-dark);
}

.button-secondary {
  background: #ffffff;
  color: var(--blue-900);
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--blue-900);
  background: var(--blue-100);
}

.button-small {
  min-height: 36px;
  padding: 0 14px;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.12;
  color: var(--blue-900);
  letter-spacing: 0;
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 22px;
}

.hero-lede,
.page-hero p,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

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

.hero-visual {
  min-height: 390px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(16, 47, 79, 0.88), rgba(23, 63, 104, 0.58)),
    linear-gradient(45deg, #dce8f4, #ffffff);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-panel {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  padding: 20px;
}

.metric-panel span {
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.metric-panel strong {
  color: var(--blue-900);
  font-size: 28px;
}

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

.metric-grid span {
  min-height: 82px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-900);
  font-weight: 800;
}

.section,
.content-band,
.policy-content {
  padding: 72px 0;
}

.page-hero,
.solution-hero,
.auth-page {
  padding: 88px 0 54px;
}

.page-hero {
  max-width: 860px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.solution-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--blue-100);
}

.solution-card div {
  padding: 18px;
}

.solution-card p {
  color: var(--muted);
  font-size: 15px;
}

.split-section,
.contact-layout,
.solution-hero,
.auth-page {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.process-list span {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  color: var(--blue-900);
  background: var(--soft);
}

.contact-panel,
.content-band,
.policy-content article,
.accent-band {
  border-top: 1px solid var(--line);
}

.contact-form,
.auth-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(16, 47, 79, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label,
legend {
  display: grid;
  gap: 7px;
  font-weight: 700;
  color: var(--blue-900);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8e5;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.contact-form > label,
.auth-form label {
  margin-top: 16px;
}

.contact-form .button,
.auth-form .button {
  margin-top: 18px;
}

.steps,
.three-column {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.steps > div,
.three-column > div,
.contact-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--soft);
}

.solution-hero img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.policy-content {
  max-width: 900px;
}

.policy-content article {
  padding: 34px 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

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

th {
  background: var(--soft);
  color: var(--blue-900);
}

.flash {
  width: min(1180px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 13px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.flash-success {
  background: #edf8f2;
  border-color: #b9e2c8;
}

.flash-error {
  background: #fff1ed;
  border-color: #f5c1ae;
}

.site-footer {
  margin-top: 70px;
  background: var(--blue-900);
  color: #ffffff;
}

.footer-shell {
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-shell a {
  color: #ffffff;
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 40px;
  }

  .hero,
  .split-section,
  .contact-layout,
  .solution-hero,
  .auth-page,
  .steps,
  .three-column {
    grid-template-columns: 1fr;
  }

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

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

  .nav-shell {
    height: auto;
    min-height: 74px;
    flex-wrap: wrap;
    padding: 14px 0;
  }
}
