/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 */
/* Hallmark · macrostructure: media-reel studio (after Aively) · custom theme from the picked logo: cream paper, ink, violet kit box */
/* MEMEKIT: one neo-grotesk on the logo's cream, black ink. The loud colour is carried by the memes and the art. */
@font-face { font-family: Switzer; src: url(/assets/fonts/switzer-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Switzer; src: url(/assets/fonts/switzer-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Switzer; src: url(/assets/fonts/switzer-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Anton; src: url(/assets/fonts/anton-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --paper: #f7eee0; --soft: #efe3cf; --line: #e2d5bf; --ink: #0b0b0c; --grey: #5e574c; --mute: #8c8374; --night: #070707;
  --yellow: #ffc608; --pink: #ff4fa3; --lime: #1fc379; --tangerine: #fd7c10; --violet: #8347ef; --cream: #f7eee0;
  --r-panel: 14px; --r-card: 12px; --side: clamp(16px, 2.3vw, 36px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: clamp(52px, 7.6vw, 148px);
  --h2: clamp(38px, 4.4vw, 84px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 Switzer, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 18px var(--side); background: rgba(247,238,224,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 22px; letter-spacing: -.04em; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand-word { line-height: 1; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { text-decoration: none; font-size: 15px; color: #2b2b2a; letter-spacing: -.01em; transition: color .2s; }
.links a:hover, .links a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.icons { display: flex; align-items: center; gap: 8px; }
.ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); transition: background .2s, border-color .2s; }
.ico:hover { background: var(--soft); border-color: #cfcfca; }
.ico svg { width: 17px; height: 17px; }
.ca { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; cursor: pointer; }
.ca.on { display: inline-flex; }
.ca b { font-weight: 500; }
.pill.buy { display: none; }
.pill.buy.on { display: inline-flex; }

/* ---------- buttons and badges ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--violet); background: var(--violet); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.pill:hover { background: #6731d2; border-color: #6731d2; }
.pill .arr { transition: transform .3s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }
.pill.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.pill.ghost:hover { background: var(--soft); }
.pill.light { background: #fff; color: var(--ink); border-color: #fff; }
.pill.light:hover { background: var(--cream); }
.pill.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.pill[disabled] { opacity: .45; cursor: not-allowed; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 5px 6px 5px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: #2b2b2a; text-decoration: none; background: #fff; }
.badge .dot { width: 17px; height: 17px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 4px #ffb21f; }
.badge .go { width: 20px; height: 20px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-size: 12px; }

/* ---------- type ---------- */
.display { font-size: var(--display); font-weight: 500; letter-spacing: -.055em; line-height: .95; margin: 0; }
.h2 { font-size: var(--h2); font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 0; }
.h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin: 0; }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--grey); line-height: 1.5; letter-spacing: -.01em; }
.grey { color: var(--grey); }
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.mask > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-in .mask > span, .mask.is-in > span { transform: none; }

/* ---------- reveal on scroll ---------- */
.rise { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #e9e9e6; padding: 64px var(--side) 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 120px; border-bottom: 1px solid #1d1d1c; }
.foot a { text-decoration: none; color: #d9d9d5; display: block; padding: 4px 0; font-size: 16px; }
.foot a:hover { color: #fff; }
.foot .brand { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 14px; color: #9a9a95; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; z-index: 90; transition: transform .45s var(--ease); pointer-events: none; }
.toast.on { transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .links { display: none; }
  .top { gap: 10px; }
  .icons { margin-left: auto; }
  .top .pill.open { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; padding-bottom: 64px; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .ca b { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .rise { opacity: 1; transform: none; }
  .mask > span { transform: none; }
}
