/* Moonstall marketing site. Moni kit tokens. */
:root {
  --paper: #F4F4F0;
  --ink: #191A18;
  --lime: #D6FF3F;
  --lilac: #BD75F3;
  --orange: #FFAD53;
  --pink: #F255BC;
  --mint: #A7F2CA;
  --blue: #95CAFF;
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #55574F;
  --card: #FFFFFF;
  --line: #D9D9D1;
  --focus: var(--ink);
  --radius: 22px;
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Comic Sans MS', cursive;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --fg: var(--paper);
    --muted: #B4B5AD;
    --card: #24251F;
    --line: #3A3B35;
    --focus: var(--lime);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 500 17px/1.6 var(--ui); overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h1, .display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.8rem, 9vw, 6.5rem); line-height: .95; }
h2 { font-size: clamp(1.7rem, 4.6vw, 3rem); }
h2.display { line-height: 1; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--lime); color: var(--ink); padding: 12px 16px; border-radius: 10px; z-index: 10; font-weight: 800; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; font: inherit; font-weight: 800; }
.btn-lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-ink { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn:hover { transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; min-height: 44px; }
.brand img { border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .96rem; }
.site-nav ul a:hover, .site-nav a[aria-current="page"] { background: var(--card); }
.site-nav ul a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--fg); }
.menu-btn { display: none; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--fg); background: transparent; color: var(--fg); font: inherit; font-weight: 800; align-items: center; gap: 8px; cursor: pointer; }
.menu-icon, .menu-icon::before { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before { content: ''; position: absolute; top: 6px; }
.menu-icon { transform: translateY(-3px); }
@media (max-width: 960px) {
  .js .menu-btn { display: inline-flex; }
  .site-nav { flex-direction: column; align-items: stretch; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); }
  .js .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  html:not(.js) .head-row { flex-wrap: wrap; padding-block: 8px; }
}

/* Sections */
section { padding-block: clamp(56px, 9vw, 112px); }
.band-ink { --fg: var(--paper); --bg: var(--ink); --card: #24251F; --line: #3A3B35; background: var(--ink); color: var(--paper); --muted: #B4B5AD; --focus: var(--lime); }
.band-lime { --fg: var(--ink); --bg: var(--lime); background: var(--lime); color: var(--ink); --muted: #3B3D33; --focus: var(--ink); }
.band-ink .btn { border-color: var(--paper); color: var(--paper); }
.band-ink .btn-lime { color: var(--ink); border-color: var(--lime); }
.eyebrow { display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.sticker { display: inline-block; font-family: var(--hand); font-weight: 600; font-size: 1.6rem; line-height: 1; background: var(--lime); color: var(--ink); padding: 6px 14px 8px; border-radius: 12px; transform: rotate(-4deg); }
.placeholder { background: repeating-linear-gradient(45deg, #FFF3C4, #FFF3C4 8px, #FFE89A 8px, #FFE89A 16px); color: var(--ink); padding: 1px 6px; border-radius: 6px; font-weight: 700; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 .sticker { font-size: clamp(1.4rem, 3vw, 2rem); vertical-align: middle; }
.phones { position: relative; display: flex; justify-content: center; gap: 16px; }
.phone-img { width: min(260px, 46%); border-radius: 34px; box-shadow: 0 24px 60px rgba(25, 26, 24, .18); }
.phones .phone-img:nth-child(2) { transform: translateY(40px) rotate(3deg); }
.phones .phone-img:first-child { transform: rotate(-3deg); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .phones { margin-top: 12px; } }

/* Grids and cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.c-lilac, .card.c-orange, .card.c-pink, .card.c-mint, .card.c-blue, .card.c-lime { color: var(--ink); border-color: transparent; --muted: #3B3D33; }
.c-lilac { background: var(--lilac); } .c-orange { background: var(--orange); } .c-pink { background: var(--pink); }
.c-mint { background: var(--mint); } .c-blue { background: var(--blue); } .c-lime { background: var(--lime); }
.card .tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .phone-img { margin-inline: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.section-head { max-width: 720px; margin-bottom: 36px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 2px solid currentColor; font-weight: 700; font-size: .92rem; }
.soon { display: inline-block; background: var(--ink); color: var(--lime); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .soon { background: var(--lime); color: var(--ink); } }
.card[class*="c-"] .soon { background: var(--ink); color: var(--lime); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 800; font-size: 1.08rem; padding-block: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* Prose (legal, guides) */
.prose h2 { font-family: var(--ui); text-transform: none; font-size: 1.4rem; font-weight: 800; margin-top: 2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.banner-draft { background: var(--orange); color: var(--ink); border-radius: 14px; padding: 14px 18px; font-weight: 800; margin-bottom: 28px; }
.page-head { padding-bottom: 24px; }
.page-head + section { padding-top: 24px; }

/* Store badges */
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 20px; border-radius: 14px; background: var(--ink); color: var(--paper); border: 2px solid var(--paper); text-decoration: none; }
@media (prefers-color-scheme: dark) { .store-badge { border-color: #55574F; } }
.store-badge svg { width: 26px; height: 26px; fill: currentColor; }
.store-badge small { display: block; font-size: .72rem; font-weight: 700; opacity: .85; }
.store-badge strong { display: block; font-size: 1.1rem; line-height: 1.1; }
.store-badge[aria-disabled="true"] { cursor: default; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: .95rem; }
.foot-top { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.foot-cols ul, .socials { list-style: none; margin: 0; padding: 0; }
.foot-cols a, .socials a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot-cols a:hover, .socials a:hover { text-decoration: underline; }
.socials { display: flex; gap: 16px; }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.foot-legal p { margin: 0 0 6px; }
.foot-legal a { display: inline-block; padding-block: 10px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, 1fr); } }

/* Contact form */
.form { display: grid; gap: 16px; }
.form label { font-weight: 800; display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: inherit; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--fg); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { border-color: var(--fg); }
.form-error { color: #B3261E; font-weight: 700; min-height: 1.6em; margin: 0; }
@media (prefers-color-scheme: dark) { .form-error { color: #FFB4AB; } }
.card-ghost { background: transparent; border-color: #3A3B35; color: inherit; }
.mt { margin-top: 24px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare caption { text-align: left; padding: 16px 20px 0; }
.compare th, .compare td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 800; }
.compare td:last-child, .compare thead th:last-child { background: color-mix(in srgb, var(--lime) 35%, transparent); font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.soon { margin-bottom: 12px; }
main a:not(.btn):not(.pill):not(.brand) { padding-block: 11px; }
