@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #f7f1e7;
  --bg-alt: #fffaf3;
  --ink: #111827;
  --muted: #5f6473;
  --line: rgba(17, 24, 39, 0.12);
  --panel: rgba(255, 252, 247, 0.86);
  --panel-strong: #ffffff;
  --navy: #0b1220;
  --teal: #1c8c82;
  --orange: #f27b45;
  --gold: #ffd07d;
  --shadow: 0 24px 80px rgba(11, 18, 32, 0.12);
  --shadow-soft: 0 12px 40px rgba(11, 18, 32, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 208, 125, 0.4),
      transparent 22%
    ),
    radial-gradient(
      circle at top right,
      rgba(28, 140, 130, 0.18),
      transparent 28%
    ),
    linear-gradient(180deg, #f8f1e6 0%, #eef6fb 48%, #fff8ee 100%);
}

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

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

.page-shell {
  width: min(100% - 32px, var(--page-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-footer,
.hero,
.highlights,
.surface,
.loops,
.release-strip,
.install {
  position: relative;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--navy), #1f3b55);
  color: #fff9f1;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.02rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--navy);
}

.hero,
.highlights,
.surface,
.loops,
.release-strip,
.install {
  margin-top: 28px;
  padding: 40px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.hero::after,
.surface::after,
.release-strip::after {
  content: "";
  position: absolute;
  inset: auto -12% -24% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 123, 69, 0.12),
    transparent 68%
  );
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 7vw, 5.4rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.55rem;
}

.lead,
.feature-card p,
.surface-panel p,
.mode-card p,
.release-copy p,
.install-card p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--navy), #17304a);
  color: #fff;
  box-shadow: 0 16px 30px rgba(11, 18, 32, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.hero-stats li,
.feature-card,
.surface-panel,
.mode-card,
.install-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.hero-art {
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(247, 244, 237, 0.82)
  );
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: calc(var(--radius-xl) - 6px);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-grid,
.mode-grid,
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 208, 125, 0.35);
  color: var(--navy);
  font-weight: 700;
}

.feature-card,
.surface-panel,
.mode-card,
.install-card {
  display: grid;
  gap: 14px;
}

.surface-layout,
.release-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 22px;
  align-items: center;
}

.surface-image,
.release-image {
  margin: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: calc(var(--radius-xl) - 8px);
}

.surface-panels {
  display: grid;
  gap: 16px;
}

.mode-card-embed {
  background: linear-gradient(
    180deg,
    rgba(255, 237, 213, 0.78),
    rgba(255, 255, 255, 0.82)
  );
}

.mode-card-ephemeral {
  background: linear-gradient(
    180deg,
    rgba(217, 243, 255, 0.78),
    rgba(255, 255, 255, 0.82)
  );
}

.mode-card-persistent {
  background: linear-gradient(
    180deg,
    rgba(220, 252, 231, 0.78),
    rgba(255, 255, 255, 0.82)
  );
}

.install-card pre {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  background: var(--navy);
  color: #f8fafc;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 4px 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero,
  .surface-layout,
  .release-strip {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .feature-grid,
  .mode-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, var(--page-width));
    padding-top: 16px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .hero,
  .highlights,
  .surface,
  .loops,
  .release-strip,
  .install {
    padding: 24px;
  }

  h1 {
    max-width: 100%;
  }
}
