:root {
  --bg: #071014;
  --bg-elev: #0e171c;
  --ink: #e8f0f2;
  --muted: #84949a;
  --line: rgba(232, 240, 242, 0.09);
  --accent: #3ecfbe;
  --accent-2: #f0b429;
  --accent-soft: rgba(62, 207, 190, 0.14);
  --accent-ink: #041014;
  --glow: rgba(62, 207, 190, 0.25);
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  background:
    radial-gradient(1000px 480px at 85% -5%, rgba(62, 207, 190, 0.18), transparent 52%),
    radial-gradient(800px 420px at 5% 15%, rgba(240, 180, 41, 0.1), transparent 48%),
    radial-gradient(600px 360px at 40% 110%, rgba(62, 207, 190, 0.07), transparent 50%),
    linear-gradient(180deg, #0b1518 0%, var(--bg) 40%, #050a0c 100%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

.brand {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.brand .mark { color: var(--accent); }
.brand .sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 32px var(--glow);
}

.btn-primary:hover { opacity: 0.93; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: rgba(232, 240, 242, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  align-content: center;
  padding: 3.5rem 0 4.5rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 18%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border-radius: 40% 60% 55% 45%;
  background:
    radial-gradient(circle at 35% 35%, rgba(62, 207, 190, 0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(240, 180, 41, 0.18), transparent 50%);
  filter: blur(8px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(-18px, 24px) rotate(8deg); }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0 0 0.35rem;
  position: relative;
  animation: rise 0.8s ease both;
}

.hero-brand .mark { color: var(--accent); }

.hero-nano {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 1.4rem;
  font-weight: 600;
  position: relative;
  animation: rise 0.8s ease 0.05s both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  letter-spacing: -0.03em;
  max-width: 20ch;
  position: relative;
  animation: rise 0.8s ease 0.1s both;
}

.hero p {
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
  position: relative;
  animation: rise 0.8s ease 0.18s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  animation: rise 0.8s ease 0.26s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.section-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-weight: 650;
}

.section h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
  font-weight: 750;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 48ch;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-grid li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.product-grid li:hover strong {
  color: var(--accent);
}

.product-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.product-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.product-links {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.product-links a:hover {
  border-color: rgba(62, 207, 190, 0.45);
  background: var(--accent-soft);
}

.product-links .name {
  font-weight: 650;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.product-links .meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.download-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.6rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(62, 207, 190, 0.12), transparent 55%),
    var(--bg-elev);
}

.download-box h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.download-box p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
}

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

.privacy-body {
  padding: 2.5rem 0 4rem;
  max-width: 680px;
}

.privacy-body h1 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.privacy-body .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.privacy-body h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.8rem 0 0.6rem;
  letter-spacing: -0.02em;
}

.privacy-body p,
.privacy-body li {
  color: var(--muted);
}

.privacy-body ul {
  padding-left: 1.2rem;
}

@media (max-width: 720px) {
  .product-links a {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav { gap: 0.85rem; font-size: 0.85rem; }
  .brand .sub { display: none; }
}
