:root {
  --ink: #12211d;
  --muted: #61706b;
  --paper: #f7faf8;
  --card: #ffffff;
  --line: #dce7e2;
  --brand: #126b4d;
  --brand-dark: #0b4d37;
  --accent: #c7f36b;
  --danger: #b42318;
  --warning: #9a6700;
  --success: #087443;
  --shadow: 0 18px 50px rgba(18, 33, 29, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 248, 0.9);
  border-bottom: 1px solid rgba(220, 231, 226, 0.85);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand);
  color: white;
  box-shadow: 0 7px 18px rgba(18, 107, 77, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(18, 107, 77, 0.15);
}

.button:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
  box-shadow: none;
}

.button.ghost {
  color: var(--brand);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.button.danger {
  background: var(--danger);
}

.button.small {
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.9rem;
}

.hero {
  padding: 92px 0 70px;
  overflow: hidden;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #c8ded3;
  border-radius: 999px;
  background: #eff9f3;
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin: 22px 0 20px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

h3 {
  letter-spacing: -0.025em;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.17rem;
}

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

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.mock-panel {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.mock-panel::before {
  content: "";
  position: absolute;
  inset: -60px -80px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(60px);
  opacity: 0.35;
  z-index: -1;
}

.mock-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 18px;
}

.score {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 12px solid #dff2e8;
  border-top-color: var(--brand);
  border-radius: 50%;
  font-size: 1.75rem;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.check-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f8ee;
  color: var(--success);
  font-weight: 900;
}

.check-icon.warn {
  color: var(--warning);
  background: #fff5d7;
}

.check-icon.fail {
  color: var(--danger);
  background: #fdecea;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: #edf5f1;
}

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

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 30px rgba(18, 33, 29, 0.04);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  background: #e9f7ef;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  padding: 22px 22px 22px 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

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

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
}

.price {
  margin: 14px 0;
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.feature-list {
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.feature-list li {
  margin: 10px 0;
}

.feature-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--success);
  font-weight: 900;
}

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.app-body {
  background: #f2f6f4;
}

.app-layout {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 250px 1fr;
}

.sidebar {
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  background: white;
}

.sidebar nav {
  display: grid;
  gap: 6px;
}

.sidebar a,
.sidebar button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  text-decoration: none;
  font-weight: 750;
}

.sidebar a:hover,
.sidebar button:hover,
.sidebar a.active {
  background: #edf6f1;
  color: var(--brand-dark);
}

.app-main {
  width: min(1100px, 100%);
  padding: 34px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
}

.app-header h1 {
  margin: 0 0 6px;
  font-size: 2.3rem;
  letter-spacing: -0.05em;
}

.muted {
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.8rem;
}

.panel {
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #cbd8d2;
  border-radius: 11px;
  background: white;
  color: var(--ink);
}

input:focus,
select:focus {
  outline: 3px solid rgba(18, 107, 77, 0.12);
  border-color: var(--brand);
}

.search-results {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.search-result {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  text-align: left;
}

.search-result:hover,
.search-result.selected {
  border-color: var(--brand);
  background: #f1faf5;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status.pass,
.status.passed {
  color: var(--success);
  background: #e7f7ed;
}

.status.warning,
.status.review {
  color: var(--warning);
  background: #fff4cf;
}

.status.fail,
.status.failed,
.status.critical {
  color: var(--danger);
  background: #fde9e7;
}

.status.not_verified {
  color: #5b6070;
  background: #eef0f4;
}

.audit-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
}

.audit-score {
  padding: 22px;
  border-radius: 16px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.audit-score strong {
  display: block;
  font-size: 3rem;
}

.finding {
  margin-bottom: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.finding-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.offboarding-panel,
.execution-results {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbf9;
}

.action-checklist {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.action-checklist label,
.safety-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
}

.action-checklist input,
.safety-confirmation input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.safety-confirmation {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #efb4ae;
  border-radius: 10px;
  background: #fff4f2;
}

.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #bcd7c9;
  border-radius: 13px;
  background: #eff9f3;
}

.notice.error {
  border-color: #efb4ae;
  background: #fff0ee;
  color: #7a1b13;
}

.hidden {
  display: none !important;
}

.empty {
  padding: 34px;
  border: 1px dashed #bac9c2;
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.legal {
  max-width: 800px;
  padding: 70px 0;
}

.legal h1 {
  font-size: 3rem;
}

.legal h2 {
  margin-top: 34px;
  font-size: 1.5rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .pricing-grid,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .app-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .grid-3,
  .pricing-grid,
  .metrics,
  .form-grid,
  .audit-grid {
    grid-template-columns: 1fr;
  }

  .app-main {
    padding: 20px 14px;
  }

  .app-header {
    display: block;
  }
}
