/* The Meeting Hub page: one link to send anyone. Its look is the app's own: the values below are copied from
   design/tokens.css (pink, black and white, the glass, the radii, the barely-there shadow). Nothing loads from
   another server; the fonts sit in fonts/, each with its OFL.txt beside it.
   Foundation: MAP (job hub-app). Replaces sending a .dmg by hand. Counted by the downloads its host reports once live. */

@font-face { font-family: "Hub Grotesk"; src: url("fonts/hostgrotesk/HostGrotesk-Variable.ttf") format("truetype"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hub Archivo"; src: url("fonts/archivo/Archivo-Variable.ttf") format("truetype"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hub Mono"; src: url("fonts/ibmplexmono/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hub Mono"; src: url("fonts/ibmplexmono/IBMPlexMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;

  /* colour, from tokens.css */
  --white: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #6B6B6B;
  --ink-3: #A3A3A3;
  --hair: rgba(0, 0, 0, 0.07);
  --wash: #F5F5F5;
  --pink: #F26FA8;
  --pink-wash: #FBDCEA;
  --pink-tint: rgba(242, 111, 168, 0.13);

  /* glass */
  --glass: rgba(255, 255, 255, 0.46);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-foot: rgba(255, 255, 255, 0.92);
  --glass-blur: blur(28px) saturate(170%);
  --glass-blur-small: blur(16px) saturate(180%);
  --glass-blur-foot: blur(24px) saturate(180%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 0 0.5px rgba(0, 0, 0, 0.1);

  /* corners */
  --r-panel: 18px;
  --r-tile: 14px;
  --r-control: 10px;
  --r-chip: 8px;

  /* the shadow you only notice when it is gone */
  --shadow-tile: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 28px -14px rgba(0, 0, 0, 0.16);
  --shadow-lift: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05), 0 22px 44px -18px rgba(0, 0, 0, 0.26);
  --shadow-panel: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 18px 50px -24px rgba(0, 0, 0, 0.18);
  --shadow-chip: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 14px -6px rgba(0, 0, 0, 0.18);

  /* type */
  --font: "Hub Grotesk", system-ui, sans-serif;
  --font-title: "Hub Archivo", var(--font);
  --font-mono: "Hub Mono", ui-monospace, monospace;
  --title-axes: "wdth" 112;
  --title-axes-small: "wdth" 100;
  --t-title-track: 0.03em;

  /* space: a 4px step */
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 40px;
  --s-8: 56px;
  --s-9: 88px;

  --page: 1180px;
  --gutter: 40px;

  --t-press: 90ms;
  --t-quick: 160ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-transparency: reduce) {
  :root { --glass: rgba(255, 255, 255, 0.96); --glass-strong: rgba(255, 255, 255, 0.98); --glass-foot: rgba(255, 255, 255, 0.98); --glass-blur: none; --glass-blur-small: none; --glass-blur-foot: none; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --t-press: 0ms; --t-quick: 0ms; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--white) 0%, var(--white) 38%, #FDF3F7 100%);
  color: var(--ink);
  font: 500 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

/* the soft field the glass sits on, as in the app: white into a whisper of pink */
.field { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.field i { position: absolute; border-radius: 50%; filter: blur(60px); }
.field i:nth-child(1) { left: -220px; top: -120px; width: 560px; height: 620px; background: #F5BDD6; opacity: 0.55; }
.field i:nth-child(2) { right: -160px; top: -200px; width: 620px; height: 380px; background: #F8D2E3; opacity: 0.6; }
.field i:nth-child(3) { right: 8%; bottom: -320px; width: 720px; height: 460px; background: #F9E1EC; opacity: 0.7; }
.field i:nth-child(4) { left: 10%; bottom: -260px; width: 420px; height: 380px; background: #E2E2E2; opacity: 0.5; }

.page { max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* small labels: IBM Plex Mono, as the app's side list */
.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- the top: the mark, the line, the download ---------- */
.top { padding: var(--s-9) 0 var(--s-8); }
/* The mark, MEETING over HUB: sized so MEETING (about 5.58 em wide in this face) fills the page's width and never
   runs off the side; 5.7 leaves room for a scroll bar. */
.mark {
  margin: 0;
  font-family: var(--font-title);
  font-variation-settings: var(--title-axes);
  font-weight: 900;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 5.7), calc(var(--page) / 5.7));
  line-height: 0.8;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  margin-left: -0.04em;
}
.mark span { display: block; }
.what {
  margin: var(--s-6) 0 0;
  max-width: 30ch;
  text-wrap: balance;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.get { margin-top: var(--s-7); }
.get-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 var(--s-5) 0 20px;
  border-radius: 12px;
  font: 600 17px/1 var(--font);
  letter-spacing: -0.006em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-quick) var(--ease-out);
}
.btn svg { flex: none; }
.btn-solid { background: var(--ink); color: var(--white); box-shadow: var(--shadow-chip); }
.btn-solid:hover { background: #262626; }
.btn-solid:active { transform: scale(0.97); }
.btn-quiet {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur-small);
  backdrop-filter: var(--glass-blur-small);
  box-shadow: var(--glass-edge), var(--shadow-chip);
  color: var(--ink-3);
  font-weight: 500;
  cursor: default;
}
.get-detail { margin: var(--s-4) 0 0; }
.get-detail span { white-space: nowrap; }
.get-check { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }

/* on a phone the Mac button gives way to a note */
.get-phone { display: none; }

/* ---------- sections ---------- */
.part { padding: var(--s-8) 0; border-top: 1px solid var(--hair); }
.part-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); margin-bottom: var(--s-6); }
.part h2 {
  margin: 0;
  font-family: var(--font-title);
  font-variation-settings: var(--title-axes);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.006em;
  text-transform: uppercase;
  text-wrap: balance;
}
.part-head p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.after { margin: var(--s-5) 0 0; font-size: 17px; max-width: 64ch; }
.aside { margin: var(--s-3) 0 0; font-size: 14px; color: var(--ink-2); max-width: 72ch; }

/* tiles: the app's tile, a picture with a white foot */
.tile {
  position: relative;
  margin: 0;
  border-radius: var(--r-tile);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-tile);
}
.pic { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 6% 7%; background: var(--wash); }
.pic img { width: 100%; height: 100%; object-fit: contain; }
/* a picture of the app itself: it fills its frame, edge to edge, as a tile's picture does in the app */
.pic-shot { padding: 0; display: block; }
.pic-shot img { object-fit: cover; }
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  height: 46px;
  padding: 0 var(--s-4);
  background: var(--glass-foot);
  box-shadow: 0 -0.5px 0 rgba(0, 0, 0, 0.08);
}
.foot b {
  font-family: var(--font-title);
  font-variation-settings: var(--title-axes-small);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: var(--t-title-track);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.foot span { flex: none; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

/* the first open: three steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.step ol { list-style: none; margin: 0; padding: 6px var(--s-4) 20px; display: grid; gap: 10px; counter-reset: line; } /* each list sets where it starts, so the steps count on across the cards */
.step li { counter-increment: line; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline; font-size: 15px; line-height: 1.4; }
.step li::before { content: counter(line); font-family: var(--font-mono); font-size: 12.5px; color: var(--pink); font-weight: 500; }
.step li small { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }

/* how to use it: the five parts, a bento of three over two, as the app sets its own tiles */
.uses { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
.use { grid-column: span 2; }
.use:nth-child(n + 4) { grid-column: span 3; }
.use p { margin: var(--s-3) 2px 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

.more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.panel {
  border-radius: var(--r-panel);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--shadow-panel);
  padding: var(--s-5);
}
.panel h3 {
  margin: 0 0 var(--s-4);
  font-family: var(--font-title);
  font-variation-settings: var(--title-axes-small);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: var(--t-title-track);
  text-transform: uppercase;
}
.panel p { margin: 0; font-size: 15px; line-height: 1.5; }
.panel p + p { margin-top: var(--s-2); color: var(--ink-2); }
.keys { margin: 0; display: grid; gap: 9px; }
.keys div { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: var(--s-3); }
.keys dt { display: flex; gap: 5px; flex-wrap: wrap; }
.keys dd { margin: 0; font-size: 15px; }
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.09), 0 1px 0 rgba(0, 0, 0, 0.08);
  font: 500 12px/1 var(--font-mono);
  color: var(--ink);
}

/* what it does on your Mac */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-6); }
.facts div { padding: var(--s-4) 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-weight: 600; font-size: 17px; letter-spacing: -0.006em; }
.facts dd { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.facts .is-apple dt::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--pink); vertical-align: 2px; }

.keep { margin-top: var(--s-6); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); }
.paths { margin: 0; display: grid; gap: var(--s-3); }
.paths dt code {
  display: inline-block;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: var(--r-chip);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
  font: 400 13px/1.4 var(--font-mono);
  overflow-wrap: anywhere;
}
.paths dd { margin: 5px 0 0; font-size: 14px; color: var(--ink-2); }
.remove { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; counter-reset: line; }
.remove li { counter-increment: line; display: grid; grid-template-columns: 22px minmax(0, 1fr); font-size: 15px; line-height: 1.45; }
.remove li::before { content: counter(line); font-family: var(--font-mono); font-size: 12.5px; color: var(--pink); font-weight: 500; padding-top: 2px; }

/* ---------- the foot ---------- */
.end { padding: var(--s-7) 0 var(--s-8); border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-6); }
.end-mark { font-family: var(--font-title); font-variation-settings: var(--title-axes); font-weight: 900; font-size: 40px; line-height: 0.8; text-transform: uppercase; }
.end p { margin: 0; }
.end .notes { display: grid; gap: 6px; text-align: right; }
.end a { text-decoration-color: rgba(0, 0, 0, 0.25); text-underline-offset: 3px; }
.end a:hover { text-decoration-color: currentColor; }

/* ---------- widths ---------- */
@media (max-width: 1080px) {
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use, .use:nth-child(n + 4) { grid-column: span 1; }
  .use:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .more, .keep, .facts { grid-template-columns: minmax(0, 1fr); }
  .end .notes { text-align: left; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .top { padding: var(--s-8) 0 var(--s-7); }
  .what { margin-top: var(--s-5); }
  .get-mac { display: none; }
  .get-phone { display: block; }
  .phone-note {
    margin: 0;
    padding: var(--s-4) 18px;
    border-radius: var(--r-tile);
    background: var(--glass-strong);
    -webkit-backdrop-filter: var(--glass-blur-small);
    backdrop-filter: var(--glass-blur-small);
    box-shadow: var(--glass-edge), var(--shadow-chip);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
  }
  .phone-note small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
  .get-phone .btn-quiet { margin-top: var(--s-2); height: 44px; font-size: 15px; }
  .part { padding: var(--s-7) 0; }
  .uses { grid-template-columns: minmax(0, 1fr); }
  .use:nth-child(5) { grid-column: auto; }
  .keys div { grid-template-columns: 112px minmax(0, 1fr); }
}

/* ---------- round three: the box's words, the one-press button ---------- */
.step li small.quote { font-style: normal; color: var(--ink); }
.step-go { padding: 4px var(--s-4) 6px; }
.btn-small { height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 640px) {
  .step-go { display: none; }
}
