:root {
  color-scheme: dark;
  --bg: #101216;
  --panel: #181b21;
  --panel-strong: #20242c;
  --text: #f7f4e8;
  --muted: #b8bdc7;
  --line: #343a45;
  --green: #8fd36b;
  --teal: #37d8c2;
  --amber: #f5b84b;
  --max: 1060px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(55, 216, 194, .08), transparent 320px),
    radial-gradient(circle at top right, rgba(245, 184, 75, .12), transparent 360px),
    var(--bg);
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  align-items: center;
  gap: 42px;
  padding: 42px 0 36px;
}

.eyebrow {
  color: var(--green);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  margin-top: 12px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 720px;
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.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);
  border-radius: 6px;
  color: var(--text);
  background: var(--panel-strong);
  font-weight: 700;
}

.button.primary {
  border-color: transparent;
  color: #101216;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.visual {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(55, 216, 194, .18), transparent 42%),
    linear-gradient(315deg, rgba(245, 184, 75, .18), transparent 46%),
    var(--panel);
  position: relative;
  overflow: hidden;
}

.visual::before,
.visual::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(247, 244, 232, .2);
  transform: rotate(8deg);
}

.visual::after {
  inset: 22%;
  border-color: rgba(55, 216, 194, .35);
  transform: rotate(-12deg);
}

.visual img {
  position: absolute;
  width: min(48%, 190px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35));
}

.section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

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

.card {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 27, 33, .82);
}

.card p {
  margin-bottom: 0;
}

.notice {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(245, 184, 75, .45);
  border-radius: 8px;
  background: rgba(245, 184, 75, .08);
}

.legal {
  max-width: 850px;
  padding: 38px 0 64px;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal h2 {
  margin-top: 36px;
  font-size: 1.45rem;
}

.legal ul {
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, var(--max));
  }

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

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

  .visual {
    min-height: 260px;
  }
}
