:root {
  --bg: #f4f4f0;
  --bg-card: #ffffff;
  --ink: #000000;
  --muted: #6b6b6b;
  --line: #e6e6e1;
  --pink: #ff90e8;
  --ok: #23a56a;
  --danger: #c0392b;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "DM Sans", system-ui, sans-serif;
  --radius: 16px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-transform: lowercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
}

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

nav a:not(.btn):hover { opacity: 0.65; }

.nav-user {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.badge-pro,
.badge-free {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.badge-pro {
  background: var(--ink);
  color: #fff;
}

.badge-free {
  background: #ecece8;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 3px 3px 0 #ff90e8;
}

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

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

.btn-ghost:hover {
  background: #fff;
}

.btn-lg {
  padding: 0.9rem 1.35rem;
  font-size: 1.02rem;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
  text-align: center;
}

.hero-copy {
  max-width: 42rem;
  margin: 0 auto 2.25rem;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.lede {
  margin: 1.15rem auto 1.6rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-shot {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--pink);
  background: #111;
}

.coin {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 3px 3px 0 var(--ink);
  pointer-events: none;
}

.coin-a { left: -1.2rem; top: 12%; transform: rotate(-12deg); }
.coin-b { right: -0.8rem; top: 28%; transform: rotate(10deg); width: 44px; height: 44px; font-size: 0.95rem; }
.coin-c { left: 8%; bottom: -1rem; transform: rotate(8deg); width: 40px; height: 40px; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  text-align: center;
}

.section-lede {
  margin: 0 auto 2rem;
  max-width: 38rem;
  color: var(--muted);
  text-align: center;
  font-size: 1.05rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.features article {
  padding: 1.4rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 4px 4px 0 #00000012;
}

.features h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

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

.section-buy { padding-top: 1rem; }

.buy-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 6px 6px 0 var(--pink);
}

.buy-card h2 {
  text-align: left;
  font-size: 2rem;
}

.buy-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.buy-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.25rem;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: var(--bg);
}

.price {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-note,
.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ok { margin: 0; color: var(--ok); font-weight: 700; }

.download-box {
  margin: 0 auto;
  max-width: 34rem;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 5px 5px 0 #000;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page h1 {
  margin: 0 0 1rem;
  font-size: 2.8rem;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--danger);
  background: #ffe8e4;
  color: var(--danger);
  margin: 0 auto 1rem;
  max-width: var(--max);
}

.alert-ok {
  border-color: var(--ok);
  background: #e8f8ef;
  color: #146c43;
}

@media (max-width: 900px) {
  .features,
  .buy-card {
    grid-template-columns: 1fr;
  }
  .coin { display: none; }
  nav a:not(.btn):nth-child(-n+2) { display: none; }
}
