/* The public pages (/, /business, /download, /ios, /features/…): standalone, without the app's
   theme.css. hangspace's look: Night paper, white ink, grays with a touch of violet, and one accent.
   The top of a page (bar and hero) is always dark; the sections below alternate dark and light bands
   (.tone-light, .tone-soft), each with its own tokens, so every component inside follows its band.
   /business is light throughout (html.light-only). Colour beyond these is kept for status (form
   errors, success). */
:root {
  /* The accent, in one place: change the first line to recolour every use of it (e.g. to violet,
     #8b7cff); its hover, the darker shade for links on light bands (--accent-ink: 6.4:1 on white and
     5.9:1 on #f6f5f9 for this accent, 8.4 and 7.7 for the violet) and the Night text on it (8.7:1)
     follow. It is used only for the main button of the hero and the bar, for links on hover, and
     for the highlighted phrase of the hero's headline: never as text on a light band (2.2:1 on
     white). */
  --accent: #f58bc0;
  --accent-hover: color-mix(in oklab, var(--accent) 80%, #fff);
  --accent-ink: color-mix(in oklab, var(--accent) 65%, #000);
  --accent-contrast: #0d0b12;

  /* Dark: the page, three surfaces stepping up (cards and the app window; panels and inputs; hover
     and active), the rule, white ink and a gray that keeps 4.5:1 on every surface (6.3:1 on the
     lightest). */
  color-scheme: dark;
  --paper: #0d0b12;
  --surface: #15131d;
  --raised: #1d1a27;
  --hover: #272336;
  --rule: #2e2a3d;
  --rule-strong: #4a4560;
  --button-rule: #6b6582;
  --field-rule: #8e89a3;
  --ink: #fff;
  --muted: #a9a4ba;
  --primary: #fff;
  --primary-ink: #0d0b12;
  --primary-hover: #e4e2ea;
  --link-hover: var(--accent);
  --danger: #ff9b91;
  --success: #93dbab;
  --shadow: rgb(0 0 0 / .5);
  --bar: rgb(13 11 18 / .94);

  --display: "Unbounded", "Instrument Sans", Arial, sans-serif;
  --sans: "Instrument Sans", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 10px;
  --radius-lg: 18px;
  --wide: 1180px;
  --band: clamp(64px, 8vw, 112px);
}

/* Light: a band of a dark page, or all of /business (like its logo package: white paper, Night ink).
   The primary button there is Night; links turn the darker accent on hover. */
.tone-light,
.tone-soft,
:root.light-only {
  color-scheme: light;
  --paper: #fff;
  --surface: #f6f5f9;
  --raised: #eeedf2;
  --hover: #e4e2ea;
  --rule: #e4e2ea;
  --rule-strong: #c9c6d2;
  --button-rule: #8a8698;
  --field-rule: #8a8698;
  --ink: #0d0b12;
  --muted: #5e5a73;
  --primary: #0d0b12;
  --primary-ink: #fff;
  --primary-hover: #2e2a3d;
  --link-hover: var(--accent-ink);
  --danger: #b3261e;
  --success: #1d6e3a;
  --shadow: rgb(13 11 18 / .12);
  --bar: rgb(255 255 255 / .94);
}
/* The softer light band: #f6f5f9 paper, white cards. */
.tone-soft {
  --paper: #f6f5f9;
  --surface: #fff;
  --raised: #fff;
  --hover: #eeedf2;
}
.tone-light,
.tone-soft {
  background: var(--paper);
  color: var(--ink);
}

/* ---- Base ---- */
html[data-lang="en"] [lang="de"],
html[data-lang="de"] [lang="en"],
[hidden] {
  display: none !important;
}
html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
main {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
/* Links in running text, the footer and beside the download button: the accent on hover (its darker
   shade on light bands). */
main p a:not(.btn):hover,
.foot-nav a:hover,
.dl-more a:hover {
  color: var(--link-hover);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
/* The highlighted phrase of the hero's headline. */
.hl {
  color: var(--accent);
  white-space: nowrap;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* The wordmark: the logo's outlines as a mask, filled with the text colour. */
.wordmark {
  display: block;
  aspect-ratio: 1354 / 191;
  background: var(--ink);
  -webkit-mask: url(/static/brand/hangspace-wordmark-white.svg) center / contain no-repeat;
  mask: url(/static/brand/hangspace-wordmark-white.svg) center / contain no-repeat;
}
.wordmark.small {
  width: 128px;
}
.hero-mark {
  display: none;
}
@media (forced-colors: active) {
  .wordmark {
    forced-color-adjust: none;
    background: CanvasText;
  }
}
.biz-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  box-sizing: border-box;
  border: 1.5px solid var(--button-rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 16px/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--ink);
  background: var(--hover);
}
.btn.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-ink);
}
.btn.primary:hover {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
}
/* The main button of the hero and the bar: the accent, with Night text. */
.btn.cta {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn.cta:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}
.btn.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 15px;
}
.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .card,
  .app-tile,
  .bar-link,
  .lang-toggle,
  .chip > span {
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .2s ease;
  }
  /* Linked cards and tiles rise a little under the pointer. */
  .card:has(h3 a):hover,
  .app-tile:hover {
    transform: translateY(-2px);
  }
}

/* ---- Top bar ---- */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--rule);
  background: var(--bar);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 12px 24px;
}
.brand {
  display: block;
  flex: none;
  border-radius: 8px;
}
.brand-icon {
  display: none;
  width: 32px;
  height: 32px;
}
.brand .wordmark.small {
  /* Clear space of the logo package: at least the height of the "a" around the wordmark. */
  margin: 7px 14px 7px 0;
}
.biz-logo.small {
  display: block;
  width: 160px;
}
.bar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.bar-link,
.lang-toggle {
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 500 15px/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.bar-link:hover,
.lang-toggle:hover {
  background: var(--hover);
  color: var(--ink);
}
.bar-nav .btn {
  margin-left: 6px;
}

/* ---- Hero ---- */
.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 24px clamp(56px, 7vw, 96px);
  text-align: center;
}
.hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font: 500 clamp(30px, 3.6vw, 48px)/1.1 var(--display);
  letter-spacing: -.03em;
}
.sub {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.dl-more {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}
.hero-note {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
}

/* The stage of the app window on the landing page: one soft glow in the accent behind it. It takes
   no space, and main clips what reaches past the window's edges (no sideways scrolling). */
.stage {
  position: relative;
  isolation: isolate;
  margin-top: clamp(24px, 3vw, 36px);
}
.stage::before {
  content: "";
  position: absolute;
  inset: -14% -7% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--accent), transparent);
  opacity: .2;
  filter: blur(48px);
  pointer-events: none;
}
.stage .window {
  margin-top: 0;
}

/* The desktop app in a plain window: a title bar with the app's name, no system's look. */
.window {
  margin: clamp(24px, 3vw, 36px) auto 0;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 30px 80px -20px var(--shadow), 0 0 0 6px var(--surface);
  text-align: left;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  color: var(--muted);
  font: 600 13px/1 var(--sans);
}
.window-bar img {
  width: 16px;
  height: 16px;
}
.window-buttons {
  width: 64px;
  height: 12px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.window picture,
.window picture img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Sections ---- */
/* A section is a band as wide as the window (its own background on light bands), with its content
   in the middle, at most var(--wide) wide. */
.block,
.band {
  padding: var(--band) max(24px, calc((100% - var(--wide)) / 2 + 24px));
  box-sizing: border-box;
}
.block h2,
.more-features h2 {
  margin: 0 0 14px;
  font: 500 clamp(26px, 3.4vw, 40px)/1.15 var(--display);
  letter-spacing: -.02em;
}
.block-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.block-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.card .icon {
  width: 28px;
  height: 28px;
}
.card h3 {
  margin: 8px 0 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}
.card h3 a {
  text-decoration: none;
}
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card h3 a:focus-visible {
  outline: none;
}
.card h3 a:focus-visible::after {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card .more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
}
.card:has(h3 a):hover {
  border-color: var(--rule-strong);
  background: var(--hover);
}
.card:has(h3 a):hover .more {
  color: var(--link-hover);
}

/* Gaming, friends, clubs */
.uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.use {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
/* The picture of a tile, drawn from line icons: the group's icon on a Night tile in the middle (like
   the app icon), what it uses most in two rings beside it, joined by a hairline, on a faint dot grid.
   Sized by the tile's width (cqi), so narrow tiles keep their margins. */
.use-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: min(30px, 6cqi);
  container-type: inline-size;
  aspect-ratio: 390 / 250;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle, var(--rule) 1px, transparent 1.5px) center / 18px 18px,
    var(--raised);
}
.use-art::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18%;
  right: 18%;
  border-top: 1px solid var(--rule-strong);
}
.use-main,
.use-side {
  position: relative;
  display: grid;
  place-items: center;
}
.use-main {
  width: min(108px, 30cqi);
  height: min(108px, 30cqi);
  border-radius: 28%;
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 18px 36px -16px var(--shadow), 0 10px 24px -14px var(--shadow);
}
.use-main .icon {
  width: 50%;
  height: 50%;
  stroke-width: 1.5;
}
.use-side {
  width: min(58px, 16cqi);
  height: min(58px, 16cqi);
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}
.use-side .icon {
  width: 45%;
  height: 45%;
  stroke-width: 1.6;
}
.use h3 {
  margin: 22px 24px 0;
  font: 500 22px/1.2 var(--display);
  letter-spacing: -.02em;
}
.use p {
  margin: 8px 24px 24px;
  color: var(--muted);
}

/* No tracking / hosted in the EU */
.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.block.privacy h2 {
  font-size: clamp(28px, 4vw, 46px);
}
.privacy-statement p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.privacy-statement a {
  color: var(--ink);
}
.facts {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.facts li:last-child {
  border-bottom: 1px solid var(--rule);
}
.facts .icon {
  grid-row: span 2;
  width: 28px;
  height: 28px;
}
.facts h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.facts p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/* Where it runs */
.app-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.app-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "icon name state" "what what what";
  align-items: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-decoration: none;
}
.app-tile:hover {
  border-color: var(--rule-strong);
  background: var(--hover);
}
.app-tile .icon {
  grid-area: icon;
}
.app-tile .name {
  grid-area: name;
  font-weight: 600;
}
.app-tile .state {
  grid-area: state;
  padding: 2px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.app-tile .state.ready {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-ink);
}
.app-tile .what {
  grid-area: what;
  color: var(--muted);
  font-size: 15px;
}

/* hangspace business: a light strip at the end of the landing page, in the dark band of the apps. */
.block.apps {
  padding-bottom: clamp(40px, 5vw, 56px);
}
.block.teaser {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 40px;
  width: calc(100% - 48px);
  max-width: calc(var(--wide) - 48px);
  margin: 0 auto var(--band);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
}
.teaser-logo {
  display: block;
  width: 180px;
}
.block.teaser h2 {
  margin: 0;
  font: 600 19px/1.3 var(--sans);
  letter-spacing: 0;
}
.teaser p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--rule);
}
.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 48px 24px 64px;
  box-sizing: border-box;
}
.foot-brand .wordmark.small {
  width: 136px;
}
.foot-brand p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust .icon {
  width: 16px;
  height: 16px;
}
.foot-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.foot-nav h2 {
  margin: 0 0 4px;
  color: var(--muted);
  font: 600 13px/1.4 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.foot-nav a {
  text-decoration: none;
}
.foot-nav a:hover {
  text-decoration: underline;
}
.foot-nav a:focus-visible {
  border-radius: 4px;
}

/* ---- Feature pages, /ios, /download ---- */
/* A dark top (the head, on /ios with the screenshots), then light and dark bands. */
.band.page-top {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.band.closing-band {
  padding-top: 0;
}
.band > :first-child {
  margin-top: 0;
}
.page-head {
  max-width: 800px;
}
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.eyebrow .icon {
  width: 20px;
  height: 20px;
}
.page-head h1 {
  margin: 0;
  font: 500 clamp(32px, 5vw, 56px)/1.08 var(--display);
  letter-spacing: -.03em;
}
.lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
}
.wip {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--muted);
  font: 600 12px/1.5 var(--sans);
  letter-spacing: 0;
  vertical-align: middle;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 64px;
  align-items: start;
}
.prose {
  max-width: 680px;
}
.prose section + section {
  margin-top: 40px;
}
.prose h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.prose p {
  margin: 0 0 14px;
}
.checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
}
.checks .icon {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.shot {
  margin: 0;
}
/* The screenshots come from the iOS app's earlier colours: shown in grays, like hangspace today. */
.shot img {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  border: 1px solid var(--rule-strong);
  border-radius: 18px;
  filter: grayscale(1);
}
.shot.wide {
  grid-column: 1 / -1;
}
.shot.wide img {
  border-radius: 14px;
}
.shot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.shots-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.gallery {
  display: grid;
  grid-auto-columns: minmax(170px, 220px);
  grid-auto-flow: column;
  gap: 16px;
  margin-top: 48px;
  padding-bottom: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.gallery .shot {
  scroll-snap-align: start;
}
.band.more-features {
  padding-bottom: 0;
}
.more-features h2 {
  margin-bottom: 28px;
}
.actions.closing {
  justify-content: flex-start;
  margin-top: 64px;
}
.devnote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* /download */
.release {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.notice {
  margin: 28px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.unavailable {
  margin-top: 32px;
  padding: 28px;
  border: 1.5px dashed var(--rule-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.unavailable p {
  margin: 0;
}
.system {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.system h2 {
  margin: 0 0 8px;
  font: 500 24px/1.2 var(--display);
  letter-spacing: -.02em;
}
.system h3 {
  margin: 22px 0 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.file-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.file .name {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.file .meta {
  color: var(--muted);
  font-size: 14px;
}
.file .btn {
  min-height: 40px;
  font-size: 15px;
}
.sha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.sha code {
  font-family: var(--mono);
  word-break: break-all;
}
.sha button {
  padding: 2px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: 600 13px/1.6 var(--sans);
  cursor: pointer;
}
.notes {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
}
.notes li + li {
  margin-top: 8px;
}
.notes b {
  color: var(--ink);
}
.notes code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--raised);
  color: var(--ink);
  font: 13.5px var(--mono);
  word-break: break-all;
}

/* ---- hangspace business ---- */
.hero-brand {
  display: none;
}
/* /business is white from the hero down: the next section's own padding is the gap. */
.biz-hero {
  padding-bottom: 0;
}
.biz-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font: 500 clamp(30px, 5vw, 58px)/1.08 var(--display);
  letter-spacing: -.03em;
}
.good-to-know {
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.good-to-know h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
}
.good-to-know ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 16px;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: start;
}
.contact-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.contact-intro a {
  color: var(--ink);
}
.steps {
  display: grid;
  gap: 14px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--raised);
  font: 600 15px/1 var(--display);
}
.contact-intro .fine {
  color: var(--muted);
  font-size: 14px;
}
.contact-box {
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--rule);
  border-radius: 22px;
  background: var(--surface);
}
.contact-form {
  display: grid;
  gap: 20px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}
.field label,
.field legend {
  font-size: 15px;
  font-weight: 600;
}
.optional {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--field-rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.4 var(--sans);
}
.field textarea {
  min-height: 160px;
  line-height: 1.5;
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 0;
}
.field [aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: inset 0 0 0 1px var(--danger);
}
.error {
  margin: 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 500;
}
.field-foot {
  display: flex;
  gap: 12px;
  margin: 0;
  font-size: 14px;
}
.count {
  margin-left: auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}
.field legend {
  margin-bottom: 8px;
  padding: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  display: block;
}
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip > span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid var(--field-rule);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}
.chip:hover > span {
  background: var(--hover);
}
.chip input:checked + span {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-ink);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
/* The trap for bots: out of sight, out of the tab order, hidden from screen readers. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  margin: 0;
  color: var(--danger);
  font-weight: 500;
}
.form-error:empty {
  display: none;
}
.submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.noscript {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.contact-done {
  padding: 40px 8px;
  text-align: center;
}
.contact-done:focus {
  outline: none;
}
.contact-done .icon {
  width: 28px;
  height: 28px;
  padding: 12px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  stroke-width: 2.2;
}
.contact-done h3 {
  margin: 20px 0 8px;
  font: 500 24px/1.25 var(--display);
  letter-spacing: -.02em;
}
.contact-done p {
  margin: 0;
  color: var(--muted);
}
.contact-done strong {
  color: var(--ink);
}

/* ---- Narrow screens ---- */
@media (max-width: 900px) {
  .privacy,
  .contact,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .shots {
    position: static;
  }
  .uses {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }
  .use-art {
    aspect-ratio: 390 / 210;
  }
  .block.teaser {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
  .foot-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .bar-inner {
    padding: 10px 16px;
    gap: 8px;
  }
  .bar-link {
    display: none;
  }
  .brand .wordmark,
  .brand .biz-logo {
    display: none;
  }
  .brand-icon {
    display: block;
  }
  .hero-mark {
    display: block;
    width: 180px;
    margin: 0 auto 24px;
  }
  .hero-brand {
    display: block;
    width: 220px;
    margin: 0 auto 24px;
  }
  /* The desktop window, scaled down: a slimmer title bar without the app's name, a smaller frame. */
  .window {
    border-radius: 10px;
    box-shadow: 0 20px 50px -20px var(--shadow), 0 0 0 4px var(--surface);
  }
  .window-bar {
    height: 22px;
    padding: 0 9px;
  }
  .window-bar img {
    width: 11px;
    height: 11px;
  }
  .window-bar span {
    display: none;
  }
  .window-buttons {
    width: 44px;
    height: 8px;
    stroke-width: 1.8;
  }
  .lang-toggle {
    padding: 8px 10px;
  }
  .bar-nav .btn {
    margin-left: 2px;
    padding: 0 14px;
  }
  .hero,
  .block,
  .band {
    padding-left: 16px;
    padding-right: 16px;
  }
  .block.teaser {
    width: calc(100% - 32px);
    padding: 24px;
  }
  .actions .btn,
  .actions .dl {
    width: 100%;
  }
  .card,
  .system,
  .good-to-know {
    padding: 22px;
  }
  .contact-form .row {
    grid-template-columns: minmax(0, 1fr);
  }
  .file {
    grid-template-columns: minmax(0, 1fr);
  }
  .file .btn {
    justify-self: start;
  }
  .foot-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 40px 16px 56px;
  }
}
