:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-strong: #eef4f8;
  --ink: #14212b;
  --muted: #5b6b78;
  --line: #d9e2e8;
  --accent: #0a6a75;
  --accent-strong: #084e57;
  --green: #1b7f5d;
  --shadow: 0 18px 48px rgba(20, 33, 43, 0.1);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.top-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a,
.site-footer a {
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
  min-height: 620px;
  padding: 56px 0 72px;
}

.hero-copy {
  max-width: 720px;
}

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

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

h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.subtitle {
  margin: 22px 0 14px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  max-width: 760px;
}

.hero-body,
.content-block p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

.hero-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-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-strong);
}

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

.login-panel {
  max-width: 560px;
  margin: 72px auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  font-size: clamp(40px, 7vw, 64px);
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.login-form label {
  font-weight: 800;
}

.login-form input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
}

.login-error {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #e9b2b2;
  border-radius: 8px;
  color: #8a1f1f;
  background: #fff1f1;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.workflow-card,
.feature {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.workflow-card.active {
  background: var(--surface-strong);
  border-color: #bad1db;
}

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

.step {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.content-block {
  padding: 26px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.safety .content-block {
  background: #f8fbfa;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 44px 0 72px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.contact-section h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

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

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .contact-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav,
  .site-footer nav {
    flex-wrap: wrap;
  }

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

  .contact-section {
    padding: 22px;
  }
}
