:root {
  --ink: #11100e;
  --muted: #6f6a62;
  --paper: #fbfaf5;
  --paper-2: #f1efe7;
  --panel: rgba(255, 252, 244, 0.82);
  --line: rgba(17, 16, 14, 0.16);
  --olive: #4d5f36;
  --moss: #7e9366;
  --rose: #e9b6aa;
  --cream: #fff1ba;
  --coal: #1b1814;
  --shadow: 0 26px 80px rgba(31, 28, 22, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(233, 182, 170, 0.2), transparent 34%),
    linear-gradient(315deg, rgba(77, 95, 54, 0.16), transparent 38%),
    radial-gradient(rgba(17, 16, 14, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 18px 18px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 245, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 950;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  color: var(--paper);
  background: linear-gradient(135deg, var(--coal), var(--olive));
  box-shadow: 8px 8px 0 rgba(233, 182, 170, 0.45);
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.navlinks a {
  padding: 9px 10px;
  border-radius: var(--radius);
  color: rgba(17, 16, 14, 0.68);
  font-size: 0.9rem;
  font-weight: 850;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--ink);
  background: rgba(17, 16, 14, 0.07);
}

.download-link,
.button.primary {
  color: var(--paper);
  background: var(--coal);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  border-bottom: 1px solid var(--line);
}

#nestField {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.58;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.95), rgba(251, 250, 245, 0.62) 58%, rgba(251, 250, 245, 0.92)),
    linear-gradient(180deg, transparent, rgba(77, 95, 54, 0.1));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 950;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  font-weight: 950;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(120deg, var(--coal), var(--olive) 40%, #9b5d52 72%, var(--coal));
  background-clip: text;
  -webkit-background-clip: text;
}

.subtitle,
.lead {
  color: rgba(17, 16, 14, 0.72);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.subtitle {
  max-width: 760px;
  margin: 22px 0 0;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(31, 28, 22, 0.16);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.5);
}

.studio-panel {
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 241, 186, 0.5);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-body {
  padding: 20px;
}

.mock-phone {
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(77, 95, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 182, 170, 0.2) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 48px, 48px 100%, auto;
  padding: 18px;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  font-weight: 900;
}

.memory-card,
.audio-card,
.theme-card {
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 16px;
  margin-top: 14px;
  box-shadow: 8px 8px 0 rgba(77, 95, 54, 0.16);
}

.media-strip {
  height: 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--olive), var(--rose));
}

.controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.controls span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-title {
  max-width: 840px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  font-weight: 950;
}

.feature-grid,
.legal-grid,
.support-grid,
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.feature-card,
.legal-card,
.support-card,
.membership-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 42px rgba(31, 28, 22, 0.08);
}

.feature-card,
.support-card,
.membership-card,
.stat-card {
  padding: 22px;
}

.feature-number {
  color: var(--rose);
  font-weight: 950;
  letter-spacing: 0.12em;
}

.feature-card h3,
.support-card h3,
.membership-card h3 {
  margin-top: 10px;
  font-size: 1.25rem;
}

.feature-card p,
.support-card p,
.membership-card p {
  color: var(--muted);
}

.showcase {
  border-block: 1px solid var(--line);
  background: rgba(255, 241, 186, 0.22);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.workflow article {
  min-height: 170px;
  padding: 22px;
  border: 2px solid var(--coal);
  border-radius: var(--radius);
  background: var(--paper);
}

.workflow strong {
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 241, 186, 0.34), rgba(233, 182, 170, 0.14));
}

.page-hero .section {
  padding: 76px 0;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 7vw, 6.2rem);
}

.legal-wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 86px;
}

.legal-card {
  padding: 34px;
}

.legal-card h2 {
  margin-top: 30px;
  font-size: 1.45rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.callout {
  margin: 24px 0;
  padding: 18px;
  border-left: 4px solid var(--olive);
  border-radius: var(--radius);
  background: rgba(255, 241, 186, 0.46);
  color: var(--ink);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--coal);
  color: rgba(251, 250, 245, 0.82);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-weight: 750;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .navlinks {
    justify-content: flex-start;
  }

  .hero-inner,
  .feature-grid,
  .workflow,
  .stats,
  .support-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 54px 0;
  }
}

@media (max-width: 560px) {
  .nav,
  .section,
  .legal-wrap,
  .hero-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .navlinks a {
    padding: 8px;
    font-size: 0.82rem;
  }

  .section {
    padding: 58px 0;
  }

  .actions .button {
    width: 100%;
  }

  .legal-card {
    padding: 22px;
  }

  .controls {
    grid-template-columns: repeat(2, 1fr);
  }
}
