:root {
  --ink: #071f23;
  --ink-2: #123238;
  --muted: #536a68;
  --line: #d9e5df;
  --soft: #f3f8f5;
  --white: #ffffff;
  --green: #12ad6b;
  --green-2: #58c878;
  --mint: #def5e8;
  --shadow: 0 18px 50px rgba(7, 31, 35, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 56px);
  color: var(--white);
  background: rgba(7, 31, 35, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand img,
.footer img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #bcd2cd;
  font-size: 12px;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.topnav a,
.panel-link,
.primary,
.secondary,
.inline-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 750;
}

.topnav a {
  padding: 8px 12px;
  color: #d7e7e2;
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.panel-link,
.primary {
  padding: 10px 16px;
  color: #062019;
  background: var(--green-2);
}

.secondary,
.inline-link {
  padding: 10px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 8vw, 92px) clamp(16px, 5vw, 72px) 48px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 31, 35, 0.92), rgba(8, 53, 46, 0.82)),
    url("assets/logo.jpg") center / cover;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 880px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  color: #dcece8;
  font-size: clamp(18px, 2.2vw, 23px);
}

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

.status-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status-panel div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.metric {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-panel strong {
  display: block;
  margin-bottom: 5px;
}

.status-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: clamp(44px, 7vw, 82px) clamp(16px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

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

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.flow-step {
  min-height: 220px;
  padding: 20px;
  background: var(--white);
}

.flow-step span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 850;
}

.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.manual-layout {
  background: var(--white);
  border-block: 1px solid var(--line);
}

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

.tab-list {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
}

.tab-button {
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.tab-panel {
  min-height: 370px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.tab-panel p,
.tab-panel li {
  color: var(--ink-2);
  font-size: 17px;
}

.tab-panel ul,
.tab-panel ol {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 22px;
}

.inline-link {
  margin-top: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) 1fr;
  gap: 28px;
}

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

.responsibility-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.responsibility-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.notifications-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}

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

.notification-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.notification-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.notice-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.notice-green {
  color: #075b38;
  background: #d8f7e7;
}

.notice-yellow {
  color: #674200;
  background: #fff0bd;
}

.notice-red {
  color: #7d1b1b;
  background: #ffe0df;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timeline div {
  min-height: 96px;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  margin-bottom: 6px;
  color: var(--green-2);
  font-size: 20px;
}

.timeline span {
  color: #dcece8;
}

.faq-section {
  background: #edf5f0;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  font-weight: 850;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.footer {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 28px clamp(16px, 5vw, 72px);
  color: #dcece8;
  background: var(--ink);
}

.footer p {
  margin-bottom: 0;
  color: #a9c0bb;
}

@media (max-width: 1100px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .status-panel {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .topnav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .panel-link {
    width: 100%;
  }

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

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

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

  .flow-step {
    min-height: auto;
  }

  .flow-step span {
    margin-bottom: 16px;
  }

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

  .tab-list {
    position: static;
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tab-button {
    text-align: center;
  }

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

  .notification-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .notification-grid article,
  .timeline div {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 38px;
  }

  .brand {
    align-items: flex-start;
  }

  .status-panel {
    padding: 12px;
  }

  .section {
    padding-inline: 14px;
  }
}
