/* Bricolage Grotesque and Nunito Sans, Latin, SIL Open Font License.
   Files live under /fonts. Nunito (the older family) is no longer used. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/nunito-sans/nunito-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #F6F7FA;
  --white: #FFFFFF;
  --navy: #1B2A4A;
  --muted: #566175;
  --muted-navy: #C9D1E3;
  --line: #E3E6EE;
  --coral: #FF6B4A;
  --coral-shadow: #C94A30;
  --teal: #16B8C4;
  --teal-text: #0B7682;
  --mint: #E3F6F7;
  --mint-text: #0B6770;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --bs-body-font-family: var(--body);
  --bs-body-color: var(--navy);
  --bs-body-bg: var(--ground);
  --bs-heading-color: var(--navy);
  --bs-primary: var(--navy);
  --bs-link-color: var(--navy);
  --bs-link-hover-color: var(--teal-text);
  --bs-border-color: var(--line);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scrollbar-gutter: stable; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--ground);
  color: var(--navy);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

main { flex: 1; }

img { max-width: 100%; height: auto; }

button, input { font-family: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  font-weight: 800;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 32px;
}

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
}

h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -1.8px;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -1px;
}

h3 { margin: 0; font-size: 24px; line-height: 1.15; }

p { margin: 0; }

a { color: inherit; }
a:hover { color: var(--teal-text); }

.lede { font-size: 19px; color: var(--muted); max-width: 520px; }
.quiet { color: var(--muted); font-size: 18px; }

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand img { display: block; height: 40px; width: auto; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header-brand { display: flex; align-items: center; gap: 48px; }

.nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-list a[aria-current="page"] {
  font-weight: 700;
  border-bottom-color: var(--teal);
}

.nav-list a:hover { color: var(--teal-text); }

.site-nav, .header-actions { display: flex; align-items: center; gap: 20px; }

.header-signin {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-bars { display: flex; flex-direction: column; gap: 4px; }
.menu-bars span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 1px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  border-radius: 14px;
  border: 2px solid transparent;
  min-height: 52px;
  padding: 0 24px;
}

.btn:hover { color: var(--navy); }

.btn-coral {
  background: var(--coral);
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 4px 0 var(--coral-shadow);
}

.btn-coral:hover { background: #ff7d61; color: var(--navy); }
.btn-coral:active { transform: translateY(4px); box-shadow: none; }
.btn-coral:disabled { opacity: 0.45; box-shadow: none; cursor: not-allowed; }

.btn-outline,
.btn-outline-navy {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover,
.btn-outline-navy:hover { background: var(--ground); color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: transparent;
}

.btn-navy:hover { background: #24365c; color: #fff; }

.btn-danger {
  background: #C53434;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 0 #8E2424;
}

.btn-danger:hover { background: #a82b2b; color: #fff; }
.btn-danger:active { transform: translateY(4px); box-shadow: none; }

.btn:disabled { opacity: 0.55; box-shadow: none; cursor: not-allowed; }

.btn-small { min-height: 0; padding: 11px 20px; border-radius: 12px; font-size: 15px; }

.btn-text {
  border: 0;
  background: none;
  color: var(--teal-text);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.btn-text-danger { color: #C53434; }
.btn-text-danger:hover { color: #8E2424; }

.soon {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ground);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: middle;
}

.price [data-ccy],
.tax-suffix [data-ccy] { display: none; }

html[data-currency="gbp"] .price [data-ccy="gbp"],
html[data-currency="gbp"] .tax-suffix [data-ccy="gbp"],
html[data-currency="usd"] .price [data-ccy="usd"],
html[data-currency="eur"] .price [data-ccy="eur"],
html[data-currency="eur"] .tax-suffix [data-ccy="eur"],
html:not([data-currency]) .price [data-ccy="usd"] { display: inline; }

.tax-suffix {
    font-family: var(--body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--muted);
    margin-left: 6px;
}

.tax-note { margin: 0; color: var(--muted); font-size: 15px; max-width: 40rem; }

.checkout-wait { display: none; }
.js .checkout-wait { display: block; }
.js .checkout-manual { display: none; }

.currency-switch { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.currency-label { font-size: 14px; font-weight: 700; }

.currency-switch [role="group"] {
  display: inline-flex;
  gap: 4px;
  background: var(--ground);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 14px;
}

.currency-switch button {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

html[data-currency="gbp"] .currency-switch [data-set-currency="gbp"],
html[data-currency="usd"] .currency-switch [data-set-currency="usd"],
html[data-currency="eur"] .currency-switch [data-set-currency="eur"] {
  background: var(--navy);
  color: #fff;
}

.hero-band { background: var(--white); padding: 64px 0 56px; }
.section { padding: 96px 0; }
.section-lg { padding: 104px 0; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.section-head .quiet { font-size: 18px; }
.section .section-head + p { margin-top: 20px; }

.upsell-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 20px 28px;
}

.upsell-bar p { margin: 0; font-size: 17px; }
.upsell-bar strong { font-weight: 800; }

.upsell-bar .btn {
  background: #fff;
  color: var(--navy);
  min-height: 0;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  white-space: nowrap;
}

.maker {
  display: flex;
  flex-direction: column;
  gap: 28px;
  scroll-margin-top: 5.5rem;
}

.maker-url { display: flex; flex-direction: column; gap: 8px; }
.maker-url label { font-weight: 700; font-size: 15px; }

.url-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 16px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 6px 0 var(--navy);
}

.url-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 19px;
  font-weight: 600;
  padding: 12px 0;
  color: var(--navy);
}

.url-field input:focus { outline: none; }
.url-field:focus-within { outline: 3px solid var(--teal); outline-offset: 3px; }
.url-field input::placeholder { color: #8b93a3; font-weight: 600; }

.maker-note { font-size: 14px; color: var(--muted); }

.ready-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--mint);
  color: var(--mint-text);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.chip-short { display: none; }

.customise {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ground);
  padding: 6px;
}

.customise-toggle { display: none; }

.tablist { display: flex; gap: 4px; flex-wrap: wrap; }

.tablist [role="tab"] {
  height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.tablist [role="tab"][aria-selected="true"] {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.15);
}

.tab-panels { display: block; }

.tab-panel {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-top: 6px;
  min-height: 132px;
}

.tab-panel.is-off { display: none; }

.swatch-groups { display: flex; flex-wrap: wrap; gap: 32px; }
.swatch-group, .panel-label { display: flex; flex-direction: column; gap: 10px; }
.swatch-group > span, .panel-label { font-weight: 700; font-size: 14px; }
.swatches, .style-tiles, .frame-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(27, 42, 74, 0.18);
}

.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); }

.swatch-custom {
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px dashed #9AA3B5;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.style-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.style-tile[aria-pressed="true"] { border-color: var(--navy); }

.logo-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.logo-add {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 12px;
  border: 2px dashed #9AA3B5;
  background: var(--ground);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.logo-note { font-size: 14px; color: var(--muted); max-width: 280px; }

.frame-row button {
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--line);
}

.frame-row button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.credit-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.credit-label input { width: 18px; height: 18px; accent-color: var(--navy); }

.qr-warning {
  margin-top: 12px;
  color: var(--navy);
  font-weight: 800;
  background: #fff3cd;
  border-radius: 12px;
  padding: 12px 14px;
}

.hero-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero-copy h1 {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -1.8px;
  text-wrap: balance;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.hero-aside { min-width: 0; }
.hero-aside .phone-shell { margin-inline: auto; }

.hero-rest { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }

.same-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  margin: 0;
}
.example-kicker {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-text);
}
.same-link-qr {
  grid-row: 2 / span 2;
  width: 72px;
  height: 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
}
.same-link-qr svg { display: block; width: 100%; height: 100%; }
.same-link-url { margin: 0; font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.same-link-url span { color: var(--teal-text); }
.same-link figcaption { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }

.maker-stage { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.maker-figure { width: 100%; max-width: 400px; }
/* Buttons live in the figure so they follow his feet as the art grows. */
.maker .maker-figure { display: flex; flex-direction: column; }
.maker .maker-figure > .mrurl-crop { width: 100%; min-width: 0; }
.maker-downloads { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.download-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.download-row .dl-icon,
.download-row .dl-short { display: none; }
.download-row .btn:disabled {
  background: #E6E9F0;
  color: #7E8798;
  border-color: transparent;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}
.download-row .btn:disabled:hover { background: #E6E9F0; color: #7E8798; }
.download-hint { margin: 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); }

.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.scene { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.scene figcaption { font-weight: 700; }
.scene-stage {
  height: 320px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.scene-cafe { background: #DDEFF1; align-items: flex-end; }
.scene-window { background: var(--navy); }
.scene-card { background: #FFE7E0; }
.scene-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: #C9A27C; }
.scene-tent {
  position: relative;
  width: 170px;
  background: #fff;
  border-radius: 14px 14px 4px 4px;
  padding: 18px 18px 22px;
  margin-bottom: 40px;
  box-shadow: 0 18px 30px rgba(27, 42, 74, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scene-tent [data-frame-caption] { font-family: var(--display); font-weight: 800; font-size: 16px; text-align: center; line-height: 1.15; }
.scene-credit { font-size: 10px; color: #9AA3B5; font-weight: 700; }
.scene-glass { position: absolute; inset: 28px; border: 10px solid #2C3E62; border-radius: 6px; }
.scene-decal {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.scene-decal span { font-family: var(--display); font-weight: 800; font-size: 13px; }
.biz-card {
  width: 280px;
  height: 168px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 30px rgba(27, 42, 74, 0.16);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: rotate(-4deg);
}
.biz-card strong { font-family: var(--display); font-size: 18px; }
.biz-card span { font-size: 12px; color: var(--muted); }
.biz-card .biz-copy { display: flex; flex-direction: column; gap: 4px; }
.scene-qr { flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.scene-qr svg { width: 100%; height: 100%; max-width: 100%; max-height: 100%; display: block; shape-rendering: crispEdges; }
.scene-tent .scene-qr { width: 118px; height: 118px; }
.scene-decal .scene-qr { width: 88px; height: 88px; }
.biz-card .scene-qr { width: 92px; height: 92px; }

.demo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}

.demo h2 { font-size: 56px; line-height: 1.02; letter-spacing: -1.4px; color: #fff; }
.demo .quiet { color: var(--muted-navy); font-size: 19px; max-width: 460px; }
.demo-copy, .demo-visual { display: flex; flex-direction: column; gap: 24px; }
.demo-label { font-size: 14px; font-weight: 700; color: var(--muted-navy); }

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #2C3E62;
  padding: 4px;
  border-radius: 14px;
  align-self: flex-start;
}

.seg button {
  height: 42px;
  padding: 0 18px;
  border-radius: 11px;
  border: none;
  background: transparent;
  color: var(--muted-navy);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.seg.on-light { background: var(--ground); }
.seg.on-light button { color: var(--muted); }
.seg.on-light button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.demo-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.demo-actions .price-note { font-size: 15px; color: var(--muted-navy); }

.demo-visual { flex-direction: row; align-items: center; justify-content: center; gap: 28px; }

.printed-card {
  width: 190px;
  background: #fff;
  color: var(--navy);
  border-radius: 16px 16px 6px 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.3);
}

.printed-card strong { font-family: var(--display); font-size: 17px; text-align: center; line-height: 1.15; }
.printed-card .scene-qr { width: 130px; height: 130px; }
.printed-card em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; }
.printed-stack { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scan-note {
  margin: 0;
  max-width: 220px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--muted-navy);
}

.phone-shell {
  width: 250px;
  height: 470px;
  background: #0F1A30;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  background: #fff;
  color: var(--navy);
  border-radius: 30px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-url {
  background: #F0F2F6;
  margin: 18px 14px 0;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.demo .phone-url { margin-bottom: 0; }
.demo .menu-page {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 0;
  gap: 0;
}
.demo .menu-crop {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  max-width: none;
  object-fit: contain;
  object-position: top center;
}
.menu-crop {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: top center;
}
.menu-page { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.menu-page .place { font-size: 12px; font-weight: 800; color: var(--teal-text); }
.menu-page h3 { font-size: 26px; line-height: 1.05; }
.menu-page .when { font-size: 12px; color: var(--muted); font-weight: 700; }
.menu-lines { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 800; }
.menu-lines div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.menu-lines div:last-child { border-bottom: 0; padding-bottom: 0; }

.benefit-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.benefit { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit p { color: var(--muted); }
.benefit-visual { height: 150px; display: flex; align-items: center; }
.benefit-visual.stack { flex-direction: column; justify-content: center; gap: 8px; align-items: stretch; }
.benefit-visual.is-bars { flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 8px; background: transparent; }

.short-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 8px 8px 16px;
  background: var(--ground);
  font-weight: 800;
  font-size: 18px;
}

.short-pill span { color: var(--teal-text); }
.short-pill button, .copy-chip {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.route-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ground);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
}

.route-row strong { font-weight: 700; }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.bars span { flex: 1; background: #CFEFF2; border-radius: 6px 6px 2px 2px; }
.bars .hot { background: var(--teal); }
.bar-note { font-size: 12px; color: var(--muted); font-weight: 700; }

.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.plan-pair, .plan-cards { display: grid; gap: 14px; }
.plan-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }

.plan-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-card.featured { border: 2px solid var(--navy); background: var(--ground); }
.plan-card .name { font-weight: 800; }
.plan-amount { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }
.plan-amount .per,
.plan-amount-lg .per { font-family: var(--body); font-weight: 700; color: var(--muted); }
.plan-amount .per { font-size: 16px; }
.plan-card p, .plan-card li { font-size: 15px; color: var(--muted); }
.plan-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.plan-card .btn { margin-top: auto; width: 100%; }
.plan-card [data-plan-yours] { display: none; }
html[data-plan="pro"] .plan-card [data-plan-cta="pro"],
html[data-plan="business"] .plan-card [data-plan-cta="business"] { display: none; }
html[data-plan="pro"] .plan-card [data-plan-yours="pro"],
html[data-plan="business"] .plan-card [data-plan-yours="business"] { display: inline-flex; }
.plans-link { font-weight: 700; font-size: 15px; }

.page { padding: 64px 0 96px; }
.page-intro { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-bottom: 28px; }
.stack { display: flex; flex-direction: column; gap: 16px; max-width: 40rem; }

.draft {
  display: inline-block;
  align-self: flex-start;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  border: 1px solid var(--line);
  font-size: 14px;
}

.preview-form {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }

.field input[type="url"],
.slug-field {
  height: 52px;
  border: 2px solid #D5DAE4;
  border-radius: 14px;
  background: #fff;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.field input[type="url"] { padding: 0 16px; width: 100%; }
.field input:focus { outline: none; border-color: var(--navy); }

.slug-field { display: flex; align-items: center; padding: 0 6px 0 16px; }
.slug-field span { font-weight: 700; color: var(--muted); }
.slug-field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.slug-chip {
  background: var(--mint);
  color: var(--mint-text);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.slug-chip.is-bad { background: #F4E4E0; color: #8A3B28; }

.preview-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.preview-actions .hint { font-size: 14px; color: var(--muted); }

.dynamic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 64px;
  align-items: center;
}

.preview-copy { text-align: center; font-weight: 700; }
.preview-price { font-size: 14px; color: var(--muted); }
.preview-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preview-side .maker-figure { max-width: 400px; }

.preview-band {
  position: absolute;
  z-index: 4;
  left: -12%;
  right: -12%;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  background: var(--coral);
  color: var(--navy);
  text-align: center;
  padding: 10px 0;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 4px 10px rgba(27, 42, 74, 0.2);
}
.stamp-break { display: none; }

.qr-plate.is-preview,
.qr-plate.is-clean.is-preview { opacity: 0.35; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step-no {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps p { color: var(--muted); }

.route {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}

.route h2 { color: #fff; font-size: 48px; line-height: 1.04; letter-spacing: -1.2px; }
.route .quiet { color: var(--muted-navy); font-size: 18px; }

.rule-list {
  background: #fff;
  color: var(--navy);
  border-radius: 22px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ground);
}

.rule.is-off { opacity: 0.55; }
.rule .plan { font-size: 13px; color: var(--muted); font-weight: 700; }
.rule .to { color: var(--teal-text); }
.rule-else { border: 1px dashed #D5DAE4; background: transparent; }

.switch {
  flex: none;
  width: 52px;
  height: 30px;
  border-radius: 15px;
  border: none;
  padding: 3px;
  display: flex;
  cursor: pointer;
  background: var(--teal-text);
  justify-content: flex-end;
}

.switch[aria-checked="false"] { background: #C5CBD8; justify-content: flex-start; }
.switch span { width: 24px; height: 24px; border-radius: 12px; background: #fff; display: block; }

.pick-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pick-plans .plan-card { border-radius: 22px; padding: 32px; gap: 18px; }
.pick-plans .plan-card.featured { background: #fff; }
.plan-amount-lg { font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 1; }
.plan-amount-lg .per { font-size: 17px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-top h3 { font-size: 26px; }
.mint-chip { background: var(--mint); color: var(--mint-text); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 10px; }
.pick-plans li { color: #33405A; font-size: 16px; }

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pricing-plans .plan-card { border-radius: 22px; padding: 32px; gap: 18px; }
.pricing-plans .plan-card.featured { background: #fff; }
.pricing-plans h2 { font-size: 26px; line-height: 1.15; letter-spacing: -0.4px; }
.pricing-plans li { color: #33405A; font-size: 16px; }

.price-wrap { overflow-x: auto; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.price-table { width: 100%; min-width: 44rem; border-collapse: collapse; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-weight: 800; }
.price-table th:first-child, .price-table td:first-child { position: sticky; left: 0; background: #fff; }
.price-table .plan { background: var(--ground); }
.export-note { max-width: 40rem; color: var(--muted); }

.trouble {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.trouble p { margin: 10px 0 0; color: var(--muted); }

.trouble-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.trouble-next p { margin: 0; font-weight: 700; }

.made-for {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.made-for > span { font-size: 14px; font-weight: 800; }

.made-for ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.made-for li {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.made-for li:has(a) { padding: 0; }
.made-for a {
  display: block;
  padding: 5px 12px;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}
.made-for a:hover { text-decoration: underline; text-underline-offset: 2px; }

.lede-short { display: none; }

.phone-block { margin-top: 8px; }

.wrong-turn { padding: 64px 0 96px; text-align: center; }
.wrong-turn img { width: min(20rem, 100%); margin: 0 auto 16px; }
.wrong-turn h1 { font-size: 44px; margin-bottom: 12px; }
.wrong-turn p { color: var(--muted); margin-bottom: 20px; }

.site-footer { background: var(--navy); color: #fff; padding: 56px 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .brand img { height: 36px; }
.footer-tag { color: var(--muted-navy); font-size: 15px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--teal); }

@media (min-width: 901px) {
  .maker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    column-gap: 48px;
    row-gap: 28px;
    align-items: stretch;
  }

  .hero-split {
    grid-template-columns: minmax(0, 1fr) 400px;
    column-gap: 48px;
    row-gap: 0;
  }

  .maker.hero-split { row-gap: 28px; }

  .hero-copy,
  .maker-url,
  .maker-custom { grid-column: 1; }

  .maker .maker-stage {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: relative;
    align-self: stretch;
  }

  .maker-home .maker-stage { grid-row: 1 / span 3; }

  /* The homepage form is taller than MrURL even when he is stretched.
     On the review maker he is the taller column, and because he is out of
     the grid flow the buttons would otherwise cover the next section.
     This gap is the room they slide into. */
  .maker:not(.maker-home) { padding-bottom: 80px; }

  /* Out of the grid flow, pinned to the top of the column, so his head
     stays level with the headline and he grows downwards. The left column
     does not move. The download buttons are inside the figure, 24px under
     his feet, and follow the same 350ms stretch. */
  .maker .maker-figure {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    gap: 24px;
  }

  /* The second lines ("Get a free QR code." and "Change it whenever.")
     stay one line at 64px only when the copy column is at least 620px.
     Between 1000px and 1160px a 400px mascot leaves that short, so the
     mascot column gives up width. Below 1000px the 250px phone still
     needs the column, so this stops. */
  @media (min-width: 1000px) and (max-width: 1160px) {
    .maker,
    .hero-split {
      grid-template-columns: minmax(620px, 1fr) minmax(250px, 400px);
    }
  }

  .maker-home .tab-panels { display: grid; }

  .maker-home .tab-panels > .tab-panel { grid-area: 1 / 1; }

  .maker-home .tab-panel.is-off {
    display: block;
    visibility: hidden;
  }

  .customise-toggle { display: none; }
}

@media (max-width: 900px) {
  .wrap { padding-inline: 16px; }
  h1, .hero-copy h1 { font-size: 34px; letter-spacing: -0.8px; line-height: 1.02; }
  h2, .demo h2, .route h2, .wrong-turn h1 { font-size: 34px; letter-spacing: -0.8px; }
  .header-bar { height: 60px; }
  .brand img { height: 32px; }
  .menu-toggle { display: flex; }
  .header-brand .nav-list { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 8px;
  }

  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-list a { min-height: 44px; display: inline-flex; align-items: center; }
  .header-actions { margin-left: 0; }
  .header-actions.is-signed-in { flex-direction: column; align-items: flex-start; gap: 12px; }

  .hero-band { padding: 20px 0 32px; }
  .maker { gap: 16px; padding-bottom: 0; }
  .hero-copy .lede-full,
  .maker-note { display: none; }
  .hero-copy .lede-short { display: block; }
  .maker-url label { font-size: 14px; }
  .url-field { border-radius: 14px; padding: 4px 4px 4px 14px; box-shadow: 0 4px 0 var(--navy); }
  .url-field input { font-size: 16px; padding: 10px 0; }
  .chip-long, .ready-chip .chip-icon { display: none; }
  .chip-short { display: inline; }
  .ready-chip { font-size: 13px; padding: 8px 10px; border-radius: 10px; }

  .maker-stage { order: 3; gap: 8px; align-items: stretch; margin-top: 0; position: static; }
  .maker-custom { order: 4; }
  .maker-figure { position: static; max-width: none; width: 100%; gap: 8px; }
  .maker-downloads { position: static; top: auto; }

  .mrurl-crop { height: auto; overflow: visible; }

  .download-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; width: 100%; }
  .download-row .btn,
  .download-row .customise-toggle {
    width: 100%;
    min-height: 48px;
    padding-inline: 6px;
    font-size: 14px;
    gap: 6px;
  }
  .download-row .dl-full { display: none; }
  .download-row .dl-icon,
  .download-row .dl-short { display: inline-flex; }

  .customise-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 2px solid var(--navy);
    background: var(--white);
    color: var(--navy);
    font-weight: 800;
    cursor: pointer;
  }

  .customise { display: none; margin-top: 0; }
  .customise.is-open { display: block; }

  .scenes,
  .benefit-panel,
  .demo,
  .trust,
  .hero-split,
  .dynamic-hero,
  .trouble,
  .steps,
  .route,
  .pick-plans,
  .plan-cards,
  .pricing-plans,
  .plan-pair { grid-template-columns: minmax(0, 1fr); }

  .benefit + .benefit { border-left: none; border-top: 1px solid var(--line); }
  .demo-visual { flex-direction: column; }
  .section, .section-lg { padding: 64px 0; }
  .footer-links { gap: 32px; }
}

/* Wide art is 1392 x 1172. The box is only as tall as the art plus the
   stretch. His top stays put on every page, so he grows downwards and
   anything under his feet follows. Screen x 338–1051, y 263–683.
   The stretch repeats rows 450–470. */
@property --grow {
  syntax: "<number>";
  initial-value: 0;
  inherits: true;
}

.mrurl-crop { position: relative; }

.mrurl {
  --grow: 0;
  position: relative;
  width: min(100%, 400px);
  margin-inline: auto;
  aspect-ratio: 1392 / calc(1172 + var(--grow));
  transition: --grow 350ms cubic-bezier(0.22, 1.18, 0.36, 1);
}

.mrurl.is-stretched { --grow: 293; }
.mrurl.is-stretched.is-dip { --grow: 220; }

.mrurl-live { display: none; }
.js .mrurl-live { display: block; }

.mrurl-live,
.mr-body { position: absolute; inset: 0; }

.mr-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slice {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  min-height: 0;
}

/* Cover the hairline a phone leaves where fractional slice heights round apart. */
.slice + .slice { margin-top: -2px; }

.slice-top { flex-basis: calc(450 / (1172 + var(--grow)) * 100%); }
.slice-mid { flex-basis: calc((20 + var(--grow)) / (1172 + var(--grow)) * 100%); }
.slice-bot { flex-basis: calc(702 / (1172 + var(--grow)) * 100%); }

.slice picture { position: absolute; inset: 0; margin: 0; }

.slice img {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  display: block;
}

.slice-top img { top: 0; height: calc(1172 / 450 * 100%); }
.slice-mid img { top: calc(-450 / 20 * 100%); height: calc(1172 / 20 * 100%); }
.slice-bot img { top: calc(-470 / 702 * 100%); height: calc(1172 / 702 * 100%); }

.mrurl-still,
.mrurl-fallback {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(1172 / (1172 + var(--grow)) * 100%);
  margin: 0;
}

.mrurl-still { display: none; }

.mrurl-still img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

.mrurl-fallback { max-width: none; object-fit: fill; }

html:not(.js) .screen,
html:not(.js) .dot { display: none; }

.screen {
  position: absolute;
  z-index: 2;
  left: calc(338 / 1392 * 100%);
  width: calc(713 / 1392 * 100%);
  top: auto;
  bottom: calc(489 / (1172 + var(--grow)) * 100%);
  height: calc((420 + var(--grow)) / (1172 + var(--grow)) * 100%);
  overflow: hidden;
}

.face {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(420 / (420 + var(--grow)) * 100%);
  overflow: visible;
}

.face .eye { fill: #111; }
.face .catch { fill: #fff; }

.face .smile,
.face .happy path {
  fill: none;
  stroke: #111;
  stroke-linecap: round;
}

.face .smile { stroke-width: 28; }
.face .happy path { stroke-width: 22; }
.face .happy-smile { stroke-width: 26; }

.eye {
  transition: transform 80ms linear;
  transform-box: fill-box;
  transform-origin: center;
}

.face.is-blink .eye,
.face.is-wink .eye-l { transform: scaleY(0.08); }

.face .happy { display: none; }
.face.is-happy .pupils,
.face.is-happy .smile { display: none; }
.face.is-happy .happy { display: block; }

.static {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(27, 42, 74, 0.28) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 2px, transparent 2px 4px),
    #d9d3c6;
  animation: snow 80ms steps(2) infinite;
}

.qr-plate {
  position: absolute;
  z-index: 2;
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(48 / 420 * 100%);
  width: calc(324 / 713 * 100%);
  height: auto;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #fff;
}

.mrurl.is-stretched .qr-plate {
  top: 50%;
  bottom: auto;
  width: calc(617 / 713 * 100%);
  transform: translate(-50%, -50%);
}

.qr-plate svg,
.qr-plate canvas { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }

.qr-plate.is-draw { animation: unveil 420ms linear forwards; }
.qr-plate.is-glow { box-shadow: inset 0 0 18px rgba(22, 184, 196, 0.45); }
.qr-plate.is-flicker { opacity: 0.72; }
.qr-plate.is-fade { animation: fade-in 200ms ease; }
.qr-plate.is-fade-out { animation: fade-out 200ms ease forwards; }

.qr-plate.is-clean,
.qr-plate.is-clean svg {
  animation: none;
  clip-path: none;
  filter: none;
  box-shadow: none;
  opacity: 1;
}

.screen.is-code .face,
.screen.is-code .static,
.screen.is-code .scanline { display: none !important; }

.scanline {
  position: absolute;
  left: 7%;
  right: 7%;
  height: 16%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  animation: scan 420ms linear forwards;
}

.bowtie {
  position: absolute;
  z-index: 3;
  top: auto;
  left: calc(546 / 1392 * 100%);
  width: calc(296 / 1392 * 100%);
  bottom: calc(389 / (1172 + var(--grow)) * 100%);
  height: calc(134 / (1172 + var(--grow)) * 100%);
  pointer-events: none;
}

.bowtie img { width: 100%; height: 100%; max-width: none; display: block; object-fit: fill; }

.dot {
  position: absolute;
  width: calc(64 / 1392 * 100%);
  aspect-ratio: 1;
  height: auto;
  transform: translate(-50%, -50%);
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}

.dot-coral { left: calc(377 / 1392 * 100%); top: calc(194 / (1172 + var(--grow)) * 100%); }
.dot-teal { left: calc(458.5 / 1392 * 100%); top: calc(193 / (1172 + var(--grow)) * 100%); }
.dot-grey { left: calc(540 / 1392 * 100%); top: calc(194 / (1172 + var(--grow)) * 100%); }

.mrurl.is-hop { animation: hop 280ms ease; }
.mrurl.is-jig { animation: jig 700ms ease; }
.bowtie.is-spin { animation: spin-tie 650ms linear; transform-origin: center; }

@keyframes snow {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 0 4px, 3px 0, 0 0; }
}

@keyframes unveil {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes scan {
  from { top: 6%; }
  to { top: 78%; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }

@keyframes hop {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-10px); }
}

@keyframes jig {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-1.4deg); }
  75% { transform: rotate(1.4deg); }
}

@keyframes spin-tie { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .mrurl { transition: none; }
  .mrurl-still { display: block; }
  .mrurl.is-stretched .mrurl-still { display: none; }
  .mrurl-live,
  .mrurl-fallback,
  .face,
  .static,
  .scanline { display: none !important; }
  .mrurl.is-stretched .mrurl-live { display: block !important; }
  .mrurl.is-pose .mrurl-still { display: none !important; }
  .mrurl.is-pose .mrurl-live,
  .mrurl.is-pose .face { display: block !important; }

  .mrurl.is-hop,
  .mrurl.is-jig,
  .bowtie.is-spin,
  .qr-plate.is-draw,
  .qr-plate.is-glow,
  .btn-coral:active,
  .btn-danger:active { animation: none; transform: none; }
}

.site-nav { flex: 1; margin-left: 48px; }
.header-actions { margin-left: auto; }
.header-actions.header-signed-in { display: none; }
html.is-signed-in .header-actions.header-signed-out { display: none; }
html.is-signed-in .header-actions.header-signed-in { display: flex; }

@media (max-width: 900px) {
  .menu-toggle { margin-left: auto; }
  .site-nav { margin-left: 0; flex: none; }

  .mrurl {
    width: min(100%, calc(280 / 375 * 100vw));
    max-width: 100%;
    position: relative;
    left: auto;
    top: auto;
    margin-left: auto;
    margin-right: auto;
  }
}

.hello-page { padding: 28px 0 64px; }
.hello-page .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 28rem;
}
.hello-page .mrurl-crop { width: min(280px, 100%); }
.hello-page .mrurl { width: 100%; }
.hello-page h1 { font-size: 36px; letter-spacing: -0.8px; text-wrap: balance; }
.hello-page .lede { margin: 0; font-size: 18px; font-weight: 700; color: var(--muted); }
.hello-page .btn { width: min(100%, 320px); }
.hello-quiet {
  color: var(--muted);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sample-page { padding: 24px 0 72px; }
.sample-page .wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 632px;
}
.cafe-bar { text-align: center; }
.cafe-bar h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.menu-frame { display: block; width: min(100%, 600px); margin-inline: auto; }
.menu-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(27, 42, 74, 0.08);
}
.sample-banner {
  margin: 0;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
.sample-page .btn { width: 100%; }

.account-menu { position: relative; }

.account-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
}

.account-menu-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.account-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.1);
}

.account-menu-panel a,
.account-menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
}

.account-menu-panel a:hover,
.account-menu-panel button:hover { background: var(--ground); }

.account-menu-panel form { display: block; margin: 0; }

.account-page {
  display: flex;
  justify-content: center;
  padding: 48px 16px 80px;
}

.account-stack {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.account-mark { width: 72px; height: auto; }

.settings-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.account-stack .account-card,
.settings-main .account-card { width: 100%; }

.account-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-card h1 {
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.account-card h1.one-line {
  font-size: 30px;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

.settings-page {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  width: min(880px, calc(100% - 48px));
  margin: 48px auto 80px;
  align-items: start;
}

.settings-card { width: auto; }
.settings-card h1 { font-size: 32px; }
.settings-card .account-form { max-width: 440px; }

.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 12px;
}

.settings-nav a:hover { background: var(--ground); }

.settings-nav a[aria-current="page"] {
  background: var(--mint);
  color: var(--teal-text);
  font-weight: 800;
}

.account-form { display: flex; flex-direction: column; gap: 16px; }
.account-form .btn { width: 100%; }

.account-form .field input[type="email"],
.account-form .field input[type="password"],
.account-form .field input[type="text"] {
  height: 52px;
  width: 100%;
  border: 2px solid #D5DAE4;
  border-radius: 14px;
  background: #fff;
  padding: 0 16px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.password-field { position: relative; }
.password-field input { padding-right: 76px; }

.password-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--teal-text);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

.field-error { color: #8A3B28; font-size: 14px; font-weight: 700; }
.field-error:empty { display: none; }
.field-warning { color: #8A5A00; font-size: 14px; font-weight: 700; }
.field-hint { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.account-links form { margin: 0; }
.account-links button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--teal-text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-card .validation-summary-valid { display: none; }
.account-card .validation-summary-errors {
  color: #8A3B28;
  font-size: 15px;
  font-weight: 700;
}
.account-card .validation-summary-errors ul { margin: 0; padding-left: 18px; }

.remember { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.legal-note, .account-links { font-size: 15px; color: var(--muted); }
.account-links { display: flex; flex-direction: column; gap: 8px; }
.legal-note a, .account-links a { font-weight: 800; }

@media (max-width: 720px) {
  .settings-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 20px 0 64px;
  }

  .settings-nav {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding: 0 16px 4px;
  }

  .settings-nav a { flex: none; white-space: nowrap; }
  .settings-main { margin: 0 12px; }
  .settings-card { width: auto; min-width: 0; margin: 0; }
}

@media (max-width: 900px) {
  .header-actions.is-signed-in { margin-left: 0; align-self: stretch; }

  .account-menu-panel {
    position: static;
    margin-top: 4px;
    min-width: 0;
    box-shadow: none;
  }
}

@media (max-width: 420px) {
  .account-page { padding: 28px 12px 64px; }
  .account-card { padding: 24px 16px; }
  .account-card h1.one-line { font-size: 26px; }
}
.start-setup { display: flex; flex-direction: column; gap: 36px; }
.start-setup .preview-form { background: #fff; }
.start-setup .lede { margin-bottom: 0; }
.start-setup .plan-card form { margin-top: auto; }
.optional-link { border-top: 1px solid var(--line); padding-top: 8px; }
.optional-link summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--teal-text);
    width: fit-content;
    list-style: none;
}
.optional-link summary::-webkit-details-marker { display: none; }
.optional-link[open] > summary { display: none; }
.optional-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.optional-link h2 { font-size: 22px; margin: 18px 0 8px; }
.hide-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--teal-text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.optional-link > p { margin: 0 0 18px; color: var(--muted); }
.optional-link .dynamic-hero { margin-top: 8px; }
.optional-link form[method="post"] { margin-top: 18px; }

.app-page { padding: 32px 0 80px; }
.app-page h1 { margin: 0 0 8px; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.app-head h1 { margin: 0; }
.app-page.narrow, .wrap.narrow { max-width: 560px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack label, .link-edit label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.stack input, .stack select, .link-edit input, .link-search input, .link-search select {
  font: inherit;
  padding: 10px 12px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: #fff;
}
.link-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 20px; }
.link-search input[type="search"] { flex: 1; min-width: 180px; }
.link-table { width: 100%; border-collapse: collapse; }
.link-table th, .link-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #E4E8EE; vertical-align: top; }
.link-table .dest { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.short-code, .short-line span { font-weight: 800; }
.empty-links, .created-banner, .upgrade-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.created-banner { flex-direction: row; align-items: center; gap: 20px; margin-bottom: 20px; }
.form-error { color: #8A3B28; font-weight: 700; }
.check-line { flex-direction: row !important; align-items: center; font-weight: 600; }
.link-actions, .rule-buttons, .admin-list li { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.link-actions { margin: 16px 0 28px; }
.rules, .scans { margin-top: 36px; }
.rule-list { padding-left: 20px; }
.rule-list li { margin: 0 0 14px; }
.plan-locks { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.plan-locks a { font-weight: 800; }
.scan-bars { width: 100%; max-width: 420px; height: 90px; }
.scan-bars rect { fill: var(--teal, #0B7682); }
.back-link { margin: 0 0 8px; }
.admin-list { list-style: none; padding: 0; }
.admin-list li { justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #E4E8EE; }
.link-maker { margin-top: 12px; }
.auth-key { font-family: ui-monospace, Consolas, monospace; font-weight: 800; letter-spacing: 1px; word-break: break-all; }
.recovery-codes { margin: 0; padding-left: 20px; font-family: ui-monospace, Consolas, monospace; font-weight: 700; line-height: 1.7; }

.app-body { background: var(--ground); min-height: 100vh; display: flex; flex-direction: column; }
.app-body main { flex: 1; }
.app-wrap { width: min(1200px, 100%); margin-inline: auto; padding: 28px 32px 56px; }
.app-wrap .app-page { padding: 0; }
.app-page h1 { font-size: 32px; letter-spacing: -0.6px; }
.app-page h2 { font-size: 22px; letter-spacing: -0.3px; margin: 0 0 12px; }
.app-page h3 { font-size: 16px; margin: 16px 0 8px; }
.app-page .lede { margin: 4px 0 20px; max-width: none; }

.app-header { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.app-header-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 14px 18px;
  flex-wrap: nowrap;
}
.app-brand { order: 1; }
.app-nav { order: 2; }
.app-new { order: 3; white-space: nowrap; }
.app-meter { order: 4; }
.app-header .account-menu { order: 5; }
.app-menu { display: contents; }
.app-menu-toggle {
  display: none;
  order: 6;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.app-brand { display: flex; }
.app-brand img { height: 32px; width: auto; }
.app-nav a { font-weight: 800; color: var(--navy); text-decoration: none; }
.app-nav a[aria-current="page"] { color: var(--teal-text); }
.app-meter { margin: 0 0 0 auto; color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; }
.app-header .account-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.1);
}
.app-foot { border-top: 1px solid var(--line); padding: 14px 32px 18px; color: var(--muted); }
.app-foot-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.app-foot img { height: 22px; width: auto; flex: none; }
.app-foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.app-foot a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.app-foot a:hover { color: var(--navy); }
.app-foot p { margin: 0 0 0 auto; font-size: 14px; font-weight: 700; }
@media (max-width: 640px) {
  .app-foot { padding-inline: 16px; }
  .app-foot p { margin-left: 0; }
}

.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.hint-inline { color: var(--muted); font-weight: 700; font-size: 14px; }
.field-label { display: inline-flex; align-items: baseline; gap: 8px; }
.stack-field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.app-page .slug-field input { border: 0; padding: 0; border-radius: 0; height: auto; background: transparent; }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.link-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.5fr) minmax(150px, 1fr) auto auto;
  gap: 8px 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.link-row:hover { border-color: #C5CDD8; }
.link-row-hit { position: absolute; inset: 0; border-radius: 16px; z-index: 0; }
.link-meta { display: contents; }
.link-id, .link-scans, .link-thumb, .link-row .pill, .link-short { position: relative; pointer-events: none; }
.link-thumb { width: 56px; height: 56px; }
.link-thumb svg { display: block; width: 56px; height: 56px; }
.link-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.link-id strong { font-size: 16px; }
.link-id span, .link-scans span { color: var(--muted); font-size: 14px; font-weight: 600; }
.link-id span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-short { display: flex; align-items: center; gap: 4px; font-weight: 800; min-width: 0; }
.link-short > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-scans { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.link-scans .scan-total { color: var(--navy); font-weight: 800; font-size: 16px; }
.link-scans .scan-week { color: var(--muted); font-size: 14px; font-weight: 600; }
.copy-btn {
  pointer-events: auto;
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.copy-btn:hover { background: var(--ground); }
.copy-btn.is-copied::after {
  content: "Copied";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.pill-active { background: #E5F6EA; color: #1B7A3A; }
.pill-disabled { background: #EEF0F4; color: #566175; }
.pill-pending { background: #FFF4D6; color: #8A5A00; }

.create-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.preview-card { position: sticky; top: 16px; }
.code-preview { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.code-preview svg { display: block; }
.created-note { margin: 0 0 12px; font-weight: 800; color: var(--teal-text); }

.detail-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.detail-identity { flex: 1 1 220px; min-width: 0; }
.detail-bar h1 { font-size: 28px; margin: 0; }
.detail-short { display: flex; align-items: center; gap: 4px; margin: 4px 0 0; font-weight: 800; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.detail-actions form { margin: 0; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.qr-card { position: sticky; top: 16px; padding: 16px; }
.qr-card .maker-card { margin: 0; }

.more-menu { position: relative; }
.more-menu summary {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 2px solid var(--navy);
  background: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.1);
}
.more-menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
}
.more-menu-panel button:hover { background: var(--ground); }

dialog {
  border: 0;
  border-radius: 18px;
  padding: 24px;
  max-width: min(420px, calc(100% - 32px));
  box-shadow: 0 16px 48px rgba(27, 42, 74, 0.2);
}
dialog::backdrop { background: rgba(27, 42, 74, 0.45); }
dialog h2 { font-size: 26px; margin-bottom: 8px; }
dialog p { margin-top: 8px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dialog-actions form { margin: 0; }
@media (min-width: 720px) {
  #delete-link { max-width: min(640px, calc(100% - 32px)); }
  #delete-link .dialog-actions { flex-wrap: nowrap; }
  #delete-link .dialog-actions .btn { flex: none; white-space: nowrap; }
}

.delete-zone {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 52ch;
}
.delete-zone p { color: var(--muted); }

.prose {
  width: min(70ch, 100%);
  margin-inline: auto;
  padding: 64px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prose h1 { font-size: 44px; letter-spacing: -1px; }
.prose h2 { font-size: 28px; letter-spacing: -0.4px; margin-top: 12px; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.prose .updated { color: var(--muted); font-size: 14px; font-weight: 700; }
.prose .mascot { width: 140px; height: auto; }

.rule-list { list-style: none; margin: 0 0 16px; padding: 0; }
.rule-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.rule-row p { margin: 0; flex: 1; }
.rule-row.is-off p { color: var(--muted); }
.rule-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rule-actions form { margin: 0; }
.rule-actions a { font-weight: 800; }
.rule-switch {
  width: 44px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: #D5DAE4;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.rule-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 120ms ease;
}
.rule-switch[aria-pressed="true"] { background: #1B7A3A; }
.rule-switch[aria-pressed="true"] span { left: 21px; }
.rule-types { display: flex; flex-wrap: wrap; gap: 8px; }
.rule-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  background: #fff;
  font-weight: 700;
}
.rule-option:has(input:checked) { border-color: var(--navy); }
.rule-option.is-locked { color: var(--muted); background: var(--ground); }
.rule-option.is-locked a { font-size: 12px; font-weight: 800; }
.rule-form { margin-top: 8px; }
.advanced summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.advanced form { margin-top: 14px; }
.stat-list { margin: 0; padding-left: 18px; }
.scan-bars line { stroke: var(--line); stroke-width: 1; }
.maker.maker-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.maker.maker-card .maker-url,
.maker.maker-card .maker-custom,
.maker.maker-card .maker-stage {
  grid-column: auto;
  grid-row: auto;
  position: static;
  width: auto;
}
.maker.maker-card .maker-url { order: 1; }
.maker.maker-card .maker-stage { order: 2; align-self: stretch; }
.maker.maker-card .maker-custom { order: 3; }
.maker.maker-card .maker-figure,
.maker.maker-card .maker-downloads { width: 100%; max-width: none; position: static; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.maker.maker-card .qr-plate {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.maker.maker-card .qr-address { margin: 0; text-align: center; font-weight: 800; word-break: break-all; }
.maker.maker-card .customise { display: none; margin-top: 8px; }
.maker.maker-card .customise.is-open { display: block; }
.maker.maker-card .customise-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  border-radius: 14px;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.maker.maker-card .download-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.maker.maker-card .download-row .customise-toggle { grid-column: 1 / -1; }
.maker.maker-card .dl-full { display: none; }
.maker.maker-card .dl-short, .maker.maker-card .dl-icon { display: inline-flex; }
.maker.maker-card [data-qr-save-style] { width: 100%; }

@media (max-width: 900px) {
  .create-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .preview-card, .qr-card { position: static; }
  .qr-card { order: -1; }
}

@media (max-width: 700px) {
  .app-wrap { padding: 16px 16px 40px; }
  .app-header-inner { padding: 12px 16px; }
  .app-page h1, .detail-bar h1 { font-size: 26px; }
  .link-row {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas:
      "thumb id"
      "thumb short"
      "meta meta";
  }
  .link-thumb { grid-area: thumb; }
  .link-id { grid-area: id; }
  .link-short { grid-area: short; }
  .link-meta { display: flex; grid-area: meta; align-items: center; justify-content: space-between; gap: 12px; }
  .link-scans { align-items: flex-start; flex-direction: row; gap: 8px; }
  .link-row .pill { justify-self: end; }
  .rule-row { flex-direction: column; align-items: stretch; }
  .detail-actions { width: 100%; }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin: 48px auto;
  max-width: 560px;
}
.empty-state img { width: 140px; height: auto; }
.empty-state h1,
.empty-state h2 { margin: 0; font-size: 32px; letter-spacing: -0.6px; }
.empty-state p { margin: 0; color: var(--muted); max-width: 42ch; }
.empty-create {
  display: flex;
  gap: 10px;
  width: min(520px, 100%);
  margin-top: 8px;
}
.empty-create input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 10px 12px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: #fff;
}
.starter-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.starter-chips a {
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.empty-state a { font-weight: 800; }
.app-header-inner.is-unconfirmed .account-menu { margin-left: auto; }
.welcome-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.welcome-banner img { width: 72px; height: auto; flex: none; }
.welcome-banner p { margin: 0; font-weight: 800; }
.welcome-banner button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--teal-text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.app-body .settings-page { width: 100%; margin: 0; }
.app-body .account-page { padding: 8px 0 0; }

@media (max-width: 640px) {
  .app-menu-toggle { display: inline-flex; }
  .app-new { margin-left: auto; }
  .app-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 16px 16px;
  }
  .app-menu.is-open { display: flex; }
  .app-menu .app-nav a,
  .app-menu .app-meter,
  .app-menu .account-menu-panel a,
  .app-menu .account-menu-panel button {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .app-menu .app-meter { margin: 0; }
  .app-menu .account-menu-button { display: none; }
  .app-menu.is-open .account-menu-panel {
    display: flex !important;
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    flex-direction: column;
  }
  .empty-create { flex-direction: column; }
}

@media (max-width: 720px) {
  .site-header { position: sticky; top: 0; }
  .preview-side { scroll-margin-top: 72px; }
  .preview-band {
    left: 6%;
    right: 6%;
    padding: 5px 6px;
    font-size: 12px;
    line-height: 1.15;
    transform: translateY(-50%) rotate(-8deg);
  }
  .stamp-break { display: block; }
  .maker-home .hero-copy {
    max-height: 240px;
    overflow: hidden;
  }
  .maker-home.is-typing { gap: 8px; }
  .maker-home.is-typing .hero-copy {
    opacity: 0;
    max-height: 0;
    margin: 0;
    pointer-events: none;
  }
  .maker-home.is-typing .maker-url label,
  .maker-home.is-typing .maker-note,
  .maker-home.is-typing .maker-downloads,
  .maker-home.is-typing .ready-chip {
    display: none;
  }
  .maker-home.is-typing .mrurl { width: 171px; }
  .maker-home.is-typing .maker-stage { align-items: center; }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .maker-home .hero-copy,
  .maker-home .mrurl {
    transition: opacity 160ms ease, max-height 160ms ease, width 160ms ease;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .maker-home .hero-copy,
  .maker-home .mrurl { transition: none; }
}

