:root{--primary:#1670BF;--primary-deep:#0C5A9E;--primary-tint:#E3F0FB;--primary-tint-border:#BBD9F2;--on-primary:#FFFFFF;--page:#F3F6FA;--surface:#FFFFFF;--surface-muted:#F3F6FA;--strip:#F6F9FC;--surface-read:#EBF0F5;--fg:#10243E;--fg-muted:#4A5D75;--placeholder:#5A6C83;--border:#DCE4ED;--field-border:#7C8FA6;--outline:#C4D1DF;--focus-ring:#CFE4F6;--danger-ring:#F7D5D0;--disabled-bg:#E9EEF4;--disabled-text:#4A5D75;--scrim:#5B6A7E;--hero-line:rgba(255,255,255,0.18);--info:#1670BF;--info-bg:#E3F0FB;--info-text:#0C5A9E;--success:#167A4D;--success-bg:#E2F4EA;--success-text:#136B43;--warning:#E89B00;--warning-bg:#FFF2D1;--warning-text:#7A4B00;--waiting:#56708F;--waiting-bg:#E9EEF4;--waiting-text:#3F546D;--danger:#C2362B;--danger-bg:#FCE9E6;--danger-text:#B42F25;--radius-card:16px;--radius-control:12px;--radius-field:12px;--radius-pill:999px;--radius-sheet:24px;--radius-dialog:20px;--radius-checkbox:7px;}
/*
 * The stylesheet of fmatch.app (R17a). Mobile first, right to left: logical properties only (no left / right).
 * The colours are the kit's tokens — the build puts them in front of this file as custom properties
 * (src/tokens.ts) and fills in the names of the hashed font files.
 */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/heebo-400.0e104baeec.ttf') format('truetype');
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/heebo-700.121107da8a.ttf') format('truetype');
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-block-size: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--fg);
  font-family:
    'Heebo',
    system-ui,
    -apple-system,
    'Segoe UI',
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.wrap {
  inline-size: 100%;
  max-inline-size: 560px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* the blue band with the wordmark */
.band {
  background: var(--primary);
}
.band .wrap {
  display: flex;
  align-items: center;
  min-block-size: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-block-size: 48px;
  min-inline-size: 48px;
  border-radius: 8px;
}
.brand img {
  display: block;
}
.band :focus-visible {
  outline-color: var(--on-primary);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 28px 36px;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}
h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding-inline-start: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
a {
  color: var(--primary-deep);
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.lead {
  font-size: 18px;
}
.muted {
  color: var(--fg-muted);
}
.pitch,
.stack,
section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* buttons: 52 high (the kit's primary button), the full width of a phone */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
  min-block-size: 52px;
  padding-block: 8px;
  padding-inline: 20px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-control);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.primary {
  background: var(--primary);
  color: var(--on-primary);
}
.secondary {
  background: var(--surface);
  color: var(--primary-deep);
  border-color: var(--primary);
}
.store {
  background: var(--fg);
  color: var(--surface);
}
.stores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mail {
  font-size: 18px;
}

/* the invitation */
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--fg-muted);
}
.badge {
  padding-block: 2px;
  padding-inline: 10px;
  border-radius: var(--radius-pill);
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 14px;
  font-weight: 700;
}
.status {
  min-block-size: 1.5em;
  color: var(--success-text);
  font-weight: 700;
}
.code code {
  display: inline-block;
  padding-block: 4px;
  padding-inline: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 18px;
  letter-spacing: 0.04em;
  user-select: all;
  overflow-wrap: anywhere;
}

/* the legal pages */
.legal {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.legal section {
  gap: 8px;
}

/* a link on a line of its own (a target of 44 at least) */
.more {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}

/* the links of every page */
.foot {
  border-block-start: 1px solid var(--border);
  background: var(--surface);
}
.foot ul {
  list-style: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 20px;
  padding-block: 8px;
  padding-inline: 0;
}
.foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  min-inline-size: 44px;
}

@media (min-width: 600px) {
  .stores {
    flex-direction: row;
  }
  .stores .button {
    flex: 1;
  }
}
