:root {
  --bg: #fbfcfe;
  --tile-bg: rgba(255, 255, 255, 0.78);
  --tile-bg-strong: rgba(255, 255, 255, 0.9);
  --text: #16213a;
  --text-muted: #435170;
  --text-faint: #6b7690;
  --amber: #e8a33d;
  --amber-dim: #c97f1f;
  --amber-glow: rgba(232, 163, 61, 0.16);
  --indigo: #8256e0;
  --line: rgba(22, 33, 58, 0.1);
  --line-strong: rgba(22, 33, 58, 0.18);
  --radius: 3px;
  --display: 'Big Shoulders Display', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: url("home-background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(251, 252, 254, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--text-faint);
}

nav a { transition: color 0.15s ease; }
nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 32px 64px;
  text-align: center;
  overflow: hidden;
}

.logo-mark {
  width: 112px;
  height: 112px;
  margin: 0 auto 8px;
  display: block;
  animation: sway 6s ease-in-out infinite;
  transform-origin: 50% 20%;
  filter: drop-shadow(0 8px 20px rgba(22, 33, 58, 0.18));
}

@keyframes sway {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-6px); }
}

.tether {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  margin: 0 auto;
  opacity: 0.6;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin: 20px 0 18px;
  text-shadow: 0 1px 3px rgba(251, 252, 254, 0.95), 0 1px 14px rgba(251, 252, 254, 0.7);
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto;
  text-shadow: 0 2px 24px rgba(251, 252, 254, 0.6);
}

h1 .accent { color: var(--amber-dim); }

.sub {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.65;
  text-shadow: 0 1px 3px rgba(251, 252, 254, 0.95), 0 1px 18px rgba(251, 252, 254, 0.8), 0 1px 18px rgba(251, 252, 254, 0.8);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--amber);
  color: #16213a;
  font-weight: 600;
}
.btn-primary:hover { background: var(--amber-dim); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--tile-bg-strong);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-dim); }

.platform-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  text-shadow: 0 1px 3px rgba(251, 252, 254, 0.95), 0 1px 12px rgba(251, 252, 254, 0.7);
}

/* ---------- Facts strip ---------- */

.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--tile-bg);
  backdrop-filter: blur(6px);
}

.facts-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.fact {
  flex: 1 1 220px;
  padding: 28px 32px;
  border-right: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-muted);
}
.fact:last-child { border-right: none; }
.fact strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 4px; font-weight: 600; }

/* ---------- Features ---------- */

.features {
  padding: 100px 32px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.section-head .eyebrow { margin-bottom: 12px; }

.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(251, 252, 254, 0.6);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card {
  background: var(--tile-bg-strong);
  backdrop-filter: blur(6px);
  padding: 32px 28px;
}

.feature-card svg {
  width: 22px;
  height: 22px;
  stroke: var(--amber-dim);
  fill: none;
  stroke-width: 1.6;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Download ---------- */

.download {
  padding: 90px 32px;
  text-align: center;
  background: var(--tile-bg);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.version-chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber-dim);
  border: 1px solid rgba(232, 163, 61, 0.4);
  background: var(--amber-glow);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.download h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 14px;
}

.download p { color: var(--text-muted); font-size: 15px; max-width: 460px; margin: 0 auto 32px; }

/* ---------- Support ---------- */

.support {
  padding: 90px 32px;
  text-align: center;
}

.support-inner {
  max-width: 520px;
  margin: 0 auto;
  background: var(--tile-bg-strong);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px 36px;
}

.support h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 16px;
}

.support p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 32px;
  background: var(--tile-bg);
  backdrop-filter: blur(6px);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--text-muted); }

@media (max-width: 640px) {
  .header-inner { padding: 16px 20px; }
  nav { gap: 20px; font-size: 13px; }
  .hero { padding: 64px 20px 48px; }
  .features, .download, .support { padding: 64px 20px; }
  .fact { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: none; }
  body { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark { animation: none; }
  html { scroll-behavior: auto; }
}
