/* Moneta landing v0.5.1 — banknote paper, engraving green, a minted coin. */
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(/fonts/Manrope-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(/fonts/Manrope-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(/fonts/Manrope-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; src: url(/fonts/InstrumentSerif-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; src: url(/fonts/InstrumentSerif-400-italic.woff2) format('woff2'); }

:root {
  --paper: #f2f5ee; --paper-2: #e7eee6; --ink: #0f2a22; --ink-2: #3c5249; --engrave: #1e5a46;
  --mint: #0c9a6b; --mint-ink: #ffffff; --brass: #b8913a; --line: #cfddd4; --panel: #fbfcf9;
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  /* one content column for every section: centred, max 1280px, side gutter on small screens */
  --gutter: max(clamp(16px, 4vw, 56px), calc((100% - 1280px) / 2));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1f19; --paper-2: #10291f; --ink: #e8f0ea; --ink-2: #a9bcb2; --engrave: #7fc5a6;
    --mint: #19c48a; --mint-ink: #04170f; --brass: #d8b45e; --line: #23413a; --panel: #0f2620;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* type scale (1.25 ratio, display much larger) */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 0.98; max-width: 11ch; }
h2.section-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; max-width: 18ch; margin-bottom: 40px; }
h3 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; margin-bottom: 14px; }
p { margin: 0 0 14px; max-width: 62ch; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); margin-top: 26px; max-width: 54ch; }
.fine { font-size: 14px; color: var(--ink-2); }
strong { font-weight: 800; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font: 700 15px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn.big { height: 54px; padding: 0 26px; font-size: 16px; }
.btn.primary { background: var(--mint); color: var(--mint-ink); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink-2); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--mint); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--body); text-decoration: none; letter-spacing: -0.02em; }
.logo-coin { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3dc9b, var(--brass) 55%, #7a5b1c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), inset 0 0 0 5px rgba(0,0,0,.08); }
.nav nav { display: flex; gap: 22px; margin-left: 12px; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
@media (max-width: 860px) { .nav nav { display: none; } .nav-cta .ghost { display: none; } }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 24px; min-height: min(88vh, 860px); padding: clamp(32px, 6vw, 80px) var(--gutter) 40px; overflow: hidden; }
.guilloche { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .38; pointer-events: none; }
.guilloche path { fill: none; stroke: var(--engrave); stroke-width: .6; opacity: .22; }
.hero-copy { position: relative; z-index: 1; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 14px; }
.stores { font-size: 14px; color: var(--ink-2); }
.stores a { font-weight: 700; }
.hero-coin { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
#coin { width: 100%; height: 100%; display: block; }
.coin-caption { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 18px; box-shadow: 0 18px 40px -24px rgba(15, 42, 34, .45); }
.cap-num { font: 800 24px/1.1 var(--body); font-variant-numeric: tabular-nums; }
.cap-label { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; }
  .hero-coin { order: -1; max-width: 340px; margin-bottom: -8px; }
  h1 { max-width: 13ch; }
}

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust p { margin: 0; padding: 22px 24px 22px 0; font-size: 15px; color: var(--ink-2); max-width: none; }
.trust p + p { padding-left: 24px; border-left: 1px solid var(--line); }
.trust strong { color: var(--ink); display: block; font-size: 16px; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } .trust p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* feature spreads */
.spreads, .pricing, .reviews, .apps, .faq { padding: clamp(64px, 9vw, 120px) var(--gutter) 0; }
.spread { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding: 36px 0; }
.spread + .spread { border-top: 1px solid var(--line); }
.spread.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.spread.flip .device { order: 2; }
.device { margin: 0; justify-self: center; width: min(300px, 78vw); border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #1d2b27, #0b1210); box-shadow: 0 40px 80px -40px rgba(15, 42, 34, .6), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.device img { border-radius: 31px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.spread-copy p { color: var(--ink-2); font-size: 18px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 10px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg) scale(.8); }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 10px 24px; text-align: left; margin: 26px 0 30px; }
@media (max-width: 860px) {
  .spread, .spread.flip { grid-template-columns: 1fr; }
  .spread.flip .device { order: 0; }
  .ticks.two { grid-template-columns: 1fr; }
}

/* pricing */
.pricing { text-align: center; }
.pricing .section-title { margin-left: auto; margin-right: auto; }
.price-note { position: relative; max-width: 560px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 34px clamp(20px, 5vw, 44px) 26px; }
.price-note::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: 18px; pointer-events: none; }
.interval { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); gap: 4px; position: relative; z-index: 1; }
.interval button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font: 700 14px/1 var(--body); color: var(--ink-2); cursor: pointer; }
.interval button[aria-pressed='true'] { background: var(--panel); color: var(--ink); box-shadow: 0 2px 8px rgba(15,42,34,.12); }
.price { font-family: var(--display); font-size: clamp(64px, 9vw, 92px); line-height: 1; margin: 26px auto 4px; max-width: none; }
#price-per { font-family: var(--body); font-size: 18px; color: var(--ink-2); }
.price-sub { color: var(--ink-2); margin: 0 auto; }
.price-note .btn { width: 100%; position: relative; z-index: 1; }
.price-note .fine { margin: 12px auto 0; }
.lifetime { margin: 22px auto 0; color: var(--ink-2); }

/* reviews */
.review-list { columns: 3 280px; column-gap: 20px; }
.review { break-inside: avoid; margin: 0 0 20px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.review .stars { color: var(--brass); letter-spacing: 2px; }
.review h4 { margin: 6px 0 6px; font-size: 17px; }
.review p { font-size: 15px; color: var(--ink-2); margin: 0 0 10px; }
.review cite { font-style: normal; font-size: 14px; font-weight: 700; }
.reviews-meta { color: var(--ink-2); margin-top: -24px; }

/* apps + waitlist */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.apps p { color: var(--ink-2); font-size: 18px; }
.store-line a { font-weight: 800; }
.waitlist { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.waitlist label { display: block; font-weight: 700; margin-bottom: 12px; }
.waitlist .row { display: flex; gap: 8px; }
.waitlist input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 0 18px; font: 500 16px var(--body); }
.waitlist .fine { margin: 10px 0 0; min-height: 1.4em; }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } .waitlist .row { flex-direction: column; } .waitlist .btn { width: 100%; } }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font: 400 30px/1 var(--display); color: var(--engrave); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }
.faq > .fine { margin-top: 24px; }

/* footer */
.foot { margin-top: clamp(80px, 10vw, 140px); padding: 48px var(--gutter) 110px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 40px; }
.foot p { color: var(--ink-2); font-size: 14px; margin-top: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; justify-content: flex-end; }
.foot nav a { font-weight: 600; font-size: 15px; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot > .fine { grid-column: 1 / -1; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } }

/* chat */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; height: 50px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: 700 15px var(--body); cursor: pointer; box-shadow: 0 14px 30px -12px rgba(15,42,34,.6); }
.chat-panel { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: 78px; z-index: 31; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 70px -30px rgba(15,42,34,.55); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head .x { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.bubble.user { align-self: flex-end; background: var(--mint); color: var(--mint-ink); border-bottom-right-radius: 6px; }
.bubble.bot { align-self: flex-start; background: var(--paper-2); border-bottom-left-radius: 6px; }
.ticket { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px dashed var(--line); border-radius: 14px; }
.ticket input { height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 0 12px; font: 500 15px var(--body); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 0 16px; font: 500 15px var(--body); }
