/* Bricolage Grotesque (SIL Open Font License, see /fonts/OFL.txt), hosted with the site. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(/fonts/bricolage-grotesque-vietnamese-standard-normal.woff2) format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(/fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(/fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --paper: #f1f3ee;
  --ink: #1a2421;
  --muted: #5b6560;
  --rule: #cdd3cc;
  --ours: #1e6b66;
  --theirs: #3b3f8c;
  --field: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121715;
    --ink: #e6ebe7;
    --muted: #9aa49f;
    --rule: #2c3531;
    --ours: #5fb8ae;
    --theirs: #9ea2f0;
    --field: #1a201d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
}
main, footer { max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--ours); outline-offset: 3px; border-radius: 4px; }

/* ---------- top bar ---------- */
.top { max-width: 46rem; margin: 0 auto; padding: 1.1rem 1rem 0; display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 800; letter-spacing: 0.04em; text-decoration: none; }
.signin { font-weight: 600; text-decoration: none; padding: 0.45rem 1rem; border: 1.5px solid var(--rule); border-radius: 999px; }
.signin:hover { border-color: var(--ink); }

/* ---------- sign up ---------- */
.cta { margin: 0 0 2.25rem; }
.btn-google {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--ink); color: var(--paper);
  font: 600 1.05rem/1 "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  padding: 0.95rem 1.5rem 0.95rem 1rem; border-radius: 999px; text-decoration: none;
}
.btn-google .g { width: 1.6rem; height: 1.6rem; background: #fff; border-radius: 50%; padding: 0.25rem; }
.btn-google:hover { opacity: 0.9; }
.cta-note { margin: 0.75rem 0 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- hero: the name as the chain it describes ---------- */
.hero { padding: clamp(1.75rem, 6vw, 4rem) 0 2rem; }
.chain {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.glyph {
  display: block;
  font-size: clamp(4.5rem, 19vw, 10.5rem);
  line-height: 0.82;
  font-weight: 800;
  font-variation-settings: "wdth" 100, "opsz" 96;
  letter-spacing: -0.04em;
  background: var(--paper);
  padding-right: 0.08em;
}
.node.ours .glyph { color: var(--ours); }
.node.theirs .glyph { color: var(--theirs); }
.who {
  margin-top: 0.85rem;
  font-size: clamp(0.8rem, 2.4vw, 0.95rem);
  color: var(--muted);
  line-height: 1.25;
  padding-right: 0.5rem;
}
/* The thread from you to them: your side in teal, theirs in indigo, meeting between the assistants. */
.link {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(clamp(4.5rem, 19vw, 10.5rem) * 0.42);
  height: 3px;
  display: flex;
  z-index: 0;
}
.link i { flex: 1; transform-origin: left center; }
.link .ours { background: var(--ours); }
.link .theirs { background: var(--theirs); }

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  font-variation-settings: "wdth" 85;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.lede { margin: 0 0 2rem; max-width: 60ch; color: var(--ink); }

.connect label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.field {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--field);
  overflow: hidden;
  max-width: 34rem;
}
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 1rem/1 "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  padding: 0.95rem 1rem;
}
.field input:focus-visible { outline: none; }
.field:focus-within { outline: 2px solid var(--ours); outline-offset: 3px; }
.field button {
  border: 0;
  border-left: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 1rem/1 "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  padding: 0 1.4rem;
  cursor: pointer;
}
.field button:focus-visible { outline: 2px solid var(--ours); outline-offset: -5px; }
.hint { min-height: 1.6em; margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--ours); }

/* ---------- sections ---------- */
section + section { border-top: 1px solid var(--rule); padding: 2.75rem 0 1rem; }
h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
  font-variation-settings: "wdth" 85;
  margin: 0 0 1.25rem;
}
h3 { font-size: 1.0625rem; line-height: 1.35; margin: 0 0 0.35rem; font-weight: 650; }

.steps { margin: 0 0 2rem; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.1rem;
  max-width: 64ch;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ours);
  font-variation-settings: "wdth" 75;
}

.where { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
details:last-child { border-bottom: 0; }
summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 0.9rem; max-width: 62ch; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  word-break: break-all;
}

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
.facts p { margin: 0; color: var(--muted); }

footer {
  width: calc(100% - 2rem);
  max-width: 44rem;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 40rem) {
  .facts { grid-template-columns: 1fr; }
}

/* One moment of motion: the thread draws from you to them, then the names appear. */
@media (prefers-reduced-motion: no-preference) {
  .link i { animation: draw 0.55s cubic-bezier(0.6, 0, 0.2, 1) both; }
  .link .ours { animation-delay: 0.15s; }
  .link .theirs { animation-delay: 0.7s; }
  .who { animation: appear 0.4s ease-out both; }
  .node:nth-child(2) .who { animation-delay: 0.2s; }
  .node:nth-child(3) .who { animation-delay: 0.5s; }
  .node:nth-child(4) .who { animation-delay: 0.8s; }
  .node:nth-child(5) .who { animation-delay: 1.1s; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
