:root {
  --ink: #17212b;
  --muted: #5d6b7a;
  --line: #dce4ec;
  --paper: #ffffff;
  --soft: #eef7f4;
  --brand: #167a68;
  --accent: #f2b94b;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f8faf9;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .25s ease, visibility .25s ease;
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; }
.site-loader span {
  width: 42px;
  height: 42px;
  border: 4px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand img { width: 174px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 22px; font-weight: 700; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav .nav-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: var(--brand);
}
.site-nav .nav-button-strong {
  background: var(--brand);
  color: #fff;
}
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 64px);
  background: linear-gradient(rgba(13, 38, 42, .72), rgba(13, 38, 42, .72)), url("static_ecbg5.png") center/cover;
  color: #fff;
}
.hero h1 { margin: 0 0 18px; font-size: clamp(42px, 7vw, 78px); line-height: .98; }
.hero p { max-width: 620px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button-light { background: #fff; color: var(--brand); }
.hero-panel {
  justify-self: center;
  width: min(100%, 520px);
  padding: 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
}
.hero-panel p { margin: 14px 0 0; font-weight: 700; }
.hero-device { justify-self: center; max-height: 460px; object-fit: contain; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.section { padding: clamp(48px, 7vw, 90px) clamp(18px, 5vw, 64px); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: var(--paper);
}
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}
.feature-grid h2, .split h2, .support-section h2 { margin: 0 0 12px; line-height: 1.15; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--soft);
}
.workflow-list {
  display: grid;
  gap: 14px;
}
.workflow-list div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.workflow-list strong {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.workflow-list span { color: var(--muted); font-weight: 700; }
.module-section { background: #fff; }
.section-heading { max-width: 720px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.module-grid button {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
  font-weight: 800;
  text-align: center;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  font: inherit;
  cursor: pointer;
}
.module-grid button:hover, .module-grid button:focus, .module-grid button.is-active {
  border-color: var(--brand);
  box-shadow: 0 8px 22px rgba(22, 122, 104, .14);
  outline: 0;
  transform: translateY(-1px);
}
.detail-grid {
  margin-top: 28px;
}
.detail-grid article {
  scroll-margin-top: 110px;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.module-detail { display: none; }
.module-detail.is-active { display: block; }
.detail-grid article:target {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 122, 104, .16);
}
.detail-grid h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}
.detail-grid p {
  margin: 0;
  color: var(--muted);
}
.support-section {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(340px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  background: linear-gradient(180deg, #f8faf9 0%, #eef7f4 100%);
}
.support-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}
.support-copy img {
  margin-top: 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(23, 33, 43, .12);
}
.support-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}
.support-form {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 33, 43, .08);
}
.support-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}
.support-form input, .support-form select, .support-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.support-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.support-meta div {
  min-height: 120px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.support-meta strong {
  line-height: 1.2;
}
.support-meta span {
  color: var(--muted);
  font-size: 14px;
}
.support-aside {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 33, 43, .08);
}
.support-aside h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}
.support-aside p {
  margin: 0 0 16px;
  color: var(--muted);
}
.support-aside ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.support-aside li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
  font-weight: 700;
}
.support-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.notice {
  width: min(620px, 100%);
  margin: 0 auto 16px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}
.notice.success { background: #e7f6ee; color: #12603c; }
.notice.error { background: #fdeceb; color: #9f2e27; }
.form-result:empty { display: none; }
.form-result {
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}
.form-result.success { background: #e7f6ee; color: #12603c; }
.form-result.error { background: #fdeceb; color: #9f2e27; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
  align-items: start;
  padding: 42px clamp(18px, 5vw, 64px) 36px;
  background: #111820;
  border-top: 4px solid var(--accent);
  color: #f7f3ea;
  font-family: Georgia, "Times New Roman", serif;
}
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }
.footer-brand p {
  max-width: 440px;
  color: rgba(247,243,234,.78);
  font-size: 15px;
  line-height: 1.7;
}
.footer-brand .footer-tagline {
  margin: 0 0 8px;
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}
.footer-col {
  display: grid;
  align-content: start;
  gap: 9px;
}
.footer-col h3 {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(247,243,234,.22);
  font-size: 17px;
  line-height: 1.2;
  color: #f2b94b;
  font-weight: 700;
}
.footer-col p, .footer-col a {
  margin: 0;
  color: rgba(247,243,234,.84);
  line-height: 1.55;
  font-size: 15px;
}
.footer-col a {
  text-decoration: none;
}
.footer-col a:hover, .footer-col a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-logo {
  width: 190px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(242,185,75,.45);
  border-radius: 4px;
  background: #fbfaf7;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

@media (max-width: 900px) {
  .hero, .split, .support-section { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .support-meta { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}
