:root {
  color-scheme: dark;
  --bg: #08100f;
  --surface: #101917;
  --surface-strong: #17231f;
  --line: rgba(218, 229, 213, 0.16);
  --text: #eef4ea;
  --muted: #aab7ad;
  --pine: #2f6a4f;
  --frost: #9bd2cf;
  --ember: #d99745;
  --danger: #d96a58;
  --shadow: rgba(0, 0, 0, 0.4);
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 56px);
  background: rgba(8, 16, 15, 0.68);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark__sigil {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(217, 151, 69, 0.55);
  background: rgba(217, 151, 69, 0.12);
  color: var(--ember);
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
}

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

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 72px) 72px;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("taiga-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero__shade {
  background:
    radial-gradient(circle at 76% 32%, rgba(155, 210, 207, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(8, 16, 15, 0.94) 0%, rgba(8, 16, 15, 0.76) 35%, rgba(8, 16, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 16, 15, 0.82) 0%, transparent 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 104px;
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #dce7dc;
  font-size: 19px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(238, 244, 234, 0.08);
  color: var(--text);
  cursor: pointer;
}

.button--primary {
  border-color: rgba(217, 151, 69, 0.72);
  background: #b8732d;
  color: #fff8ee;
  font-weight: 700;
}

.button--ghost:hover,
.button--primary:hover {
  filter: brightness(1.1);
}

.status-band,
.split-section,
.reports-section,
.forum-section {
  padding: 72px clamp(20px, 6vw, 72px);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 32px;
}

.section-head--wide {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
}

.section-head p:not(.eyebrow),
.split-section__text p,
.forum-grid p,
.tester-board p,
.status-item span,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.status-band {
  background: #0c1513;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.status-item {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 20px;
  background: var(--surface);
}

.status-item__label {
  color: var(--frost);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-item strong {
  font-size: 19px;
}

.signal--ok {
  color: #87d49c;
}

.signal--warm {
  color: var(--ember);
}

.split-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.tester-board,
.forum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tester-board article,
.forum-grid article {
  min-height: 170px;
  padding: 22px;
  background: var(--surface);
}

.tester-board span {
  display: block;
  margin-bottom: 18px;
  color: var(--ember);
  font-weight: 800;
}

.reports-section {
  background:
    linear-gradient(180deg, rgba(47, 106, 79, 0.14), transparent 340px),
    #0a1210;
}

.report-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

.report-form,
.report-panel {
  border: 1px solid var(--line);
  background: rgba(16, 25, 23, 0.86);
  box-shadow: 0 18px 54px var(--shadow);
}

.report-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

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

label {
  display: grid;
  gap: 8px;
  color: #d7e1d8;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(238, 244, 234, 0.18);
  background: #08100f;
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--frost);
  box-shadow: 0 0 0 3px rgba(155, 210, 207, 0.16);
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.checkline input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.report-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.report-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-list li {
  border-left: 3px solid var(--pine);
  padding: 12px;
  background: rgba(238, 244, 234, 0.06);
}

.report-list strong,
.report-list span {
  display: block;
}

.report-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.severity-critical {
  border-color: var(--danger) !important;
}

.severity-high {
  border-color: var(--ember) !important;
}

.forum-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .section-head--wide,
  .split-section,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-panel {
    position: static;
  }

  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 40px;
  }
}

@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 86vh;
    padding-top: 154px;
  }

  .hero__lead {
    font-size: 17px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .status-grid,
  .tester-board,
  .forum-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

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