:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0c0c0c;
  --panel-hover: #141414;
  --line: #242424;
  --text: #f5f5f2;
  --muted: #8e8e88;
  --accent: #d9ff4f;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell {
  width: min(100% - 48px, var(--max));
  min-min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid var(--line);
}

.wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark span { color: var(--accent); }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.nav a { transition: color 160ms ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

main { flex: 1; }

.hero {
  min-height: calc(100vh - 178px);
  display: grid;
  place-items: center;
  padding: 80px 0 100px;
  text-align: center;
}

.hero-inner { width: min(100%, 760px); }

.page-label {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(54px, 13vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.09em;
  font-weight: 700;
}

.hero-copy {
  max-width: 470px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--line);
  background: var(--text);
  color: #080808;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--text); }
.button.secondary:hover { border-color: #555; background: var(--panel-hover); }

.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 0 120px;
}

.page h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.page-intro {
  max-width: 570px;
  margin-bottom: 66px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.card {
  min-height: 180px;
  padding: 24px;
  border: 2px solid var(--line);
  background: var(--panel);
}

.card-number {
  display: block;
  margin-bottom: 52px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.card h2, .faq-item h2 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.card p, .faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-list { border-top: 2px solid var(--line); }
.faq-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 2px solid var(--line);
}
.faq-item .card-number { margin: 3px 0 0; }

.profile-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
}

.avatar {
  width: 180px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #050505;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.1em;
}

.profile-copy h2 { margin-bottom: 12px; font-size: 32px; letter-spacing: -0.06em; }
.profile-copy p { color: var(--muted); line-height: 1.7; }

.site-footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

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

@media (max-width: 680px) {
  .site-shell { width: min(100% - 32px, var(--max)); }
  .site-header { min-height: 76px; align-items: flex-start; padding: 22px 0; flex-direction: column; gap: 16px; }
  .nav { justify-content: flex-start; gap: 14px 18px; font-size: 12px; }
  .hero { min-height: calc(100vh - 180px); padding: 60px 0 80px; }
  .hero h1 { font-size: clamp(56px, 20vw, 110px); }
  .page { padding: 70px 0 90px; }
  .page-intro { margin-bottom: 42px; font-size: 16px; }
  .content-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; gap: 28px; }
  .avatar { width: 120px; font-size: 34px; }
  .faq-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .site-footer { min-height: 100px; align-items: flex-start; padding: 24px 0; flex-direction: column; justify-content: center; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: #050505; }

