/* Consort website. Plain CSS, no external resources. */

:root {
  color-scheme: light dark;

  --bg: #fbfdfd;
  --surface: #eef4f4;
  --text: #102326;
  --muted: #48595c;
  --border: #cfdcdd;
  --accent: #0e7490;
  --accent-hover: #0b5d73;
  --on-accent: #ffffff;
  --code-bg: #e4eded;
  --note-bg: #fff6db;
  --note-border: #b88600;
  --note-text: #3d2e00;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --radius: 12px;
  --page: 68rem;
  --measure: 70ch;
  --gutter: clamp(1rem, 4vw, 2rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1517;
    --surface: #152326;
    --text: #e4eced;
    --muted: #a3b4b6;
    --border: #2a3c3f;
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --on-accent: #042f2e;
    --code-bg: #0f1c1f;
    --note-bg: #2b2208;
    --note-border: #d9a520;
    --note-text: #f6e7b8;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
}

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: var(--on-accent);
}

/* Header and footer */

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.brand img {
  display: block;
  width: auto;
  height: 28px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

/* Keep all four links on one row on phones. */
@media (max-width: 30rem) {
  .site-nav ul {
    gap: 0.25rem 0.9rem;
  }

  .site-nav a {
    font-size: 0.9375rem;
  }
}

@media (max-width: 22rem) {
  .site-nav ul {
    gap: 0.25rem 0.7rem;
  }

  .site-nav a {
    font-size: 0.875rem;
  }
}

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  padding-block: 2rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
  max-width: var(--measure);
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Shared blocks */

.section {
  padding-top: clamp(3rem, 8vw, 5rem);
}

.section > h2,
.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 0 0 1.5rem;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.0625rem;
}

.page-head {
  padding-block: clamp(2.5rem, 7vw, 4rem) 0;
  max-width: var(--measure);
}

.page-head h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 6vw, 3rem);
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--on-accent);
}

.button-secondary {
  color: var(--accent);
}

.button-secondary:hover {
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card p + p {
  margin-top: 0.75rem;
}

.card .card-link {
  font-weight: 600;
}

/* At most two columns, so four cards make a 2×2 grid rather than 3 + 1. */
.cards-pairs {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
}

.page-head + .section {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.more {
  margin: 1.25rem 0 0;
  font-weight: 600;
}

.fine-print {
  margin: 1.25rem 0 0;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 0.9375rem;
}

.fine-print + .fine-print {
  margin-top: 0.5rem;
}

pre {
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.9375rem;
  line-height: 1.55;
}

pre code {
  font-size: inherit;
}

:not(pre) > code {
  padding: 0.1em 0.3em;
  background: var(--code-bg);
  border-radius: 4px;
}

/* Landing page */

.media {
  margin: 0;
}

.media img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: #1c1c1c;
}

/*
  Hero: a dark stage, in both themes, with the desktop app in perspective.
  The app is a decorative HTML mockup sized in em, and the stage sets its
  font size from the container width, so the whole scene scales together.
  The scene is 100em wide.
*/

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
  background:
    radial-gradient(50% 42% at 60% 70%, rgb(45 212 191 / 0.3), transparent 70%),
    radial-gradient(34% 34% at 10% 16%, rgb(14 116 144 / 0.5), transparent 70%),
    radial-gradient(28% 28% at 94% 8%, rgb(94 234 212 / 0.16), transparent 70%),
    #061012;
  color: #e6f0f1;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -30%;
  right: -30%;
  bottom: 0;
  height: 58%;
  background-image:
    linear-gradient(rgb(94 234 212 / 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgb(94 234 212 / 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 85%);
  mask-image: linear-gradient(to top, #000, transparent 85%);
}

.hero-copy {
  padding-block: clamp(3rem, 9vw, 5.5rem) 0;
  text-align: center;
}

.hero-copy h1 {
  max-width: 22ch;
  margin: 0 auto 1.1rem;
  color: #f4fafa;
  font-size: clamp(2.3rem, 6.2vw, 4.1rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.accent {
  background: linear-gradient(90deg, #99f6e4, #2dd4bf 45%, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (forced-colors: active) {
  .accent {
    background: none;
    color: CanvasText;
  }
}

.hero .lede {
  max-width: 54ch;
  margin-inline: auto;
  color: #a9c4c6;
}

.hero .actions {
  justify-content: center;
}

.hero .button-primary {
  background: #2dd4bf;
  border-color: #2dd4bf;
  color: #042f2e;
  box-shadow: 0 0 2rem rgb(45 212 191 / 0.35);
}

.hero .button-primary:hover {
  background: #5eead4;
  border-color: #5eead4;
  color: #042f2e;
}

.hero .button-secondary {
  border-color: #2dd4bf;
  color: #5eead4;
}

.hero .button-secondary:hover {
  border-color: #5eead4;
  color: #99f6e4;
}

.hero :focus-visible {
  outline-color: #5eead4;
}

.stage-wrap {
  container-type: inline-size;
  max-width: 80rem;
  margin: clamp(1.5rem, 5vw, 3rem) auto 0;
  padding-inline: var(--gutter);
}

.stage {
  position: relative;
  height: 66em;
  font-size: calc(100cqi / 118);
  perspective: 170em;
  perspective-origin: 50% 20%;
  -webkit-user-select: none;
  user-select: none;
}

.scene {
  position: absolute;
  top: 1em;
  left: 50%;
  width: 100em;
  height: 56em;
  margin-left: -48em;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(-20deg) rotateZ(7deg);
}

.scene-glow {
  position: absolute;
  inset: -12% -8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(45 212 191 / 0.35), transparent);
  transform: translateZ(-16em);
}

.scene-shadow {
  position: absolute;
  inset: 8% 2% -6% 8%;
  border-radius: 4em;
  background: rgb(0 0 0 / 0.55);
  box-shadow: 0 0 7em 5em rgb(0 0 0 / 0.5);
  transform: translateZ(-5em);
}

.ico {
  flex: none;
  width: 1.2em;
  height: 1.2em;
}

.av {
  flex: none;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
}

/* The app window */

.app {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 3em 17.5em minmax(0, 1fr) 14em;
  grid-template-rows: 3.2em minmax(0, 1fr);
  overflow: hidden;
  border-radius: 1em;
  background: #1d1d1d;
  color: #d6d8da;
  font-size: 1.1em;
  line-height: 1.35;
  text-align: left;
  box-shadow:
    0 0 0 0.1em rgb(255 255 255 / 0.1),
    0 3em 6em rgb(0 0 0 / 0.6);
}

.app::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgb(255 255 255 / 0.08), transparent 32%, transparent 72%, rgb(255 255 255 / 0.03));
  pointer-events: none;
}

.app-rail {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1em;
  padding: 0.8em 0;
  background: #161718;
  border-right: 1px solid #2a2b2d;
  color: #8a9099;
}

.rail-org {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 0.5em;
  background: linear-gradient(135deg, #2dd4bf, #0e7490);
  box-shadow: 0 0 0 0.15em #161718, 0 0 0 0.3em #2dd4bf;
  color: #fff;
}

.rail-gap {
  flex: 1;
}

.app-top {
  grid-column: 2 / 5;
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding-right: 1em;
  background: #202020;
  border-bottom: 1px solid #2c2c2c;
  color: #a9b0b8;
}

.app-brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.8em;
  width: 17em;
  padding-left: 0.9em;
}

.app-logo {
  width: auto;
  height: 1.3em;
}

.app-crumb {
  display: flex;
  align-items: center;
  gap: 0.45em;
  color: #eceeef;
  font-size: 1.05em;
  font-weight: 600;
}

.dim {
  color: #7d848c;
}

.grow {
  flex: 1;
}

.app-search {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 11em;
  padding: 0.35em 0.6em;
  border-radius: 0.35em;
  background: #2b2c2e;
  color: #8f969e;
}

.app-side,
.app-users {
  padding: 0.7em 0.6em;
  overflow: hidden;
  white-space: nowrap;
}

.field {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.4em;
  padding: 0.35em 0.6em;
  border: 1px solid #3a3b3e;
  border-radius: 0.35em;
  color: #80878f;
}

.sec {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.7em 0 0.2em;
  padding-left: 0.2em;
  color: #8ea3be;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.sec::before {
  content: "";
  border-top: 0.42em solid currentColor;
  border-inline: 0.3em solid transparent;
}

.sec .views {
  display: flex;
  gap: 0.9em;
  margin-left: auto;
  font-size: 1.1em;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.26em 0.5em;
  border-radius: 0.35em;
}

.row.on {
  background: #2e3236;
  color: #fff;
}

.row.sub {
  padding-left: 2.3em;
  color: #b9bec4;
  font-size: 0.9em;
}

.row .av {
  width: 1.35em;
  height: 1.35em;
}

.presence {
  flex: none;
  width: 0.55em;
  height: 0.55em;
  margin-inline: 0.2em;
  border: 0.1em solid #6b7178;
  border-radius: 50%;
}

.presence.live {
  border-color: #3ecf6e;
  background: #3ecf6e;
}

.c-hash { color: #c6d84e; }
.c-globe { color: #a38bf2; }
.c-folder { color: #f5a83a; }
.c-lounge { color: #f2b33d; }
.c-voice { color: #ef7fa6; }
.c-private { color: #8fd3ea; }

.app-main {
  position: relative;
  padding: 1em 1.2em 4em;
  overflow: hidden;
}

.recip {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.45em 0.8em;
  border-radius: 0.45em 0.45em 0 0;
  background: #2b4d50;
  color: #eef6f6;
  font-weight: 600;
}

.recip .when {
  margin-left: auto;
  font-size: 0.85em;
  letter-spacing: 0.05em;
}

.msgs {
  padding: 0.3em 0.9em 0.6em;
  border: 1px solid #2b4d50;
  border-top: 0;
  border-radius: 0 0 0.45em 0.45em;
}

.msg {
  display: grid;
  grid-template-columns: 2.5em minmax(0, 1fr);
  gap: 0.15em 0.8em;
  padding: 0.55em 0;
}

.msg .av {
  grid-row: span 2;
  width: 2.5em;
  height: 2.5em;
}

.msg-head {
  display: flex;
  justify-content: space-between;
  color: #f1f3f4;
  font-weight: 600;
}

.msg-head .when {
  color: #80878f;
  font-size: 0.85em;
  font-weight: 400;
}

.compose {
  position: absolute;
  right: 1.2em;
  bottom: 0.9em;
  left: 1.2em;
  padding: 0.6em 0.8em;
  border: 1px solid #37393c;
  border-radius: 0.45em;
  background: #232425;
  color: #8d949b;
}

.invite {
  margin: 0.8em 0 0 0.3em;
  color: #7aaee0;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* The call, floating in front of the window */

.call {
  position: absolute;
  right: -3.5em;
  bottom: -4em;
  display: grid;
  grid-template-rows: 2.7em minmax(0, 1fr) 3.6em;
  width: 48em;
  height: 30em;
  overflow: hidden;
  border-radius: 0.9em;
  background: #050505;
  color: #e9eaeb;
  font-size: 1.1em;
  line-height: 1.3;
  text-align: left;
  transform: translateZ(9em);
  box-shadow:
    0 0 0 0.1em rgb(255 255 255 / 0.13),
    0 2.5em 5em rgb(0 0 0 / 0.65),
    0 0 7em rgb(45 212 191 / 0.25);
}

.call-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0 0.8em;
  background: #26262c;
  font-size: 0.95em;
}

.pill {
  padding: 0.25em 0.7em;
  border-radius: 0.3em;
  background: #3c3c44;
  font-size: 0.9em;
}

.pill.leave {
  background: #e03a3e;
  color: #fff;
}

.call-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9em;
  gap: 0.6em;
  padding: 0.7em;
}

.share {
  position: relative;
  overflow: hidden;
  border-radius: 0.5em;
  background: #0c1416;
}

.share-page {
  position: absolute;
  inset: 0.8em 0.8em 2.2em;
  display: grid;
  grid-template-rows: 1em minmax(0, 1fr) 4em;
  gap: 0.7em;
  padding: 0.8em;
  border-radius: 0.4em;
  background: #f4fafa;
}

.sp-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5em;
}

.sp-nav i {
  width: 2.5em;
  height: 0.45em;
  border-radius: 1em;
  background: #c7d8d9;
}

.sp-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55em;
  padding: 0 1.5em;
  border-radius: 0.4em;
  background: linear-gradient(135deg, #0b3b44, #0e7490 55%, #2dd4bf);
  color: #fff;
}

.sp-hero .ico {
  width: 2.2em;
  height: 2.2em;
}

.sp-line {
  display: block;
  width: 70%;
  height: 0.7em;
  border-radius: 1em;
  background: rgb(255 255 255 / 0.85);
}

.sp-line.short {
  width: 45%;
  background: rgb(255 255 255 / 0.5);
}

.sp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6em;
}

.sp-cards i {
  border-radius: 0.35em;
  background: #deeced;
}

.strip {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 0.5em;
}

.tile {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 0.5em;
  background: #1b1c1f;
}

.tile .av {
  width: 2.8em;
  height: 2.8em;
}

.tile-name {
  position: absolute;
  bottom: 0.35em;
  left: 0.45em;
  padding: 0.05em 0.4em;
  border-radius: 0.25em;
  background: rgb(0 0 0 / 0.6);
  font-size: 0.75em;
}

.call-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3em;
  background: #121214;
  color: #d9dadc;
}

.call-bar .ico {
  width: 1.45em;
  height: 1.45em;
}

.call-bar .on {
  color: #2dd4bf;
}

.hangup {
  display: grid;
  place-items: center;
  width: 3em;
  height: 2.2em;
  margin-left: 0.8em;
  border-radius: 0.4em;
  background: #e03a3e;
  color: #fff;
}

/* The voice channel, lifted out of the sidebar */

.callout {
  position: absolute;
  top: 25em;
  left: -8em;
  width: 17em;
  padding: 0.9em 0.9em 1em;
  border-radius: 0.9em;
  background: #1f2022;
  color: #dfe2e5;
  font-size: 1.3em;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  transform: translateZ(15em);
  box-shadow:
    0 0 0 0.08em rgb(255 255 255 / 0.13),
    0 2em 4em rgb(0 0 0 / 0.6),
    0 0 5em rgb(239 127 166 / 0.18);
}

.callout .sec {
  margin-top: 0;
}

.callout .row.sub {
  padding-left: 1.9em;
  font-size: 0.95em;
}

.callout .row .av {
  width: 1.5em;
  height: 1.5em;
}

.callout-count {
  margin-left: auto;
  color: #8f969e;
  font-size: 0.8em;
}

/* Speaking rings take turns; with reduced motion, one stays lit. */

.ring {
  border-radius: 50%;
}

.ring.r1 {
  box-shadow: 0 0 0 0.14em #34d399;
}

@media (prefers-reduced-motion: no-preference) {
  .scene {
    animation: drift 18s ease-in-out infinite alternate;
  }

  .ring {
    animation: speak 8s ease-in-out infinite;
  }

  .ring.r2 { animation-delay: 2s; }
  .ring.r3 { animation-delay: 4s; }
  .ring.r4 { animation-delay: 6s; }
}

@keyframes drift {
  from { transform: rotateX(20deg) rotateY(-20deg) rotateZ(7deg); }
  to { transform: rotateX(15deg) rotateY(-12deg) rotateZ(4deg); }
}

@keyframes speak {
  0%, 25%, 100% { box-shadow: 0 0 0 0.14em rgb(52 211 153 / 0); }
  5%, 20% { box-shadow: 0 0 0 0.14em #34d399, 0 0 0.7em 0.15em rgb(52 211 153 / 0.55); }
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.split p {
  color: var(--muted);
  max-width: var(--measure);
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 1.5rem;
}

.checks li + li {
  margin-top: 0.4rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.band {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border-radius: calc(var(--radius) * 1.5);
}

.band > h2 {
  margin-top: 0;
}

.band p {
  max-width: var(--measure);
}

/* Download cards. A card without href is a placeholder ("Coming soon"). */

.stores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  height: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.store-name {
  font-weight: 650;
  font-size: 1.1rem;
}

.store-detail {
  color: var(--muted);
  font-size: 0.9375rem;
}

.store-status {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store[href] .store-name {
  color: var(--accent);
}

.store[href]:hover {
  border-color: var(--accent);
}

.store[href]:hover .store-name {
  text-decoration: underline;
}

.store[href] .store-status {
  display: none;
}

.store:not([href]) {
  border-style: dashed;
  background: transparent;
}

/* Long-form text (server guide, privacy policies) */

.prose {
  max-width: var(--measure);
  padding-block: clamp(2rem, 6vw, 3.5rem) 0;
}

.prose h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: -0.01em;
}

.prose h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.4rem;
}

.prose h3 {
  margin: 1.75rem 0 0.35rem;
  font-size: 1.1rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.meta {
  color: var(--muted);
}

.breadcrumb {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}

.note {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--note-border);
  border-left-width: 6px;
  border-radius: 8px;
  background: var(--note-bg);
  color: var(--note-text);
}

.note p {
  margin: 0;
}

.note p + p {
  margin-top: 0.5rem;
}

.placeholder {
  padding: 0 0.2em;
  border-radius: 3px;
  background: var(--note-bg);
  color: var(--note-text);
  outline: 1px dashed var(--note-border);
  font-family: var(--mono);
  font-size: 0.9em;
}

.table-scroll {
  margin: 0 0 1rem;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.9875rem;
}

th,
td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  border-bottom-width: 2px;
}

tbody th {
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
