@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #17211c;
  --muted: #5c6962;
  --line: #dfe6e1;
  --surface: #ffffff;
  --surface-soft: #f5f8f6;
  --green: #16784a;
  --green-dark: #0e5735;
  --green-soft: #e5f4eb;
  --orange: #d36b24;
  --orange-soft: #fff1e6;
  --blue: #2467a5;
  --blue-soft: #e9f2fb;
  --danger: #a83b3b;
  --max: 1120px;
  --radius: 8px;
  --shadow: 0 12px 35px rgba(23, 33, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

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

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

button,
.button {
  min-height: 46px;
}

:focus-visible {
  outline: 3px solid rgba(36, 103, 165, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

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

.header-inner,
.footer-inner,
.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 20px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  min-height: min(720px, calc(100vh - 68px));
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #173b2d;
  background-image: url("images/login_bg.png");
  background-repeat: no-repeat;
  background-position: center 44%;
  background-size: cover;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(10, 31, 23, 0.66);
}

.hero-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 74px 0 96px;
  position: relative;
  z-index: 1;
}

.hero-mark {
  width: 86px;
  height: 86px;
  margin-bottom: 28px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bde9cf;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 780;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 730;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.5vw, 23px);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

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

.button-secondary:hover {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: #a9cdb8;
}

.hero .button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-heading p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature {
  min-height: 210px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 7px;
  font-weight: 800;
}

.feature:nth-child(2) .feature-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.feature:nth-child(3) .feature-icon {
  color: var(--orange);
  background: var(--orange-soft);
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 3px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.safety-panel {
  padding: 32px;
  color: #fff;
  background: #19392c;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.safety-panel h2 {
  font-size: 30px;
}

.safety-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.safety-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.safety-list li {
  padding: 14px 0 14px 28px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.safety-list li::before {
  position: absolute;
  left: 2px;
  content: "✓";
  color: #8de0ae;
  font-weight: 800;
}

.page-hero {
  padding: 72px 0 58px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 62px);
}

.page-hero .lead {
  max-width: 760px;
}

.meta-line {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
}

.meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.doc-layout {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 58px 0 92px;
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 68px;
  justify-content: space-between;
}

.doc-nav {
  position: sticky;
  top: 94px;
  align-self: start;
}

.doc-nav strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.doc-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.doc-nav a:hover {
  color: var(--green-dark);
}

.doc-content section {
  padding-top: 22px;
  margin-bottom: 38px;
  scroll-margin-top: 86px;
}

.doc-content section:first-child {
  padding-top: 0;
}

.doc-content h2 {
  font-size: 29px;
}

.doc-content h3 {
  margin-top: 24px;
  font-size: 18px;
}

.doc-content p,
.doc-content li {
  color: #334139;
}

.doc-content ul,
.doc-content ol {
  padding-left: 23px;
}

.doc-content li + li {
  margin-top: 9px;
}

.notice {
  margin: 24px 0;
  padding: 17px 18px;
  color: #563019;
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
}

.contact-strip {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--green-soft);
  border: 1px solid #c7e3d2;
  border-radius: var(--radius);
}

.contact-strip p {
  margin: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  align-items: start;
}

.support-aside,
.support-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-aside {
  background: var(--surface-soft);
}

.support-form {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-aside ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.support-aside li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.support-aside strong,
.support-aside span {
  display: block;
}

.support-aside span {
  color: var(--muted);
  font-size: 14px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bcc8c0;
  border-radius: 6px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-note {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.status-message {
  min-height: 25px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 14px;
}

.faq-list {
  max-width: 840px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 20px 36px 20px 0;
  position: relative;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 4px;
  content: "+";
  color: var(--green);
  font-size: 23px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p,
.faq-list details ol {
  margin-top: 0;
  padding-bottom: 20px;
  color: var(--muted);
}

.faq-list details ol {
  padding-left: 24px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #13251d;
}

.footer-inner {
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 750;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-summary {
  max-width: 390px;
}

.site-footer h3 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .support-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .doc-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .doc-nav strong {
    width: 100%;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .section-inner,
  .hero-inner,
  .doc-layout {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    padding: 10px 16px 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
  }

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

  .hero-inner {
    padding: 62px 0 82px;
  }

  .hero-mark {
    width: 74px;
    height: 74px;
  }

  h1 {
    font-size: 44px;
  }

  .section {
    padding: 64px 0;
  }

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

  .feature {
    min-height: 0;
  }

  .page-hero {
    padding: 52px 0 42px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .doc-layout {
    padding: 40px 0 70px;
  }

  .contact-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .support-aside,
  .support-form,
  .safety-panel {
    padding: 22px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .button-row .button {
    width: 100%;
  }

  h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-copy,
  .lead {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
