:root {
  --bg: #0a0f11;
  --surface: #11181b;
  --surface-2: #172024;
  --line: rgba(255, 255, 255, .08);
  --text: #eef3f1;
  --muted: #8b9a9c;
  --brass: #ffd84a;
  --brass-deep: #f2b705;
  --ok: #5ee08a;
  --warn: #ff7a45;
  --radius: 20px;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
::selection { background: var(--brass); color: #111; }
code, pre, kbd { font-family: var(--mono); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 3vw, 40px);
  mix-blend-mode: normal;
  transition: background .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(10, 15, 17, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; font-size: 20px; }
.logo .mark { width: 34px; height: 25px; }
.logo .word { font: 500 22px/1 var(--sans); letter-spacing: -.05em; }
.logo .word b { font-weight: 800; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-horn { background: var(--brass); color: #121212; box-shadow: 0 0 0 0 rgba(255, 216, 74, .0); }
.btn-horn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -6px rgba(255, 216, 74, .55); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- hero (scroll-driven) ---------- */
.intro { position: relative; height: 140vh; }
.intro-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}
.frame {
  --p: 0;                                  /* 0..1 scroll progress, set by JS */
  position: absolute;
  inset: calc(var(--p) * 13vh) calc(var(--p) * 14vw) calc(var(--p) * 13vh) calc(var(--p) * 14vw);
  border-radius: calc(var(--p) * 28px + 0px);
  overflow: hidden;
  background: #070b0c;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, calc(var(--p) * .08));
  will-change: inset, border-radius;
}
.frame-bg { position: absolute; inset: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; mix-blend-mode: screen; }
.glow.a { width: 60vw; height: 60vw; left: -10vw; top: -20vw; background: radial-gradient(circle, #f2b705 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow.b { width: 50vw; height: 50vw; right: -12vw; bottom: -18vw; background: radial-gradient(circle, #ff5f2e 0%, transparent 65%); opacity: .35; animation: drift 22s ease-in-out infinite alternate-reverse; }
.glow.c { width: 40vw; height: 40vw; left: 35vw; top: 30vh; background: radial-gradient(circle, #2fd5a0 0%, transparent 65%); opacity: .18; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.12); } }

.grid-lines {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 55%, #000 10%, transparent 72%);
  transform: perspective(900px) rotateX(calc(28deg - var(--p) * 18deg)) translateY(calc(var(--p) * -40px));
  transform-origin: 50% 100%;
}
.envelopes { position: absolute; inset: 0; overflow: hidden; }
.envelopes span {
  position: absolute; left: var(--x); bottom: -40px;
  width: 26px; height: 18px; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 18' fill='none' stroke='%23ffd84a' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='1' y='1' width='24' height='16' rx='2.5'/%3E%3Cpath d='m1.8 2 11.2 8.5L24.2 2'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: fly var(--d) linear var(--delay) infinite;
}
@keyframes fly {
  0% { transform: translateY(0) rotate(-6deg); opacity: 0; }
  10% { opacity: .9; }
  80% { opacity: .5; }
  100% { transform: translateY(-115vh) rotate(8deg); opacity: 0; }
}
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .55) 100%); }

/* terminal inside frame */
.term {
  position: absolute; left: 50%; top: 50%;
  width: min(640px, 86%);
  transform: translate(-50%, calc(-50% + (1 - var(--t, 0)) * 60px)) scale(calc(.94 + var(--t, 0) * .06));
  opacity: var(--t, 0);
  background: rgba(10, 14, 16, .82);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 216, 74, .05);
  backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: 14px; line-height: 1.7;
  z-index: 2;
}
.term-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); align-items: center; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3236; display: block; }
.term-bar b { margin-left: 10px; font-weight: 400; color: var(--muted); font-size: 12px; }
.term-body { padding: 16px 18px 20px; min-height: 230px; white-space: pre-wrap; color: #cfd8d6; }
.term-body .u { color: var(--brass); }
.term-body .c { color: #7f8f92; }
.term-body .ok { color: var(--ok); }
.term-body .cur { display: inline-block; width: 8px; height: 16px; background: var(--brass); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* headlines */
.headlines { position: relative; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.hl {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 0 6vw;
}
.hl h1, .hl h2 {
  margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: .98;
  font-size: clamp(44px, 7.4vw, 124px);
}
.hl .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); transition: opacity .7s cubic-bezier(.2, .7, .1, 1), transform .7s cubic-bezier(.2, .7, .1, 1), filter .7s; }
.hl.on .w { opacity: 1; transform: none; filter: none; }
.hl .w:nth-child(2) { transition-delay: .06s; } .hl .w:nth-child(3) { transition-delay: .12s; }
.hl .w:nth-child(4) { transition-delay: .18s; } .hl .w:nth-child(5) { transition-delay: .24s; }
.hl .accent { color: var(--brass); }
.hl-sub {
  position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 3; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  transition: opacity .5s;
}
.hl-sub p { margin: 0; color: #c3cdcb; font-size: clamp(16px, 1.35vw, 20px); max-width: 620px; padding: 0 20px; }
.hl-sub .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; pointer-events: auto; }
.pill {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font: 500 13px/1 var(--mono); color: #dfe6e4; letter-spacing: .02em;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 12px var(--brass); }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; font: 12px var(--mono); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; transition: opacity .4s; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vh, 140px) clamp(20px, 6vw, 80px); max-width: 1240px; margin: 0 auto; }
.eyebrow { font: 600 16px var(--sans); color: var(--brass); margin: 0 0 14px; }
.h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; margin: 0 0 22px; }
.lead { color: #b7c2c0; font-size: clamp(17px, 1.4vw, 20px); max-width: 680px; margin: 0; }
.muted { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.code {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  font: 14px/1.75 var(--mono);
}
.code-tabs { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--line); }
.code-tabs button {
  background: none; border: 0; color: var(--muted); font: 13px var(--mono); padding: 7px 12px; border-radius: 8px; cursor: pointer;
}
.code-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; color: #cfd8d6; }
.code pre[hidden] { display: none; }
.k { color: #ff9d6e; } .s { color: var(--ok); } .cm { color: #6f7f82; } .v { color: var(--brass); }


.steps { counter-reset: s; display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; color: #c9d2d0; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 13px/27px var(--mono); color: var(--brass); }
.steps code, .lead code, .hl-sub code { background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 6px; font-size: .9em; color: #ffe9a3; }
.h2 code { font-size: .82em; font-weight: 500; color: var(--brass); letter-spacing: -.03em; }



.cta {
  position: relative; overflow: hidden; border-radius: 28px; text-align: center;
  padding: clamp(60px, 10vh, 110px) 24px; margin: 0 clamp(12px, 3vw, 40px) 40px;
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 216, 74, .35), transparent 60%), var(--surface);
  border: 1px solid var(--line);
}
.notify { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.notify input {
  width: min(360px, 90vw); padding: 14px 18px; border-radius: 999px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); color: var(--text);
  font: 16px var(--sans); outline: none; transition: border-color .2s;
}
.notify input:focus { border-color: var(--brass); }
.notify-msg { min-height: 24px; margin-top: 14px; font: 14px var(--mono); color: var(--muted); }
.notify-msg.ok { color: var(--ok); } .notify-msg.err { color: var(--warn); }

.faq > * { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 500; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--brass); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; }

footer { padding: 40px clamp(20px, 6vw, 80px) 60px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; max-width: 1240px; margin: 0 auto; }
footer a { text-decoration: none; } footer a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .1, 1), transform .8s cubic-bezier(.2, .7, .1, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- article (error pages) ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; padding: 130px 22px 60px; }
.article-wrap .crumbs { font: 13px var(--mono); color: var(--muted); margin-bottom: 26px; }
.article-wrap .crumbs a { text-decoration: none; } .article-wrap .crumbs a:hover { color: var(--brass); }
article h1 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.035em; line-height: 1.06; margin: 0 0 18px; }
article h1 code { color: var(--warn); font-size: .82em; }
article h2 { font-size: 27px; letter-spacing: -.02em; margin: 52px 0 12px; }
article h3 { font-size: 20px; margin: 30px 0 8px; }
article p, article li { color: #c9d2d0; }
article a { color: var(--brass); text-underline-offset: 3px; }
article :not(pre) > code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .88em; color: #ffd9a8; }
article pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.65; }
article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
article th, article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
article th { color: var(--muted); font-weight: 500; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
article blockquote { margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--brass); background: rgba(255, 216, 74, .05); border-radius: 0 10px 10px 0; }
article blockquote p { margin: 0; }
.md-link { font: 13px var(--mono); color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; }
  .frame { inset: calc(var(--p) * 10vh) calc(var(--p) * 4vw); }
  .term { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .glow, .grain, .envelopes span { animation: none; }
  .hl .w, .reveal { transition: none; }
}

/* headlines 2–3 sit above the terminal */
.hl.top { place-items: start center; padding-top: 19vh; }
.hl.top h2 { font-size: clamp(34px, 5vw, 82px); }
.term { top: 61%; }
@media (max-width: 900px) { .hl.top { padding-top: 16vh; } .term { top: 62%; } }

/* ---------- v2: photo hero + sales sections ---------- */
.photo { position: absolute; inset: -4%; background-size: cover; background-position: center; filter: saturate(.75) contrast(1.05); transform: scale(calc(1.08 - var(--p) * .08)); }
.photo-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7,11,12,.55) 0%, rgba(7,11,12,.72) 45%, rgba(7,11,12,.94) 100%),
  radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(7,11,12,.5) 70%); }
.hl.first { padding-bottom: 22vh; }
.hl.first h1 { font-size: clamp(42px, 6.6vw, 112px); }
.hl-sub { bottom: 11vh; }

.strip { max-width: 1240px; margin: 0 auto; padding: 70px clamp(20px, 6vw, 80px) 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 26px 24px; display: grid; gap: 6px; }
.stat b { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.04em; font-weight: 600; color: var(--brass); line-height: 1; }
.stat span { color: var(--muted); font-size: 15px; }
.stat code { color: #ffe9a3; }
.works { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 34px; font-size: 14px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: #cfd8d6; font: 500 14px var(--sans); background: rgba(255,255,255,.03); }

.split.rev { grid-template-columns: 1.05fr 1fr; }
.photo-card { position: relative; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3.4; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,11,12,.65)); }
.toast { position: absolute; z-index: 2; left: 22px; bottom: 82px; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 12px; background: rgba(12,17,19,.86); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); font: 14px var(--sans); color: #e6ecea; box-shadow: 0 14px 40px -12px rgba(0,0,0,.7); }
.toast code { color: var(--warn); font-size: 13px; }
.toast.t2 { left: auto; right: 22px; bottom: 26px; }
.dot.bad, .dot.ok { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.bad { background: var(--warn); box-shadow: 0 0 10px var(--warn); } .dot.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: #c9d2d0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brass); font-weight: 700; }
.ticks code { background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 6px; color: #ffe9a3; font-size: .9em; }

.feature { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); min-height: 440px; }
.feature-img { background-size: cover; background-position: center; position: relative; filter: saturate(.9); }
.feature-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--surface)); }
.feature-body { padding: clamp(30px, 5vw, 64px); align-self: center; }

.cta { background:
  radial-gradient(ellipse at 50% 120%, rgba(255, 216, 74, .32), transparent 60%),
  linear-gradient(180deg, rgba(10,15,17,.80), rgba(10,15,17,.92)),
  var(--cta-img, none) center / cover; }

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .split.rev { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature-img { min-height: 240px; }
  .feature-img::after { background: linear-gradient(180deg, transparent 50%, var(--surface)); }
  .hl.first { padding-bottom: 30vh; }
}

/* ---------- v3: post-office details instead of generic cards ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 56px 64px; margin-top: 72px; }
.tile { min-width: 0; }
.tile.t-otp { grid-row: span 2; }
.tile h3 { margin: 22px 0 6px; font-size: 22px; letter-spacing: -.025em; font-weight: 600; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; max-width: 520px; }
.art { min-width: 0; }

.env { background: #f4f1e8; color: #1b1d1c; border-radius: 6px; overflow: hidden; transform: rotate(-1.2deg);
  box-shadow: 0 1px 0 #fff inset, 0 24px 50px -28px rgba(0,0,0,.9);
  background-image: repeating-linear-gradient(135deg, #d8413a 0 14px, #f4f1e8 14px 22px, #2f5fb3 22px 36px, #f4f1e8 36px 44px);
  background-size: 100% 7px; background-repeat: no-repeat; padding-top: 7px; }
.env-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 18px 22px; border-bottom: 1px dashed #c9c3b3; font-size: 14.5px; overflow-wrap: anywhere; }
.env-head span { color: #8a857a; }
.env-body { padding: 20px 22px 18px; }
.env-body p { margin: 0; color: #3b3d3b; font-size: 15px; }
.otp { font: 500 clamp(38px, 5vw, 56px)/1.1 var(--mono); letter-spacing: .06em; margin: 10px 0 14px; color: #111; }
.env-body .fine { font-size: 13px; color: #8a857a; }
.env-body .fine code { color: #6b665c; background: none; padding: 0; }
.env-json { margin: 0; padding: 14px 22px; background: #111719; color: #cfd8d6; font: 13.5px/1.7 var(--mono); overflow-x: auto; }
.env-json i, .json i { font-style: normal; color: var(--brass); }
.env-json s, .json s { text-decoration: none; color: var(--ok); }

.rows { border-top: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; flex-wrap: wrap; }
.rows span { color: var(--muted); }
.rows b { font: 500 14.5px var(--mono); color: var(--text); text-align: right; }
.rows del { color: #6f7f82; margin-right: 8px; }
.rows .ok { color: var(--ok); }

.json { margin: 0; padding: 20px 22px; border-radius: 10px; background: #0d1416; border: 1px solid var(--line); font: 13.5px/1.75 var(--mono); color: #cfd8d6; overflow-x: auto; }
.json u { text-decoration: none; color: #0a0f11; background: var(--warn); padding: 1px 7px; border-radius: 4px; margin-right: 6px; }

.bounces { margin-top: 44px; border-top: 1px solid var(--line); }
.bounce { display: grid; grid-template-columns: 110px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.bounce:hover { background: rgba(255,255,255,.025); }
.bounce .code { justify-self: start; font: 600 13px var(--mono); color: var(--warn); border: 1.5px solid var(--warn); border-radius: 4px; padding: 4px 8px; transform: rotate(-3deg); white-space: nowrap; }
.bounce code { font-size: 16px; color: var(--text); overflow-wrap: anywhere; }
.bounce .why { color: var(--muted); font-size: 15px; }
.bounce .go { color: var(--brass); font-weight: 600; font-size: 15px; white-space: nowrap; }
.bounce .go::after { content: " →"; transition: margin .2s; }
.bounce:hover .go::after { margin-left: 4px; }

.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: 56px; }
.stamp { --paper: #f4f1e8; --ink: #17201f; aspect-ratio: 4 / 4.6; padding: 7px; color: var(--ink);
  background: radial-gradient(circle at 7px 7px, var(--bg) 4.4px, var(--paper) 5px) center / 14px 14px; }
.st-in { position: relative; height: 100%; display: flex; flex-direction: column; padding: 20px; background: var(--paper); outline: 1.5px solid color-mix(in srgb, var(--ink) 28%, transparent); outline-offset: -8px; overflow: hidden; }
.stamp-col:nth-child(1) .stamp { transform: rotate(-1.5deg); }
.stamp-col:nth-child(3) .stamp { transform: rotate(1deg); }
.stamp-col:nth-child(4) .stamp { transform: rotate(-.6deg); }
.stamp.hot { --paper: var(--brass); transform: rotate(1.8deg); }
.stamp-col:nth-child(3) .stamp { --paper: #cfdff3; }
.stamp-col:nth-child(4) .stamp { --paper: #f3cfc6; }
.st-name { font-weight: 600; font-size: 17px; }
.st-price { margin-top: auto; font-size: clamp(48px, 5vw, 72px); font-weight: 700; letter-spacing: -.05em; line-height: .95; }
.st-per { font-size: 14px; color: color-mix(in srgb, var(--ink) 65%, transparent); margin-top: 6px; }
.postmark { position: absolute; top: 16px; right: 12px; width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(23,32,31,.6); transform: rotate(-14deg); display: grid; place-items: center; text-align: center; font: 700 11px/1.15 var(--sans); color: rgba(23,32,31,.75); }
.postmark::before { content: ""; position: absolute; left: -46px; right: 60%; top: 26px; height: 30px; background: repeating-linear-gradient(180deg, rgba(23,32,31,.55) 0 2px, transparent 2px 7px); }
.postmark::after { content: "Our\Apick"; white-space: pre; }
.st-vol { margin: 20px 0 4px; font-weight: 600; font-size: 17px; }
.st-more { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; gap: 56px; }
  .tile.t-otp { grid-row: auto; }
  .bounce { grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; }
  .bounce .why { grid-column: 2; }
  .bounce .go { grid-column: 2; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
}
@media (max-width: 420px) { .st-in { padding: 16px; } .postmark { width: 66px; height: 66px; font-size: 10px; } }

/* ---------- v4: stamp buttons, rubber stamp ---------- */
.btn { border-radius: 0; padding: 15px 22px; }
.btn-horn { --h: 4px; background: var(--brass); color: #121212; box-shadow: none;
  -webkit-mask: radial-gradient(var(--h) at 50% 0, #0000 96%, #000) 50% 0 / 10px 51% repeat-x, radial-gradient(var(--h) at 50% 100%, #0000 96%, #000) 50% 100% / 10px 51% repeat-x;
          mask: radial-gradient(var(--h) at 50% 0, #0000 96%, #000) 50% 0 / 10px 51% repeat-x, radial-gradient(var(--h) at 50% 100%, #0000 96%, #000) 50% 100% / 10px 51% repeat-x;
  padding: 17px 24px; outline: 1.5px solid rgba(18,18,18,.35); outline-offset: -7px; transition: transform .2s; }
.btn-horn::after { content: "→"; transition: transform .2s; }
.btn-horn:hover { transform: rotate(-1.5deg); box-shadow: none; }
.btn-horn:hover::after { transform: translateX(3px); }
.nav .btn-horn { padding: 14px 18px; }
.btn-link { background: none; padding: 15px 6px; color: var(--text); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.btn-link:hover { text-decoration-color: var(--brass); }
.notify input { border-radius: 0; background: #f4f1e8; color: #17201f; border: 0; padding: 16px 18px; }
.notify input::placeholder { color: #8a857a; }
.notify input:focus { outline: 2px solid var(--brass); outline-offset: 2px; }
.rubber { display: inline-block; font: 700 15px/1 var(--sans); color: var(--brass); border: 2px solid var(--brass); padding: 7px 12px; transform: rotate(-4deg); box-shadow: 0 0 0 3px rgba(10,15,17,.6), 0 0 0 5px rgba(255,216,74,.55); background: rgba(10,15,17,.5); margin-bottom: 6px; }
