:root {
  --bg: #070b09;
  --bg-elevated: rgba(18, 32, 26, 0.72);
  --fg: #eef6f0;
  --muted: #8fa898;
  --accent: #3dcf8e;
  --accent-dim: rgba(61, 207, 142, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --glow: rgba(61, 207, 142, 0.35);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Sora", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(34, 92, 64, 0.55), transparent 60%),
    radial-gradient(700px 480px at 92% 8%, rgba(61, 207, 142, 0.12), transparent 55%),
    linear-gradient(180deg, #0c1612 0%, var(--bg) 45%, #050807 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: 0.55;
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-shell {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: rise 0.7s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 30%, #ffe566 0%, #3dcf8e 42%, #0d3b28 78%, transparent 82%);
  box-shadow: 0 0 22px var(--glow);
  animation: pulse 3.2s ease-in-out infinite;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 20px var(--glow);
}

.site-shell-wide {
  max-width: 860px;
}

.hero-home {
  text-align: center;
  padding: 12px 0 36px;
}

.hero-home .lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-home .cta-row {
  justify-content: center;
}

.hero-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 40px var(--glow);
  animation: rise 0.75s ease both, pulse 3.6s ease-in-out 0.8s infinite;
}

.hero-brand {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.hero-home h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.55rem);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.btn-store {
  gap: 10px;
}

.btn-store-icon {
  flex-shrink: 0;
}

.section {
  margin-top: 56px;
  padding-top: 8px;
  animation: rise 0.85s ease both;
}

.section h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
}

.section-lede {
  margin: 0 0 22px;
  max-width: 40rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: 4px;
  padding-left: 48px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(61, 207, 142, 0.25);
}

.steps strong {
  color: var(--fg);
  font-weight: 600;
}

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

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.feature-list h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--fg);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-cta {
  text-align: center;
  padding: 36px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(61, 207, 142, 0.1), rgba(18, 32, 26, 0.35));
}

.section-cta .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.section-cta .cta-row {
  justify-content: center;
  margin-top: 18px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
}

.faq summary {
  cursor: pointer;
  color: var(--fg);
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

@media (max-width: 700px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}

.hero {
  padding: 28px 0 12px;
  animation: rise 0.8s 0.08s ease both;
}

.hero h1,
.legal-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero p,
.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Legal intros should match body column width — not the marketing lede constraint. */
.legal .lede {
  max-width: none;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #062015;
  background: linear-gradient(180deg, #5be0a4, var(--accent));
  box-shadow: 0 10px 30px rgba(61, 207, 142, 0.25);
}

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

.panel {
  margin-top: 36px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-elevated);
  backdrop-filter: blur(12px);
  animation: rise 0.85s 0.14s ease both;
}

.panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

.legal {
  animation: rise 0.75s 0.05s ease both;
}

.legal h2 {
  margin: 34px 0 10px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.legal h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  color: var(--fg);
}

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

.legal ul {
  padding-left: 1.15em;
  margin: 8px 0 0;
}

.legal li + li {
  margin-top: 6px;
}

.legal strong {
  color: var(--fg);
  font-weight: 600;
}

.site-footer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  animation: rise 0.9s 0.18s ease both;
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.12); }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
