/* Page layouts. Desktop values from screens/*.dc.html, phone from screens/M*.dc.html. */
.header-spacer { display: inline-block; width: 100px; }
.hlink--ink { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 640px) { .header-spacer { width: 44px; } }

/* ================= home ================= */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 24px 30px; position: relative; }
.hero-title { font-size: clamp(54px, 7.4vw, 92px); }
.hero-lede { margin-top: 26px; max-width: 560px; font-size: 19px; line-height: 1.6; }
.hero-art { margin-top: 38px; position: relative; }
.hero-art img { display: block; width: 355px; height: 262px; }
.hero-fig { max-width: 640px; margin-top: 14px; }
.hero-fig .fig { font-size: 13px; }
.hero-links { margin: 22px 0 0; color: var(--dim); font-size: 16px; }
.home-cursors { position: absolute; inset: 0; pointer-events: none; }
.home-sticker { position: absolute; right: 26px; top: 66px; z-index: 3; }
.home-sticker-inline { display: none; }
@media (max-width: 1180px) and (min-width: 641px) {
  .home-sticker { display: none !important; }
  .home-cursors { display: none !important; }
  .home-sticker-inline { display: block; margin: 10px auto 40px; }
}
.gallery { padding: 80px var(--gutter) 40px; border-top: 1px solid var(--sheet-rule); position: relative; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.gallery-title { font-size: 52px; letter-spacing: -0.03em; }
.gallery-sub { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 460px; line-height: 1.5; }
.gallery-chips { margin-bottom: 28px; }
.gallery-chips .chip { height: 36px; }
.gallery-grid, .cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gallery-empty { grid-column: 1 / -1; color: var(--dim); font-size: 16px; margin: 0; padding: 40px 0; text-align: center; }
.tile { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 16px; }
.tile:hover { border-color: var(--border); box-shadow: var(--shadow-float); }
.tile-stage { height: 270px; display: flex; justify-content: center; background: var(--soft); border-radius: 10px; padding-top: 16px; overflow: hidden; }
.tile-stage > span { display: contents; }
.tile-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.tile-row > span:not(.status) { color: var(--dim); }
.gallery-strip { gap: 12px; overflow-x: auto; padding: 18px 22px 10px; scroll-snap-type: x mandatory; scroll-padding: 0 22px; }
.strip-item { flex: none; width: 160px; height: 220px; background: var(--soft); border-radius: 14px; padding: 10px; scroll-snap-align: start; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px var(--gutter) 34px; border-top: 1px solid var(--sheet-rule); color: var(--dim); font-size: 14px; margin-top: auto; }
.footer nav { display: flex; gap: 18px; }
.footer a { color: var(--dim); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 640px) {
  .hero { padding: 44px 0 0; }
  .hero-title { font-size: 58px; line-height: .98; padding: 0 22px; }
  .hero-lede { margin-top: 18px; font-size: 17px; line-height: 1.55; padding: 0 22px; }
  .hero-art { width: 100%; height: 270px; margin-top: 20px; }
  .hero-art img { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); width: 320px; height: 236px; }
  .hero-fig { padding: 0 22px; margin-top: 0; }
  .hero-fig .fig { font-size: 11px; }
  .hero .prompt { width: auto; align-self: stretch; margin: 18px 16px 0; }
  .hero-links { margin: 18px 22px 0; font-size: 15px; line-height: 1.6; }
  .home-sticker-inline { display: block; margin: 34px auto 0; width: 300px; transform: rotate(-4deg); padding: 8px; }
  .home-sticker-inline .sticker-inner { padding: 16px; }
  .home-sticker-inline .screw { width: 7px; height: 7px; left: auto; right: auto; }
  .home-sticker-inline .screw--tl { left: 5px; top: 5px; } .home-sticker-inline .screw--tr { right: 5px; top: 5px; }
  .home-sticker-inline .screw--bl { left: 5px; bottom: 5px; } .home-sticker-inline .screw--br { right: 5px; bottom: 5px; }
  .home-sticker-inline .sticker-top { font-size: 10px; }
  .home-sticker-inline .sticker-line { font-size: 30px; margin: 6px 0 4px; }
  .home-sticker-inline .sticker-foot { font-size: 9px; }
  .home-sticker-inline .sticker-lock svg { width: 44px; height: 48px; }
  .gallery { margin-top: 44px; padding: 26px 0 20px; }
  .gallery-head { margin: 0 22px; }
  .gallery-title { font-size: 40px; }
}

/* ================= generating ================= */
.gen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 24px 60px; }
.gen-ghost { width: 180px; height: 198px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.gen-fig { max-width: 420px; margin: 14px 0 34px; }
.gen-title { font-size: 64px; }
.gen-from { margin: 16px 0 30px; max-width: 560px; overflow-wrap: anywhere; }
.gen-steps { list-style: none; margin: 0; padding: 18px 22px; width: 100%; max-width: 420px; text-align: left; display: flex; flex-direction: column; gap: 12px; border-radius: 18px; box-shadow: 0 18px 40px -26px rgba(31,31,36,.3); }
.gen-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; animation: rise .3s ease both; }
.gen-steps li.is-pending { color: var(--dim); }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
.gen-check { color: var(--live-text); display: inline-flex; }
.gen-dot { width: 16px; display: inline-flex; justify-content: center; }
.gen-dot span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.gen-skip { margin-top: 24px; color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 640px) {
  .gen-ghost { width: 140px; height: 154px; }
  .gen-title { font-size: 52px; }
}

/* ================= editor ================= */
.editor { flex: 1; padding: 10px var(--gutter) 48px; display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.editor-card { flex: 999 1 440px; min-width: 0; }
.editor-title { font-size: 52px; margin-bottom: 20px; }
.editor-stage { padding: 34px 20px; overflow: hidden; }
.editor-under { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.flip-btn { height: 40px; }
.editor-side { flex: 1 1 360px; max-width: 400px; display: flex; flex-direction: column; gap: 12px; padding-top: 72px; }
.panel-label { display: block; margin-bottom: 10px; }
.look-panel .panel-label { margin-bottom: 12px; }
.makeit { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 8px 8px 8px 14px; display: flex; gap: 8px; align-items: center; box-shadow: 0 18px 40px -28px rgba(31,31,36,.35); }
.makeit input { flex: 1; min-width: 0; height: 44px; background: transparent; border: 0; outline: 0; font-size: 16px; }
.makeit-go { width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--ink-strong); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.makeit.is-busy .makeit-go { opacity: .6; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; padding: 0; position: relative; }
.swatch--paper { border: 1px solid var(--border); }
.swatch[aria-pressed='true'] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.photo-icon { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.look-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.look-btn, .look-toggle { flex: 1; height: 42px; border-radius: 10px; font-size: 14px; font-weight: 400; }
.look-toggle { border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; padding: 0 10px; }
.look-toggle[aria-pressed='true'] { border-color: var(--ink); background: var(--soft); }
.settings-link { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 14px 16px; color: var(--ink); cursor: pointer; font: inherit; }
.settings-link-text { flex: 1; min-width: 0; }
.settings-link b { display: block; font-size: 15px; }
.settings-link-text > span { display: block; font-size: 13px; color: var(--dim); }
.settings-chev { color: var(--dim); display: flex; }
.editor-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.editor-wallet { height: 54px; font-size: 16px; }
.editor-wallet svg { width: 20px; height: 20px; }
.editor-actions-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.editor-note { margin: 2px 0 0; text-align: center; font-size: 13px; color: var(--dim); }
.bar-wallet { flex: 1.3; border-radius: 14px; gap: 8px; padding: 0 12px; }
.bar-wallet svg { width: 18px; height: 18px; }
.bar-share { flex: 1; border-radius: 14px; font-size: 16px; }
.bar-full { width: 100%; height: 56px; border-radius: 14px; font-size: 17px; }
.bar-full svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .editor { padding: 10px 0 0; gap: 0; display: block; }
  .editor-card { padding: 0 18px; }
  .editor-looks { display: block !important; }
  .editor-title { font-size: 48px; margin: 6px 0 16px; }
  .editor-stage { padding: 18px 0; }
  .editor-under { margin-top: 12px; flex-wrap: nowrap; }
  .editor-side { max-width: none; padding: 0; gap: 0; display: block; }
  .kind-panel { background: none; border: 0; padding: 0; border-radius: 0; }
  .kind-panel .chips { flex-wrap: nowrap; overflow-x: auto; padding: 18px 18px 4px; scrollbar-width: none; }
  .kind-panel .chip { flex: none; height: 36px; padding: 0 14px; }
  .makeit { margin: 12px 18px 0; padding: 6px 6px 6px 14px; }
  .makeit-go { border-radius: 11px; }
  .look-panel { background: none; border: 0; padding: 16px 18px 0; border-radius: 0; }
  .swatches { gap: 10px; margin: 0; flex-wrap: nowrap; }
  .swatch { width: 32px; height: 32px; }
  .settings-link { margin: 16px 18px 0; width: calc(100% - 36px); }
}

/* settings bottom sheet */
.sheet-dialog {
  margin: auto auto 0; padding: 0; border: 0; width: calc(100% - 32px); max-width: 560px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -24px 60px -20px rgba(31,31,36,.35); color: var(--ink);
}
.sheet-dialog::backdrop { background: rgba(214, 214, 220, .62); }
.sheet-dialog[open] { animation: sheet-up .28s cubic-bezier(.3,.7,.2,1); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.settings { padding: 12px 26px 26px; }
.grabber { width: 40px; height: 5px; border-radius: 9px; background: var(--grabber); margin: 0 auto 16px; }
.settings-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.settings-title { font-size: 38px; letter-spacing: -0.03em; }
.settings-done { height: 42px; padding: 0 18px; font-size: 15px; }
.settings-group { padding: 16px 0; border-bottom: 1px solid var(--sheet-rule); }
.settings-group--last { border-bottom: 0; padding-bottom: 0; }
.settings-group > .switch-row { padding: 0; }
.settings-label { margin-bottom: 10px; }
.settings-hint { margin: 10px 0 0; font-size: 13px; color: var(--dim); }
.settings-extra { margin-top: 10px; }
.place { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.place input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 15px; height: 100%; }
.place:focus-within { border-color: var(--ink); }
@media (max-width: 640px) {
  .sheet-dialog { width: 100%; max-width: none; box-shadow: 0 -24px 60px -20px rgba(31,31,36,.4); }
  .settings { padding: 10px 20px calc(26px + env(safe-area-inset-bottom)); }
  .grabber { margin-bottom: 14px; }
  .settings-head { margin: 0; }
  .settings-title { font-size: 34px; }
  .settings-done { height: 40px; padding: 0 16px; border-radius: 11px; }
  .settings-group { padding: 14px 0; }
  .settings-label { font-size: 10px; margin-bottom: 8px; }
  .settings .switch-row { gap: 14px; }
  .place { height: 48px; background: var(--soft); border: 0; }
  .place svg { display: none; }
}

/* ================= auth ================= */
.auth { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 24px 60px; }
.auth-ghost { width: 110px; height: 121px; }
.auth-title { font-size: 64px; margin: 18px 0 12px; }
.auth-lede { margin: 0 0 30px; max-width: 420px; }
.auth-stack { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 10px; }
.auth-btn { width: 100%; }
.auth-btn[aria-disabled='true'] { cursor: pointer; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; margin: 14px 0; }
.or span { flex: 1; height: 1px; background: var(--border-soft); }
.email-form { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-float); }
.email-form input[type=email] { height: 48px; background: transparent; border: 0; font-size: 17px; padding: 0 10px; outline: none; }
.email-go { height: 50px; font-size: 16px; }
.auth-fine { font-size: 13px; color: var(--dim); margin: 16px 0 0; }
.form-error { margin: 0 0 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--danger-border); color: var(--danger); font-size: 14px; background: #fff; }
.check-art { width: 325px; height: 250px; }
.check-fig { margin-top: 10px; }
.check-title { margin-top: 26px; }
.check-email { font-family: var(--font-mono); font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.check-actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.check-mail { font-size: 16px; }
.resend { height: 52px; padding: 0 22px; border-radius: 12px; border: 1px dashed #b4b4bb; background: transparent; color: var(--dim); font-size: 16px; cursor: pointer; }
.resend:disabled { cursor: not-allowed; }
.resend:not(:disabled) { border-style: solid; border-color: var(--ink); color: var(--ink); }
.check-foot { margin: 22px 0 0; color: var(--dim); font-size: 15px; }
.dev-note { margin: 16px 0 0; padding: 10px 14px; border: 1px dashed var(--border); border-radius: 12px; font-size: 14px; color: var(--muted); background: #fff; }
.step { font-size: 12px; letter-spacing: .2em; }
.welcome-title { margin-top: 22px; }
.auth-lede + .welcome-form { margin-top: -2px; }
.welcome-form { width: 100%; max-width: 420px; text-align: left; }
.welcome .auth-lede, .page--welcome .auth-lede { margin-bottom: 28px; }
.welcome-name { width: 100%; height: 54px; background: #fff; border: 1px solid var(--ink); border-radius: 14px; font-size: 18px; padding: 0 16px; outline: none; box-shadow: var(--shadow-float); }
.welcome-label { margin: 24px 0 10px; }
.welcome-preview { display: flex; align-items: center; gap: 10px; margin: 24px 0; padding: 14px 16px; border-radius: 14px; background: var(--soft); color: var(--muted); font-size: 15px; }
.welcome-preview b { color: var(--ink); }
.welcome-preview > span { display: inline-flex; }
.welcome-go { width: 100%; }
@media (max-width: 640px) {
  .auth { padding: 26px 22px 40px; }
  .auth-ghost { width: 96px; height: 106px; }
  .auth-title { font-size: 52px; margin: 14px 0 10px; }
  .auth-lede { font-size: 16px; margin-bottom: 26px; }
  .auth-stack { max-width: none; }
  .auth-btn { border-radius: 14px; }
  .or { font-size: 10px; margin: 10px 0; }
  .email-form { gap: 8px; padding: 8px; }
  .email-go { border-radius: 13px; }
  .auth-fine { font-size: 12px; }
  .auth-fine a { color: var(--ink); }
  .check-art { width: 260px; height: 200px; }
  .check-title, .welcome-title { font-size: 48px; }
  .welcome-ghost svg { width: 74px; height: 80px; }
}

/* ================= share ================= */
.share { flex: 1; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: center; padding: 20px var(--gutter) 56px; }
.share-card { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.share-tilt { transform: rotate(-4deg); }
.share-fig { margin-top: 10px; }
.share-panel { width: 100%; max-width: 440px; }
.share-title { font-size: 64px; line-height: .98; margin: 12px 0 10px; }
.share-lede { margin: 0 0 22px; }
.linkbox--lg { box-shadow: var(--shadow-float); }
.linkbox-btn { height: 46px; padding: 0 18px; border-radius: 11px; font-size: 15px; gap: 8px; }
.linkbox--sm { border-radius: 14px; }
.linkbox--sm code { font-size: 14px; }
.linkbox--sm .linkbox-btn { height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.share-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.share-app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; background: #fff; border: 1px solid var(--border-soft); color: var(--ink); font-size: 12px; cursor: pointer; text-decoration: none; font-family: inherit; }
.share-app:hover { border-color: var(--border); }
.share-icon { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; }
.text-it-label { margin: 22px 0 10px; }
.text-it-row { display: flex; gap: 8px; }
.text-it-row .input { flex: 1; min-width: 0; }
.share-links { margin: 20px 0 0; color: var(--dim); font-size: 15px; }
@media (max-width: 640px) {
  .share { display: block; padding: 0; }
  .share-card { padding-top: 16px; }
  .share-panel { max-width: none; padding: 26px 20px 30px; }
  .share-title { font-size: 54px; margin: 10px 0 8px; }
  .share-lede { font-size: 16px; margin-bottom: 18px; }
  .linkbox { padding: 6px 6px 6px 14px; }
  .linkbox code { font-size: 14px; }
  .linkbox-btn { padding: 0 16px; }
  .share-app { padding: 12px 2px; font-size: 11px; }
  .share-icon { width: 42px; height: 42px; border-radius: 12px; }
  .share-links { margin-top: 22px; text-align: center; }
}

/* ================= recipient / sealed ================= */
.recipient { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 24px 60px; }
.preview-note { margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 13px; }
.recipient-title { font-size: 72px; margin: 14px 0 34px; }
.recipient-pass { position: relative; display: flex; justify-content: center; }
.recipient-flip { transform: rotate(-3deg); }
.recipient-fig { max-width: 360px; margin-top: 22px; }
.recipient-actions { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.recipient-wallet { height: 58px; border-radius: 14px; font-size: 17px; }
.google-btn { border-radius: 14px; font-size: 15px; }
.rsvp { width: 100%; max-width: 440px; margin-top: 34px; padding: 20px; text-align: left; }
.rsvp-title { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 14px; }
.rsvp-answers { display: flex; gap: 6px; margin-bottom: 12px; }
.rsvp-chip { flex: 1; height: 44px; font-size: 15px; }
.rsvp-row { display: flex; gap: 8px; }
.rsvp-row .input { flex: 1; min-width: 0; }
.rsvp.is-sent .rsvp-row { display: none; }
.rsvp-thanks { margin: 0; font-size: 15px; color: var(--muted); }
.recipient-live { margin: 22px 0 0; max-width: 440px; color: var(--dim); font-size: 15px; line-height: 1.5; }
.inline-dot { display: inline-block; margin-right: 6px; vertical-align: middle; }
.recipient-sticker { position: absolute; right: 30px; bottom: 40px; z-index: 3; }
.sealed-tilt { transform: rotate(3deg); }
.countdown { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.count-box { width: 92px; padding: 14px 0 10px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 14px 30px -22px rgba(31,31,36,.4); }
.count-box b { display: block; font-family: var(--font-display); font-stretch: 62%; font-size: 44px; line-height: 1; }
.count-box .mono { font-size: 10px; letter-spacing: .2em; }
.sealed-note { margin: 20px 0 0; max-width: 380px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.sealed-foot { margin: 30px 0 0; color: var(--dim); font-size: 15px; }
@media (max-width: 1100px) and (min-width: 641px) {
  .recipient-sticker { position: static; margin: 30px auto 40px; }
  .page--recipient .cursor { display: none; }
}
@media (max-width: 640px) {
  .recipient { padding: 18px 20px 30px; }
  .recipient-title { font-size: 58px; margin: 10px 0 26px; }
  .sealed-title { font-size: 64px; }
  .recipient-pass { width: calc(100% + 40px); }
  .recipient-cursor-m { position: absolute; right: 2px; top: 300px; display: flex !important; }
  .recipient-fig { max-width: none; padding: 20px 6px 0; margin: 0; }
  .rsvp { margin: 24px -4px 0; width: calc(100% + 8px); padding: 18px; }
  .rsvp-title { margin-bottom: 12px; }
  .rsvp-answers { margin-bottom: 10px; }
  .rsvp-row .input { font-size: 16px; }
  .recipient-live { margin: 18px 4px 0; font-size: 14px; }
  .recipient-sticker-m { margin: 30px auto 0; width: 250px; transform: rotate(-4deg); padding: 8px; }
  .recipient-sticker-m .sticker-inner { padding: 14px 14px 10px; }
  .recipient-sticker-m .screw { width: 6px; height: 6px; }
  .recipient-sticker-m .screw--tl { left: 5px; top: 5px; } .recipient-sticker-m .screw--tr { right: 5px; top: 5px; }
  .recipient-sticker-m .screw--bl { left: 5px; bottom: 5px; } .recipient-sticker-m .screw--br { right: 5px; bottom: 5px; }
  .recipient-sticker-m .sticker-top, .recipient-sticker-m .sticker-foot { font-size: 9px; }
  .recipient-sticker-m .sticker-line { font-size: 28px; margin: 6px 0 4px; }
  .countdown { gap: 8px; margin-top: 30px; }
  .count-box { width: 96px; padding: 12px 0 10px; box-shadow: none; }
  .count-box b { font-size: 42px; }
  .sealed-note { margin: 18px 8px 0; font-size: 15px; }
}

/* ================= my cards ================= */
.cards { flex: 1; padding: 30px var(--gutter) 56px; }
.cards-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.cards-title { font-size: 72px; margin-top: 10px; }
.cards-tabs .chip { padding: 0 15px; }
.new-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 360px; border-radius: 16px; border: 1.5px dashed var(--off-dot); color: var(--muted); text-decoration: none; background: rgba(255,255,255,.6); font-size: 14px; }
.new-tile b { color: var(--ink); font-size: 16px; }
.new-tile > span:last-child { margin-top: 4px; }
.new-tile-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--ink-strong); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card-tile { padding: 14px; }
.card-tile .tile-stage { height: 266px; padding-top: 14px; }
.tile-text > span { font-size: 13px; color: var(--dim); }
.tile-name { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.tile-name b { font-size: 16px; }
.status-dot--live { background: var(--live); } .status-dot--sealed { background: var(--sealed); } .status-dot--expired { background: var(--expired-dot); }
.cards-empty { grid-column: 1 / -1; color: var(--dim); }
@media (max-width: 640px) {
  .cards { padding: 14px 0 0; }
  .cards-head { display: block; padding: 0 18px; margin: 0; }
  .cards-title { font-size: 56px; margin: 8px 0 16px; }
  .cards-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .cards-tabs .chip { flex: none; height: 36px; padding: 0 14px; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 16px 20px; }
  .card-tile { gap: 8px; border-radius: 14px; padding: 8px 8px 10px; }
  .card-tile .tile-stage { height: 222px; border-radius: 9px; padding-top: 6px; }
  .tile-text { padding: 0 4px; }
  .tile-name b { font-size: 15px; }
  .tile-name .status-dot { flex: none; }
  .tile-text > span { font-size: 12px; }
}

/* ================= card detail ================= */
.detail { flex: 1; padding: 20px var(--gutter) 56px; display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.detail-card { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0 auto; }
.detail-stage { padding: 30px; }
.detail-info { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.detail-title { font-size: 72px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 14px 16px; }
.stat b { display: block; font-family: var(--font-display); font-stretch: 62%; font-size: 44px; line-height: 1; }
.stat .mono { font-size: 10px; letter-spacing: .18em; }
.coming-label { display: block; margin-bottom: 4px; }
.coming-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sheet-rule); }
.coming-row:first-of-type { border-top-color: transparent; }
.coming-label + .coming-row { border-top-color: transparent; }
.initial { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: #fff; flex: none; }
.coming-name { flex: 1; font-size: 15px; }
.coming-r { font-size: 11px; letter-spacing: .14em; }
.coming-r--going { color: var(--live-text); } .coming-r--maybe { color: var(--maybe-text); } .coming-r--no { color: var(--dim); }
.coming-empty { margin: 8px 0 0; color: var(--dim); font-size: 14px; }
.update { padding: 18px; }
.update-title { font-size: 32px; letter-spacing: -0.02em; margin-bottom: 4px; }
.update-sub { margin: 0 0 12px; color: var(--dim); font-size: 14px; }
.update-msg { width: 100%; background: var(--soft); border: 0; border-radius: 12px; font-size: 16px; line-height: 1.4; padding: 12px 14px; outline: none; resize: vertical; display: block; }
.update-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.update-fields .field-label { margin-bottom: 6px; }
.update-fields .input { height: 44px; border-radius: 10px; padding: 0 12px; }
.update-select { appearance: auto; }
.update .lockscreen { margin-top: 14px; }
.update-go { width: 100%; margin-top: 14px; font-size: 16px; }
.update-last { margin-top: 14px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.update-last .mono { margin-right: 8px; }
.update-ago { color: var(--dim); white-space: nowrap; }
.detail-actions form { display: contents; }
@media (max-width: 640px) {
  .detail { display: flex; flex-direction: column; gap: 0; padding: 4px 0 30px; }
  .detail-card { margin: 0 auto; gap: 0; }
  .detail-info { padding: 22px 18px 0; gap: 0; width: 100%; }
  .detail-title { font-size: 54px; }
  .detail-info .linkbox { margin-top: 14px; padding: 5px 5px 5px 14px; }
  .detail-info .linkbox code { font-size: 13px; }
  .detail-info .linkbox-btn { height: 42px; }
  .stats { gap: 8px; margin-top: 12px; }
  .stat { border-radius: 14px; padding: 12px; }
  .stat b { font-size: 38px; }
  .stat .mono { font-size: 9px; letter-spacing: .16em; }
  .update { order: 1; margin-top: 14px; padding: 16px; }
  .update-title { font-size: 30px; margin-bottom: 10px; }
  .update-msg { resize: none; }
  .update .lockscreen { margin-top: 12px; }
  .update-go { margin-top: 12px; border-radius: 13px; }
  .coming { order: 2; margin-top: 14px; padding: 14px 16px; }
  .coming-label { font-size: 10px; }
  .coming-row { padding: 9px 0; }
  .initial { width: 30px; height: 30px; font-size: 12px; }
  .coming-r { font-size: 10px; }
  .detail-actions { order: 3; margin-top: 14px; flex-wrap: nowrap; }
  .detail-actions .btn { flex: 1; height: 44px; border-radius: 12px; }
}

/* ================= account ================= */
.account { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 30px 24px 56px; display: flex; flex-direction: column; gap: 14px; }
.account-head { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; }
.account-ghost { width: 92px; height: 92px; border-radius: 24px; background: var(--soft); border: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.account-title { font-size: 64px; margin-top: 6px; }
.account-panel { border-radius: 18px; padding: 20px; }
.account-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.account-fields input[readonly] { color: var(--muted); }
.account-ghost-label { margin: 18px 0 10px; }
.account-save { margin-top: 16px; }
.account-list { border-radius: 18px; padding: 8px 20px; }
.account-list > .switch-row + .switch-row, .account-row + .account-row { border-top: 1px solid var(--sheet-rule); }
.account-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.account-row-text { flex: 1; }
.account-row-text b { display: block; font-size: 15px; }
.account-row-text span { font-size: 13px; color: var(--dim); }
.account-remove { color: var(--muted); text-decoration: none; height: 36px; padding: 0 12px; }
.account-connect { height: 36px; font-weight: 400; }
.plan { position: relative; margin: 10px 0; background: var(--sticker); color: #fff; border-radius: 16px; padding: 9px; transform: rotate(-1.5deg); }
.plan-inner { border: 1.5px solid rgba(255,255,255,.75); border-radius: 9px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-top { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; }
.plan-line { display: block; font-family: var(--font-display); font-stretch: 62%; font-size: 36px; line-height: 1; margin-top: 6px; }
.plan-right { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; }
.account-actions { align-items: center; }
.account-actions form { display: contents; }
.account-act { height: 44px; }
.account-fine { margin: 0; font-size: 13px; color: var(--dim); }
@media (max-width: 640px) {
  .account { padding: 14px 18px 20px; }
  .account-head { gap: 16px; }
  .account-ghost { width: 76px; height: 76px; border-radius: 20px; }
  .account-ghost svg { width: 42px; height: 46px; }
  .account-title { font-size: 52px; }
}

/* ================= 404 / info ================= */
.nf { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 24px 70px; }
.nf-art { display: flex; align-items: center; gap: 10px; }
.nf-four { font-size: 220px; line-height: .9; letter-spacing: -0.04em; }
.nf-ghost { width: 170px; height: 187px; transform: rotate(-8deg); }
.nf-fig { margin-top: 14px; }
.nf-title { font-size: 56px; margin: 26px 0 12px; }
.nf-lede { margin: 0 0 28px; max-width: 420px; }
.nf-actions { gap: 10px; justify-content: center; }
.nf-actions .btn { font-size: 16px; }
.nf-actions .btn--outline { font-weight: 400; }
@media (max-width: 640px) {
  .nf-four { font-size: 130px; }
  .nf-ghost { width: 100px; height: 110px; }
  .nf-title { font-size: 44px; }
}
.info { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 30px 24px 60px; }
.info-title { font-size: 64px; margin-bottom: 24px; }
.info-body { color: var(--muted); font-size: 17px; line-height: 1.6; }
.info-body h2 { font-size: 18px; color: var(--ink); margin: 28px 0 6px; }
@media (max-width: 640px) { .info-title { font-size: 52px; } }

/* The composer and its live result share one surface at every screen size. */
.page--home .hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 44px; padding: 58px 32px 44px; text-align: left; align-items: start; }
.hero-eyebrow { grid-column: 1; margin-bottom: 20px; font-size: 10px; letter-spacing: .16em; }
.page--home .hero-title { grid-column: 1; font-size: clamp(60px, 6.8vw, 84px); line-height: .99; }
.page--home .hero-lede { grid-column: 1; margin-top: 22px; font-size: 17px; max-width: 420px; }
.page--home .hero .prompt { grid-column: 1; margin-top: 26px; padding: 16px; border-radius: 20px; }
.page--home .prompt textarea { font-size: 18px; min-height: 100px; }
.page--home .prompt-go { font-size: 15px; height: 46px; padding: 0 16px; }
.page--home .prompt-blank { font-size: 14px; }
.page--home .hero-links { grid-column: 1; font-size: 13px; line-height: 1.7; margin: 20px 0 0; }
.live-preview { grid-column: 2; grid-row: 1 / 8; align-self: center; padding: 22px 16px 18px; border: 1px solid var(--border-soft); background: #f0f0ed; border-radius: 24px; min-width: 0; overflow: hidden; }
.preview-top { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 9px; letter-spacing: .1em; }
.live-pass { display: flex; justify-content: center; margin: 26px auto; touch-action: pan-y; }
.live-pass .pass { transform: rotate(3deg) scale(.88); margin: -26px -20px; transition: transform .35s ease; }
.live-pass:hover .pass { transform: rotate(0deg) scale(.9); }
.preview-controls { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); text-align: center; }
.preview-flip { border: 0; background: transparent; cursor: pointer; min-height: 36px; font-size: 12px; }
.prompt-examples { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.prompt-examples .mono { font-size: 9px; }
.prompt-examples button { background: #fff; border: 1px solid var(--border); border-radius: 99px; font-size: 11px; padding: 8px 10px; cursor: pointer; }
.page--home .home-sticker-inline { display: block; width: calc(100% - 64px); margin: 12px auto 40px; transform: rotate(-1deg); padding: 6px; box-shadow: none; }
.page--home .home-sticker-inline .sticker-inner { justify-content: space-between; padding: 12px 22px; }
.page--home .home-sticker-inline .sticker-text { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page--home .home-sticker-inline .sticker-line { margin: 0; font-size: 28px; }
.page--home .home-sticker-inline .sticker-lock svg { width: 28px; height: 32px; }
:is(.page--home, .page--gallery) .gallery { padding-top: 40px; }
:is(.page--home, .page--gallery) .gallery-title { font-size: 44px; }
:is(.page--home, .page--gallery) .tile-stage { height: 230px; align-items: center; padding: 0; }
:is(.page--home, .page--gallery) .tile { padding: 12px; transition: transform .2s, box-shadow .2s; }
:is(.page--home, .page--gallery) .tile:hover { transform: translateY(-5px); }
:is(.page--home, .page--gallery) .tile-row { font-size: 13px; }
@media (min-width: 900px) { :is(.page--home, .page--gallery) .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) and (min-width: 641px) { .page--home .hero { gap: 24px; padding: 38px 24px; } .live-pass .pass { transform: scale(.72); margin: -60px -45px; } .page--home .hero-title { font-size: 62px; } }
@media (max-width: 640px) {
 .page--home .hero { display: flex; padding: 30px 20px 24px; align-items: stretch; gap: 0; text-align: center; }
 .hero-eyebrow { font-size: 8px; margin-bottom: 16px; }
 .page--home .hero-title { font-size: clamp(52px, 15vw, 72px); padding: 0; }
 .page--home .hero-lede { padding: 0; font-size: 16px; margin: 18px auto 0; max-width: 340px; }
 .page--home .hero .prompt { margin: 24px 0 0; width: 100%; order: 1; }
 .prompt-examples { justify-content: center; order: 2; }
 .live-preview { order: 3; margin-top: 24px; padding: 18px 12px 12px; }
 .live-pass { margin: 22px auto; }
 .live-pass .pass { transform: rotate(2deg) scale(.78); margin: -48px -35px; }
 .live-pass:hover .pass { transform: rotate(0) scale(.78); }
 .preview-controls { flex-direction: row; justify-content: space-between; gap: 6px; font-size: 10px; }
 .page--home .hero-links { order: 4; margin-top: 18px; }
 .page--home .home-sticker-inline { width: calc(100% - 40px); margin: 4px auto 28px; }
 .page--home .home-sticker-inline .sticker-text { display: block; text-align: left; }
 .page--home .home-sticker-inline .sticker-top { font-size: 8px; }
 .page--home .home-sticker-inline .sticker-line { margin: 6px 0; }
 .page--home .home-sticker-inline .sticker-foot { font-size: 8px; }
 :is(.page--home, .page--gallery) .gallery { margin-top: 0; padding: 28px 20px; }
 :is(.page--home, .page--gallery) .gallery-head { margin: 0 0 20px; }
 :is(.page--home, .page--gallery) .gallery-title { font-size: 38px; }
 :is(.page--home, .page--gallery) .gallery-sub { font-size: 14px; }
 :is(.page--home, .page--gallery) .gallery-chips { flex-wrap: nowrap; overflow-x: auto; padding: 4px 0 10px; margin-bottom: 14px; }
 :is(.page--home, .page--gallery) .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
 :is(.page--home, .page--gallery) .tile { gap: 8px; padding: 8px; border-radius: 12px; min-width: 0; }
 :is(.page--home, .page--gallery) .tile-stage { height: 185px; }
 :is(.page--home, .page--gallery) .tile-stage .pass-thumb { transform: scale(.66); }
 :is(.page--home, .page--gallery) .tile .mono { font-size: 8px; letter-spacing: .08em; }
 :is(.page--home, .page--gallery) .tile-row { font-size: 11px; }
 .page--home .footer { padding: 20px; font-size: 12px; }
}
@media (min-width: 641px) { :is(.page--home, .page--gallery) .tile-stage { height: 276px; } }

/* Everyday collection: clear starting points and a small, tactile color palette. */
.page--home .hero { padding-top: 44px; }
.page--home .live-preview { background: #f2f2ef; }
.mood-picker { display: flex; gap: 4px; justify-content: center; padding: 4px 0 16px; }
.mood { flex: 1; min-width: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; flex-direction: column; gap: 7px; min-height: 48px; padding: 5px 1px; color: var(--dim); font-size: 9px; }
.mood > span:first-child { width: 23px; height: 23px; border-radius: 50%; box-shadow: inset 0 0 0 1px #1f1f2414; transition: transform .2s, box-shadow .2s; }
.mood[aria-pressed='true'] > span:first-child { box-shadow: 0 0 0 3px #f2f2ef, 0 0 0 4px var(--ink); transform: scale(.9); }
.mood:hover > span:first-child { transform: translateY(-2px); }
.mood[aria-pressed='true'] { color: var(--ink); }
.composer-hint { grid-column: 1; margin: 12px 2px 0; font-size: 11px; line-height: 1.5; color: var(--dim); }
.resume-draft { grid-column: 1; margin-top: 15px; font-size: 12px; color: var(--muted); text-underline-offset: 4px; }
.resume-draft span { margin-left: 6px; }
.how-it-works { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 24px 32px 32px; border-top: 1px solid var(--sheet-rule); }
.how-it-works > div { display: flex; gap: 12px; align-items: flex-start; }
.step-number { font-family: var(--font-mono); font-size: 10px; color: var(--dim); padding-top: 3px; }
.how-it-works b { display: block; font-size: 12px; font-weight: 550; line-height: 1.5; }
.how-it-works small { display: block; font-size: 11px; line-height: 1.5; margin-top: 4px; color: var(--dim); }
.collection-eyebrow { display: block; font-size: 9px; letter-spacing: .16em; margin-bottom: 14px; }
:is(.page--home, .page--gallery) .gallery-title { font-size: 48px; }
:is(.page--home, .page--gallery) .gallery-sub { font-size: 15px; }
.template-count { font-family: var(--font-mono); font-size: 10px; color: var(--dim); padding-bottom: 3px; }
.template-search { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 13px; background: #fff; padding: 0 16px; margin: 26px 0 18px; }
.template-search > span:first-child { font-size: 26px; color: var(--dim); }
.template-search input { border: 0; outline: none; min-width: 0; flex: 1; height: 50px; background: transparent; font-size: 14px; }
.template-search .mono { font-size: 8px; letter-spacing: .1em; }
.template-search:focus-within { border-color: var(--ink); }
:is(.page--home, .page--gallery) .tile { padding: 10px; gap: 10px; border-radius: 16px; }
:is(.page--home, .page--gallery) .tile-stage { background: #f1f1f0; height: 270px; }
:is(.page--home, .page--gallery) .tile--yellow .tile-stage { background: #faf3d8; }
:is(.page--home, .page--gallery) .tile--mint .tile-stage { background: #e5f0e7; }
:is(.page--home, .page--gallery) .tile--coral .tile-stage { background: #f8e9e3; }
:is(.page--home, .page--gallery) .tile--blue .tile-stage { background: #e8eafa; }
:is(.page--home, .page--gallery) .tile--red .tile-stage { background: #f6e5e2; }
:is(.page--home, .page--gallery) .tile--silver .tile-stage { background: #eaeaec; }
:is(.page--home, .page--gallery) .tile-row { font-size: 13px; line-height: 1.4; align-items: flex-start; }
.tile-description { margin: 0; color: var(--dim); font-size: 11px; line-height: 1.6; min-height: 35px; }
.tile-action { display: flex; justify-content: space-between; align-items: center; font-size: 10px; padding: 12px 0 2px; margin-top: auto; border-top: 1px solid var(--sheet-rule); }
:is(.page--home, .page--gallery) .tile-row > span { display: none; }
:is(.page--home, .page--gallery) .tile .mono { font-size: 8px; letter-spacing: .12em; }
@media (max-width: 800px) { .template-search .mono { display: none; } }
@media (max-width: 640px) {
 .page--home .hero { padding-top: 28px; }
 .page--home .hero-lede { max-width: 310px; }
 .composer-hint { order: 2; margin-top: 10px; font-size: 10px; }
 .page--home .prompt-examples { order: 3; margin-top: 12px; }
 .page--home .live-preview { order: 4; }
 .page--home .hero-links { order: 5; }
 .resume-draft { order: 6; margin-top: 12px; }
 .mood-picker { gap: 6px; padding: 6px 4px 12px; }
 .mood { font-size: 9px; }
 .how-it-works { grid-template-columns: 1fr; gap: 16px; padding: 22px 24px; background: #fff; }
 .how-it-works b { font-size: 12px; }
 .how-it-works small { font-size: 11px; margin-top: 2px; }
 :is(.page--home, .page--gallery) .gallery-head { gap: 14px; }
 :is(.page--home, .page--gallery) .gallery-title { font-size: 37px; }
 :is(.page--home, .page--gallery) .gallery-sub { font-size: 13px; }
 .template-count { font-size: 9px; }
 .template-search { padding: 0 12px; margin-top: 20px; }
 .template-search input { height: 46px; font-size: 12px; }
 :is(.page--home, .page--gallery) .tile { padding: 8px; gap: 8px; }
 :is(.page--home, .page--gallery) .tile-stage { height: 185px; }
 :is(.page--home, .page--gallery) .tile-row { font-size: 12px; }
 .tile-description { font-size: 10px; min-height: 46px; }
 .tile-action { font-size: 10px; padding-top: 10px; }
}
.page--home #gallery { scroll-margin-top: 90px; }

.reminder-panel { padding: 18px; }
.reminder-panel .field-label { font-size: 9px; margin-bottom: 16px; }
.reminder-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 550; margin: 14px 0 8px; }
.reminder-label span { color: var(--dim); font-weight: 400; font-size: 10px; }
.reminder-panel input, .reminder-panel select { font-size: 14px; min-width: 0; max-width: 100%; }
.reminder-panel select:disabled { opacity: .55; cursor: not-allowed; }
.reminder-help { font-size: 11px; color: var(--dim); line-height: 1.6; margin: 12px 0 0; }
.reminder-message { margin-top: 14px; border-radius: 12px; background: #f0f3ee; padding: 14px; border: 1px solid #e0e6dd; }
.reminder-message .mono { font-size: 8px; letter-spacing: .12em; }
.reminder-message p { margin: 8px 0 0; font-size: 12px; line-height: 1.6; }

/* A focused front page; the complete collection lives in the Gallery. */
.page--home .hero-title { font-size: clamp(48px,5.8vw,72px); letter-spacing: -.045em; }
.page--home .hero-eyebrow { letter-spacing: .15em; }
.page--home .hero-lede { max-width: 390px; }
.page--gallery .gallery { border-top: 0; padding-top: 44px; padding-bottom: 56px; }
.page--gallery .gallery-title { font-size: 54px; }
.page--gallery .gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }

.wallet-story { padding: 70px 32px 54px; border-top: 1px solid var(--sheet-rule); display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: center; background: linear-gradient(150deg,#fafaf6f0,#f5f5f8d0); }
.story-intro > .mono { font-size: 8px; line-height: 1.8; letter-spacing: .14em; }
.story-intro h2 { font-size: clamp(38px,4.7vw,52px); margin: 17px 0; line-height: 1.05; }
.story-intro > p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 320px; margin: 0; }
.story-steps { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; }
.story-steps button { display: flex; gap: 13px; text-align: left; padding: 12px; border: 1px solid transparent; background: transparent; border-radius: 12px; cursor: pointer; transition: background .2s,border-color .2s; }
.story-steps button > span { font-family: var(--font-mono); font-size: 10px; color: var(--dim); padding-top: 3px; }
.story-steps button b { display: block; font-size: 13px; font-weight: 600; }
.story-steps button small { display: block; margin-top: 5px; font-size: 10px; color: var(--dim); line-height: 1.5; }
.story-steps button[aria-pressed='true'] { background: #fff; border-color: #e4e4e9; box-shadow: 0 8px 20px -17px #1f1f2455; }
.story-steps button[aria-pressed='true'] > span { color: #3346d3; }
.story-controls { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; padding-left: 12px; }
.story-controls button { border: 0; background: transparent; padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; font-size: 11px; cursor: pointer; }
.story-controls > span { font-size: 8px; color: var(--dim); line-height: 1.5; }
.story-scene { position: relative; height: 490px; min-width: 0; isolation: isolate; }
.story-message-window { position: absolute; width: 280px; height: 320px; top: 22px; left: 0; border: 1px solid #dedee4; border-radius: 18px; background: #ffffffed; box-shadow: 0 18px 40px -25px #31314566; overflow: hidden; transform: rotate(-4deg); transition: transform .7s, opacity .7s; }
.message-window-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f6f6f8; border-bottom: 1px solid #eee; padding: 12px; font-size: 9px; color: #777; }
.message-window-dots { display: flex; gap: 4px; }
.message-window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d6d6dc; }
.message-person { display: flex; gap: 6px; flex-direction: column; align-items: center; margin-top: 10px; font-size: 10px; }
.message-person > span { background: #e4e5eb; color: #777; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; }
.message-person b { font-size: 9px; font-weight: 500; }.message-person small { color: #aaa; }
.message-timestamp { display: block; text-align: center; color: #aaa; font-size: 7px; margin: 9px 0; }
.chat-bubble { border-radius: 13px; padding: 8px 11px; font-size: 10px; width: fit-content; max-width: 190px; margin: 7px 14px; }
.chat-bubble--them { background: #ededf0; border-bottom-left-radius: 4px; }
.chat-bubble--you { background: #1677ff; color: #fff; border-bottom-right-radius: 4px; margin-left: auto; }
.chat-link-card { margin: 8px 14px 0 auto; width: 170px; border-radius: 12px; background: #f0f0f3; overflow: hidden; font-size: 8px; }
.chat-link-art { display: flex; flex-direction: column; gap: 7px; padding: 12px; background: #f2d65c; color: #1f1f24; }
.chat-link-art svg { width: 16px; height: 18px; }.chat-link-art b { font-size: 15px; }.chat-link-art small { font-family: var(--font-mono); font-size: 7px; letter-spacing: .06em; }
.chat-link-card > span:last-child { display: block; padding: 9px; }.chat-link-card > span:last-child small { display: block; color: #999; margin-top: 5px; font-size: 7px; }
.chat-delivered { display: block; text-align: right; font-size: 7px; color: #aaa; margin: 5px 16px; }
.chat-input { display: flex; justify-content: space-between; position: absolute; bottom: 10px; left: 12px; right: 12px; padding: 8px 10px; border: 1px solid #e9e9ee; border-radius: 20px; font-size: 8px; color: #aaa; background: #fff; }
.chat-input span { color: #1677ff; font-size: 12px; }
.story-phone { position: absolute; width: 225px; height: 433px; right: 0; top: 43px; border: 6px solid #25252a; border-radius: 33px; background: #f7f7f9; box-shadow: inset 0 0 0 2px #000, 0 26px 45px -25px #31314599; overflow: hidden; transform: rotate(6deg) translateY(15px); opacity: .48; transition: transform .75s cubic-bezier(.2,.7,.3,1),opacity .6s; z-index: 2; }
.phone-island { width: 62px; height: 15px; border-radius: 20px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: #17171b; z-index: 4; }
.phone-clock { display: flex; justify-content: space-between; font-weight: 600; font-size: 9px; padding: 12px 13px 0; }
.phone-clock span { font-size: 7px; letter-spacing: 1px; }
.phone-app-title { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 700; padding: 20px 12px 14px; }.phone-app-title > span { font-size: 14px; color: #555; font-weight: 400; }
.phone-wallet-stack { position: absolute; top: 91px; left: 12px; right: 12px; height: 23px; }
.phone-wallet-stack i { display: block; position: absolute; inset: 0; background: #9fdcb5; border-radius: 10px 10px 0 0; }
.phone-wallet-stack i + i { top: 8px; background: #d7d8ed; }
.story-pass { position: absolute; top: 108px; left: 50%; transform: translate(-50%,35px) scale(.92); opacity: .6; transition: transform .7s cubic-bezier(.2,.8,.3,1),opacity .5s; }
.story-pass .pass { --shadow-pass: 0 12px 24px -18px #0008; }
.phone-add-confirmation { position: absolute; bottom: 15px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; align-items: center; font-size: 9px; color: #53745b; opacity: 0; transition: opacity .5s; }.phone-add-confirmation > span { background: #dcecdf; border-radius: 50%; width: 14px; height: 14px; display: grid; place-items: center; }
.phone-home-indicator { position: absolute; bottom: 5px; width: 70px; height: 3px; background: #202025; left: 50%; transform: translateX(-50%); border-radius: 99px; }
.phone-notification { position: absolute; top: 48px; left: 6px; right: 6px; padding: 12px 8px; display: flex; gap: 7px; background: #f5f5f9ed; backdrop-filter: blur(12px); border: 1px solid #ffffffa0; border-radius: 16px; box-shadow: 0 8px 24px -12px #0005; font-size: 9px; line-height: 1.4; transform: translateY(-130px); opacity: 0; transition: transform .65s cubic-bezier(.2,.8,.3,1),opacity .4s; z-index: 5; }
.notification-icon { background: #fff; border-radius: 7px; width: 28px; height: 30px; flex: none; display: grid; place-items: center; }
.phone-notification > span:last-child { flex: 1; }.phone-notification b { display: flex; justify-content: space-between; font-size: 9px; margin-bottom: 4px; }.phone-notification b small { font-size: 7px; color: #888; font-weight: 400; }.phone-notification em { display: block; font-style: normal; color: #777; font-size: 8px; margin-top: 3px; }
.story-watch { position: absolute; width: 116px; height: 155px; bottom: -3px; left: 95px; transform: translateY(20px) rotate(-12deg); opacity: 0; transition: transform .7s,opacity .6s; z-index: 4; }
.watch-case { position: absolute; inset: 14px 0; border: 4px solid #c3c3bd; box-shadow: inset 0 0 0 2px #e8e8e2,0 12px 24px -10px #0004; border-radius: 30px; background: #17171a; padding: 4px; }
.watch-crown { position: absolute; right: -8px; top: 30px; width: 6px; height: 18px; border-radius: 3px; background: repeating-linear-gradient(#b1b1ab 0 2px,#ddddda 2px 3px); }
.watch-strap { position: absolute; left: 24px; right: 24px; height: 45px; background: #deded2; border: 1px solid #cbcbc0; border-radius: 13px; }.watch-strap--top { top: -13px; }.watch-strap--bottom { bottom: -13px; }
.watch-screen { position: relative; height: 100%; border-radius: 21px; background: #111114; color: white; padding: 10px 8px; }.watch-time { position: absolute; right: 9px; top: 8px; font-size: 8px; color: #ddd; }.watch-ghost { color: #d0d0f4; display: block; margin-top: 2px; }.watch-screen b { display: block; margin-top: 7px; font-size: 9px; }.watch-screen p { font-size: 8px; line-height: 1.4; color: #ccc; margin: 4px 0; }.watch-screen > small { color: #aaa; font-size: 6px; }
.story-scene[data-step='1'] .story-phone, .story-scene[data-step='2'] .story-phone { opacity: 1; transform: rotate(3deg) translateY(0); }
.story-scene[data-step='1'] .story-pass,.story-scene[data-step='2'] .story-pass { opacity: 1; transform: translate(-50%,0) scale(1); }
.story-scene[data-step='1'] .phone-add-confirmation,.story-scene[data-step='2'] .phone-add-confirmation { opacity: 1; }
.story-scene[data-step='1'] .story-message-window,.story-scene[data-step='2'] .story-message-window { opacity: .6; transform: rotate(-6deg) translate(-4px,-10px); }
.story-scene[data-step='2'] .phone-notification { transform: translateY(0); opacity: 1; }
.story-scene[data-step='2'] .story-watch { transform: translateY(0) rotate(-8deg); opacity: 1; }
.story-kept-sticker { position: absolute; top: -6px; right: -6px; background: linear-gradient(135deg,#fcbbd6,#ffe89d,#b3f7e4,#b8c0ff); color: #34314f; padding: 22px 16px; width: 95px; height: 95px; text-align: center; line-height: .95; font-size: 18px; font-weight: 750; transform: rotate(14deg); clip-path: polygon(50% 0,62% 12%,79% 5%,84% 23%,100% 28%,91% 45%,100% 61%,81% 67%,79% 88%,60% 84%,47% 100%,36% 83%,17% 91%,14% 70%,0 63%,10% 46%,1% 30%,20% 24%,25% 6%,42% 13%); z-index: 5; }
.story-kept-sticker i { display: block; font-size: 10px; line-height: 1.2; margin-top: 3px; }
.hmm-mascot { position: absolute; left: 6px; bottom: 9px; width: 108px; height: 130px; z-index: 6; }
.mascot-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 5px #57577f22); transform-origin: 50% 85%; }
.mascot-shadow { position: absolute; width: 60%; height: 8px; border-radius: 50%; background: #3e3e5818; filter: blur(3px); bottom: 0; left: 20%; z-index: -1; }
.mascot-eyes { transform: translate(var(--look-x,0px),var(--look-y,0px)); transition: transform .2s; transform-origin: 60px 60px; }
.mascot-bubble { position: absolute; white-space: nowrap; font-weight: 600; font-size: 11px; top: -2px; left: -4px; background: #1683ff; border: 3px solid #fff; color: white; padding: 9px 13px; border-radius: 22px 22px 22px 5px; box-shadow: 0 5px 15px -8px #0006; transform: rotate(-7deg); z-index: 2; }
@media (prefers-reduced-motion:no-preference) {
 .mascot-svg { animation: mascot-breathe 4s ease-in-out infinite; }
 .mascot-shadow { animation: mascot-shadow 4s ease-in-out infinite; }
 .hmm-mascot.is-delighted .mascot-svg { animation: mascot-hop .8s cubic-bezier(.2,.8,.3,1),mascot-breathe 4s .8s ease-in-out infinite; }
 .story-kept-sticker { animation: sticker-drift 6s ease-in-out infinite; }
 @keyframes mascot-breathe { 50% { transform: translateY(-6px) rotate(3deg) scale(1.025,.98); } }
 @keyframes mascot-hop { 15% { transform: scale(1.08,.9); } 45% { transform: translateY(-14px) rotate(-6deg) scale(.94,1.06); } 75% { transform: translateY(1px) scale(1.05,.94); } }
 @keyframes mascot-shadow { 50% { opacity: .5; transform: scale(.85); } }
 @keyframes sticker-drift { 50% { transform: translateY(-5px) rotate(9deg); } }
}
.home-usecases { padding: 54px 32px; border-top: 1px solid var(--sheet-rule); }
.usecases-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.usecases-heading .mono { font-size: 8px; letter-spacing: .14em; }.usecases-heading h2 { font-size: 39px; margin-top: 15px; }.usecases-heading > a { font-size: 11px; white-space: nowrap; }
.usecase-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.usecase { text-decoration: none; display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--border-soft); border-radius: 15px; background: white; transition: transform .2s; min-width: 0; }.usecase:hover { transform: translateY(-4px); }
.usecase-art { height: 156px; border-radius: 9px; background: #f1f1f3; position: relative; overflow: hidden; display: flex; justify-content: center; padding-top: 22px; }
.usecase-art .pass-thumb { transform: rotate(-7deg); }.usecase--plans .usecase-art { background:#e9eafa; }.usecase--people .usecase-art { background:#f9e7e1; }.usecase--business .usecase-art { background:#f7f0d7; }
.usecase-plus { position: absolute; right: 9px; top: 9px; width: 22px; height: 22px; border-radius: 50%; background:#ffffffc9; display: grid; place-items: center; font-size: 12px; }
.usecase h3 { font-size: 13px; line-height: 1.4; margin: 14px 0 7px; }.usecase p { font-size: 11px; line-height: 1.6; color:var(--dim); margin:0; }.usecase-link { margin-top: auto; padding-top: 18px; font-size:10px; }
.home-last-thought { padding: 44px 24px 58px; border-top:1px solid var(--sheet-rule); text-align:center; }.home-last-thought .mono { font-size:8px; }.home-last-thought h2 { font-size:44px; margin:17px 0 24px; }.home-last-thought .btn { font-size:13px; height:46px; }
@media (max-width:900px) and (min-width:641px) { .wallet-story { grid-template-columns: .9fr 1.1fr; padding:50px 24px; gap:16px; }.story-scene { transform:scale(.82); transform-origin:center right; width:400px; margin-left:-70px; }.story-intro h2 { font-size:40px; }.story-intro > p { font-size:13px; }.usecase-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.page--gallery .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:640px) {
 .page--home .hero-title { font-size:clamp(45px,12vw,65px); line-height:1.04; }
 .wallet-story { grid-template-columns:1fr; padding:34px 20px 20px; gap:24px; overflow:clip; }
 .story-intro h2 { font-size:40px; }.story-intro > p { max-width:320px; font-size:14px; }
 .story-steps { margin-top:20px; gap:4px; }.story-steps button { padding:10px; }.story-steps button b { font-size:12px; }.story-steps button small { font-size:10px; }
 .story-controls { margin-top:12px; gap:8px; }.story-controls > span { font-size:8px; }
 .story-scene { width:100%; max-width:390px; height:460px; margin:12px auto 0; }
 .story-message-window { width:240px; height:300px; left:0; top:8px; }.story-phone { width:205px; height:415px; right:0; top:28px; }.story-pass { transform:translate(-50%,35px) scale(.92); }.story-scene[data-step='1'] .story-pass,.story-scene[data-step='2'] .story-pass { transform:translate(-50%,0) scale(.92); }
 .story-kept-sticker { width:80px; height:80px; top:-8px; right:0; font-size:15px; padding:17px 12px; }.story-kept-sticker i { font-size:8px; }
 .story-watch { left:70px; bottom:0; transform:scale(.85) translateY(20px) rotate(-12deg); }.story-scene[data-step='2'] .story-watch { transform:scale(.85) rotate(-8deg); }.hmm-mascot { left:0; bottom:13px; width:90px; height:112px; }.mascot-bubble { font-size:9px; left:-4px; padding:7px 10px; }
 .home-usecases { padding:34px 20px; }.usecases-heading { align-items:start; flex-direction:column; gap:16px; }.usecases-heading h2 { font-size:33px; }.usecase-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:20px; }.usecase-art { height:135px; }.usecase-art .pass-thumb { transform:scale(.9) rotate(-7deg); }.usecase h3 { font-size:12px; }.usecase p { font-size:10px; }
 .home-last-thought { padding:34px 20px 42px; }.home-last-thought h2 { font-size:35px; }
 .page--gallery .gallery-title { font-size:38px; }.page--gallery .gallery { padding-top:28px; }.page--gallery .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:360px) { .story-scene { transform:scale(.9); transform-origin:top center; margin-bottom:-40px; }.story-phone { right:-8px; }.story-message-window { left:-8px; } }
@media (prefers-reduced-motion:no-preference) {
 .mascot-eyes { animation: mascot-blink 7s steps(1) infinite; }
 @keyframes mascot-blink { 0%,91%,96%,100% { transform:translate(var(--look-x,0px),var(--look-y,0px)) scaleY(1); } 94% { transform:translate(var(--look-x,0px),var(--look-y,0px)) scaleY(.12); } }
}
/* Leave room for the shared-card preview above the conversation composer. */
.story-message-window { height: 397px; }
@media (max-width:640px) { .story-message-window { height: 380px; } }
.story-controls { flex-direction: row; align-items: center; gap: 9px; }
.story-controls .story-motion-toggle { flex: none; width: 24px; height: 24px; min-width: 24px; padding: 0; border: 1px solid #dcdce3; border-radius: 50%; text-decoration: none; font-size: 10px; background: #fff8; color: var(--dim); display: grid; place-items: center; }
.story-controls .story-motion-toggle:hover { color: var(--ink); border-color: var(--ink); }
.story-controls .story-motion-toggle:focus-visible { outline-offset: 4px; }
.artwork-picker { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; margin:18px 0 10px; }
.artwork-option { padding:0; background:transparent; border:0; cursor:pointer; min-width:0; text-align:center; }
.artwork-option img,.artwork-option--plain > span { width:100%; height:60px; display:grid; place-items:center; object-fit:cover; border-radius:8px; border:2px solid transparent; image-rendering:auto; transition:transform .2s; }
.artwork-option--plain > span { background:var(--soft); font-family:var(--font-display); font-style:italic; font-size:23px; }
.artwork-option small { display:block; font-size:8px; color:var(--dim); margin-top:6px; line-height:1.4; }
.artwork-option[aria-pressed='true'] img,.artwork-option[aria-pressed='true'] > span { border-color:var(--ink); box-shadow:0 0 0 2px #fff; }
.artwork-option:hover img { transform:translateY(-2px); }
.artwork-actions { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin-top:12px; }
.artwork-actions button { font-size:11px; border:0; background:transparent; padding:5px 0; cursor:pointer; }
.artwork-layout { display:flex; align-items:center; gap:14px; font-size:11px; margin-top:12px; }.artwork-layout select { flex:1; font-size:12px; height:38px; }
.artwork-note { font-size:10px; line-height:1.6; color:var(--dim); margin:10px 0 14px; }

.prompt-demo-status { grid-column: 1; display: flex; align-items: center; gap: 8px; margin-top: 13px; color: var(--muted, #72727d); font-size: 11px; min-height: 24px; }
.prompt-demo-status button { margin-left: auto; font-size: 11px; border: 0; background: none; cursor: pointer; color: inherit; }
.prompt-demo-dot { width: 5px; height: 5px; border-radius: 50%; background: #7d8d75; flex: 0 0 auto; }
.page--home .prompt-examples { gap: 7px; max-width: 640px; }
.page--home .prompt-examples > .mono { flex-basis: 100%; margin: 4px 0; letter-spacing: .14em; color: #767680; }
.prompt-examples button { transition: background .2s, border-color .2s, transform .2s; }
.prompt-examples button:hover { background: #f2f3ef; border-color: #b5b9ac; transform: translateY(-2px); }
.prompt-examples button:focus-visible { outline: 2px solid #585ce0; outline-offset: 3px; }
.prompt textarea[data-demo-typing] { color: #777984; }
@media (max-width: 700px) { .prompt-demo-status { order: 3; width: 100%; font-size: 10px; } .page--home .prompt-examples { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .prompt-examples button { transition: none; } }

/* Phone composer: keep the live result and input together, before suggestions. */
@media (max-width: 640px) {
 .page--home .hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 20px 16px 24px; text-align: left; }
 .page--home .hero > * { grid-column: 1; order: initial; }
 .page--home .hero-eyebrow { grid-row: 1; margin: 0 0 10px; font-size: 8px; }
 .page--home .hero-title { grid-row: 2; font-size: clamp(35px, 9.7vw, 52px); line-height: 1.02; }
 .page--home .hero-title br { display: none; }
 .page--home .hero-lede { grid-row: 3; font-size: 13px; line-height: 1.5; max-width: none; margin: 12px 0 16px; }
 .page--home .live-preview { grid-row: 4; align-self: stretch; margin: 0; border-radius: 20px 20px 0 0; padding: 12px 12px 4px; border-bottom: 0; }
 .page--home .preview-top { font-size: 8px; }
 .page--home .live-pass { height: 258px; margin: 10px auto 0; align-items: flex-start; }
 .page--home .live-pass .pass, .page--home .live-pass:hover .pass { transform: scale(.57); transform-origin: top center; margin: 0 -68px; }
 .page--home .mood-picker { padding: 0; gap: 10px; justify-content: center; }
 .page--home .mood { min-height: 32px; padding: 4px; }
 .page--home .mood > span:last-child { display: none; }
 .page--home .mood > span:first-child { width: 20px; height: 20px; }
 .page--home .preview-controls { justify-content: center; }
 .page--home .preview-controls > [data-preview-status] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .page--home .preview-flip { min-height: 30px; font-size: 11px; }
 .page--home .hero .prompt { grid-row: 5; width: 100%; margin: 0; padding: 12px; border-radius: 0 0 20px 20px; border-top-color: #e4e4e0; box-shadow: 0 12px 24px #20202008; }
 .page--home .prompt textarea { min-height: 64px; height: 64px; font-size: 16px; line-height: 1.4; }
 .page--home .prompt-foot { margin-top: 8px; }
 .page--home .prompt-go { height: 40px; font-size: 13px; padding: 0 14px; }
 .page--home .prompt-blank { font-size: 12px; }
 .page--home .composer-hint { grid-row: 6; margin: 10px 0 0; font-size: 10px; text-align: center; }
 .page--home .prompt-demo-status { grid-row: 7; margin-top: 8px; }
 .page--home .prompt-examples { grid-row: 8; margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding: 4px 0 10px; scrollbar-width: thin; }
 .page--home .prompt-examples > .mono { display: none; }
 .page--home .prompt-examples button { flex: 0 0 auto; min-height: 36px; }
 .page--home .hero-links { grid-row: 9; margin-top: 12px; text-align: center; }
 .page--home .resume-draft { grid-row: 10; }
}

.preview-expand { display: none; }
.preview-dialog { border: 1px solid #dddde3; border-radius: 24px; padding: 18px; width: min(380px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); background: #f4f4f1; color: var(--ink); overflow: auto; }
.preview-dialog::backdrop { background: #16161d88; backdrop-filter: blur(8px); }
.preview-dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.preview-dialog-head h2 { font-size: 16px; margin: 0; }
.preview-dialog-head button { width: 40px; height: 40px; border: 1px solid #ddd; background: white; border-radius: 50%; cursor: pointer; }
.preview-dialog [data-expanded-pass] { display: flex; justify-content: center; }
.preview-dialog p { font-size: 11px; line-height: 1.5; color: var(--dim); text-align: center; margin: 18px 0 0; }
@media (max-width: 640px) {
 .page--home .hero { padding-top: 16px; }
 .page--home .hero-title { font-size: clamp(34px, 9vw, 46px); max-width: 380px; line-height: 1.02; letter-spacing: -.045em; }
 .page--home .hero-title br { display: block; }
 .page--home .hero-lede { font-size: 12px; margin: 10px 0 16px; max-width: 310px; }
 .page--home .live-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; padding: 14px 14px 10px; }
 .page--home .preview-top { grid-column: 1 / -1; grid-row: 1; justify-content: flex-start; font-size: 7px; letter-spacing: .09em; margin-bottom: 12px; }
 .page--home .live-pass { grid-column: 1; grid-row: 2 / 4; height: 194px; width: 100%; margin: 0; }
 .page--home .live-pass .pass, .page--home .live-pass:hover .pass { transform: scale(.43); margin: 0 -91px; }
 .page--home .mood-picker { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); align-self: center; gap: 10px 3px; }
 .page--home .mood { display: flex; flex-direction: column; align-items: center; font-size: 8px; gap: 4px; min-width: 0; padding: 3px 0; }
 .page--home .mood > span:last-child { display: block; }
 .page--home .mood > span:first-child { width: 22px; height: 22px; }
 .page--home .preview-controls { grid-column: 2; grid-row: 3; align-self: start; flex-direction: column; gap: 0; }
 .page--home .preview-flip, .page--home .preview-expand { display: inline-block; background: none; border: 0; min-height: 36px; font-size: 10px; cursor: pointer; color: var(--ink); }
 .page--home .preview-expand { color: var(--dim); }
 .page--home .hero .prompt { padding: 12px; }
 .page--home .prompt textarea { height: 58px; min-height: 58px; }
 .page--home .prompt-demo-status { font-size: 10px; }
}
@media (max-width: 360px) {
 .preview-dialog .pass { width: 280px; height: 400px; }
}

/* Swatches show the same background/foreground pair exported to Wallet. */
.page--home .mood > span:first-child { position: relative; width: 30px; height: 34px; border-radius: 7px; border: 1px solid #0000000c; box-shadow: 0 2px 3px #00000008; }
.page--home .mood > span:first-child::before, .page--home .mood > span:first-child::after { content: ''; position: absolute; left: 6px; top: 9px; height: 3px; width: 16px; border-radius: 2px; background: var(--swatch-fg); opacity: .8; }
.page--home .mood > span:first-child::after { top: 15px; width: 10px; height: 2px; opacity: .5; }
.page--home .mood[aria-pressed='true'] > span:first-child { outline: 1.5px solid #44464d; outline-offset: 3px; }
@media (max-width:640px) {
 .page--home .mood-picker { gap: 10px 5px; }
 .page--home .mood { font-size: 7px; }
 .page--home .mood > span:first-child { width: 25px; height: 29px; border-radius: 6px; }
 .page--home .mood > span:first-child::before { left: 5px; top: 8px; width: 13px; }
 .page--home .mood > span:first-child::after { left: 5px; top: 14px; width: 8px; }
}

/* Personal card inbox and its always-available creation surface. */
.inbox { padding: 30px 32px 64px; }
.inbox-heading { display:flex; align-items:end; justify-content:space-between; gap:16px; }
.inbox-heading .mono { font-size:9px; color:var(--dim); letter-spacing:.15em; }
.inbox-heading h1 { font-size:64px; margin:12px 0 0; }
.inbox-count { color:var(--dim); font-size:13px; padding-bottom:8px; }
.inbox-message { font-size:13px; color:var(--dim); min-height:20px; margin:14px 0 24px; }
.inbox-create { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); border:1px solid var(--border); border-radius:24px; overflow:hidden; background:#fff; margin-bottom:36px; }
.inbox-compose { padding:24px; }
.inbox-compose h2 { font-size:21px; letter-spacing:-.035em; margin:0 0 18px; }
.inbox-compose textarea { width:100%; resize:vertical; min-height:110px; border:0; background:#f6f6f3; border-radius:14px; padding:14px; font-size:16px; line-height:1.5; }
.inbox-compose-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; }
.inbox-compose-actions a { font-size:12px; }
.inbox-compose-actions .btn { font-size:13px; }
.inbox-suggestions { display:flex; flex-wrap:wrap; gap:6px; margin-top:20px; }
.inbox-suggestions button { background:white; border:1px solid var(--border); border-radius:20px; padding:8px 10px; font-size:10px; cursor:pointer; }
.inbox-draft { background:#edeee9; min-width:0; min-height:320px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:22px; overflow:hidden; }
.inbox-draft > .mono { font-size:8px; text-align:center; color:var(--dim); }
.inbox-draft-plus { font-size:70px; color:#b1b6a7; margin:28px 0; }
.inbox-draft > p { font-size:12px; color:var(--dim); }
.inbox-draft > .pass { transform:scale(.68); margin:-70px -50px; }
.inbox-tools { display:flex; gap:12px; align-items:center; margin-bottom:18px; }
.inbox-tools h2 { font-size:20px; margin:0 auto 0 0; }
.inbox-tools input,.inbox-tools select { border:1px solid var(--border); border-radius:12px; padding:10px; background:#fff; font-size:12px; max-width:100%; }
.inbox-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.inbox-card { min-width:0; border:1px solid var(--border); border-radius:20px; overflow:hidden; background:white; }
.inbox-card-art { display:flex; align-items:center; justify-content:center; background:#eeeFEB; padding:20px 8px; text-decoration:none; }
.inbox-card-info { padding:16px; }
.inbox-card-info a { text-decoration:none; }
.inbox-card-info h3 { font-size:16px; margin:0 0 7px; overflow-wrap:anywhere; }
.inbox-card-info > span { font-size:10px; color:var(--dim); }
.inbox-card-info nav { display:flex; flex-wrap:wrap; gap:12px; border-top:1px solid var(--border-soft); margin-top:16px; padding-top:12px; font-size:10px; }
.inbox-empty { padding:30px 0; color:var(--dim); font-size:14px; }
@media(max-width:800px) { .inbox-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) {
 .inbox { padding:20px 16px 40px; }
 .inbox-heading h1 { font-size:46px; }
 .inbox-heading .mono { font-size:7px; }
 .inbox-create { grid-template-columns:minmax(0,1fr); border-radius:20px; }
 .inbox-compose { padding:16px; }
 .inbox-compose h2 { font-size:20px; }
 .inbox-draft { min-height:0; padding:0; }
 .inbox-draft:has(>.pass) { height:205px; padding:10px; }
 .inbox-draft > .pass { transform:scale(.43); transform-origin:top center; margin:0 -90px; }
 .inbox-draft:not(:has(>.pass)) { display:none; }
 .inbox-tools { flex-wrap:wrap; gap:8px; }
 .inbox-tools h2 { flex-basis:100%; margin-bottom:6px; }
 .inbox-tools label { flex:1; min-width:0; }
 .inbox-tools input { width:100%; }
 .inbox-card-art { height:190px; padding:0; overflow:hidden; }
 .inbox-card-art .pass-thumb { transform:scale(.8); }
 .inbox-grid { gap:10px; }
 .inbox-card-info { padding:12px; }
 .inbox-card-info h3 { font-size:13px; }
 .inbox-card-info nav { gap:10px; }
}
.wallet-actions-editor p { font-size:12px; line-height:1.5; color:var(--dim); }
.wallet-action-row { display:grid; gap:8px; padding:12px 0; border-bottom:1px solid var(--border-soft); }
.wallet-action-row label { display:grid; gap:6px; font-size:11px; }
.wallet-action-row select,.wallet-action-row input { width:100%; padding:10px; background:#fff; border:1px solid var(--border); border-radius:10px; font-size:14px; }
.wallet-action-row [role=status] { font-size:11px; color:#843d48; }

/* The product demo renders real card models and native design tokens. */
.wallet-story.product-demo { display:block; padding:48px 32px; margin:20px 24px 40px; background:#f5f5f2; overflow:hidden; }
.demo-heading { display:flex; justify-content:space-between; align-items:end; gap:28px; }
.demo-heading .mono { font-size:9px; color:var(--dim); letter-spacing:.14em; }
.demo-heading h2 { font-size:clamp(40px,5vw,58px); line-height:1.02; margin:14px 0 0; }
.demo-heading > p { max-width:290px; color:var(--muted); font-size:14px; line-height:1.7; margin:0 0 5px; }
.demo-examples { display:flex; gap:8px; margin:28px 0 20px; flex-wrap:wrap; }
.demo-examples button { border:1px solid #deded8; border-radius:99px; padding:10px 14px; font-size:12px; background:transparent; cursor:pointer; }
.demo-examples button[aria-pressed=true] { background:#25272d; color:#faf9f6; border-color:#25272d; }
.demo-body { display:grid; grid-template-columns:minmax(210px,.8fr) minmax(0,1.7fr); gap:16px; align-items:center; }
.demo-guide .story-steps { margin:0; gap:4px; }
.demo-guide .story-steps button { padding:12px 10px; }
.demo-guide .story-steps button b { font-size:12px; line-height:1.4; }
.demo-guide .story-steps button small { font-size:10px; }
.demo-guide .story-controls { padding-left:10px; flex-direction:row; align-items:center; }
.demo-guide .story-controls .story-motion-toggle { flex:none; text-decoration:none; width:30px; height:30px; padding:0; border:1px solid #d5d5d9; border-radius:50%; display:grid; place-items:center; }
.demo-try { display:inline-block; margin:18px 10px 0; font-size:12px; }
.demo-stage { height:570px; position:relative; isolation:isolate; min-width:0; }
.demo-workspace { position:absolute; width:64%; height:330px; left:0; top:85px; border:1px solid #dcdde2; border-radius:18px; background:#fff; box-shadow:0 20px 50px -35px #26263380; overflow:hidden; transform:rotate(-3deg); }
.demo-window-bar { height:35px; border-bottom:1px solid #eee; background:#fafafa; display:flex; align-items:center; gap:12px; padding:0 10px; font-size:8px; }
.demo-window-bar >span { display:flex; gap:3px; }.demo-window-bar i { width:4px; height:4px; border-radius:50%; background:#d7d7dd; }
.demo-window-bar small { margin-left:auto; color:#888; }
.demo-workspace-panel { display:none; padding:18px 14px; }
.demo-workspace-panel .mono { font-size:7px; color:var(--dim); letter-spacing:.08em; }
.demo-workspace-panel h3 { font-size:23px; line-height:1.15; letter-spacing:-.04em; margin:16px 0; }
.demo-workspace-panel p { font-size:10px; line-height:1.6; color:var(--dim); }
.demo-stage[data-step='0'] .demo-panel--type,.demo-stage[data-step='1'] .demo-panel--design,.demo-stage[data-step='2'] .demo-panel--inbox,.demo-stage[data-step='3'] .demo-panel--wallet,.demo-stage[data-step='4'] .demo-panel--reminder { display:block; }
.demo-typing { background:#f4f4f1; border:1px solid #e5e5df; padding:12px; border-radius:12px; min-height:110px; font-size:12px; line-height:1.6; }
.demo-typing i { display:inline-block; height:13px; width:1px; background:#3346ae; vertical-align:middle; animation:demo-caret 1s steps(2) infinite; }
.demo-local-note { display:block; font-size:8px; color:#737770; margin-top:14px; }
.demo-design-swatches { display:flex; gap:6px; }.demo-design-swatches span { width:27px; height:33px; border-radius:5px; display:grid; place-items:center; font-size:10px; border:1px solid #0001; }
.demo-art-options { display:flex; gap:8px; margin-top:16px; }.demo-art-options img { width:48px; height:60px; object-fit:cover; border-radius:6px; image-rendering:auto; }
.demo-mini-inbox-heading { display:flex; align-items:center; gap:12px; }.demo-mini-inbox-heading h3 { margin:0; }.demo-mini-inbox-heading >span { font-size:8px; color:#777; }
.demo-mini-compose { padding:12px 8px; background:#f3f3ee; border:1px solid #e0e0da; border-radius:10px; margin:14px 0 8px; font-size:9px; }.demo-mini-compose b { float:right; }
.demo-mini-search { font-size:8px; color:#888; margin-bottom:12px; }
.demo-mini-grid { display:flex; align-items:start; gap:8px; height:130px; overflow:hidden; }
.demo-mini-saved { width:90px; height:128px; border-radius:8px; background:#c3d1bd; padding:10px; display:flex; flex-direction:column; gap:12px; font-size:7px; }.demo-mini-saved b { font-size:10px; }.demo-mini-saved small { margin-top:auto; font-size:6px; }
.demo-saved-check { display:block; color:#435743; font-size:8px; margin-top:8px; }
.demo-message-bubble { margin:12px 0 8px auto; max-width:160px; background:#1878f7; color:white; padding:9px 10px; border-radius:12px 12px 3px 12px; font-size:9px; }
.demo-share-card { display:grid; gap:8px; padding:14px; border-radius:12px; background:#f0efe9; font-size:14px; }.demo-share-card span { font-size:8px; color:#777; }
.demo-option-pill { display:inline-block; border:1px solid #d4d7cd; background:#f0f3eb; color:#435743; border-radius:99px; padding:8px 10px; font-size:9px; margin-top:16px; }
.demo-phone { width:240px; height:510px; position:absolute; right:0; top:14px; border:7px solid #33353b; border-radius:36px; background:#f2f2f6; box-shadow:0 22px 40px -25px #2228,inset 0 0 0 2px #111; transform:rotate(4deg); padding:16px 10px 14px; overflow:hidden; transition:transform .6s; }
.demo-island { position:absolute; width:74px; height:19px; border-radius:99px; left:50%; top:8px; transform:translateX(-50%); background:#18191d; }
.demo-phone-status { display:flex; justify-content:space-between; font-size:8px; font-weight:600; margin-bottom:21px; padding:0 4px; }
.demo-wallet-title { display:flex; justify-content:space-between; font-size:22px; font-weight:700; margin:0 6px 14px; }.demo-wallet-title >span { font-weight:400; }
.demo-wallet-card { display:flex; justify-content:center; }
.demo-wallet-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-top:10px; }
.demo-wallet-actions >div { min-height:85px; background:white; border-radius:16px; padding:10px; display:flex; flex-direction:column; gap:4px; }
.demo-wallet-actions >div >span { color:white; background:#bd37ce; border-radius:50%; width:21px; height:21px; display:grid; place-items:center; font-size:12px; margin-bottom:3px; }
.demo-wallet-actions >div:nth-child(2) >span { background:#ed902b; }.demo-wallet-actions b { font-size:9px; line-height:1.25; }.demo-wallet-actions small { font-size:8px; color:#888; }
.demo-added { position:absolute; left:20px; right:20px; bottom:20px; padding:12px; border-radius:14px; background:#f0f7ed; border:1px solid #c9d7c2; color:#435743; font-size:11px; text-align:center; opacity:0; transform:translateY(20px); transition:opacity .4s,transform .4s; }
.demo-stage[data-step='3'] .demo-added { opacity:1; transform:translateY(0); }
.demo-home-bar { position:absolute; bottom:6px; left:50%; width:70px; height:3px; border-radius:10px; background:#444; transform:translateX(-50%); }
.demo-notification { position:absolute; inset:95px 7px auto; display:flex; gap:8px; padding:12px; background:#fffffff2; border:1px solid #e6e6e9; border-radius:17px; box-shadow:0 15px 30px #24243230; font-size:10px; backdrop-filter:blur(15px); }
.demo-notification >div { flex:1; }.demo-notification b { display:flex; justify-content:space-between; font-size:9px; }.demo-notification small { font-size:7px; color:#888; }.demo-notification [data-demo-notification-text] { display:block; margin-top:5px; line-height:1.45; }
.demo-wrist { position:absolute; bottom:36px; left:24%; background:#15171a; color:white; width:112px; min-height:139px; border:7px solid #777b84; border-radius:30px; display:flex; flex-direction:column; padding:9px; gap:7px; box-shadow:0 12px 25px #20203033; transform:rotate(-9deg); }
.demo-wrist >span { font-size:8px; text-align:right; }.demo-wrist b { font-size:9px; }.demo-wrist small { font-size:8px; line-height:1.4; color:#c8cbd1; }
.demo-stage .hmm-mascot { left:4%; bottom:26px; width:90px; z-index:3; }
.demo-stage .mascot-bubble { font-size:11px; white-space:nowrap; }
.demo-stage-caption { position:absolute; bottom:5px; left:0; right:0; text-align:center; font-size:10px; color:var(--dim); }
@keyframes demo-caret { 50% { opacity:0; } }
@media(min-width:1100px) { .demo-stage { height:570px; }.demo-phone { right:15px; }.demo-workspace { width:63%; } }
@media(max-width:800px) {
 .wallet-story.product-demo { padding:30px 20px; margin:20px 16px 30px; }
 .demo-body { grid-template-columns:minmax(0,1fr); }
 .demo-guide .story-steps { display:flex; flex-direction:row; overflow-x:auto; padding-bottom:8px; }
 .demo-guide .story-steps button { min-width:190px; flex:0 0 190px; }
 .demo-guide .story-controls { margin-top:5px; }.demo-try { float:right; margin-top:-25px; }
 .demo-stage { width:100%; max-width:540px; margin:auto; }
}
@media(max-width:640px) {
 .demo-heading { display:block; }.demo-heading h2 { font-size:42px; }.demo-heading >p { font-size:12px; margin-top:16px; max-width:330px; }
 .demo-examples { flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; margin:20px 0 12px; }.demo-examples button { white-space:nowrap; font-size:10px; padding:9px 12px; }
 .demo-guide .story-steps button { flex-basis:195px; min-width:195px; }.demo-guide .story-steps button small { font-size:9px; }
 .demo-guide .story-controls { max-width:220px; }.demo-try { font-size:10px; float:none; margin:12px 10px; }
 .demo-stage { height:530px; }
 .demo-phone { width:220px; height:475px; top:15px; right:1px; transform:rotate(3deg); }
 .demo-wallet-card { height:255px; }.demo-wallet-card > .pass-thumb { transform:scale(.9); transform-origin:top center; }
 .demo-wallet-actions { margin-top:5px; }.demo-wallet-actions >div { padding:8px; min-height:78px; }
 .demo-workspace { width:66%; height:300px; top:135px; left:-5px; transform:rotate(-5deg); z-index:1; }
 .demo-phone { z-index:0; }.demo-workspace-panel { padding:14px 10px; }.demo-workspace-panel h3 { font-size:20px; }.demo-typing { font-size:10px; min-height:110px; padding:9px; }
 .demo-stage[data-step='1'] .demo-workspace,.demo-stage[data-step='3'] .demo-workspace,.demo-stage[data-step='4'] .demo-workspace { width:57%; top:170px; }
 .demo-stage[data-step='3'] .demo-workspace { top:80px; }
 .demo-stage[data-step='3'] .demo-phone { z-index:2; }
 .demo-stage .hmm-mascot { width:70px; bottom:23px; left:0; }.demo-stage .mascot-bubble { font-size:9px; }
 .demo-stage-caption { font-size:9px; }.demo-design-swatches { flex-wrap:wrap; }.demo-art-options { gap:5px; }.demo-art-options img { width:38px; height:50px; }
 .demo-wrist { left:10px; bottom:40px; z-index:3; }.demo-stage[data-example='trip'][data-step='4'] .demo-workspace { display:none; }
}
@media(prefers-reduced-motion:reduce) { .demo-stage * { animation:none!important; transition:none!important; } }
.nearby-controls { display:grid; gap:12px; margin-top:16px; }
.nearby-controls >label,.nearby-coordinates label { display:grid; gap:6px; font-size:11px; }
.nearby-controls input { width:100%; min-width:0; padding:10px; border:1px solid var(--border); border-radius:10px; background:white; font-size:14px; }
.nearby-coordinates { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0; }
.nearby-controls details summary { cursor:pointer; font-size:12px; }
.nearby-controls .btn { font-size:12px; }.nearby-controls .quiet-link { background:none; border:0; cursor:pointer; font-size:12px; text-align:left; padding:0; }

.usage { padding:0 32px; }
.usage-hero { padding:60px 0 40px; max-width:720px; }.usage .mono { font-size:9px; letter-spacing:.14em; color:var(--dim); }
.usage-hero h1 { font-size:clamp(60px,8vw,94px); line-height:1; margin:22px 0; }.usage-hero >p { max-width:430px; font-size:18px; color:var(--muted); line-height:1.7; }
.usage-hero >div { display:flex; gap:22px; align-items:center; margin-top:26px; font-size:13px; }
.usage-personas { display:flex; flex-wrap:wrap; gap:8px; padding:14px 0 30px; }.usage-personas a { background:#fff; border:1px solid var(--border); border-radius:99px; text-decoration:none; padding:11px 14px; font-size:12px; }
.usage-how { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; padding:30px 0 45px; border-top:1px solid var(--border); }.usage-how h2 { font-size:18px; letter-spacing:-.03em; }.usage-how p { font-size:13px; line-height:1.7; color:var(--dim); }
.usage-person { scroll-margin-top:90px; padding:44px 0; border-top:1px solid var(--border); }.usage-person-heading h2 { font-size:clamp(36px,5vw,54px); margin:16px 0; line-height:1.1; }.usage-person-heading >p { max-width:570px; color:var(--muted); font-size:16px; line-height:1.7; }
.usage-person-content { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:24px; margin-top:26px; }
.usage-card-stage { background:color-mix(in srgb,var(--usage-tint) 25%,#f2f2ef); border:1px solid var(--border-soft); border-radius:24px; padding:30px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:25px; }.usage-card-stage > .pass-thumb { transform:rotate(-4deg); }.usage-card-stage >span { font-size:10px; text-align:center; color:var(--dim); }
.usage-examples { display:grid; gap:10px; }.usage-examples >a { display:block; background:white; text-decoration:none; border:1px solid var(--border); border-radius:18px; padding:20px; transition:transform .2s,border-color .2s; }.usage-examples >a:hover { transform:translateX(3px); border-color:#a4aaa0; }
.usage-examples h3 { display:flex; justify-content:space-between; gap:10px; font-size:18px; letter-spacing:-.03em; margin:0; }.usage-examples h3 >span { font-weight:400; }.usage-examples p { font-size:13px; line-height:1.6; color:var(--dim); margin:10px 0; }.usage-examples small { font-size:10px; color:#535f4f; }
.usage-tip { font-size:12px; line-height:1.7; color:var(--dim); max-width:700px; margin:20px 0 0; }
.usage-options { padding:44px 0; border-top:1px solid var(--border); }.usage-options h2 { font-size:48px; margin:18px 0 28px; }.usage-options >div { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }.usage-options article { border:1px solid var(--border); border-radius:20px; padding:24px; background:#fff; }.usage-options h3 { margin:0 0 12px; font-size:19px; letter-spacing:-.03em; }.usage-options p { font-size:13px; color:var(--dim); line-height:1.7; margin:0; }
.usage-last { text-align:center; padding:30px 0 70px; }.usage-last h2 { font-size:60px; margin:0 0 28px; line-height:1; }.usage-last .quiet-link { display:block; width:fit-content; margin:18px auto 0; font-size:12px; }
@media(max-width:640px) {
 .usage { padding:0 20px; }.usage-hero { padding:30px 0 25px; }.usage-hero h1 { font-size:56px; }.usage-hero >p { font-size:15px; }.usage-hero >div { gap:16px; font-size:11px; }.usage-hero .btn { font-size:12px; }
 .usage-personas { flex-wrap:nowrap; overflow-x:auto; padding-bottom:18px; }.usage-personas a { flex:none; font-size:10px; }
 .usage-how { grid-template-columns:1fr; gap:18px; padding:25px 0; }.usage-how h2 { margin:8px 0; }.usage-how p { margin:0; }
 .usage-person { padding:32px 0; }.usage-person-heading h2 { font-size:36px; }.usage-person-heading >p { font-size:14px; }
 .usage-person-content { grid-template-columns:1fr; gap:16px; }.usage-card-stage { padding:25px; }.usage-card-stage .pass-thumb { transform:rotate(-3deg) scale(.9); margin:-10px; }.usage-examples h3 { font-size:17px; }.usage-examples >a { padding:18px; }
 .usage-options >div { grid-template-columns:1fr; gap:12px; }.usage-options h2 { font-size:42px; }.usage-options article { padding:20px; }.usage-last h2 { font-size:50px; }
}
@media(prefers-reduced-motion:reduce) { .usage-examples >a { transition:none; } }
.demo-stage[data-step='4'] .demo-panel--reminder { display:none; }
.demo-stage[data-step='4'] .demo-panel--nearby,.demo-stage[data-step='5'] .demo-panel--reminder { display:block; }
.demo-map { height:100px; position:relative; overflow:hidden; border-radius:12px; border:1px solid #d8dfd2; background-color:#eef2e9; background-image:linear-gradient(25deg,transparent 45%,#fff 45%,#fff 53%,transparent 53%),linear-gradient(90deg,transparent 45%,#fff 45%,#fff 53%,transparent 53%); background-size:60px 60px,90px 90px; }
.demo-map-range { position:absolute; width:65px; height:65px; top:10px; left:50%; transform:translateX(-50%); background:#4e7a6633; border:1px solid #4e7a6655; border-radius:50%; }
.demo-map-pin { position:absolute; left:50%; top:30px; transform:translateX(-50%); color:#435743; background:white; box-shadow:0 3px 8px #2222; border-radius:50%; width:23px; height:23px; display:grid; place-items:center; font-size:14px; }
.demo-map small { position:absolute; bottom:8px; text-align:center; width:100%; font-size:7px; color:#435743; }
@media(max-width:640px) { .demo-stage[data-example='trip'][data-step='5'] .demo-workspace { display:none; } }
.demo-added { bottom:auto; top:62px; z-index:2; padding:8px; font-size:10px; }
.usage .btn { min-height:46px; padding:0 18px; border-radius:12px; font-size:13px; }
.inbox-compose-actions .btn,.nearby-controls .btn { min-height:42px; padding:0 14px; border-radius:11px; }

.developer { padding:35px 32px 60px; }.developer>.mono { font-size:9px; letter-spacing:.14em; color:var(--dim); }.developer>h1 { font-size:clamp(50px,7vw,78px); line-height:1.02; margin:20px 0; }.developer-lede { max-width:510px; color:var(--muted); line-height:1.7; font-size:16px; }
.developer-keybox { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:30px; padding:26px; background:#f3f4ee; border:1px solid #dfe2d7; border-radius:24px; margin-top:30px; }.developer-keybox h2 { margin:0 0 12px; font-size:24px; letter-spacing:-.04em; }.developer-keybox p { font-size:13px; line-height:1.7; color:var(--dim); }.developer-keybox form { display:grid; gap:14px; }.developer-keybox form>label { display:grid; gap:7px; font-size:12px; }.developer-keybox input:not([type=checkbox]),.developer-keybox select { padding:12px; border:1px solid var(--border); border-radius:10px; min-width:0; width:100%; background:white; font-size:14px; }.developer-keybox fieldset { border:1px solid var(--border); border-radius:12px; padding:12px; display:grid; gap:10px; font-size:12px; }.developer-keybox legend { font-size:11px; padding:0 5px; }.developer-keybox fieldset label { display:flex; gap:8px; align-items:center; }.developer-keybox input[type=checkbox] { accent-color:#435743; width:16px; height:16px; }
.developer .btn { min-height:42px; padding:0 16px; border-radius:11px; font-size:13px; }.developer .quiet-link { border:0; background:none; cursor:pointer; font-size:12px; padding:0; }
.developer-secret { border:1px solid #bac9b2; background:#edf3e8; border-radius:20px; padding:24px; margin-top:20px; }.developer-secret h2 { font-size:22px; margin:0 0 10px; }.developer-secret p { font-size:12px; line-height:1.6; color:var(--dim); }.developer-secret>code { display:block; background:white; border-radius:12px; padding:16px; font-size:14px; overflow-wrap:anywhere; user-select:all; }.developer-secret>div { display:flex; gap:10px; margin-top:16px; }
.developer-keys { margin-top:36px; }.developer-keys h2 { font-size:23px; }.developer-key { display:flex; align-items:start; justify-content:space-between; gap:16px; border-top:1px solid var(--border); padding:18px 0; }.developer-key>div { display:grid; gap:7px; min-width:0; }.developer-key b { font-size:15px; }.developer-key code { font-size:12px; color:var(--dim); }.developer-key small { font-size:10px; line-height:1.7; color:var(--dim); overflow-wrap:anywhere; }.developer-key>button { min-height:36px; flex:none; }.developer-keys>p { font-size:13px; color:var(--dim); }
.developer-quickstart { border-top:1px solid var(--border); margin-top:30px; padding-top:30px; }.developer-quickstart>.mono { font-size:9px; letter-spacing:.1em; color:var(--dim); }.developer-quickstart h2 { font-size:28px; letter-spacing:-.04em; }.developer-quickstart p { font-size:13px; line-height:1.7; color:var(--dim); }.developer-quickstart pre { padding:20px; background:#25272d; color:#f5f2eb; border-radius:16px; font-size:12px; line-height:1.8; overflow:auto; }.developer-endpoints { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:25px; }.developer-endpoints article { border:1px solid var(--border); background:white; border-radius:14px; padding:18px; min-width:0; }.developer-endpoints article>code { font-size:12px; }.developer-endpoints p { margin-bottom:0; }
@media(max-width:640px) { .developer { padding:24px 16px 40px; }.developer>h1 { font-size:51px; }.developer-lede { font-size:14px; }.developer-keybox { grid-template-columns:1fr; padding:18px; gap:16px; }.developer-endpoints { grid-template-columns:1fr; }.developer-quickstart pre { font-size:10px; padding:14px; }.developer-secret { padding:18px; }.developer-secret>div { flex-wrap:wrap; } }
.demo-api-key { display:block; border-radius:8px; padding:8px; background:#f0f3eb; font-size:8px; color:#435743; }
.demo-panel--api pre { font-size:7px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; border-radius:10px; padding:12px; background:#25272d; color:#faf9f6; }
.demo-panel--api a { font-size:9px; }
.demo-stage[data-example='agent'][data-step='3'] .demo-panel--wallet { display:none; }
.demo-stage[data-example='agent'][data-step='3'] .demo-panel--api { display:block; }
.demo-stage[data-example='agent'][data-step='3'] .demo-added { display:none; }
.usage-developer-link { padding:28px; margin:20px 0 40px; border:1px solid #cbd5c2; background:#f0f3eb; border-radius:22px; }.usage-developer-link h2 { font-size:26px; letter-spacing:-.04em; margin:0 0 14px; }.usage-developer-link p { font-size:14px; color:var(--dim); line-height:1.7; max-width:520px; margin-bottom:20px; }
@media(max-width:640px){.demo-stage[data-example='agent'][data-step='5'] .demo-workspace{display:none}.usage-developer-link{padding:20px}.usage-developer-link h2{font-size:24px}.demo-stage[data-example='agent'][data-step='3'] .demo-phone{z-index:0}.demo-stage[data-example='agent'][data-step='3'] .demo-workspace{z-index:1;top:160px}}
.developer-start { display:grid; gap:8px; font-size:12px; margin-top:20px; }.developer-start>span { color:var(--dim); font-size:11px; }
.product-demo[data-playing='false'] .mascot-svg,.product-demo[data-playing='false'] .mascot-shadow,.product-demo[data-playing='false'] .mascot-eyes,.product-demo[data-playing='false'] .demo-typing i { animation-play-state:paused; }
.demo-folder-nav { display:flex; gap:4px; margin-left:auto; }
.demo-folder-nav .nav-folder-mark { width:14px; height:13px; filter:none; }.demo-folder-nav .nav-folder-back { inset:3px 1px 0; border-radius:2px; }.demo-folder-nav .nav-folder-back::before { width:6px; top:-2px; height:3px; border-radius:2px 2px 0 0; }.demo-folder-nav .nav-folder-paper { top:4px; left:2px; right:2px; bottom:1px; }.demo-folder-nav .nav-folder-front { height:9px; border-radius:2px; }.demo-folder-nav .nav-folder-front svg { width:6px; height:6px; }
.demo-window-bar .demo-folder-nav + small { margin-left:0; }
