:root {
  color-scheme: dark;
  --ink: #07090b;
  --deep: #082624;
  --panel: #111719;
  --panel-warm: #181111;
  --stroke: rgba(255, 255, 255, 0.11);
  --text: #f6f3ec;
  --muted: #9aa5a4;
  --soft: #6f7d7d;
  --teal: #24d6d3;
  --teal-deep: #0b5659;
  --brass: #d6a75a;
  --rose: #b86273;
  --moss: #91bb82;
  --max: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 214, 211, 0.20), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(214, 167, 90, 0.13), transparent 32rem),
    linear-gradient(135deg, #082624 0%, #07090b 48%, #181111 100%);
}

a {
  color: inherit;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 28px rgba(36, 214, 211, 0.22);
}

.brand span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.32em;
  color: var(--muted);
}

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

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav a:hover,
.button:hover {
  border-color: rgba(36, 214, 211, 0.55);
}

.button.primary {
  border-color: rgba(36, 214, 211, 0.72);
  color: #031112;
  background: var(--teal);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 76px 0 56px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.38;
  color: var(--muted);
}

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

.feature-panel,
.card,
.document {
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 23, 25, 0.96), rgba(24, 17, 17, 0.86));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.feature-panel {
  display: grid;
  align-content: space-between;
  min-height: 420px;
  padding: 26px;
}

.mix-ring {
  width: 148px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--ink) 0 31%, transparent 32%),
    conic-gradient(from -90deg, var(--teal), var(--moss), var(--brass), var(--rose), var(--teal));
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.06), 0 0 58px rgba(36, 214, 211, 0.16);
}

.feature-panel h2,
.card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}

.feature-panel p,
.card p,
.document p,
.document li {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 10px 0 72px;
}

.card {
  min-height: 190px;
  padding: 22px;
}

.card-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--teal);
  background: rgba(11, 86, 89, 0.82);
  font-size: 22px;
  font-weight: 900;
}

.page-hero {
  padding: 72px 0 34px;
}

.document {
  max-width: 860px;
  margin: 0 0 80px;
  padding: clamp(24px, 5vw, 54px);
}

.document h2 {
  margin: 42px 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.document h2:first-child {
  margin-top: 0;
}

.document ul {
  padding-left: 22px;
}

.document strong {
  color: var(--text);
}

.contact-box {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(36, 214, 211, 0.24);
  border-radius: 8px;
  background: rgba(36, 214, 211, 0.07);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--stroke);
  color: var(--soft);
  font-size: 14px;
}

.footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .grid {
    grid-template-columns: 1fr;
    padding-bottom: 42px;
  }

  .feature-panel {
    min-height: 320px;
  }
}
