:root {
  --bg: #0c0d10;
  --bg-elev: #14161c;
  --ink: #f2f0ea;
  --muted: #9a9aa3;
  --line: rgba(242, 240, 234, 0.1);
  --amber: #ffd37a;
  --mint: #9ff0b7;
  --amber-dim: rgba(255, 211, 122, 0.16);
  --mint-dim: rgba(159, 240, 183, 0.12);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(255, 211, 122, 0.14), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(159, 240, 183, 0.08), transparent 50%),
    linear-gradient(180deg, #101218 0%, var(--bg) 40%, #0a0b0e 100%);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
}

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

a {
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--mint);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--pad);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo img {
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-cta {
  color: var(--bg) !important;
  background: var(--amber);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--mint);
  color: var(--bg) !important;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad) 2rem;
  animation: rise 0.9s ease both;
}

.hero.product-hero {
  display: grid;
  gap: 2rem;
  padding-bottom: 0;
}

.hero.home-hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .hero.product-hero {
    grid-template-columns: 1fr 1.15fr;
    align-items: end;
  }

  .hero.home-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 3rem;
  }
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  background: linear-gradient(110deg, var(--ink) 20%, var(--amber) 55%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lede {
  margin: 1rem 0 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.platform-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.2;
}

.platform-bar li {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--muted);
}

.platform-bar .platform-glyph {
  width: 13px;
  height: 13px;
  opacity: 0.85;
}

.platform-bar .platform-name {
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.platform-glyph {
  display: block;
  flex-shrink: 0;
  fill: currentColor;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn.primary {
  background: var(--amber);
  color: #1a1408;
}

.btn.primary:hover {
  background: #ffe2a3;
  color: #1a1408;
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn.ghost:hover {
  color: var(--ink);
  border-color: rgba(242, 240, 234, 0.28);
}

.btn.slim {
  padding: 0.7rem 1rem;
}

.btn.store {
  min-width: 200px;
}

.btn.soon {
  cursor: not-allowed;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  opacity: 0.75;
}

.btn.soon:hover {
  transform: none;
  color: var(--muted);
}

.store-label {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.75;
}

.store-name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hero-visual {
  position: relative;
  animation: rise 1.1s 0.12s ease both;
}

.hero-shot {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.hero-art {
  width: min(100%, 520px);
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.home-hero-visual {
  justify-self: stretch;
}

.hero-kit {
  position: relative;
  min-height: 280px;
}

.hero-kit-main {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: rotate(-1.25deg);
}

.hero-kit-accent {
  position: absolute;
  z-index: 2;
  right: -6%;
  bottom: -12%;
  width: min(58%, 320px);
  border-radius: 14px;
  border: 1px solid rgba(242, 240, 234, 0.16);
  background: var(--bg-elev);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(3.5deg);
  animation: kit-float 5.5s ease-in-out infinite;
}

.hero-kit-marks {
  position: absolute;
  z-index: 3;
  left: 4%;
  bottom: -6%;
  display: flex;
  gap: 0.55rem;
  animation: kit-float-level 6.5s 0.6s ease-in-out infinite;
}

.hero-kit-marks img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(242, 240, 234, 0.14);
  background: var(--bg-elev);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

@keyframes kit-float {
  0%,
  100% {
    transform: rotate(3.5deg) translateY(0);
  }
  50% {
    transform: rotate(3.5deg) translateY(-8px);
  }
}

@keyframes kit-float-level {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 899px) {
  .hero-kit {
    max-width: 520px;
    margin-inline: auto;
  }

  .hero-kit-accent {
    width: min(38%, 160px);
    bottom: -8%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kit-accent,
  .hero-kit-marks {
    animation: none;
  }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--pad);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.in {
  opacity: 1;
  transform: none;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.product-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.product-card:hover {
  border-color: rgba(242, 240, 234, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  color: inherit;
}

.product-card img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.product-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.product-card .card-cta {
  margin-top: 0.75rem;
  color: var(--amber);
  font-weight: 600;
  font-size: 0.95rem;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.platform-tag .platform-glyph {
  width: 12px;
  height: 12px;
  opacity: 0.85;
}

.product-card:hover .card-cta {
  color: var(--mint);
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.values li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.values strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.values span {
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.feature-list li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.feature-list span {
  color: var(--muted);
}

.feature-figure {
  margin: 3rem 0 0;
}

.feature-figure img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.feature-figure figcaption {
  padding: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.shot figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.steps strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.community-band,
.privacy-band {
  max-width: none;
  width: 100%;
  background:
    linear-gradient(90deg, var(--mint-dim), transparent 40%),
    linear-gradient(270deg, var(--amber-dim), transparent 35%),
    var(--bg-elev);
  border-block: 1px solid var(--line);
}

.community-band .section-head,
.community-band .community-actions,
.privacy-band .section-head,
.privacy-band .privacy-copy {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.privacy-copy {
  margin: 0;
  max-width: 40rem !important;
  color: var(--muted);
}

.download-panel {
  display: grid;
  gap: 1rem;
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.download-btn {
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  min-width: 180px;
  padding: 0.7rem 1.15rem 0.7rem 0.85rem;
}

.download-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.05rem;
  line-height: 1.2;
}

.download-btn .platform-glyph-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex-shrink: 0;
  color: inherit;
}

.download-btn .platform-glyph {
  width: 42px;
  height: 42px;
  opacity: 0.95;
}

.btn.primary.download-btn .platform-glyph-wrap {
  background: transparent;
  border: 0;
  color: inherit;
}

.fineprint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.footer-brand img {
  border-radius: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-page {
  max-width: 740px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad) 4.5rem;
  animation: rise 0.75s ease both;
}

.legal-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-meta {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-lede {
  margin: 1.5rem 0 0;
  color: var(--ink) !important;
  font-size: 1.08rem;
  line-height: 1.6;
}

.legal-toc {
  margin: 2rem 0 0.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.legal-toc > p {
  margin: 0 0 0.65rem;
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.legal-toc a {
  color: var(--muted);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--amber);
}

.legal-page h2 {
  margin: 2.75rem 0 0.85rem;
  scroll-margin-top: 5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.legal-page h2:first-of-type {
  margin-top: 2.25rem;
}

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

.legal-page p {
  margin: 0 0 1rem;
}

.legal-page ul {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.legal-page li {
  margin-bottom: 0.45rem;
}

.legal-page li strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-page a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.stub-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

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

@media (max-width: 800px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .hero-visual,
  .section {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
