:root {
  --bg: #0d1117;
  --panel: #151b23;
  --panel-soft: #111820;
  --text: #e6edf3;
  --muted: #9da7b3;
  --line: #2a3441;
  --accent: #69a7ff;
  --accent-soft: rgba(105, 167, 255, 0.12);
  --good: #75d69c;
  --warn: #e4bd68;
  --radius: 14px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

.narrow {
  width: min(calc(100% - 40px), 820px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(14px);
}

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

.brand {
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

nav a:hover {
  color: var(--text);
}

.hero {
  padding: 92px 0 78px;
}

.aros-mark {
  display: inline-block;
  margin-bottom: 24px;
}

.aros-mark img {
  width: 220px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.lead {
  max-width: 780px;
  margin-bottom: 30px;
  color: #c2cad4;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  font-weight: 650;
}

.button:hover {
  border-color: #445164;
  background: var(--panel-soft);
}

.button.primary {
  border-color: rgba(105,167,255,0.5);
  background: var(--accent-soft);
}

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

.statement p {
  margin: 0;
  padding: 34px 0;
  color: #c6ced8;
  font-size: 1.12rem;
}

.section {
  padding: 84px 0;
}

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

.section-heading > p:last-child {
  color: var(--muted);
}

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

.card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
}

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

.card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.status {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.status.active {
  border-color: rgba(105,167,255,0.35);
  color: #9cc7ff;
  background: rgba(105,167,255,0.08);
}

.status.analysis {
  border-color: rgba(228,189,104,0.35);
  color: var(--warn);
  background: rgba(228,189,104,0.07);
}

.status.qualified {
  border-color: rgba(117,214,156,0.35);
  color: var(--good);
  background: rgba(117,214,156,0.07);
}

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

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

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

.step {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font: 700 0.8rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
}

.link-list a:hover {
  border-color: #445164;
  background: var(--panel-soft);
}

.link-list small {
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .hero {
    padding: 62px 0 54px;
  }

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

  .card {
    min-height: 0;
  }

  .link-list a,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 0.85rem;
  }
}
