/* Layout: the page is one receipt roll. Warm paper with grain, a printer at the top of the hero that prints the bill you can swipe, sections cut by perforation, the money log printed as a till receipt, green used only for money and PAID. One deliberate light look. */
:root {
  --paper: #efe7d8;
  --paper-2: #f7f2e8;
  --slip: #fbf8f1;
  --ink: #141414;
  --muted: #6d6556;
  --line: #d8ccb6;
  --green: #0e9f5b;
  --green-deep: #0a7a45;
  --green-soft: #d9efdf;
  --dark: #151515;
  --f-display: "Unbounded", "Arial Black", Arial, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 80; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .28  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>"); }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2.5px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* perforation between sections */
.perf { height: 2px; background: repeating-linear-gradient(90deg, #b9ab90 0 7px, transparent 7px 13px); margin-inline: max(18px, env(safe-area-inset-left, 0px)); }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(239, 231, 216, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 17px/1 var(--f-display); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.logo svg { display: block; flex: none; }
.logo-g { color: var(--green); }
.links { display: flex; gap: 26px; font-size: 15px; }
.links a { text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--ink); }
@media (max-width: 860px) { .links { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 16px/1 var(--f-body); padding: 16px 22px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.btn-green:hover { background: var(--green-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 15px; font-size: 14.5px; border-radius: 10px; }

/* ---------- hero ---------- */
.hero { padding-block: 30px 64px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 24px; align-items: center; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.scene-wrap { position: relative; height: clamp(440px, 46vw, 600px); min-width: 0; }
.scene-wrap canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.scene-wrap canvas.grabbing { cursor: grabbing; }
.scene-cap { position: absolute; right: 8px; bottom: 4px; font: 500 11.5px/1.3 var(--f-mono); color: var(--muted); }
.scene-wrap.noscene canvas, .scene-wrap.noscene .scene-cap { display: none; }
.scene-wrap.noscene { height: auto; }
.scene-fallback { display: none; }
.scene-wrap.noscene .scene-fallback { display: block; max-width: 380px; margin: 20px auto; transform: rotate(2deg); }
@media (max-width: 940px) { .scene-wrap { height: 420px; } }
@media (max-width: 560px) { .scene-wrap { height: 300px; } }

/* try section */
.try { padding-block: clamp(56px, 8vw, 96px); background: var(--paper-2); border-block: 1px solid var(--line); }
.try .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
@media (max-width: 900px) { .try .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.try-copy { display: grid; gap: 14px; max-width: 460px; }
.try-copy h2 { font: 800 clamp(1.8rem, 3.8vw, 2.9rem)/1.08 var(--f-display); letter-spacing: -0.02em; }
.try-copy p { color: #4a443a; font-size: 1.08rem; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { font: 800 clamp(2rem, 3.9vw, 3.5rem)/1.06 var(--f-display); letter-spacing: -0.02em; }
.hero h1 .pill { display: inline-block; white-space: nowrap; background: var(--green); color: #fff; padding: 0 .18em .06em; border-radius: .18em; box-shadow: inset 0 -.07em 0 rgba(0, 0, 0, .2); }
.hero .lead { font-size: clamp(1.06rem, 1.7vw, 1.2rem); max-width: 42ch; color: #3b362d; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.how-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 560px; border-top: 1.5px solid var(--ink); padding-top: 14px; }
.how-mini div { display: grid; gap: 2px; padding-right: 14px; min-width: 0; }
.how-mini b { font: 600 12.5px/1 var(--f-mono); color: var(--green-deep); }
.how-mini span { font-size: 14.5px; line-height: 1.35; }
@media (max-width: 480px) { .how-mini { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* printer + ticket */
.desk { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; width: 100%; max-width: 440px; justify-self: center; }
.printer { position: relative; z-index: 5; width: 100%; height: 30px; border-radius: 12px 12px 6px 6px; background: var(--dark); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; color: #a9a294; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; box-shadow: 0 6px 0 -2px #2a2a2a; }
.printer i { width: 7px; height: 7px; border-radius: 50%; background: #4be08f; box-shadow: 0 0 8px #4be08f; }
.deck { position: relative; width: calc(100% - 24px); height: 502px; margin-top: -10px; outline: none; }
.paper { position: absolute; inset: 0; filter: drop-shadow(0 18px 22px rgba(60, 44, 20, .18)) drop-shadow(0 2px 2px rgba(60, 44, 20, .08)); }
.paper.printing { animation: print 1.25s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-46px); } to { clip-path: inset(0 0 -40px 0); transform: none; } }
.ticket { --cut: 300px; position: absolute; left: 0; right: 0; top: 0; height: 488px; background: var(--slip); border-radius: 4px 4px 18px 18px;
  -webkit-mask: radial-gradient(circle 12px at 0 var(--cut), #0000 97%, #000) 0 0/51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--cut), #0000 97%, #000) 100% 0/51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 var(--cut), #0000 97%, #000) 0 0/51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--cut), #0000 97%, #000) 100% 0/51% 100% no-repeat;
  display: grid; grid-template-rows: var(--cut) 1fr; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
.ticket.top { cursor: grab; }
.ticket.dragging { transition: none; cursor: grabbing; }
.ticket.nudge { animation: nudge 1.4s ease-in-out .2s 1; }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(34px) rotate(3deg); } 60% { transform: translateX(-10px) rotate(-1deg); } }
.t-top { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 11px; min-height: 0; }
.t-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 11px/1 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.t-tag { border: 1px dashed #a89a80; border-radius: 5px; padding: 3px 6px; }
.t-name h3 { font: 600 22px/1.1 var(--f-display); letter-spacing: -0.015em; }
.t-name p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.t-story { font-size: 14.5px; line-height: 1.48; color: #34302a; }
.t-sum { margin-top: auto; display: grid; gap: 8px; }
.t-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.t-sum-row .big { font: 800 30px/1 var(--f-display); letter-spacing: -0.02em; }
.t-sum-row .of, .t-sum-row .pct { font: 500 12.5px/1 var(--f-mono); color: var(--muted); }
.t-bar { position: relative; height: 9px; border-radius: 99px; background: repeating-linear-gradient(90deg, #e6dccb 0 8px, #ddd1bc 8px 9px); overflow: hidden; }
.t-bar i { position: absolute; inset: 0 auto 0 0; background: var(--green); border-radius: inherit; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.t-bar s { position: absolute; inset: 0 auto 0 0; text-decoration: none; background: repeating-linear-gradient(135deg, rgba(14, 159, 91, .55) 0 5px, rgba(14, 159, 91, .22) 5px 10px); transition: width .3s, left .3s; }
.t-cred { font: 500 11.5px/1.35 var(--f-mono); color: var(--muted); }
.t-bottom { border-top: 2px dashed var(--line); margin-inline: 16px; padding: 14px 4px 16px; display: flex; flex-direction: column; gap: 11px; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.chip { font: 600 14px/1 var(--f-body); padding: 11px 4px; border-radius: 9px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-pay { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.t-pay .lbl { font: 500 11.5px/1.4 var(--f-mono); color: var(--muted); }
.t-pay .amt { font: 600 26px/1 var(--f-mono); letter-spacing: -0.03em; white-space: nowrap; }
.t-pay .amt small { font-size: 12.5px; color: var(--muted); }
.t-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.barcode { height: 24px; flex: 1; max-width: 160px; background: repeating-linear-gradient(90deg, #141414 0 2px, transparent 2px 4px, #141414 4px 5px, transparent 5px 8px, #141414 8px 11px, transparent 11px 12px, #141414 12px 13px, transparent 13px 17px, #141414 17px 18px, transparent 18px 20px); opacity: .8; }
.printed { font: 500 10.5px/1.35 var(--f-mono); color: var(--muted); text-align: right; }
.stamp { position: absolute; left: 50%; top: 128px; transform: translateX(-50%) rotate(-12deg); font: 800 50px/1 var(--f-display); letter-spacing: .05em; color: var(--green); border: 6px solid var(--green); border-radius: 12px; padding: 8px 18px 4px; pointer-events: none; opacity: 0; white-space: nowrap; filter: url(#ink); }
.stamp small { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .2em; text-align: center; padding: 4px 0 6px; }
.stamp.plus { font-size: 36px; }
.ticket.stamped .stamp { animation: stamp .4s cubic-bezier(.3, 1.7, .5, 1) forwards; }
@keyframes stamp { from { opacity: 0; transform: translateX(-50%) rotate(-3deg) scale(2.1); } to { opacity: .92; transform: translateX(-50%) rotate(-12deg) scale(1); } }
.deck.thud { animation: thud .32s ease-out; }
@keyframes thud { 25% { transform: translate(2px, 3px); } 50% { transform: translate(-2px, -1px); } 75% { transform: translate(1px, 1px); } }
.swipe-tag { position: absolute; top: 16px; z-index: 3; font: 800 13px/1 var(--f-display); padding: 7px 10px; border-radius: 7px; pointer-events: none; opacity: 0; }
.swipe-tag.yes { right: 16px; background: var(--green); color: #fff; opacity: var(--yes, 0); }
.swipe-tag.no { left: 16px; background: var(--ink); color: #fff; opacity: var(--no, 0); }
.desk-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; width: calc(100% - 24px); }
.vote-btn { width: calc(100% - 24px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--ink); background: transparent; cursor: pointer; color: var(--ink); font-family: var(--f-body); transition: background .15s; }
.vote-btn:hover:not(:disabled) { background: var(--slip); }
.vote-btn:disabled { opacity: .45; cursor: default; }
.vb-star { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #f0c86e; display: grid; place-items: center; font-size: 17px; }
.vb-txt { display: grid; gap: 2px; min-width: 0; }
.vb-txt b { font: 600 15px/1.25 var(--f-body); }
.vb-txt span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.vb-left { font: 600 12px/1 var(--f-mono); padding: 6px 8px; border-radius: 7px; background: var(--ink); color: #fff; white-space: nowrap; }
.t-votes { color: var(--ink); font-weight: 600; }
.vstamp { position: absolute; left: 50%; top: 150px; transform: translateX(-50%) rotate(8deg); font: 800 34px/1 var(--f-display); letter-spacing: .04em; color: #141414; border: 5px solid #141414; border-radius: 12px; padding: 8px 16px 4px; pointer-events: none; opacity: 0; white-space: nowrap; filter: url(#ink); background: rgba(240, 200, 110, .35); }
.vstamp small { display: block; font: 600 10.5px/1 var(--f-mono); letter-spacing: .16em; text-align: center; padding: 5px 0 6px; }
.vstamp.on { animation: vst 1.5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes vst { 0% { opacity: 0; transform: translateX(-50%) rotate(2deg) scale(1.9); } 22% { opacity: .95; transform: translateX(-50%) rotate(8deg) scale(1); } 75% { opacity: .95; } 100% { opacity: 0; transform: translateX(-50%) rotate(8deg) scale(1); } }
.desk-actions .btn { padding-block: 17px; }
.hint { display: flex; justify-content: space-between; width: calc(100% - 24px); font: 500 12px/1 var(--f-mono); color: var(--muted); }
.desk-note { font-size: 13px; color: var(--muted); text-align: center; max-width: 40ch; min-height: 2.8em; }
.empty { position: absolute; inset: 0 0 14px; border: 2px dashed #b9ab90; border-radius: 4px 4px 18px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center; }
.empty h3 { font: 600 22px/1.15 var(--f-display); }
.empty p { color: var(--muted); max-width: 26ch; }

/* ---------- sections ---------- */
section.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 720px; }
.sec-head h2 { font: 800 clamp(1.8rem, 3.8vw, 2.9rem)/1.08 var(--f-display); letter-spacing: -0.02em; }
.sec-head p { font-size: clamp(1rem, 1.6vw, 1.12rem); color: #4a443a; max-width: 54ch; }

/* steps: three slips */
.slips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
@media (max-width: 860px) { .slips { grid-template-columns: minmax(0, 1fr); } }
.slip { position: relative; background: var(--slip); padding: 24px 22px 34px; display: grid; gap: 12px; min-width: 0; filter: drop-shadow(0 10px 12px rgba(60, 44, 20, .14));
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat, linear-gradient(135deg, #000 50%, #0000 0) 0 100%/14px 9px repeat-x, linear-gradient(-135deg, #000 50%, #0000 0) 7px 100%/14px 9px repeat-x;
  mask: linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat, linear-gradient(135deg, #000 50%, #0000 0) 0 100%/14px 9px repeat-x, linear-gradient(-135deg, #000 50%, #0000 0) 7px 100%/14px 9px repeat-x; }
.slip:nth-child(2) { transform: rotate(.6deg); margin-top: 18px; }
.slip:nth-child(3) { transform: rotate(-.5deg); margin-top: 6px; }
.slip .s-head { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--f-mono); color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.slip svg { display: block; }
.slip h3 { font: 600 20px/1.2 var(--f-display); letter-spacing: -0.015em; }
.slip p { font-size: 15.5px; color: #463f35; }

/* big statement */
.statement { background: var(--dark); color: #f1ebdf; padding-block: clamp(70px, 11vw, 130px); }
.statement .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 56px; align-items: center; }
@media (max-width: 760px) { .statement .wrap { grid-template-columns: minmax(0, 1fr); } }
.statement .giant { font: 800 clamp(5.5rem, 18vw, 13rem)/.86 var(--f-display); letter-spacing: -0.04em; color: #4be08f; }
.statement h2 { font: 600 clamp(1.5rem, 3.2vw, 2.4rem)/1.18 var(--f-display); letter-spacing: -0.015em; }
.statement p { margin-top: 16px; color: #b9b1a2; font-size: 1.1rem; max-width: 44ch; }

/* money: till receipt + rules */
.money { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .money { grid-template-columns: minmax(0, 1fr); } }
.till { position: relative; background: var(--slip); padding: 26px 24px 30px; font: 500 13px/1.5 var(--f-mono); color: #2d2924; min-width: 0; filter: drop-shadow(0 14px 16px rgba(60, 44, 20, .16)); transform: rotate(-.8deg);
  -webkit-mask: linear-gradient(#000 0 0) center/100% calc(100% - 18px) no-repeat, linear-gradient(135deg, #000 50%, #0000 0) 0 100%/14px 9px repeat-x, linear-gradient(-135deg, #000 50%, #0000 0) 7px 100%/14px 9px repeat-x, linear-gradient(45deg, #000 50%, #0000 0) 0 0/14px 9px repeat-x, linear-gradient(-45deg, #000 50%, #0000 0) 7px 0/14px 9px repeat-x;
  mask: linear-gradient(#000 0 0) center/100% calc(100% - 18px) no-repeat, linear-gradient(135deg, #000 50%, #0000 0) 0 100%/14px 9px repeat-x, linear-gradient(-135deg, #000 50%, #0000 0) 7px 100%/14px 9px repeat-x, linear-gradient(45deg, #000 50%, #0000 0) 0 0/14px 9px repeat-x, linear-gradient(-45deg, #000 50%, #0000 0) 7px 0/14px 9px repeat-x; }
.till .tc { text-align: center; display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1.5px dashed #b9ab90; margin-bottom: 12px; }
.till .tc b { font: 800 15px/1.2 var(--f-display); letter-spacing: .02em; }
.till ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.till li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.till li .d { color: #8f8572; white-space: nowrap; }
.till li .l { overflow: hidden; white-space: nowrap; }
.till li .l::after { content: " ........................................................"; color: #b9ab90; }
.till li .v { text-align: right; white-space: nowrap; }
.till .tot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed #b9ab90; font-weight: 600; }
.till .tstamp { position: absolute; right: 22px; bottom: 26px; font: 800 30px/1 var(--f-display); color: var(--green); border: 4px solid var(--green); border-radius: 9px; padding: 6px 12px 3px; transform: rotate(-11deg); opacity: .9; filter: url(#ink); }
.till .note { margin-top: 18px; font-size: 11.5px; color: #8f8572; }
.ways { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.way { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
@media (max-width: 520px) { .way { grid-template-columns: minmax(0, 1fr); } }
.way .k { font: 600 12px/1.5 var(--f-mono); letter-spacing: .06em; }
.way.ok .k { color: var(--green-deep); }
.way.no .k { color: #b0361f; }
.way h3 { font: 600 18px/1.25 var(--f-display); letter-spacing: -0.01em; }
.way p { font-size: 15.5px; color: #4a443a; margin-top: 4px; }

/* token */
.token { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .token { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.token .sec-head { margin-bottom: 0; }
.facts { margin: 0; display: grid; border-top: 1.5px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts dt { color: #4a443a; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.phases { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.phase { font: 500 13px/1 var(--f-mono); padding: 9px 12px; border-radius: 8px; border: 1.5px solid var(--line); color: var(--muted); }
.phase.now { border-color: var(--ink); color: var(--ink); background: var(--slip); }
.phase.now::before { content: "● "; color: var(--green); }

/* faq */
.faq { display: grid; border-top: 1.5px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: 20px; font: 600 17px/1.3 var(--f-display); letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/1 var(--f-mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: #4a443a; max-width: 62ch; }

/* fund + voting */
.ways4 { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
@media (max-width: 960px) { .ways4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ways4 { grid-template-columns: minmax(0, 1fr); } }
.ways4 li { padding: 20px 22px 22px 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; border-bottom: 1px solid var(--line); }
.ways4 .w-n { font: 800 30px/1 var(--f-display); color: var(--green); }
.ways4 h3 { font: 600 18px/1.2 var(--f-display); letter-spacing: -0.01em; }
.ways4 p { font-size: 15px; color: #4a443a; }
.ways4 .w-tag { align-self: flex-start; margin-top: auto; font: 600 11.5px/1 var(--f-mono); padding: 5px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green-deep); }
.ways4 .w-tag.free { background: #ece3d2; color: #5d5240; }

.round { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .round { grid-template-columns: minmax(0, 1fr); } }
.fundcard { background: var(--dark); color: #efe8da; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fc-top { display: flex; justify-content: space-between; font: 600 12px/1 var(--f-mono); letter-spacing: .1em; color: #a69f90; }
.fc-top .demo { color: #f0c86e; border: 1px solid #f0c86e66; border-radius: 5px; padding: 3px 6px; }
.fc-bal { display: flex; align-items: baseline; gap: 10px; }
.fc-bal b { font: 800 clamp(2.6rem, 5vw, 3.4rem)/1 var(--f-display); letter-spacing: -0.03em; color: #4be08f; }
.fc-bal span { font: 600 15px/1 var(--f-mono); color: #a69f90; }
.fc-match { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: rgba(75, 224, 143, .12); border: 1px dashed rgba(75, 224, 143, .5); font-size: 13px; color: #cfc7b8; }
.fc-match b { font: 600 12px/1 var(--f-mono); letter-spacing: .08em; color: #4be08f; }
.fc-rows { margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.fc-rows div { display: flex; justify-content: space-between; gap: 12px; }
.fc-rows dt { color: #a69f90; }
.fc-rows dd { margin: 0; text-align: right; }
.fc-feed { display: grid; gap: 8px; }
.fc-feed-h { font: 600 11px/1 var(--f-mono); letter-spacing: .1em; color: #a69f90; }
.fc-feed ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 500 13px/1.3 var(--f-mono); }
.fc-feed li { display: flex; justify-content: space-between; gap: 10px; color: #cfc7b8; animation: feedin .5s ease-out; }
.fc-feed li b { color: #4be08f; font-weight: 600; }
.fc-feed li span:last-child { color: #7f786b; }
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } }
.fc-round { margin-top: auto; border-top: 1.5px dashed #4a4640; padding-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.fc-r1, .fc-r2, .fc-r3 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.fc-r1 > span:first-child { font: 600 12px/1 var(--f-mono); letter-spacing: .1em; color: #a69f90; }
.fc-r1 b { color: #fff; font-weight: 500; }
.fc-r2 b { font-size: 17px; color: #fff; }
.fc-r3 { color: #a69f90; font-size: 13px; }
.fc-r3 b { color: #efe8da; font-weight: 500; }
.fc-bar { height: 10px; border-radius: 99px; background: #2c2a27; overflow: hidden; }
.fc-bar i { display: block; height: 100%; width: 0; background: #4be08f; border-radius: inherit; transition: width .45s cubic-bezier(.2, .8, .2, 1); }

.vote { background: var(--slip); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.v-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.v-head h3 { font: 600 19px/1.2 var(--f-display); letter-spacing: -0.01em; }
.v-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.v-mine { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--f-mono); color: var(--muted); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--green); transition: background .2s, transform .2s; }
.dots i.used { background: #d8ccb6; transform: scale(.8); }
.v-reset { font: 500 12.5px/1 var(--f-mono); color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 4px; }
.v-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-item { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 12px 12px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .2s; }
.v-item.paid { border-color: rgba(14, 159, 91, .45); }
.v-rank { font: 700 14px/1 var(--f-mono); color: var(--muted); text-align: center; }
.v-main { min-width: 0; display: grid; gap: 6px; }
.v-name { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.v-name b { font: 600 15.5px/1.2 var(--f-display); }
.v-name span { font-size: 13.5px; color: var(--muted); }
.v-meter { display: flex; align-items: center; gap: 10px; }
.v-meter .vb { flex: 1; height: 6px; border-radius: 99px; background: #eee6d7; overflow: hidden; }
.v-meter .vb i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width .35s; }
.v-meter .vc { font: 500 12.5px/1 var(--f-mono); color: var(--muted); white-space: nowrap; min-width: 82px; text-align: right; }
.v-meter .vc b { color: var(--green-deep); }
.v-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.v-need { font: 500 12px/1.2 var(--f-mono); color: var(--muted); white-space: nowrap; }
.v-st { font: 600 11px/1 var(--f-mono); letter-spacing: .04em; padding: 4px 7px; border-radius: 6px; white-space: nowrap; }
.v-st.pay { background: var(--green-soft); color: var(--green-deep); }
.v-st.wait { background: #efe7d8; color: #7a6f5c; }
.v-plus { font: 600 13px/1 var(--f-body); padding: 8px 10px; border-radius: 9px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; white-space: nowrap; }
.v-plus:hover:not(:disabled) { background: var(--ink); color: #fff; }
.v-plus:disabled { opacity: .35; cursor: default; }
.v-sum { font-size: 14.5px; color: #3b362d; border-top: 1px dashed var(--line); padding-top: 12px; }
.v-sum b { font-weight: 600; }
@media (max-width: 560px) {
  .v-item { grid-template-columns: 22px minmax(0, 1fr); }
  .v-side { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 8px; min-width: 0; }
  .v-plus { margin-left: auto; }
  .vote { padding: 16px; }
  .v-item { padding: 12px 10px; }
}

.vrules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
@media (max-width: 960px) { .vrules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .vrules { grid-template-columns: minmax(0, 1fr); } }
.vrules h3 { font: 600 15px/1.25 var(--f-display); margin-bottom: 6px; }
.vrules p { font-size: 14.5px; color: #4a443a; }

/* grow */
.grow { background: var(--paper-2); border-block: 1px solid var(--line); }
.sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .sources { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sources { grid-template-columns: minmax(0, 1fr); } }
.src { background: var(--slip); border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.src-k { font-size: 26px; font-weight: 600; color: var(--green-deep); letter-spacing: -0.02em; }
.src h3 { font: 600 17px/1.2 var(--f-display); letter-spacing: -0.01em; }
.src p { font-size: 15px; color: #4a443a; }
.src.accent { background: var(--dark); border-color: var(--dark); color: #efe8da; }
.src.accent .src-k { color: #4be08f; }
.src.accent p { color: #bdb5a6; }
.spread { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
@media (max-width: 900px) { .spread { grid-template-columns: minmax(0, 1fr); } }
.sp { margin: 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.sp h3 { font: 600 17px/1.2 var(--f-display); margin-bottom: 4px; }
.sp p { font-size: 15px; color: #4a443a; }
.sp-vis { position: relative; height: 210px; border-radius: 18px; overflow: hidden; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.share-card { background: var(--slip); border: 1px solid var(--line); box-shadow: 0 14px 22px -18px rgba(60, 44, 20, .5); }
.sc-top { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.share-card b, .adopt-card b { font: 700 21px/1.15 var(--f-display); letter-spacing: -0.015em; margin-top: 8px; max-width: 14ch; }
.sc-sub { font-size: 13.5px; color: var(--muted); }
.sc-stamp { position: absolute; right: 18px; bottom: 22px; font: 800 34px/1 var(--f-display); letter-spacing: .06em; color: var(--green); border: 4px solid var(--green); border-radius: 10px; padding: 6px 12px 3px; transform: rotate(-11deg); filter: url(#ink); }
.post-card { background: #fff; border: 1px solid var(--line); }
.pc-head { display: flex; gap: 10px; align-items: center; font-size: 13.5px; line-height: 1.2; }
.pc-av { width: 34px; height: 34px; border-radius: 50%; background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='rotate(-12 35 32)'%3E%3Crect x='20' y='14' width='30' height='36' rx='6' fill='%230e9f5b'/%3E%3Cpath d='M27.5 24.8l4.6 4.6 8.6-9' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E") center/80% no-repeat; flex: none; }
.pc-h { color: var(--muted); }
.post-card p { font-size: 14px; line-height: 1.4; color: #222; }
.pc-blink { margin-top: auto; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.pc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pc-btns i { font: 600 13px/1 var(--f-body); font-style: normal; text-align: center; padding: 9px 4px; border-radius: 8px; background: var(--green); color: #fff; }
.adopt-card { background: var(--green); color: #fff; }
.adopt-card .sc-top { color: rgba(255, 255, 255, .75); }
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ad-chips i { font: 500 12px/1 var(--f-mono); font-style: normal; padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.ad-bar { margin-top: auto; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ad-bar i { display: block; width: 96%; height: 100%; background: #fff; border-radius: inherit; }
.grow-note { margin-top: 22px; font: 500 12px/1.4 var(--f-mono); color: var(--muted); }

/* trust fixes */
.example-strip { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #f6e7b8; color: #4a3a10; font-size: 14.5px; border: 1px solid #e3cd84; }
.example-strip b { font-weight: 600; }
.spread + .example-strip { margin: 28px 0 0; }
.try { overflow-x: clip; }
#round .fc-rows div { flex-direction: column; gap: 2px; }
#round .fc-rows dd { text-align: left; }
.fc-status { font-size: 13.5px; color: #cfc7b8; line-height: 1.45; padding: 10px 12px; border-radius: 12px; border: 1px dashed #4a4640; }
.fc-status b { color: #fff; }
.prelaunch { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.statement .wrap { display: block; }
.st-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 56px; align-items: center; }
.st-t { font: 600 clamp(1.4rem, 3vw, 2.2rem)/1.2 var(--f-display); letter-spacing: -0.015em; }
.statement .st-p { margin-top: 22px; }
@media (max-width: 760px) { .st-h { grid-template-columns: minmax(0, 1fr); } }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .status-grid { grid-template-columns: minmax(0, 1fr); } }
.st-col { background: var(--slip); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-width: 0; }
.st-col h3 { font: 600 18px/1.2 var(--f-display); margin-bottom: 12px; }
.st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.st-list li { display: flex; gap: 10px; align-items: flex-start; }
.st-list li::before { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--f-mono); margin-top: 1px; }
.st-list.ok li::before { content: "\2713"; background: var(--green-soft); color: var(--green-deep); }
.st-list.no li::before { content: "\2013"; background: #efe7d8; color: #7a6f5c; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
@media (max-width: 760px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } }
.legal-grid h3 { font: 600 18px/1.25 var(--f-display); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.legal-grid ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; color: #3b362d; }
.draft-tag { font: 600 11px/1 var(--f-mono); letter-spacing: .08em; padding: 4px 7px; border-radius: 6px; background: #f6e7b8; color: #4a3a10; }
footer .flinks a { color: var(--ink); }

/* final */
.final { padding-block: clamp(70px, 10vw, 120px); text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final .bigstamp { font: 800 clamp(64px, 14vw, 140px)/1 var(--f-display); letter-spacing: .05em; color: var(--green); border: clamp(6px, 1.2vw, 11px) solid var(--green); border-radius: 22px; padding: .08em .22em 0; transform: rotate(-8deg); filter: url(#ink); opacity: .9; margin-bottom: 10px; }
.final h2 { font: 800 clamp(1.8rem, 4.2vw, 3.1rem)/1.08 var(--f-display); letter-spacing: -0.02em; max-width: 18ch; }
.final p { color: #4a443a; max-width: 46ch; }

footer { padding-block: 34px 52px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px 48px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: minmax(0, 1fr); } }
footer .slogan { font: 800 15px/1.3 var(--f-display); color: var(--ink); }
footer .fl { display: grid; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .paper.printing, .ticket.nudge, .deck.thud { animation: none; }
  .ticket, .t-bar i { transition: none; }
  .ticket.stamped .stamp { animation: none; opacity: .92; }
  .vstamp.on { animation: none; }
}

/* ---------- pilot waitlist ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.join-back { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; background: rgba(21, 21, 21, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); overflow-y: auto; }
.join-back[hidden] { display: none; }
.join-card { position: relative; width: min(100%, 480px); background: var(--slip); border: 1px solid #e3d9c5; border-radius: 16px; padding: 32px 26px 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .38); margin: auto; }
.join-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 16px 16px 0 0; background: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 20px); opacity: .9; }
.join-kicker { font: 600 11px/1.2 var(--f-mono); letter-spacing: .14em; color: var(--green-deep); }
.join-card h3 { font: 800 clamp(1.35rem, 3.2vw, 1.75rem)/1.1 var(--f-display); letter-spacing: -0.02em; margin: 14px 0 10px; }
.join-card > p { color: #4a443a; font-size: 15.5px; }
.join-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; font: 400 24px/1 var(--f-body); color: var(--muted); cursor: pointer; }
.join-x:hover { background: rgba(0, 0, 0, .06); color: var(--ink); }
.join-form { display: grid; gap: 10px; margin-top: 20px; }
.join-form input[type="text"] { width: 100%; min-width: 0; font: 500 16px/1.2 var(--f-body); padding: 15px 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); }
.join-form input[type="text"]::placeholder { color: #9a917f; }
.join-form input[type="text"]:focus { outline: 2.5px solid var(--green); outline-offset: 1px; }
.join-form .btn { width: 100%; }
.join-form .hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px !important; padding: 0; border: 0; opacity: 0; }
.join-msg { font: 500 14px/1.45 var(--f-body); color: #a3271c; margin-top: 10px; }
.join-msg:empty { display: none; }
.join-msg.ok { color: var(--green-deep); }
.join-fine { font: 500 12px/1.5 var(--f-mono); color: var(--muted); margin-top: 14px; }
.join-done { display: none; text-align: center; padding: 6px 0 2px; }
.join-card.done .join-done { display: block; }
.join-card.done .join-form, .join-card.done .join-msg { display: none; }
.stamp2 { display: inline-block; font: 800 clamp(26px, 7vw, 38px)/1 var(--f-display); letter-spacing: .06em; color: var(--green); border: 4px solid var(--green); border-radius: 10px; padding: .14em .3em .08em; transform: rotate(-4deg); }
.join-pos { font: 500 14px/1.45 var(--f-body); color: #3b362d; margin-top: 14px; }

.final .join-form { display: flex; flex-direction: row; gap: 10px; width: 100%; max-width: 540px; margin-top: 4px; }
.final .join-form input[type="text"] { flex: 1 1 240px; }
.final .join-form .btn { width: auto; flex: 0 0 auto; }
@media (max-width: 600px) { .final .join-form { flex-direction: column; } .final .join-form .btn { width: 100%; } }
.final .join-done { display: none; flex-direction: column; align-items: center; gap: 8px; }
.final.done .join-done { display: flex; }
.final.done .join-form, .final.done .join-note { display: none; }
.final .join-note { font: 500 12px/1.5 var(--f-mono); color: var(--muted); }
.proof { font: 600 13px/1.4 var(--f-mono); color: var(--green-deep); }

.join-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--dark); color: #f4efe4; box-shadow: 0 -8px 24px rgba(0, 0, 0, .2); transform: translateY(105%); transition: transform .25s ease; }
.join-bar.show { transform: none; }
.join-bar .jb-copy { display: grid; gap: 1px; min-width: 0; }
.join-bar b { font: 600 14px/1.25 var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.join-bar span { font: 500 11.5px/1.2 var(--f-mono); color: #a9a294; }
@media (max-width: 760px) { .join-bar { display: flex; } body { padding-bottom: 72px; } }
@media (prefers-reduced-motion: reduce) { .join-bar { transition: none; } }

/* ============ shared shell: nav, footer, inner pages ============ */
.links a.on { color: var(--ink); }
.links a.on::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--green); border-radius: 2px; }

.menu-btn { display: none; width: 42px; height: 42px; border: 1.5px solid var(--ink); border-radius: 10px; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn i { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
@media (max-width: 860px) { .menu-btn { display: inline-flex; } }

.mnav { position: fixed; left: 0; right: 0; top: calc(66px + env(safe-area-inset-top, 0px)); z-index: 39; display: none; padding: 6px 18px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(60, 44, 20, .12); }
.mnav.open { display: block; }
.mnav a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; }
.mnav a:last-of-type { border-bottom: 0; }
.mnav .btn { width: 100%; margin-top: 14px; }

.page-head { padding-block: clamp(44px, 6.4vw, 82px) clamp(24px, 3.6vw, 40px); }
.page-head .kick { display: inline-block; font: 600 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.page-head h1 { font: 800 clamp(1.95rem, 4.4vw, 3.2rem)/1.05 var(--f-display); letter-spacing: -0.02em; margin-top: 16px; max-width: 24ch; }
.page-head .lead { margin-top: 18px; max-width: 64ch; color: #3b362d; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.page-head .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cards > div { background: var(--paper-2); padding: 22px 22px 26px; }
.cards .num { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--green-deep); margin-bottom: 12px; }
.cards h3 { font: 600 17px/1.25 var(--f-display); margin: 0 0 8px; }
.cards p { font-size: 15px; color: #4a443a; }
.cards a { color: var(--ink); }

.prose { max-width: 76ch; }
.prose h2 { font: 700 1.3rem/1.2 var(--f-display); letter-spacing: -0.01em; margin: 36px 0 12px; }
.prose h3 { font: 600 1.03rem/1.35 var(--f-body); margin: 24px 0 8px; }
.prose p { color: #3b362d; margin-bottom: 12px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; color: #3b362d; }
.prose .meta { font: 500 12px/1.6 var(--f-mono); color: var(--muted); }
.prose a { color: var(--green-deep); }

.tl { list-style: none; margin: 10px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.tl > li { position: relative; padding-bottom: 30px; }
.tl > li:last-child { padding-bottom: 4px; }
.tl > li::before { content: ""; position: absolute; left: -37px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); }
.tl > li.done::before { background: var(--green); border-color: var(--green); }
.tl > li.now::before { border-color: var(--green); box-shadow: 0 0 0 4px rgba(14, 159, 91, .16); }
.tl .when { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl h3 { font: 600 19px/1.25 var(--f-display); margin: 8px 0 6px; }
.tl p { font-size: 15px; color: #4a443a; max-width: 60ch; }
.tl .tag { display: inline-block; margin-left: 8px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .08em; padding: 4px 6px; border-radius: 5px; background: var(--green-soft); color: var(--green-deep); vertical-align: 2px; }

.rows { margin: 0; border-top: 1.5px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: 12px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows dt { font: 600 11.5px/1.5 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rows dd { margin: 0; font-size: 15.5px; }
@media (max-width: 620px) { .rows > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.alloc { margin-top: 22px; display: grid; gap: 14px; }
.alloc-bar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: var(--line); }
.alloc-bar i { display: block; height: 100%; }
.alloc-key { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 13px/1.3 var(--f-mono); color: #3b362d; }
.alloc-key span { display: inline-flex; align-items: center; gap: 7px; }
.alloc-key b { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.pager { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-block: 28px 40px; }
.pager a { display: grid; gap: 5px; min-width: 230px; padding: 14px 18px; border: 1.5px solid var(--ink); border-radius: 12px; text-decoration: none; transition: background .15s, color .15s; }
.pager a span { font: 600 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pager a b { font: 600 16px/1.25 var(--f-body); }
.pager a:hover { background: var(--ink); color: #fff; }
.pager a:hover span { color: #c9c0ac; }
.pager .next { margin-left: auto; text-align: right; }

footer { padding-block: 40px 56px; font-size: 14px; color: var(--muted); }
footer .fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px 32px; }
@media (max-width: 820px) { footer .fgrid { grid-template-columns: 1fr 1fr; } }
footer h4 { font: 600 10.5px/1 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
footer ul a { text-decoration: none; color: var(--ink); }
footer ul a:hover { color: var(--green-deep); }
footer .fbrand { display: grid; gap: 10px; align-content: start; }
footer .slogan { font: 800 15px/1.35 var(--f-display); color: var(--ink); }
footer .legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; max-width: 80ch; font-size: 13px; }

.join-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; }
@media (max-width: 900px) { .join-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 40px; }
.two h3 { font: 600 18px/1.25 var(--f-display); margin-bottom: 8px; }
.two p { color: #4a443a; font-size: 15.5px; }

.sample-chip { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; padding: 4px 7px; border-radius: 5px; background: #ece3d0; color: #6d6556; }
.printer em { font-style: normal; color: #6fe3a5; letter-spacing: .14em; }

/* application form */
.join-form textarea { width: 100%; min-width: 0; min-height: 132px; resize: vertical; font: 500 15.5px/1.45 var(--f-body); padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); }
.join-form textarea::placeholder { color: #9a917f; }
.join-form textarea:focus { outline: 2.5px solid var(--green); outline-offset: 1px; }
.join-form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .join-form .frow { grid-template-columns: 1fr; } }
.join-form label.fl { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: -4px; }
.apply-card { background: var(--slip); border: 1px solid #e3d9c5; border-radius: 16px; padding: 28px 26px 24px; box-shadow: 0 18px 40px rgba(60, 44, 20, .1); }
.apply-card h3 { font: 700 1.25rem/1.2 var(--f-display); margin: 0 0 8px; }
.apply-card > p { color: #4a443a; font-size: 15px; }
.apply-msg { font: 500 14px/1.45 var(--f-body); color: #a3271c; margin-top: 10px; }
.apply-msg:empty { display: none; }
.apply-msg.ok { color: var(--green-deep); }
.apply-done { text-align: center; padding: 10px 0 4px; }
.apply-done .stamp2 { margin-bottom: 10px; }
.apply-ref { font: 600 16px/1.3 var(--f-mono); letter-spacing: .06em; }
.apply-note { font: 500 12px/1.55 var(--f-mono); color: var(--muted); margin-top: 14px; }

.logo-img { display: block; flex: none; border-radius: 50%; }

.join-form select { width: 100%; font: 500 15.5px/1.3 var(--f-body); padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.join-form select:focus { outline: 2.5px solid var(--green); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #4a443a; margin-top: 4px; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
