:root {
  --bg: #0b0b10;
  --bg-raised: #15151d;
  --card: #1b1b24;
  --stroke: #2a2a36;
  --text: #f5f5f7;
  --text-dim: #a1a1ad;
  --accent: #4e9e7c;
  --accent-strong: #5fc298;
  --radius: 18px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-raised) 0%, var(--bg) 480px);
  background-color: var(--bg);
  color: var(--text);
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--accent-strong); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; gap: 20px; }
.site-nav a { color: var(--text-dim); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

.hero { text-align: center; padding: 72px 0 56px; }
.hero .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 18px 50px rgba(78, 158, 124, 0.25); }
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin: 28px auto 16px; max-width: 760px; }
.hero p { color: var(--text-dim); font-size: clamp(17px, 2.4vw, 20px); max-width: 600px; margin: 0 auto 32px; }

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--accent-strong); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 24px 0 64px;
}
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 24px; }
.card h2 { font-size: 18px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

.note { text-align: center; color: var(--text-dim); font-size: 15px; padding-bottom: 72px; max-width: 620px; margin: 0 auto; }

.doc { max-width: 760px; padding-top: 32px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 0 0 4px; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc .updated { color: var(--text-dim); margin: 0 0 24px; }
.doc li { margin-bottom: 6px; }

.site-footer { border-top: 1px solid var(--stroke); color: var(--text-dim); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
