@font-face {
  font-family: "NanoFullSong";
  src: url("../assets/NanoFullSong-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf8f5;
  --bg-deep: #f3efe8;
  --ink: #222222;
  --muted: #6f6a64;
  --hint: #aaa49e;
  --line: #e7e1da;
  --accent: #b03030;
  --accent-soft: rgba(176, 48, 48, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(34, 34, 34, 0.08);
  --font: "NanoFullSong", "Songti SC", "Noto Serif SC", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 80% -10%, #fff 0%, transparent 55%),
    radial-gradient(900px 500px at 0% 20%, #f6f0e8 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  backdrop-filter: blur(12px);
  background: rgba(250, 248, 245, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 248, 245, 0.92);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.logo-text {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.nav {
  display: none;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.35s var(--ease);
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.header-cta:hover {
  background: var(--ink);
  color: var(--white);
}

@media (min-width: 800px) {
  .nav {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: end;
  gap: 32px;
  padding: clamp(32px, 6vh, 72px) clamp(16px, 4vw, 48px) 0;
  overflow: hidden;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-bottom: 80px;
  }
}

.brand-hero {
  margin: 0 0 18px;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.hero-title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  max-width: 12em;
}

.hero-sub {
  margin: 18px 0 0;
  max-width: 28em;
  color: var(--muted);
  font-size: 15px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #000;
}

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

.btn-ghost:hover {
  border-color: var(--ink);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}

.hero-image {
  width: 100%;
  border-radius: 0;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  opacity: 0.92;
}

.orb {
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  animation: float 6s var(--ease) infinite;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 34, 34, 0.18);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.65), var(--shadow);
  background: radial-gradient(circle at 35% 30%, #fff, #f2ebe3 70%);
}

.orb-core {
  position: relative;
  font-size: 42px;
  color: var(--ink);
}

.hero-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

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

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 10vh, 120px) clamp(16px, 4vw, 48px);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.section-head h2,
.start-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.25;
}

.section-sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 34em;
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-index {
  color: var(--hint);
  font-size: 13px;
  letter-spacing: 0.12em;
  padding-top: 6px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 400;
}

.feature p {
  margin: 0;
  color: var(--muted);
  max-width: 40em;
}

.quote-band {
  padding-block: clamp(72px, 12vh, 140px);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  text-align: center;
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 16em;
}

.quote-band p {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.45;
}

.quote-band cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  color: var(--hint);
  font-size: 13px;
  letter-spacing: 0.08em;
}

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

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
}

.step h3 {
  margin: 4px 0 8px;
  font-size: 20px;
  font-weight: 400;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.start-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(28px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.start-panel .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.waitlist {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.waitlist input {
  flex: 1 1 220px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  background: var(--white);
  outline: none;
}

.waitlist input:focus {
  border-color: var(--ink);
}

.form-note {
  margin: 14px 0 0;
  color: var(--accent);
  font-size: 14px;
}

.store-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.store-pill {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.6);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px clamp(16px, 4vw, 48px) 36px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
}

.footer-brand .logo-text {
  font-size: 20px;
}

.footer-brand p {
  margin: 6px 0 0;
  color: var(--hint);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.copyright {
  margin: 8px 0 0;
  color: var(--hint);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.copyright .icp {
  color: var(--hint);
}

.copyright .icp:hover {
  color: var(--muted);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .orb,
  .btn {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
