:root {
  color-scheme: dark;
  --bg: #0a0500;
  --panel: #15100b;
  --text: #fff7ed;
  --muted: #cfc2b4;
  --soft: #96887a;
  --accent: #f59e0b;
  --accent-strong: #ffb84d;
  --line: rgba(245, 158, 11, 0.24);
  --content: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 5, 0, 0.92);
}

.nav {
  width: min(var(--content), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-strong);
}

.hero {
  min-height: 76svh;
  display: flex;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(10, 5, 0, 0.1), var(--bg)),
    radial-gradient(circle at 78% 22%, rgba(245, 158, 11, 0.2), transparent 28%),
    #0a0500;
}

.hero-inner,
.section-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 92px 0 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #140900;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

section {
  padding: 76px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.card p,
.page-copy p,
.page-copy li {
  color: var(--muted);
}

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

.card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 22px;
}

.app-feature {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.app-feature img {
  border-radius: 22px;
}

.page-main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 84px;
}

.page-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.page-copy h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.page-copy h2 {
  margin-top: 32px;
  color: var(--accent-strong);
}

.updated {
  color: var(--soft);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--soft);
}

.footer-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

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

@media (max-width: 760px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

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

  .app-feature img {
    width: 132px;
  }
}
