/* hkmall.ai — one stylesheet, no build step. Palette and type from seenzgo.com: linen page, paper cards, umber ink. */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --linen: #F3EEE7; --paper: #FBF9F6;                                   /* page, cards */
  --umber: #3A332D; --ink-2: #5C534B; --muted: #6B625A;                 /* text; --muted is 5.2:1 on linen */
  --line: #E2D9CD; --on-dark: #F3EEE7;
  --footer-bg: #3A332D; --footer-text: #CFC6BB; --footer-head: #AEA396;
  --ink-rgb: 58, 51, 45;
  --clay: #B27C62; --ochre: #AF8C4F; --sage: #7C8C72; --mauve: #8E7A92; --stone: #8A9BA6; --taupe: #9B7F6A;
  --ink-clay: #9E6A51; --ink-ochre: #8E7033; --ink-sage: #687A5E; --ink-mauve: #806C85;   /* large text and icons only */
  --t-clay: #F0E3D9; --t-ochre: #F1E8D4; --t-sage: #E4E8DD; --t-mauve: #ECE5EA; --t-stone: #E6EAEA;
  --ok: #687A5E; --err: #B91C1C;
  /* --line is too faint to mark an input's edge; this one reaches 3.5:1 against paper. */
  --field-line: #8F8377;
  --shadow: 0 40px 56px -38px rgba(90,62,40,.5);
  --display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang HK", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--umber);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0 0 .5em;
  color: var(--umber);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
a { color: var(--umber); text-decoration-color: var(--clay); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--ink-clay); }
strong { color: var(--umber); font-weight: 700; }
svg { display: block; }
::selection { background: rgba(178,124,98,.3); }

:focus-visible { outline: 3px solid var(--umber); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--umber);
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.break { overflow-wrap: anywhere; }

.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .container { max-width: 1184px; padding: 0 32px; } }

/* ---------- buttons & pills (seenzgo.com's "pill" buttons) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.btn-primary {
  background: var(--umber);
  color: var(--on-dark);
  box-shadow: 0 18px 34px -14px rgba(58,51,45,.65);
}
.btn-primary:hover {
  color: var(--on-dark);
  box-shadow: 0 22px 38px -14px rgba(58,51,45,.7);
  transform: translateY(-2px);
}
.btn-secondary { border-color: rgba(var(--ink-rgb), .35); background: transparent; color: var(--umber); }
.btn-secondary:hover { border-color: rgba(var(--ink-rgb), .5); background: rgba(var(--ink-rgb), .06); color: var(--umber); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 13px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--umber);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pill-sample { box-shadow: inset 0 0 0 1px var(--line); background: var(--linen); color: var(--muted); }
.pill-free { box-shadow: inset 0 0 0 1px var(--ochre); background: var(--t-ochre); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
}
/* The accent dot, like seenzgo's card dots: clay by default, a different hue per section. */
.eyebrow::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 5px rgba(var(--ink-rgb), .05); }
#organisers .eyebrow::before { background: var(--ochre); }

.accent-text { color: var(--ink-clay); }

/* ---------- header & footer ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(243,238,231,.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  min-height: 64px;
}
.brand { display: flex; flex-direction: column; padding: 10px 0; line-height: 1.1; }
.wordmark { color: var(--umber); font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.wordmark:hover { color: var(--umber); }
.wordmark span { color: var(--ink-clay); }
.brand-by { margin-top: 3px; color: var(--muted); font-size: 12px; text-decoration: none; }
.brand-by:hover { color: var(--umber); text-decoration: underline; }

.nav-links { display: none; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--umber); }

/* 760–1023px: the links get their own row under the wordmark and button. */
@media (min-width: 760px) {
  .nav-links { display: flex; order: 3; flex-basis: 100%; gap: 24px; padding: 0 0 14px; }
}
@media (min-width: 1024px) {
  .nav-links { order: 0; flex-basis: auto; margin-left: auto; padding: 0; gap: 28px; }
}

.site-footer { padding: 56px 0 44px; background: var(--footer-bg); color: var(--footer-text); font-size: 15px; }
.site-footer .wordmark { color: var(--on-dark); }
.site-footer .wordmark span { color: #D6A388; }
.footer-main { display: grid; gap: 24px; }
.footer-about p { max-width: 36em; margin: 12px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 24px; }
.footer-links a { color: var(--on-dark); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: #D6A388; text-decoration: underline; text-decoration-color: currentColor; }
.copyright { margin: 32px 0 0; color: var(--footer-head); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
@media (min-width: 860px) {
  .footer-main { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
  .footer-links { justify-content: flex-end; }
}

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: 48px 0 64px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto;
  height: 90%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 18% 30%, rgba(178,124,98,.16), transparent 70%),
    radial-gradient(ellipse 35% 45% at 85% 45%, rgba(124,140,114,.14), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.skyline { position: absolute; left: 0; bottom: 0; z-index: 0; width: 100%; height: 210px; }

.eyebrow-live { padding: 6px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.eyebrow-live::before { display: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

.lead { max-width: 38em; color: var(--ink-2); font-size: 1.125rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* The animated phone stands in front of the skyline; on wide screens two sample cards peek out behind it. */
.hero-visual { position: relative; display: grid; justify-items: center; }
.hero-visual .phone { z-index: 1; width: min(280px, 100%); }

/* Sample event cards: illustration only, labelled "Sample". */
.samples { display: none; }
.sample {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 210px;
  padding: 12px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}

/* Thumbnails are sized in %, so the same art works at any size (sample cards, phone screens). */
.sample-thumb { flex: none; width: 48px; height: 48px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .08); }
.thumb-market {
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(58,51,45,.18) 44% 100%),
    repeating-linear-gradient(90deg, #E7C99C 0 13.8%, #B27C62 13.8% 27.6%);
}
.thumb-lantern {
  background:
    radial-gradient(circle at 50% 48%, #E7C99C 0 19%, rgba(231,201,156,.45) 21.5% 36%, transparent 38.5%),
    linear-gradient(160deg, #8E7A92, #B27C62);
}
.thumb-robot {
  background:
    radial-gradient(circle at 39% 52%, #FBF9F6 0 6.5%, transparent 8.6%),
    radial-gradient(circle at 61% 52%, #FBF9F6 0 6.5%, transparent 8.6%),
    linear-gradient(rgba(58,51,45,.45), rgba(58,51,45,.45)) 50% 55% / 52% 38% no-repeat,
    linear-gradient(135deg, #8A9BA6, #7C8C72);
}
.thumb-jazz {
  background:
    radial-gradient(circle at 50% 50%, #FBF9F6 0 7%, rgba(58,51,45,.75) 9% 32%, transparent 34%),
    linear-gradient(150deg, #8A9BA6, #8E7A92);
}
.sample-body { flex: 1; min-width: 0; }
.sample-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.sample-kind { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sample-title { margin: 0; color: var(--umber); font-size: 14px; font-weight: 700; line-height: 1.3; }
.sample-meta { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; white-space: nowrap; }

@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px; }
  .hero .lead { font-size: 1.2rem; }
  .skyline { height: 300px; }
  .hero-visual .phone { width: min(300px, 100%); }
}
@media (min-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .samples { position: absolute; inset: 0; display: block; }
  /* Each card's thumbnail side tucks behind the phone; its words and "Sample" pill stay in view. */
  .sample { position: absolute; }
  .sample:nth-child(1) { top: 15%; left: -40px; width: 230px; flex-direction: row-reverse; rotate: -2deg; }
  .sample:nth-child(1) .sample-top { justify-content: flex-start; }
  .sample:nth-child(2) { top: 63%; right: -24px; rotate: 1.5deg; }
}

/* ---------- sections ---------- */

.section { padding: 64px 0; }
.section-tight { padding-top: 0; }
@media (min-width: 760px) { .section { padding: 96px 0; } .section-tight { padding-top: 0; } }

.section-band { border-block: 1px solid var(--line); background: var(--t-ochre); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-intro { margin: 16px 0 0; color: var(--ink-2); font-size: 1.1rem; }
.section-link { margin: 28px 0 0; font-weight: 600; }

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--t-clay);
  color: var(--ink-clay);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* How it works */
.steps { position: relative; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
/* One line per step on phones (number beside the words), number above the words from 760px. */
.step { display: flex; align-items: center; gap: 16px; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--umber);
  color: var(--on-dark);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(var(--ink-rgb), .06), 0 12px 24px -10px rgba(58,51,45,.5);
}
.step h3 { margin: 0; }
.steps-cta { margin: 44px 0 0; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .step { display: block; }
  .step-num { margin-bottom: 18px; }
  /* Line joining the three numbers: from the first circle's centre to the last one's. */
  .steps::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 22px;
    right: calc((100% - 64px) / 3 - 22px);
    height: 2px;
    background: var(--line);
  }
}

/* Why we ask: a paper card with a clay bar, like seenzgo's kickers. */
.trust {
  display: grid;
  gap: 8px 48px;
  padding: 28px 22px 28px 26px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: inset 4px 0 0 var(--clay), var(--shadow);
}
.trust .icon { background: var(--t-mauve); color: var(--ink-mauve); }
.trust-head h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.trust p { margin: 0 0 12px; color: var(--ink-2); font-size: 1.05rem; }
.trust-link { margin: 0 !important; font-weight: 700; }
@media (min-width: 860px) {
  .trust { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); align-items: start; padding: 48px 48px 48px 52px; }
}

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--umber);
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { margin-top: -2px; transform: rotate(225deg); }
.faq details p { max-width: 44em; margin: 0; padding: 0 0 22px; color: var(--ink-2); }

/* 404 / error */
.error-page { position: relative; overflow: hidden; padding: 72px 0 230px; }
.error-copy { position: relative; z-index: 1; }
.error-code { margin: 0 0 8px; font-family: var(--display); font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.error-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.error-page .skyline { height: 230px; }

/* ---------- consent, thanks, verify, licence, privacy ---------- */

.page-head { padding: 48px 0 28px; }
.page-head h1 { max-width: 18em; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-head .lead { margin: 0; font-size: 1.15rem; }

.consent-grid { display: grid; gap: 28px; padding-bottom: 72px; }
@media (min-width: 960px) {
  .consent-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
  .recap { position: sticky; top: 24px; padding-top: 8px; }
}
.recap h2 { margin: 0 0 14px; font-size: 1.3rem; }
.tick-list, .agree-list { margin: 0 0 28px; padding: 0; list-style: none; }
.tick-list li, .agree-list li { position: relative; margin: 0 0 12px; padding-left: 32px; line-height: 1.5; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.agree-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}
.recap-link { margin: 0; font-weight: 700; }

.form-card {
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
@media (min-width: 760px) { .form-card { padding: 40px; } }
.form-note { margin: 0 0 24px; color: var(--muted); font-size: 15px; }

fieldset { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
legend { margin: 0 0 18px; padding: 0; color: var(--umber); font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }

.field { margin: 0 0 20px; }
.field > label:not(.check) { display: block; margin: 0 0 6px; color: var(--umber); font-weight: 600; }
.req { color: var(--ink-clay); font-weight: 700; }
.hint { margin: -2px 0 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }

input[type="text"], input[type="url"], input[type="email"], input[type="tel"], select {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--field-line);
  border-radius: 10px;
  background-color: #fff;
  color: var(--umber);
  font: inherit;
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B625A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
input:focus, select:focus { outline: none; border-color: var(--umber); box-shadow: 0 0 0 3px rgba(var(--ink-rgb), .18); }
.has-error input, .has-error select { border-color: var(--err); }
.error-msg { margin: 8px 0 0; color: var(--err); font-size: 15px; font-weight: 600; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--umber);
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.check:hover { border-color: var(--taupe); }
.check:has(input:checked) { border-color: var(--sage); background: var(--t-sage); }
.check.has-error { border-color: var(--err); background: #FEF2F2; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--umber); cursor: pointer; }
.check input:focus-visible { outline: 3px solid var(--umber); outline-offset: 2px; }

.licence-block { margin: 4px 0 12px; }
.licence-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; }
.licence-label { margin: 0; color: var(--umber); font-weight: 700; }
.licence-head a { font-size: 15px; font-weight: 600; }
.licence-panel {
  max-height: 18rem;
  overflow-y: auto;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--linen);
  color: var(--umber);
  font-size: 15px;
  line-height: 1.55;
}
.licence-panel h3 { margin: 0 0 12px; font-size: 1.05rem; }
.licence-panel p { margin: 0 0 12px; }
.licence-panel p:last-child { margin: 0; }

.notice {
  margin: 8px 0 28px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ochre);
  border-radius: 12px;
  background: var(--t-ochre);
  color: var(--umber);
  font-size: 15px;
  line-height: 1.55;
}
.notice h3 { margin: 0 0 10px; font-size: 1.05rem; }
.notice p { margin: 0 0 10px; }
.notice p:last-child { margin: 0; }

.btn-submit { width: 100%; min-height: 54px; font-size: 16px; }
@media (min-width: 760px) { .btn-submit { width: auto; padding: 14px 44px; } }

/* Honeypot: off-screen for people, still in the form for bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.error-summary {
  margin: 0 0 28px;
  padding: 20px 24px;
  border: 2px solid var(--err);
  border-radius: 14px;
  background: #FEF2F2;
  color: var(--umber);
}
.error-summary:focus { outline: 3px solid rgba(185,28,28,.35); outline-offset: 3px; }
.error-summary h2 { margin: 0 0 8px; color: var(--err); font-size: 1.2rem; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary li { margin: 4px 0; }
.error-summary a { color: var(--err); text-decoration-color: currentColor; font-weight: 600; }

/* Thanks, verify, licence, privacy */
.page-narrow { padding: 48px 0 80px; }
.narrow { max-width: 752px; }
.prose-wrap { max-width: 872px; }
.panel {
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
@media (min-width: 760px) { .panel { padding: 48px; } }
.panel h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.panel h2 { margin: 1.6em 0 .6em; font-size: 1.3rem; }
.panel-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--t-sage);
  color: var(--ok);
}
.panel-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.panel-actions { margin: 28px 0 0; }
.ref-line { font-size: 1.05rem; }
.ref-pill {
  display: inline-block;
  padding: 3px 14px;
  border: 1px solid rgba(178,124,98,.4);
  border-radius: 999px;
  background: var(--t-clay);
  color: var(--umber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 700;
  letter-spacing: .04em;
}
.next-steps { margin: 0 0 8px; padding: 0; list-style: none; counter-reset: step; }
.next-steps li { position: relative; min-height: 32px; margin: 0 0 18px; padding-left: 48px; counter-increment: step; }
.next-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--umber);
  color: var(--on-dark);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
}
.next-steps .note {
  display: block;
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(175,140,79,.5);
  border-radius: 10px;
  background: var(--t-ochre);
  color: var(--umber);
  font-size: 15px;
}

.prose h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.prose h2 { margin: 1.8em 0 .5em; font-size: 1.3rem; }
.prose ul { margin: 0 0 1em; padding-left: 1.25em; }
.prose li { margin: 0 0 .5em; }
.prose-meta { margin: 2em 0 0; color: var(--muted); font-size: 15px; }
.prose-after { margin: 24px 4px 0; color: var(--muted); font-size: 15px; }
.licence-text h1 { margin-bottom: 1em; font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.licence-text p { margin: 0 0 1.1em; }
.licence-text p:last-child { margin: 0; }

/* ---------- phone mockup ---------- */

/* Inside the phone every size is in --p, a 300th of the phone's width (1px at the 'lg' size), so the
   drawing scales as one piece: the 240px screens, the 280px mobile hero, the full-height demo page. */
.phone { --p: 1px; --loop: 20s; position: relative; width: min(300px, 100%); aspect-ratio: 300 / 620; container-type: inline-size; }
.phone-sm { --p: .8px; width: min(240px, 100%); }
@supports (width: 1cqi) { .phone { --p: calc(100cqi / 300); } }
/* Without container units the drawing can't follow the width; size it for the 280px mobile hero so nothing clips. */
@supports not (width: 1cqi) { .hero-visual .phone { --p: calc(280px / 300); } }

.ph-device { height: 100%; padding: calc(10 * var(--p)); border-radius: calc(44 * var(--p)); background: var(--umber); box-shadow: var(--shadow); }
.ph-screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: calc(34 * var(--p)); background: var(--paper); color: var(--umber); font-size: calc(12 * var(--p)); line-height: 1.35; text-align: left; }
.ph-screen p { margin: 0; }
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: calc(12 * var(--p)) calc(24 * var(--p)) calc(2 * var(--p)); color: rgba(var(--ink-rgb), .6); font-family: var(--display); font-size: calc(9 * var(--p)); font-weight: 700; line-height: 1; }
.ph-bars { display: flex; gap: calc(3 * var(--p)); }
.ph-bars span { width: calc(4 * var(--p)); height: calc(4 * var(--p)); border-radius: 50%; background: currentColor; }
.ph-top { display: flex; align-items: center; justify-content: space-between; padding: calc(8 * var(--p)) calc(14 * var(--p)); }
.ph-logo { font-family: var(--display); font-size: calc(13 * var(--p)); font-weight: 700; letter-spacing: -.02em; }
.ph-loc { padding: calc(3 * var(--p)) calc(8 * var(--p)); border-radius: 999px; background: var(--linen); color: var(--ink-2); font-size: calc(10 * var(--p)); font-weight: 600; }
.ph-view { position: relative; flex: 1; overflow: hidden; }
.ph-demo { position: absolute; top: calc(6 * var(--p)); right: calc(14 * var(--p)); z-index: 1; padding: 0 calc(6 * var(--p)); font-size: calc(8 * var(--p)); }

/* The three screens are stacked; static modes show one, the animated loop swaps them (see motion). */
.ph-scr { position: absolute; inset: 0; display: flex; flex-direction: column; gap: calc(9 * var(--p)); padding: calc(6 * var(--p)) calc(14 * var(--p)) calc(10 * var(--p)); background: var(--paper); opacity: 0; }
.ph-a, .mode-animated .ph-b, .mode-chat .ph-b, .mode-go .ph-c { opacity: 1; }

.ph-h { font-family: var(--display); font-size: calc(17 * var(--p)); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.ph-chips { display: flex; flex-wrap: wrap; gap: calc(5 * var(--p)); }
.ph-chip { padding: calc(4 * var(--p)) calc(9 * var(--p)); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .3); font-size: calc(10.5 * var(--p)); font-weight: 600; line-height: 1.2; }
.ph-chip.is-on { background: var(--umber); color: var(--linen); box-shadow: none; }
.ph-sage { background: var(--t-sage); box-shadow: none; }
.ph-stone { background: var(--t-stone); box-shadow: none; }

.ph-card { display: flex; align-items: center; gap: calc(10 * var(--p)); padding: calc(8 * var(--p)); border-radius: calc(14 * var(--p)); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 calc(10 * var(--p)) calc(18 * var(--p)) calc(-14 * var(--p)) rgba(90,62,40,.4); }
.ph-thumb { flex: none; width: calc(56 * var(--p)); height: calc(56 * var(--p)); border-radius: calc(12 * var(--p)); }
.ph-card-body { display: grid; flex: 1; min-width: 0; }
.ph-kind { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: calc(9 * var(--p)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ph-mini { padding: 0 calc(6 * var(--p)); border-radius: 999px; background: var(--t-sage); color: var(--ink-2); font-size: calc(9.5 * var(--p)); letter-spacing: 0; line-height: 1.6; text-transform: none; }
.ph-title { margin: calc(1 * var(--p)) 0; font-size: calc(13 * var(--p)); font-weight: 700; line-height: 1.25; }
.ph-meta { overflow: hidden; color: var(--muted); font-size: calc(11 * var(--p)); white-space: nowrap; text-overflow: ellipsis; }

/* The NAVI mark: a sage circle with the four-point spark. Also used in the flow graphic. */
.navi-mark { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--t-sage); }
.navi-mark svg { width: 62%; height: 62%; fill: var(--ink-sage); stroke: var(--ink-sage); stroke-width: .5; stroke-linejoin: round; }
.ph-screen .navi-mark { width: calc(28 * var(--p)); height: calc(28 * var(--p)); }

.ph-chat-head { display: flex; align-items: center; gap: calc(8 * var(--p)); padding-bottom: calc(9 * var(--p)); border-bottom: 1px solid var(--line); }
.ph-name { font-family: var(--display); font-size: calc(13 * var(--p)); font-weight: 700; line-height: 1.2; }
.ph-sub { color: var(--muted); font-size: calc(11 * var(--p)); }
.ph-msg { padding: calc(8 * var(--p)) calc(11 * var(--p)); border-radius: calc(14 * var(--p)); }
.ph-user { align-self: flex-end; max-width: 82%; border-bottom-right-radius: calc(4 * var(--p)); background: var(--umber); color: var(--linen); transform-origin: 100% 100%; }
.ph-reply { position: relative; }
.ph-navi { display: grid; gap: calc(7 * var(--p)); border-top-left-radius: calc(4 * var(--p)); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transform-origin: 0 0; }
.ph-why { color: var(--muted); }
.ph-typing { position: absolute; top: 0; left: 0; display: flex; gap: calc(4 * var(--p)); padding: calc(11 * var(--p)) calc(12 * var(--p)); border-radius: calc(4 * var(--p)) calc(14 * var(--p)) calc(14 * var(--p)); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; }
.ph-typing span { width: calc(6 * var(--p)); height: calc(6 * var(--p)); border-radius: 50%; background: var(--muted); }

.ph-route { flex: none; overflow: hidden; border-radius: calc(14 * var(--p)); box-shadow: inset 0 0 0 1px var(--line); }
.ph-map { width: 100%; height: calc(110 * var(--p)); }
.ph-steps { margin: 0; padding: calc(10 * var(--p)) calc(12 * var(--p)) calc(11 * var(--p)); list-style: none; }
.ph-steps li { position: relative; padding: 0 0 calc(9 * var(--p)) calc(18 * var(--p)); font-weight: 700; }
.ph-steps li:last-child { padding-bottom: 0; }
.ph-steps li::before { content: ""; position: absolute; left: 0; top: calc(4 * var(--p)); width: calc(8 * var(--p)); height: calc(8 * var(--p)); border-radius: 50%; background: var(--clay); }
.ph-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(3.25 * var(--p)); top: calc(14 * var(--p)); bottom: calc(1 * var(--p)); width: calc(1.5 * var(--p)); background: var(--line); }
.ph-here { display: flex; align-items: flex-end; gap: calc(6 * var(--p)); margin-top: auto; transform-origin: 0 100%; }
.ph-arrived { justify-self: start; padding: calc(2 * var(--p)) calc(9 * var(--p)); border-radius: 999px; background: var(--ok); color: var(--paper); font-size: calc(10.5 * var(--p)); font-weight: 700; }

/* Mini map, shared by the Go screen and the flow graphic. */
.m-ground { fill: var(--linen); }
.m-sage { fill: var(--t-sage); }
.m-stone { fill: var(--t-stone); }
.m-street { fill: none; stroke: var(--line); stroke-width: 8; }
.m-route { fill: none; stroke: var(--clay); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0 5; }
/* 21 dots, then a gap longer than the path, so stroke-dashoffset 100 -> 0 reveals them one at a time. */
.ph-trail { stroke-dasharray: 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 5 0 200; }
.m-start, .m-person { fill: var(--umber); stroke: var(--paper); stroke-width: 2; }
.m-pin { fill: var(--clay); }
.m-dot { fill: var(--paper); }

.ph-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: calc(7 * var(--p)) calc(8 * var(--p)) 0; border-top: 1px solid var(--line); color: var(--muted); font-size: calc(10 * var(--p)); font-weight: 600; }
.ph-tab { display: grid; justify-items: center; gap: calc(3 * var(--p)); }
.ph-tab svg { width: calc(16 * var(--p)); height: calc(16 * var(--p)); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph-tab-b, .mode-feed .ph-tab-a { color: var(--ink-clay); }
.mode-feed .ph-tab-b { color: inherit; }
.ph-home { flex: none; width: calc(96 * var(--p)); height: calc(4 * var(--p)); margin: calc(8 * var(--p)) auto; border-radius: 999px; background: var(--umber); }

/* The three still screens: a swipeable row on phones, three columns from 900px. */
.shots { display: flex; gap: 16px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; list-style: none; }
.shot { flex: none; width: 240px; scroll-snap-align: start; text-align: center; }
.shot .phone { margin: 0 auto; }
.shot > h3 { margin: 24px 0 4px; }
.shot > p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (min-width: 760px) { .shots { margin: 0 -32px; padding-inline: 32px; scroll-padding-inline: 32px; } }
@media (min-width: 900px) {
  .shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; overflow: visible; }
  .shot { width: auto; }
  .shot > p { max-width: 240px; margin: 0 auto; }
}

/* ---------- flow graphic ---------- */

/* Tiles stack on phones (arrows point down) and sit in a row from 860px (arrows point right).
   Drawings are sized in --t, a 300th of the tile's width, so they scale with it. */
.flow { display: grid; gap: 56px; max-width: 340px; margin: 0 auto; }
.flow-step { margin: 0; }
.flow-tile { --t: 1px; position: relative; display: grid; place-items: center; aspect-ratio: 6 / 5; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); container-type: inline-size; }
@supports (width: 1cqi) { .flow-tile { --t: calc(100cqi / 300); } }
.flow-step figcaption { margin-top: 16px; font-family: var(--display); font-size: 15px; font-weight: 700; text-align: center; }
.flow-arrow { position: absolute; left: 50%; bottom: calc(100% + 20px); width: 48px; height: 16px; margin-left: -24px; rotate: 90deg; fill: none; stroke: var(--clay); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; max-width: none; }
  .flow-arrow { left: auto; right: calc(100% + 8px); bottom: auto; top: 50%; margin: -8px 0 0; rotate: none; }
}

.poster { position: relative; display: flex; flex-direction: column; gap: calc(8 * var(--t)); width: calc(126 * var(--t)); height: calc(168 * var(--t)); padding: calc(14 * var(--t)); border-radius: calc(10 * var(--t)); background: var(--t-ochre); box-shadow: inset 0 0 0 1px rgba(175,140,79,.45); }
.poster-art { width: calc(36 * var(--t)); height: calc(36 * var(--t)); margin-bottom: auto; border-radius: 50%; background: var(--ochre); box-shadow: calc(22 * var(--t)) calc(12 * var(--t)) 0 calc(-8 * var(--t)) var(--clay); }
.poster-bar { height: calc(9 * var(--t)); border-radius: 99px; background: var(--umber); }
.poster-bar-short { width: 64%; }
.poster-date { align-self: flex-start; padding: calc(2 * var(--t)) calc(7 * var(--t)); border-radius: 999px; background: var(--paper); font-size: calc(10 * var(--t)); font-weight: 700; white-space: nowrap; }
.poster-badge { position: absolute; top: calc(-10 * var(--t)); right: calc(-24 * var(--t)); display: flex; align-items: center; gap: calc(6 * var(--t)); padding: calc(3 * var(--t)) calc(10 * var(--t)); border-radius: 999px; background: var(--ok); color: var(--paper); font-size: calc(11 * var(--t)); font-weight: 700; box-shadow: 0 calc(6 * var(--t)) calc(12 * var(--t)) calc(-6 * var(--t)) rgba(58,51,45,.5); }
.poster-badge::before { content: ""; width: calc(4 * var(--t)); height: calc(8 * var(--t)); margin-top: calc(-3 * var(--t)); border: solid currentColor; border-width: 0 calc(2 * var(--t)) calc(2 * var(--t)) 0; rotate: 45deg; }

.flow-chat { display: flex; align-items: flex-start; gap: calc(8 * var(--t)); width: calc(240 * var(--t)); }
.flow-tile .navi-mark { width: calc(28 * var(--t)); height: calc(28 * var(--t)); }
.flow-bubble { display: grid; flex: 1; gap: calc(8 * var(--t)); padding: calc(10 * var(--t)) calc(12 * var(--t)); border-radius: calc(4 * var(--t)) calc(14 * var(--t)) calc(14 * var(--t)); box-shadow: inset 0 0 0 1px var(--line); font-size: calc(12 * var(--t)); line-height: 1.3; }
.flow-card { display: flex; align-items: center; gap: calc(9 * var(--t)); padding: calc(7 * var(--t)); border-radius: calc(10 * var(--t)); box-shadow: inset 0 0 0 1px var(--line), 0 calc(8 * var(--t)) calc(14 * var(--t)) calc(-10 * var(--t)) rgba(90,62,40,.4); }
.flow-thumb { flex: none; width: calc(38 * var(--t)); height: calc(38 * var(--t)); border-radius: calc(8 * var(--t)); background: radial-gradient(circle at 34% 34%, var(--ochre) 0 18%, transparent 19%), linear-gradient(var(--umber), var(--umber)) 50% 76% / 64% 10% no-repeat, var(--t-ochre); box-shadow: inset 0 0 0 1px rgba(175,140,79,.45); }
.flow-card b { display: block; font-size: calc(13 * var(--t)); }
.flow-card small { display: block; color: var(--muted); font-size: calc(11 * var(--t)); }

.flow-map { width: calc(236 * var(--t)); overflow: hidden; border-radius: calc(14 * var(--t)); }
.flow-map svg { width: 100%; height: auto; }

.benefits { display: flex; flex-wrap: wrap; gap: 10px; margin: 48px 0 0; padding: 0; list-style: none; }
.benefits li { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--display); font-size: 15px; font-weight: 600; }
.benefits li::before { content: ""; width: 6px; height: 11px; margin-top: -3px; border: solid var(--ok); border-width: 0 2px 2px 0; rotate: 45deg; }

/* ---------- demo page ---------- */

/* /demo/navi: the animated phone alone, as tall as the window, for screen recording.
   ?t= sets --seek and .is-paused, which freezes the loop at that second. */
.demo { display: grid; place-items: center; height: 100vh; }
.demo .phone { width: min(calc(92vh * 300 / 620), 871px, calc(100vw - 32px)); }
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .live-dot { animation: pulse 2.4s ease-out infinite; }
  .sample { animation: float 7s ease-in-out infinite; }
  .sample:nth-child(2) { animation-duration: 8.5s; animation-delay: -3s; }
  .sample:nth-child(3) { animation-duration: 9.5s; animation-delay: -5s; }
  .sk-twinkle { animation: twinkle 5s ease-in-out infinite; }
  .sk-beacon { animation: beacon 2.6s ease-in-out infinite; }

  /* The phone's 20-second loop. Keyframe % = seconds / 20 x 100; a delay offset (+0.8s etc.) reuses
     one keyframe set later in the loop. --seek shifts the whole loop (/demo/navi?t=). Without motion,
     the animated phone stays on screen B, finished. */
  .mode-animated .ph-b { animation: ph-b var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-c { animation: ph-c var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-tonight { animation: ph-pulse var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-user { animation: ph-pop var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-typing { animation: ph-typing var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-typing span { animation: ph-bounce var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-typing span + span { animation-delay: calc(var(--seek, 0s) + .15s); }
  .mode-animated .ph-typing span + span + span { animation-delay: calc(var(--seek, 0s) + .3s); }
  .mode-animated .ph-reply .ph-navi { animation: ph-pop var(--loop) linear infinite calc(var(--seek, 0s) + 2.3s); }
  .mode-animated .ph-r1, .mode-animated .ph-r2, .mode-animated .ph-why, .mode-animated .ph-actions { animation: ph-rise var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-r2 { animation-delay: calc(var(--seek, 0s) + .8s); }
  .mode-animated .ph-why { animation-delay: calc(var(--seek, 0s) + 1.3s); }
  .mode-animated .ph-actions { animation-delay: calc(var(--seek, 0s) + 3s); }
  .mode-animated .ph-go { animation: ph-press var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-trail { animation: ph-route var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-steps li { animation: ph-light var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-steps li + li { animation-delay: calc(var(--seek, 0s) + .6s); }
  .mode-animated .ph-steps li + li + li { animation-delay: calc(var(--seek, 0s) + 1.2s); }
  .mode-animated .ph-here { animation: ph-here var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-arrived { animation: ph-here var(--loop) linear infinite calc(var(--seek, 0s) + .5s); }
  .mode-animated .ph-tab-a { animation: ph-tab-a var(--loop) linear infinite var(--seek, 0s); }
  .mode-animated .ph-tab-b { animation: ph-tab-b var(--loop) linear infinite var(--seek, 0s); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(124,140,114,.55); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(124,140,114,0); }
}
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes twinkle { 50% { opacity: .15; } }
@keyframes beacon { 50% { opacity: .25; } }

/* Phone loop, 20s: A feed 0-3 · B chat fades in 3.0-3.6 · user bubble 3.2 · typing 4.0-5.5 · reply 5.5 ·
   cards 6.0 / 6.8, why 7.3 · chips 9.0 · Go pressed 11.5 · C slides up 12.0 · route 12.6-14.5,
   steps 13.0 / 13.6 / 14.2 · "You're here" 16.5, Arrived 17.0 · B and C fade out 19-20. */
@keyframes ph-b { 0%, 15% { opacity: 0; animation-timing-function: cubic-bezier(.1, .9, .2, 1); } 18%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ph-c {
  0%, 60% { opacity: 0; transform: translateY(calc(24 * var(--p))); animation-timing-function: ease-out; }
  63%, 95% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes ph-pulse {
  0%, 5% { transform: none; box-shadow: 0 0 0 0 rgba(178,124,98,.6); }
  9% { transform: scale(1.1); }
  13%, 100% { transform: none; box-shadow: 0 0 0 calc(8 * var(--p)) rgba(178,124,98,0); }
}
@keyframes ph-pop { 0%, 16% { opacity: 0; transform: scale(.96); animation-timing-function: ease-out; } 17.5%, 100% { opacity: 1; transform: none; } }
@keyframes ph-typing { 0%, 19.9% { opacity: 0; } 20%, 27.5% { opacity: 1; } 28.5%, 100% { opacity: 0; } }
@keyframes ph-bounce { 0%, 20%, 23%, 26%, 29%, 100% { transform: none; } 21.5%, 24.5%, 27.5% { transform: translateY(calc(-3 * var(--p))); } }
@keyframes ph-rise { 0%, 30% { opacity: 0; transform: translateY(calc(8 * var(--p))); animation-timing-function: ease-out; } 31%, 100% { opacity: 1; transform: none; } }
@keyframes ph-press { 0%, 57.5%, 59%, 100% { transform: none; filter: none; } 58.25% { transform: scale(.94); filter: brightness(.7); } }
@keyframes ph-route { 0%, 63% { stroke-dashoffset: 100; animation-timing-function: steps(20, end); } 72.5%, 100% { stroke-dashoffset: 0; } }
@keyframes ph-light { 0%, 65% { opacity: .3; } 66%, 100% { opacity: 1; } }
@keyframes ph-here { 0%, 82.5% { opacity: 0; transform: scale(.96); animation-timing-function: ease-out; } 84%, 100% { opacity: 1; transform: none; } }
@keyframes ph-tab-a { 0%, 15%, 97%, 100% { color: var(--ink-clay); } 16%, 96% { color: var(--muted); } }
@keyframes ph-tab-b { 0%, 15%, 97%, 100% { color: var(--muted); } 16%, 96% { color: var(--ink-clay); } }
