/* Fonts: Space Grotesk, Fraunces, Silkscreen, Barlow Semi Condensed, SIL OFL 1.1, see /licenses/fonts.txt */
/* Strolly website: the app's paper look. Tokens mirror apps/mobile/tailwind.config.js. */
/* Fonts (W1): WOFF2 subsets, Latin plus Latin Extended by unicode-range, and metric-matched local fallbacks so the swap does not move text */
@font-face {
  font-family: "Space Grotesk";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/space-grotesk-400-latin.8e8eca6c0f.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215;
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/space-grotesk-400-latin-ext.c9032d104e.woff2") format("woff2");
  unicode-range:
    U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/space-grotesk-600-latin.2c6b6c1943.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215;
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/space-grotesk-600-latin-ext.e26c9f43d7.woff2") format("woff2");
  unicode-range:
    U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fraunces-600-latin.bc0c877d3e.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215;
}
@font-face {
  font-family: "Fraunces";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fraunces-600-latin-ext.9ea1f1233c.woff2") format("woff2");
  unicode-range:
    U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url("/assets/fraunces-600-italic-latin.afcdd2bdeb.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215;
}
@font-face {
  font-family: "Fraunces";
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url("/assets/fraunces-600-italic-latin-ext.d53159cada.woff2") format("woff2");
  unicode-range:
    U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fraunces-700-latin.b32f4fdbfd.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215;
}
@font-face {
  font-family: "Fraunces";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fraunces-700-latin-ext.bd883a465b.woff2") format("woff2");
  unicode-range:
    U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Silkscreen";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/silkscreen-400-latin.a11562d108.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk Fallback";
  font-weight: 400;
  src: local("Arial"), local("Helvetica");
  size-adjust: 108.32%;
  ascent-override: 90.84%;
  descent-override: 26.96%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Space Grotesk Fallback";
  font-weight: 600;
  src: local("Arial Bold"), local("Helvetica Bold");
  size-adjust: 101.36%;
  ascent-override: 97.08%;
  descent-override: 28.81%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  font-weight: 600;
  src: local("Georgia Bold"), local("Times New Roman Bold");
  size-adjust: 93.48%;
  ascent-override: 104.62%;
  descent-override: 27.28%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  font-weight: 600;
  font-style: italic;
  src: local("Georgia Bold Italic"), local("Times New Roman Bold Italic");
  size-adjust: 88.54%;
  ascent-override: 110.46%;
  descent-override: 28.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  font-weight: 700;
  src: local("Georgia Bold"), local("Times New Roman Bold");
  size-adjust: 96.42%;
  ascent-override: 101.43%;
  descent-override: 26.45%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Silkscreen Fallback";
  font-weight: 400;
  src: local("Courier New");
  size-adjust: 110.89%;
  ascent-override: 92.89%;
  descent-override: 22.55%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --bg: #f4f1eb;
  --bg-alt: #ece8df;
  --surface: #ffffff;
  --ink: #221e18;
  --text: #3c382f;
  --muted: #665f52;
  --line: #d8d1c4;
  --hairline: #e6dfd3;
  --edge: #4a3f33;
  --card-edge: #ddd4c4;
  --card-ground: #d1c6b3;
  --primary: #6c4dd6;
  --primary-edge: #4b2fb0;
  --primary-soft: #ece7fc;
  --sans:
    "Space Grotesk", "Space Grotesk Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --pix: "Silkscreen", "Silkscreen Fallback", "Courier New", monospace;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-edge);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1.5px solid var(--edge);
  border-radius: 14px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding-inline: 20px;
}

/* header and footer */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font: 700 1.5rem / 1 var(--serif);
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}
.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}

main {
  flex: 1;
  padding-block: 20px 56px;
}

.foot {
  border-top: 1px solid var(--hairline);
  padding-block: 28px 40px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}
.foot nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}
.foot p {
  margin: 8px 0 0;
}

/* type */
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3rem);
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.1875rem;
}

.sub {
  margin: 10px 0 0;
  font: 600 0.9375rem / 1.3 var(--sans);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.lead {
  font-size: 1.1875rem;
  color: var(--text);
  max-width: 34rem;
}

/* enamel key (the one primary action) and its white companion */
.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 14px;
  margin: 28px 0 8px;
}
.key {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  margin-bottom: 4px;
  border: 1.5px solid;
  border-radius: 9999px;
  font: 400 0.875rem / 1 var(--pix);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  isolation: isolate;
}
.key::before {
  content: "";
  position: absolute;
  inset: 3px 3px auto 3px;
  height: 48%;
  border-radius: 9999px;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04));
  z-index: -1;
  pointer-events: none;
}
.key--primary {
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.05)),
    var(--primary);
  border-color: var(--primary-edge);
  box-shadow:
    0 4px 0 var(--primary-edge),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
a.key {
  transition:
    transform 80ms ease-out,
    box-shadow 80ms ease-out;
}
a.key:active {
  transform: translateY(3px);
}
a.key--primary:active {
  box-shadow: 0 1px 0 var(--primary-edge);
}
a.key--primary:hover {
  color: #fff;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}
/* Apple's badge: its artwork is shown as is, 52 px tall; Google's badge below matches it */
.appstore {
  display: inline-flex;
}
.appstore img {
  display: block;
  height: 52px;
  width: auto;
}

.note {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* the landing page lives in its own section at the end of this file */

.strudl-row {
  display: flex;
  align-items: flex-end;
  margin-top: 28px;
  max-width: 34rem;
  border-bottom: 2px dashed var(--primary);
  height: 112px;
}
.visual .strudl-row {
  max-width: none;
}
.strudl {
  width: 144px;
  height: 108px;
  margin-bottom: -2px;
  background: url("/assets/strudl-walk.bdc0559e3f.png") 0 0 / 576px 108px no-repeat;
  image-rendering: pixelated;
  animation: strudl 0.8s steps(4) infinite;
}
.strudl--sniff {
  background-image: url("/assets/strudl-sniff.d837afec47.png");
  animation-duration: 1.2s;
}
@keyframes strudl {
  to {
    background-position-x: -576px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .strudl {
    animation: none;
  }
  a.key {
    transition: none;
  }
}

/* prose pages */
.page {
  max-width: 44rem;
}
.page + .page {
  margin-top: 32px;
}
.page > header {
  margin-bottom: 28px;
}
.prose h2 {
  margin-top: 2.1em;
  scroll-margin-top: 16px;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0.9em 0 0;
}
.prose ul {
  padding-left: 1.3em;
}
.prose li {
  margin-top: 0.55em;
}
.prose li::marker {
  color: var(--primary);
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose > :first-child {
  margin-top: 0;
}

.card {
  margin-top: 28px;
  padding: 20px;
  background: var(--surface);
  border: 1.5px solid var(--card-edge);
  border-radius: 16px;
  box-shadow: 0 2px 0 var(--card-ground);
}
.card > :first-child {
  margin-top: 0;
}
.card h2 {
  font-size: 1.25rem;
}
.card p {
  margin: 0.7em 0 0;
}
.card .keys {
  margin-bottom: 0;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.faq details {
  background: var(--surface);
  border: 1.5px solid var(--card-edge);
  border-radius: 16px;
  box-shadow: 0 2px 0 var(--card-ground);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-edge);
  font: 700 1.125rem / 1 var(--sans);
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details > div {
  padding: 0 20px 18px;
}
.faq details p {
  margin: 0;
}

/* numbered steps */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1.5px solid var(--primary);
  color: var(--primary-edge);
  font: 600 1.0625rem / 1 var(--serif);
}
.steps li::marker {
  content: none;
}

.center {
  text-align: center;
}
.center .strudl-row {
  margin-inline: auto;
}

@media (min-width: 900px) {
  .top {
    padding-block: 20px;
  }
}

@media (max-width: 400px) {
  .key {
    padding-inline: 20px;
  }
}

/* the deletion page: buttons wear the enamel key; the white companion is a flat outline */
[hidden] {
  display: none;
}
button.key {
  font-family: var(--pix);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    transform 80ms ease-out,
    box-shadow 80ms ease-out;
}
button.key:active {
  transform: translateY(3px);
}
button.key--primary:active {
  box-shadow: 0 1px 0 var(--primary-edge);
}
.key--plain {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--card-edge);
  box-shadow: 0 4px 0 var(--card-ground);
}
.card h3 {
  margin: 1.4em 0 0;
  font-size: 1rem;
}

/* footer brand (every page) */
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font: 700 1.25rem / 1 var(--serif);
  text-decoration: none;
}
.foot-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

/* ===== landing page ===== */
:root {
  --hdr: 72px;
  --t1: #e3dbfa;
  --t2: #c7b7f3;
  --t3: #a48ae9;
  --t4: #7f5fdc;
  --deep: #3e2a96;
}
@media (min-width: 900px) {
  :root {
    --hdr: 84px;
  }
}
.top {
  position: relative;
  z-index: 5;
}
.landing {
  flex: 1;
  padding: 0;
  margin-top: calc(var(--hdr) * -1);
  overflow-x: clip;
}

/* hero: the district map. Static where motion is off, filling on load and on scroll where it is on. */
.stage {
  position: relative;
}
.stage-in {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-block: calc(var(--hdr) + 6px) 28px;
}
.eyebrow {
  margin: 0 0 8px;
  font: 400 0.75rem / 1 var(--pix);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-edge);
}
.stage h1 {
  font-weight: 700;
  font-size: clamp(2rem, 8.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.stage h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
}
.stage .lead {
  margin: 12px 0 0;
  font-size: 1.0625rem;
  max-width: 30rem;
}
.stage .stores {
  margin-top: 16px;
}
.mapwrap {
  position: relative;
  min-width: 0;
}
.stadtplan {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52svh;
  overflow: visible;
  filter: drop-shadow(0 20px 22px rgba(75, 47, 176, 0.18));
}
.dist .fill {
  fill: var(--tint);
  stroke: var(--deep);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  fill-opacity: 1;
}
.dist .base {
  stroke: #c9bfe4;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.l1 {
  --tint: var(--t1);
}
.l2 {
  --tint: var(--t2);
}
.l3 {
  --tint: var(--t3);
}
.l4 {
  --tint: var(--t4);
}
.nums text {
  font: 400 17px / 1 var(--pix);
  fill: var(--deep);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.nums .pc {
  font: 600 15px / 1 var(--sans);
  fill: #fff;
  stroke: var(--deep);
  stroke-width: 4px;
}
.nums .sm .pc {
  display: none;
}
@media (max-width: 47.99rem) {
  .nums .pc {
    display: none;
  }
}
.meter {
  --share: 9;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font: 600 0.9375rem / 1.2 var(--sans);
  color: var(--ink);
}
.meter .bar {
  flex: 1;
  height: 12px;
  border-radius: 9999px;
  border: 1.5px solid var(--primary-edge);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 2px 0 var(--primary-edge);
}
.meter .bar i {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 9999px;
  transform-origin: left;
  transform: scaleX(calc(var(--share) / 100));
}
.meter output {
  min-width: 4.5ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@property --n {
  syntax: "<integer>";
  inherits: true;
  initial-value: 0;
}
.count {
  --n: var(--share);
  counter-reset: n var(--n);
}
.count::after {
  content: counter(n) "\00a0%";
}
.hero-phone {
  display: none;
}
.o0 {
  --o: 0;
}
.o1 {
  --o: 1;
}
.o2 {
  --o: 2;
}
.o3 {
  --o: 3;
}
.o4 {
  --o: 4;
}
.o5 {
  --o: 5;
}
.o6 {
  --o: 6;
}
.o7 {
  --o: 7;
}
.o8 {
  --o: 8;
}
.o9 {
  --o: 9;
}
.o10 {
  --o: 10;
}

@media (min-width: 62rem) {
  .stage-in {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 36px;
    align-items: center;
    padding-bottom: 36px;
  }
  .hero-phone {
    display: block;
    position: absolute;
    right: 6px;
    bottom: 44px;
    width: min(26%, 190px);
    rotate: 3deg;
  }
  .stage .lead {
    font-size: 1.1875rem;
  }
  .stage h1 {
    font-size: clamp(2.6rem, 3.6vw, 3.5rem);
  }
  .stadtplan {
    max-height: 66svh;
  }
}

/* phone frames: the screens of the app, each a looping video over its poster */
.device {
  position: relative;
  width: min(100%, 260px);
  margin: 0 auto;
  padding: 8px;
  border: 1.5px solid var(--edge);
  border-radius: 36px;
  background: var(--ink);
  box-shadow:
    0 34px 44px -30px rgba(34, 30, 24, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.device .screen {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--bg);
  aspect-ratio: 540 / 1200;
}
.device .screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.2), transparent 30%);
  pointer-events: none;
}
.device img,
.device video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.device video {
  position: absolute;
  inset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .device video {
    display: none;
  }
}
.device--tilt {
  rotate: 2deg;
}

/* chapters */
.chap {
  padding-block: 56px;
  border-top: 1px solid var(--hairline);
}
.chap.flip {
  background: var(--bg-alt);
}
.chap .wrap {
  display: grid;
  gap: 34px;
  align-items: center;
}
.chap h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 0.75rem / 1 var(--pix);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-edge);
}
.kicker img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.chap .copy p {
  margin: 14px 0 0;
  max-width: 33rem;
}
.chap ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 33rem;
}
.chap li {
  position: relative;
  padding-left: 26px;
}
.chap li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}
/* the map's hatch, as the tile every phone stands on */
.visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0;
  padding-block: 28px;
}
.visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 4% 8%;
  border: 1.5px solid #c9bfe4;
  border-radius: 32px;
  background: repeating-linear-gradient(135deg, #efeaf9 0 8px, #ddd3f6 8px 10px);
  rotate: -2deg;
}
.chap.flip .visual::before {
  rotate: 2deg;
}
.visual > * {
  position: relative;
  z-index: 1;
}
/* the Start page's moment card, rebuilt: scene with chip and coin, title, reason, label */
.moms {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  margin: 0 -20px;
  padding: 6px 20px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}
.moms::-webkit-scrollbar {
  display: none;
}
.mcard {
  flex: 0 0 min(84%, 340px);
  scroll-snap-align: start;
  overflow: hidden;
  background: #fbf8f1;
  border: 1.5px solid var(--card-edge);
  border-bottom: 3.5px solid #e3d9c6;
  border-radius: 16px;
}
.mcard .scene {
  position: relative;
  height: 150px;
  background: #f7f0df;
}
.mcard .scene > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mcard .chip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid #cdbf9f;
  border-radius: 12px;
  background: #fbf8f1;
  font: 600 0.75rem / 1 var(--sans);
  color: var(--ink);
  white-space: nowrap;
}
.mcard .mcoin {
  position: absolute;
  right: 16px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2.5px solid #b9ad94;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 0 #8f846f;
}
.mcard .mtext {
  padding: 16px 14px 14px;
}
.mcard h3 {
  font-size: 1.1875rem;
  line-height: 1.26;
  letter-spacing: -0.2px;
}
.mcard p {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.43;
  color: var(--text);
}
.mcard small {
  display: block;
  margin-top: 10px;
  font: 600 0.75rem / 1 var(--sans);
  color: #635f58;
}
@media (min-width: 48rem) {
  .moms {
    margin: 0;
    padding: 6px 0 0;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .mcard {
    flex: none;
  }
}

/* privacy band */

@media (min-width: 48rem) {
  .device {
    width: min(100%, 290px);
  }
  .chap {
    padding-block: 96px;
  }
  .chap .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .chap.flip .copy {
    order: 2;
  }
  .visual {
    padding-block: 36px;
  }
}

/* motion: only where allowed and supported */
@media (prefers-reduced-motion: no-preference) {
  .closing .strudl {
    animation:
      strudl 0.8s steps(4) infinite,
      trot 9s linear infinite;
  }
  @keyframes trot {
    from {
      margin-left: -150px;
    }
    to {
      margin-left: 100%;
    }
  }

  /* three districts fill as the page loads */
  .dist.load .fill {
    animation: walk 0.9s ease-out both;
    animation-delay: calc(0.5s + var(--o) * 0.45s);
  }
  .num.load {
    animation: pop 0.4s ease-out both;
    animation-delay: calc(1s + var(--o) * 0.45s);
  }
  /* the rest fills with time where there is no scroll timeline, or the screen is too small to pin the map */
  .dist.scroll .fill {
    animation: walk 0.9s ease-out both;
    animation-delay: calc(2.1s + var(--o) * 0.28s);
  }
  .num.scroll {
    animation: pop 0.4s ease-out both;
    animation-delay: calc(2.5s + var(--o) * 0.28s);
  }
  .meter .bar i {
    animation: grow 3.2s ease-out 2.1s both;
  }
  .count {
    animation: cnt 3.2s linear 2.1s both;
  }
  @keyframes walk {
    0% {
      stroke-dashoffset: 1;
      fill-opacity: 0;
    }
    55% {
      stroke-dashoffset: 0;
      fill-opacity: 0;
    }
    100% {
      stroke-dashoffset: 0;
      fill-opacity: 1;
    }
  }
  @keyframes pop {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes grow {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(calc(var(--share) / 100));
    }
  }
  @keyframes cnt {
    from {
      --n: 0;
    }
    to {
      --n: var(--share);
    }
  }
  @supports (animation-timeline: view()) {
    /* chapters rise as they enter, phones drift while they pass */
    .chap .copy {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    .chap .visual {
      animation: enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .chap .device {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes rise {
      from {
        opacity: 0;
        translate: 0 38px;
      }
      to {
        opacity: 1;
        translate: 0 0;
      }
    }
    @keyframes enter {
      from {
        opacity: 0;
        scale: 0.93;
      }
      to {
        opacity: 1;
        scale: 1;
      }
    }
    @keyframes drift {
      from {
        translate: 0 34px;
      }
      to {
        translate: 0 -34px;
      }
    }
  }
}

/* the map is pinned while it fills with the scroll (needs a tall enough screen for the whole hero) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @media (min-height: 50rem) and (max-width: 47.99rem), (min-height: 40rem) and (min-width: 48rem) {
      .stage {
        height: 200svh;
        view-timeline: --stage block;
      }
      .stage-in {
        position: sticky;
        top: 0;
        height: 100svh;
        align-content: center;
        overflow: hidden;
        padding-bottom: 12px;
      }
      .dist.scroll .fill {
        animation: walk linear both;
        animation-timeline: --stage;
        animation-range: cover calc(26% + var(--o) * 3.6%) cover calc(35% + var(--o) * 3.6%);
      }
      .num.scroll {
        animation: pop linear both;
        animation-timeline: --stage;
        animation-range: cover calc(30% + var(--o) * 3.6%) cover calc(35% + var(--o) * 3.6%);
      }
      .meter .bar i {
        animation: grow linear both;
        animation-timeline: --stage;
        animation-range: cover 26% cover 71%;
      }
      .count {
        animation: cnt linear both;
        animation-timeline: --stage;
        animation-range: cover 26% cover 71%;
      }
      .mapwrap .stadtplan {
        animation: lift linear both;
        animation-timeline: --stage;
        animation-range: cover 23% cover 75%;
      }
      .hero-phone .device {
        animation: phone linear both;
        animation-timeline: --stage;
        animation-range: cover 24% cover 46%;
      }
      @keyframes lift {
        from {
          transform: scale(0.97);
        }
        to {
          transform: scale(1);
        }
      }
      @keyframes phone {
        from {
          translate: 0 60px;
          opacity: 0;
        }
        to {
          translate: 0 0;
          opacity: 1;
        }
      }
    }
  }
}
@media (max-width: 47.99rem) {
  .stage .note {
    display: none;
  }
}

/* ===== street sign: the app's enamel Gassenschild, "8., Zeltgasse" ===== */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/barlow-600.b6ab6af2bb.woff2") format("woff2");
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.plate {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  max-width: 100%;
  min-height: 2.6rem;
  padding: 0.4rem 2.1rem 0.45rem;
  border-radius: 4px;
  background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 40%), #1f3f78;
  box-shadow:
    0 1px 1px rgba(34, 30, 24, 0.25),
    inset 0 -1px 0 #12274b;
  color: #fff;
  font:
    600 1.4rem / 1.1 "Barlow Semi Condensed",
    var(--sans);
  letter-spacing: 0.012em;
  vertical-align: middle;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px solid #fff;
  border-radius: 2px;
  pointer-events: none;
}
.plate i {
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  border: 1px solid #8f9fbb;
  background: #d7dce7;
}
.plate i:first-child {
  left: 8px;
}
.plate i:nth-child(2) {
  right: 8px;
}
.plate .pd {
  font-size: 0.85em;
  white-space: nowrap;
}
.plate .pt {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ===== Search (W1): the street search and today's card, right under the hero ===== */
.find {
  padding-block: 56px;
  background: var(--primary-soft);
  border-top: 1px solid #d9d0f3;
  border-bottom: 1px solid #d9d0f3;
}
.find-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
.find-main {
  min-width: 0;
  max-width: 40rem;
}
.find h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.find .lead {
  margin: 14px 0 0;
  max-width: 33rem;
}
.finder {
  margin-top: 22px;
}
.finder label {
  display: block;
  margin-bottom: 8px;
  font: 600 0.875rem / 1.2 var(--sans);
  color: var(--ink);
}
.finder input {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1.5px solid var(--edge);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 3px 0 var(--card-ground);
  color: var(--ink);
  font: 400 1.1875rem / 1.2 var(--sans);
  appearance: none;
  -webkit-appearance: none;
}
.finder input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.finder input:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.hint {
  margin: 10px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.tries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.9375rem;
}
.tries span {
  color: var(--muted);
}
.chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--card-edge);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--ink);
  font: 600 0.9375rem / 1 var(--sans);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.chip:hover {
  border-color: var(--edge);
}
.status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.results {
  margin-top: 6px;
}
.used .tries {
  display: none;
}
.used .results {
  /* the reserved height plus the chips that went (three rows on a phone), so nothing below jumps */
  min-height: calc(24rem + 8.7rem);
}
@media (min-width: 40rem) {
  .used .results {
    min-height: calc(24rem + 3.2rem);
  }
}
.picks {
  display: grid;
  gap: 4px 16px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.picks:empty {
  display: none;
}
.pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.pick:hover {
  background: rgba(255, 255, 255, 0.7);
}
.pick .plate {
  min-height: 2.1rem;
  padding: 0.25rem 1.7rem 0.3rem;
  font-size: 1.05rem;
}
.pickd {
  font-size: 0.875rem;
  color: var(--muted);
}
.result:empty {
  display: none;
}
.rcard,
.today {
  padding: 20px;
  background: var(--surface);
  border: 1.5px solid var(--card-edge);
  border-radius: 18px;
  box-shadow: 0 3px 0 var(--card-ground);
}
.rcard {
  margin-top: 14px;
}
.rdist {
  margin: 10px 0 0;
  font: 600 0.9375rem / 1.3 var(--sans);
  color: var(--muted);
}
.who {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.who small,
.tdate {
  display: block;
  font: 400 0.75rem / 1 var(--pix);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-edge);
}
.wname {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
}
.wname b {
  font-weight: 700;
}
.wname span {
  margin-left: 8px;
  font: 400 0.9375rem var(--sans);
  color: var(--muted);
  white-space: nowrap;
}
.wline,
.origin {
  margin: 8px 0 0;
}
.origin {
  margin-top: 14px;
}
.more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--primary-edge);
}
.today h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 700;
}
.today h3 {
  margin-top: 14px;
  font-size: 1.25rem;
}
.today p {
  margin: 8px 0 0;
}
.today .tplace {
  font-size: 0.9375rem;
  color: var(--muted);
}
.find .all {
  margin: 24px 0 0;
  font-weight: 600;
}
@media (min-width: 56rem) {
  .find {
    padding-block: 88px;
  }
  .find-grid.has-today {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 56px;
  }
}

/* ===== Wien in Zahlen: the numbers on split-flap tiles ===== */
.numbers {
  padding-block: 56px;
  border-top: 1px solid var(--hairline);
}
.numbers h2 {
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  font-weight: 700;
}
.numbers .lead {
  margin: 10px 0 0;
}
.flaps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 16px;
  margin: 30px 0 0;
}
.flap {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
}
.flap dt {
  font: 600 0.875rem / 1.2 var(--sans);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.flap dd {
  margin: 0;
}
.tiles {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
}
.tile {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(2rem, 8.6vw, 2.9rem);
  height: clamp(2.9rem, 12.5vw, 4.1rem);
  border-radius: 6px;
  background: linear-gradient(#2b2721 50%, #221e18 50%);
  box-shadow: 0 2px 0 rgba(34, 30, 24, 0.18);
  color: #fff;
  font: 600 clamp(1.6rem, 7vw, 2.5rem) / 1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.45);
}
.sep {
  align-self: flex-end;
  padding-bottom: 0.2rem;
  font: 700 1.6rem / 1 var(--sans);
  color: var(--ink);
}
@media (min-width: 48rem) {
  .numbers {
    padding-block: 88px;
  }
  .flaps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 24px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tile {
      animation: flip linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 60%;
    }
    @keyframes flip {
      from {
        transform: perspective(260px) rotateX(-85deg);
        opacity: 0;
      }
      to {
        transform: none;
        opacity: 1;
      }
    }
  }
}

/* ===== the hero map's district card ===== */
.dist[data-n] {
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.stadtplan .ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linejoin: round;
  pointer-events: none;
}
.dcard {
  position: fixed;
  z-index: 20;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px 16px 16px;
  background: var(--surface);
  border: 1.5px solid var(--card-edge);
  border-radius: 16px;
  box-shadow:
    0 3px 0 var(--card-ground),
    0 18px 30px -16px rgba(34, 30, 24, 0.5);
}
.dcard h3 {
  font-size: 1.25rem;
}
.dcard p {
  margin: 6px 0 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.dcard .dcount {
  font: 600 0.8125rem / 1.3 var(--sans);
  letter-spacing: 0.04em;
  color: var(--primary-edge);
}
.maphint {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (min-width: 48rem) {
  .dcard {
    position: absolute;
    right: auto;
    bottom: auto;
    top: 0;
    left: 0;
    width: min(17rem, 62%);
  }
}

/* The district locator and the crumb (street index, letter and district pages) */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--primary-edge);
  text-decoration: underline;
}
.crumbs span {
  opacity: 0.55;
}
.locator {
  display: block;
  width: 100%;
  max-width: 15rem;
  height: auto;
  margin: 16px auto 0;
}
.locator path {
  fill: #ece7fc;
  stroke: #cfc3f2;
  stroke-width: 1;
  stroke-linejoin: round;
}
.locator path.on {
  fill: var(--primary);
  stroke: var(--primary-edge);
  stroke-width: 1.4;
}
.locator a:hover path.on {
  fill: var(--primary-edge);
}
.locator .ln text {
  fill: #fff;
  stroke: var(--primary-edge);
  stroke-width: 3px;
  paint-order: stroke;
  text-anchor: middle;
  font: 700 16px var(--sans);
}

/* Streets index (W2) */
.streets-index {
  max-width: none;
}
.streets-index > header {
  max-width: 44rem;
  margin-bottom: 8px;
}
.streets-index h2 {
  margin-top: 0;
}
.dcards {
  margin-top: 36px;
}
.dcards h2,
.alllist h2 {
  font-size: 1.4rem;
}
.dgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.dgrid li {
  display: flex;
}
.dgrid a {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 11px 14px;
  border: 1.5px solid var(--card-edge);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 2px 0 var(--card-ground);
  color: var(--ink);
  text-decoration: none;
}
.dgrid a:hover {
  border-color: var(--edge);
}
.dn {
  display: grid;
  flex: none;
  place-items: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding-inline: 0.4rem;
  border-radius: 6px;
  background: #1f3f78;
  box-shadow:
    inset 0 0 0 3px #1f3f78,
    inset 0 0 0 4.5px #fff;
  color: #fff;
  font:
    600 1.3rem / 1 "Barlow Semi Condensed",
    var(--sans);
}
.dn:empty {
  display: none;
}
.dt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dt b {
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.dt small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.alllist {
  margin-top: 48px;
}
.az {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 14px 0 0;
  padding: 0;
}
.az a[aria-current="page"] {
  border-color: var(--primary-edge);
  background: var(--primary-soft);
}
.az--sub {
  margin-top: 8px;
}
.az--sub a {
  width: auto;
  min-width: 2.2rem;
  padding-inline: 8px;
}
.hub .az a,
.hub .az span {
  width: 2.6rem;
  height: 2.8rem;
  font-size: 1.0625rem;
}
.azlead {
  margin: 6px 0 0;
  color: var(--muted);
}
.sfilter--hub {
  max-width: 34rem;
  margin-top: 4px;
}
.hits {
  max-width: 50rem;
  margin-top: 8px;
}
.az a,
.az span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2.2rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.az a {
  border: 1.5px solid var(--card-edge);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.az a:hover {
  border-color: var(--edge);
}
.az a[data-off] {
  opacity: 0.35;
  pointer-events: none;
}
.az span {
  color: var(--line);
}
.sfilter {
  max-width: 26rem;
  margin-top: 8px;
}
.sfilter label {
  display: block;
  margin-bottom: 8px;
  font: 600 0.875rem / 1.2 var(--sans);
  color: var(--ink);
}
.sfilter input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--edge);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 2px 0 var(--card-ground);
  color: var(--ink);
  font: 400 1.0625rem / 1.2 var(--sans);
  appearance: none;
  -webkit-appearance: none;
}
.sfilter input:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.sfilter .status {
  min-height: 1.4em;
  margin: 8px 0 0;
}
.lgroup {
  margin-top: 22px;
  scroll-margin-top: 0.5rem;
}
.lgroup > h2 {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 0 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--primary-edge);
  font: 700 1.5rem / 1 var(--serif);
}
.slist {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plist,
.hits {
  max-width: 50rem;
}
@media (min-width: 40rem) {
  .slist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.slist li {
  display: flex;
  align-items: center;
  min-height: 2.4rem;
  margin: 0;
  min-width: 0;
}
.slist li[hidden],
.lgroup[hidden] {
  display: none;
}
.pl {
  display: inline-block;
  max-width: 100%;
  text-decoration: none;
}
.pl .plate {
  min-height: 2.1rem;
  padding: 0.25rem 1.5rem 0.3rem;
  font-size: 1.05rem;
}
.pl:hover .plate {
  filter: brightness(1.12);
}
.hubpage .plist {
  max-width: none;
}
/* 44 px cells on every screen: the bar is a row of touch targets, and two even rows of 13 read better on a wide one than a ragged second row. */
.hubpage .az {
  max-width: calc(13 * 2.75rem + 12 * 5px);
}
.hubpage .az a,
.hubpage .az span {
  width: 2.75rem;
  height: 2.75rem;
}
.hubpage .slist {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
/* The plate and its line share a row; the plate column is as wide as the longest street plate so a plate never breaks inside a word. */
.hubpage .slist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 2px;
  padding-block: 8px;
  border-top: 1px solid var(--hairline);
}
.hubpage .slist li:first-child {
  border-top: 0;
}
.hubpage .pl {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.hubpage .hnames {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.hubpage .hnames p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.hubpage .hnames b {
  color: var(--ink);
}
@media (min-width: 48rem) {
  .hubpage .slist li {
    grid-template-columns: 20rem minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
  }
}
.dhead {
  display: grid;
  gap: 20px;
  align-items: center;
}
.dhead .locator {
  max-width: 12rem;
  margin: 0;
}
.dhead .lead {
  margin-top: 12px;
}
.dhead .gz-in {
  margin-top: 12px;
  font-weight: 600;
}
.dhead .gz-in a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.district > .crumbs {
  margin-bottom: 18px;
}
.district .dnav {
  display: block;
  margin-top: 48px;
}
.district .dnav h2 {
  font-size: 1.4rem;
}
.district .dnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.dnav a {
  display: block;
  min-width: 2.5rem;
  padding: 6px 10px;
  border: 1.5px solid var(--card-edge);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}
.dnav a[aria-current="page"] {
  border-color: var(--primary-edge);
  background: var(--primary-soft);
}
@media (max-width: 39.99rem) {
  .dgrid a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .dt b {
    overflow-wrap: break-word;
  }
}
@media (min-width: 40rem) {
  .dgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dhead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
  }
}
@media (min-width: 62rem) {
  .dgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Search (W1): the best hit is the card, the rest a list below it; calm entry, still when motion is reduced */
.find {
  scroll-margin-top: 12px;
}
.rcard:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.rcard {
  min-height: 11rem;
}
.rbody:empty {
  display: none;
}
@media (min-width: 40rem) {
  .picks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .rcard {
    animation: rcard-in 0.22s ease-out both;
  }
  @keyframes rcard-in {
    from {
      opacity: 0;
      translate: 0 6px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
.status {
  min-height: 1.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status.quiet {
  color: transparent;
  user-select: none;
}

/* Home (W1): calmer chapters, five numbers, the phone beside the map, one closing band */
.chap {
  padding-block: 44px;
}
.chap .device {
  width: min(100%, 220px);
}
.moms {
  order: 3;
}
@media (min-width: 48rem) {
  .chap {
    padding-block: 56px;
  }
  .chap .wrap {
    gap: 56px;
  }
  .chap .device {
    width: min(100%, 240px);
  }
}
.chap .copy p {
  max-width: 30rem;
}
.chap .visual {
  padding-block: 16px;
}
@media (min-width: 62rem) {
  .mapwrap {
    padding-right: min(26%, 190px);
  }
  .hero-phone {
    right: 0;
    bottom: 40px;
    width: min(24%, 180px);
  }
}
.flaps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flap:last-child {
  grid-column: 1 / -1;
}
.tile {
  width: clamp(1.85rem, 8vw, 2.4rem);
  height: clamp(2.6rem, 11.5vw, 3.4rem);
  font-size: clamp(1.4rem, 6.4vw, 2rem);
}
@media (min-width: 48rem) {
  .numbers {
    padding-block: 64px;
  }
  .flaps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px 14px;
  }
  .flap:last-child {
    grid-column: auto;
  }
  .tile {
    width: 2.1rem;
    height: 3rem;
    font-size: 1.8rem;
  }
  .tiles {
    gap: 3px;
  }
}
@media (min-width: 62rem) {
  .tile {
    width: 2.4rem;
    height: 3.4rem;
    font-size: 2rem;
  }
}

/* Google's badge: its PNG carries Google's clear-space margin (de 29 px above and below, en 41 px all round, of 250 px).
   Each language is scaled until the visible badge is 52 px tall like Apple's, and the link box is cut to the visible
   badge (the margin hangs out of it, transparent), so the row is 52 px high and the gap to Apple's badge is the same
   in both languages */
.stores {
  align-items: center;
}
.gplay {
  position: relative;
  display: block;
  height: 52px;
}
.gplay img {
  position: absolute;
  display: block;
  max-width: none;
}
.gplay-de {
  width: 174.8px;
}
.gplay-de img {
  top: -7.85px;
  left: 0;
  width: 174.8px;
  height: 67.71px;
}
.gplay-en {
  width: 174.6px;
}
.gplay-en img {
  top: -12.69px;
  left: -12.69px;
  width: 199.97px;
  height: 77.38px;
}

.closing {
  background: var(--primary);
  color: #ebe6fd;
  border-top: 0;
  overflow: hidden;
}
.closing .wrap {
  display: grid;
  gap: 40px;
  padding-block: 56px 0;
}
.closing h2,
.closing h3 {
  color: #fff;
}
.closing h2 {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 700;
}
.closing h3 {
  margin: 36px 0 0;
  font-size: 1.25rem;
}
.closing p,
.closing .note {
  max-width: 32rem;
  margin: 12px 0 0;
  font-size: 1rem;
  color: #ebe6fd;
}
.closing a,
.closing a:hover {
  color: #fff;
  font-weight: 600;
}
.closing .stores {
  margin: 20px 0 0;
}
.closing .about h2 {
  font-size: 1.375rem;
}
.closing .about dl {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  max-width: 32rem;
}
.closing .about dl div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 12px;
  padding-block: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.closing .about dt {
  font: 600 0.75rem / 1.8 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3f0fe;
}
.closing .about dd {
  margin: 0;
  color: #fff;
}
/* Strudl walks on the band's bottom edge, which is the footer's top line: under the left column, so the band
   gets no strip of its own (a phone has one column and keeps a short row) */
.closing .strudl-row {
  position: relative;
  overflow: hidden;
  height: 108px;
  margin: -16px 0 0;
  border-bottom: 0;
}
.closing .strudl {
  margin-bottom: 0;
}
@media (min-width: 48rem) {
  .closing .wrap {
    position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    padding-block: 72px 24px;
  }
  .closing .strudl-row {
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(50% - 36px);
    margin: 0;
  }
}

/* Accessibility (W1): the English heading of a bilingual page is an h2 until lang.js promotes it; footer links in two columns on a phone */
h2.h1 {
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3rem);
}
.moms:focus-visible {
  outline-offset: -3px;
}
@media (max-width: 39.99rem) {
  .foot nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    gap: 0 36px;
  }
}
/* Added to the stylesheet only when the build has a city page or a city map, so a Vienna-only build keeps its stylesheet byte for byte. */
/* the language switch of a page with more than one other language (Stockholm: two of German, English, Swedish) */
.langs {
  display: inline-flex;
  gap: 12px;
}

/* a district card on a city's map page that leads nowhere (the district has no street page): the plate and the name, quiet */
.dgrid .still {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 11px 14px;
  border: 1.5px dashed var(--card-edge);
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
}
.dgrid .still .dn {
  opacity: 0.7;
}
.dgrid .still .dt b {
  font-weight: 500;
}
