@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space_grotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #0d0f12;
  --bg-2: #10263a;
  --card: #141a1b;
  --text: #ececec;
  --dim: #9aa1ad;
  --line: #262b33;
  --accent: #7fd1b9;
  --deep: #2e7d67;
  --max: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(120% 70% at 85% 0%, var(--bg-2), var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font: 17px/1.6 "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.top, .foot, main, .doc {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}
.brand svg { width: 26px; height: 26px; display: block; }

nav a { color: var(--dim); text-decoration: none; }
nav a + a { margin-left: 20px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(24px, 6vw, 72px) 0;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lede { max-width: 36ch; color: var(--dim); font-size: 19px; margin: 24px 0 32px; }

.mark { margin: 0; justify-self: center; position: relative; }
.mark::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(closest-side, rgba(47, 143, 122, 0.5), transparent);
  z-index: -1;
}
.mark img {
  display: block;
  width: min(100%, 260px);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
}

.section-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 500;
}

.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0 0 56px;
  list-style: none;
}
.tools li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.tools h3 { font-size: 17px; margin: 0 0 4px; }
.tools h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--accent);
  vertical-align: middle;
}
.tools p { margin: 0; color: var(--dim); font-size: 15px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: 64px;
}

.grid article { padding: 28px 24px 8px 0; }
.grid article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.grid h2 { font-size: 18px; margin: 0 0 8px; }
.grid p { margin: 0; color: var(--dim); font-size: 15px; }

.foot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

.doc { max-width: 760px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin: 24px 0 8px; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc p, .doc li { color: #cfd3d9; }
.doc a { color: var(--accent); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.doc code { font-size: 0.9em; color: var(--accent); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .mark { order: -1; }
  .mark img { width: 160px; }
  .tools { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .tools { grid-template-columns: 1fr; }
  .foot { flex-direction: column; gap: 8px; }
  .doc table { font-size: 14px; }
}

@media (prefers-reduced-motion: no-preference) {
  .mark img { transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
  .mark img:hover { transform: translateY(-6px); }
}

.foot .links { display: inline-flex; gap: 20px; flex-wrap: wrap; }

.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta .play { display: inline-block; border-radius: 10px; line-height: 0; transition: transform 160ms ease, box-shadow 160ms ease; }
.cta .play img { width: 200px; height: auto; }
.cta .play:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8); }
.cta .play:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cta .free { color: var(--dim); font-size: 15px; }

.note { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; color: var(--dim); font-size: 15px; margin: 0 0 56px; background: var(--card); }
.note strong { color: var(--text); }
