/* Qruuk landing — same paper/ink system as the app (packages/ui). */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url('/fonts/bricolage-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url('/fonts/bricolage-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url('/fonts/bricolage-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url('/fonts/bricolage-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+A720-A7FF; }

:root {
  --paper: #F6F3EC; --card: #FFFDF8; --ink: #1D1C17; --muted: #6C675B;
  --line: #E3DDCF; --input: #D9D3C4; --wash: #ECE8DE;
  --green: #355e3b; --green-dark: #254529; --amber: #A16207; --amber-bg: #FAF3E3;
  --display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: 20px; color: var(--muted); max-width: 34ch; }

/* buttons — the app's pressable ink buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .08s ease; }
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--green); color: var(--card); box-shadow: 0 2px 0 var(--green-dark); }
.btn-ghost { border: 1px solid var(--input); background: var(--card); }
.btn-ghost:hover { background: var(--wash); }

/* header */
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; }
nav.site { display: flex; align-items: center; gap: 22px; font-size: 15px; }
nav.site a.link { text-decoration: none; color: var(--muted); }
nav.site a.link:hover { color: var(--ink); }
nav.site .btn { height: 42px; padding: 0 16px; font-size: 15px; }
.lang { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-decoration: none; color: var(--muted); border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; }
@media (max-width: 760px) { nav.site a.link { display: none; } }

/* hero */
.hero { padding: 56px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 26px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 28px; } }

/* the ticket (same object as the app's customer card) */
.stage { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.stage::before { content: ''; position: absolute; inset: 8% 4%; background: var(--green); border-radius: 22px; transform: rotate(3deg); }
.ticket { position: relative; width: min(330px, 86vw); background: var(--card); border-radius: 16px; transform: rotate(-4deg); box-shadow: 0 22px 50px rgba(29,28,23,.28); }
.ticket .top { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.ticket .row { display: flex; justify-content: space-between; align-items: center; }
.ticket .name { font-family: var(--display); font-weight: 700; font-size: 20px; }
.badge { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .05em; color: var(--green); border: 2px solid var(--green); border-radius: 5px; padding: 2px 8px; transform: rotate(6deg); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--input); display: flex; align-items: center; justify-content: center; }
.stamp.on { border: 0; background: var(--green); }
.stamp svg { width: 50%; height: 50%; }
.ticket .perf { position: relative; border-top: 2px dashed var(--line); }
.ticket .perf::before, .ticket .perf::after { content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.ticket .perf::before { left: -12px; } .ticket .perf::after { right: -12px; }
.ticket .bottom { padding: 16px 24px 20px; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.ticket .bottom .reward { color: var(--amber); letter-spacing: .02em; }
@media (prefers-reduced-motion: no-preference) {
  .stamp.fresh { animation: thunk 650ms cubic-bezier(.2,1.4,.4,1) both; animation-delay: .6s; }
  @keyframes thunk { 0% { transform: scale(2.2) rotate(-14deg); opacity: 0; } 55% { transform: scale(.9) rotate(-1deg); opacity: 1; } 100% { transform: scale(1) rotate(-3deg); } }
}

/* sections */
section { padding: 88px 0; }
section.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: 44px; }
.head p { color: var(--muted); font-size: 18px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--display); font-weight: 700; font-size: 15px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); display: flex; align-items: center; justify-content: center; transform: rotate(-6deg); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.who article { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.who p { color: var(--muted); font-size: 16px; }
.who .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }

.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger li { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 24px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.ledger strong { font-family: var(--display); font-size: 18px; }
.ledger span { color: var(--muted); font-size: 16px; }
@media (max-width: 700px) { .ledger li { grid-template-columns: 1fr; gap: 4px; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { background: var(--card); border: 2px solid var(--green); box-shadow: 0 12px 30px rgba(53,94,59,.12); }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--body); font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ''; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E"); }
.plan .btn { justify-content: center; }
.fine { margin-top: 20px; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.closing { text-align: center; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.closing p { color: var(--muted); font-size: 18px; max-width: 46ch; }

footer.site { padding: 36px 0 48px; border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; font-size: 14px; color: var(--muted); }
footer.site nav { display: flex; gap: 18px; }
footer.site a { text-decoration: none; } footer.site a:hover { color: var(--ink); }
@media (max-width: 520px) { nav.site .btn { display: none; } .hero .ctas .btn { width: 100%; justify-content: center; } }
