/* AI/FA landing page mocks: the one-sheet's world as tokens. Shared by both directions. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url(fonts/BricolageGrotesque-latin-200-800.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/JetBrainsMono-latin-400.woff2) format("woff2"); }

:root {
  --paper: #f5eddf; --paper-2: #ebe0cc; --plum: #4a3a52; --ink: #1e1023;
  --ivory: #fbf4e6; --haze: #e1d4bd;
  --vermilion: #bf3620; --flame: #ee6a52; --cobalt: #2b3fb8; --cobalt-lit: #a3afff; --marigold: #f2b632;
  --bg: var(--paper); --fg: var(--plum); --strong: var(--ink); --hair: rgba(30, 16, 35, .22);
  --tech: var(--cobalt); --human: var(--vermilion); --focus: var(--cobalt);
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 56px);
  --wrap: 1200px;
}
.on-ink {
  --bg: var(--ink); --fg: var(--ivory); --strong: var(--ivory); --hair: rgba(251, 244, 230, .24);
  --tech: var(--cobalt-lit); --human: var(--flame); --focus: var(--marigold);
  background: var(--bg); color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--plum) var(--paper); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.125rem/1.55 var(--font); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; caret-color: var(--vermilion); overflow-x: clip; }
::selection { background: var(--marigold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--strong); text-wrap: balance; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.mono { font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.rule { border: 0; border-top: 1px solid var(--hair); margin-block: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* masthead: the sheet's top strip */
.mast { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0 1rem; border-bottom: 1px solid var(--hair); }
.mast b { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: var(--strong); }
.mast b { white-space: nowrap; }
.mast span:last-child { text-align: right; }
@media (max-width: 640px) { .mast { flex-direction: column; gap: .35rem; } .mast span:last-child { text-align: left; } }

/* the one action */
.signup { --pill: 999px; max-width: 34rem; }
.signup label { display: block; margin: 0 0 .45rem 1.4rem; }
.signup-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.signup input { flex: 1 1 12rem; min-width: 0; font: inherit; color: var(--strong); background: transparent;
  border: 1.5px solid var(--fg); border-radius: var(--pill); padding: .85rem 1.4rem; transition: border-color .2s, box-shadow .2s; }
.signup input::placeholder { color: var(--fg); opacity: .78; }
.signup input:hover { border-color: var(--strong); }
.signup input:focus-visible { outline-offset: 2px; border-radius: var(--pill); }
.signup input[aria-invalid="true"] { border-color: var(--human); box-shadow: 0 0 0 3px color-mix(in srgb, var(--human) 22%, transparent); }
.signup button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .6rem; font: 700 1rem/1 var(--font); cursor: pointer;
  color: var(--btn-fg, var(--paper)); background: var(--btn-bg, var(--plum)); border: 0; border-radius: var(--pill); padding: .95rem 1.5rem;
  transition: background-color .2s, transform .2s var(--ease); }
.signup button svg { width: 1.1em; height: .8em; transition: transform .3s var(--ease); }
.signup button:hover { background: var(--btn-bg-hover, var(--ink)); }
.signup button:hover svg { transform: translateX(4px); }
.signup button:active { transform: translateY(1px); }
.signup button:focus-visible { border-radius: var(--pill); }
.signup-note, .signup-err, .signup-done { font-size: .9rem; margin: .7rem 0 0 1.4rem; }
.signup-err { color: var(--human); font-weight: 600; }
.signup-done { font-size: 1.15rem; font-weight: 600; color: var(--strong); margin-left: 0; }
.signup-done .mono { display: block; margin-top: .4rem; font-weight: 400; }
.on-ink .signup { --btn-bg: var(--marigold); --btn-fg: var(--ink); --btn-bg-hover: var(--ivory); }
@media (max-width: 520px) { .signup-row { flex-direction: column; } .signup input { flex: 0 0 auto; } .signup button { justify-content: center; } }

/* map parts shared by both directions */
.node { display: grid; place-items: center; width: var(--node, 52px); aspect-ratio: 1; border: 2px solid var(--fg); border-radius: 50%;
  background: var(--bg); color: var(--strong); font: 400 .95rem/1 var(--mono); position: relative; }
.is-system .node { border-radius: 9px; }
.has-tech .node { border-color: var(--tech); }
.has-human .node { border-color: var(--human); }
.snag { position: absolute; top: -9px; right: -9px; width: 20px; height: 18px; }
.friction { font-size: .95rem; line-height: 1.4; }
.friction .mono { display: block; margin-bottom: .2rem; }
.friction.tech .mono { color: var(--tech); }
.friction.human .mono { color: var(--human); }
.pill { display: inline-block; font: 400 .75rem/1 var(--mono); letter-spacing: .1em; padding: .4em .9em .38em; border-radius: 999px;
  background: var(--strong); color: var(--bg); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; }
.legend li { display: inline-flex; align-items: center; gap: .5rem; }
.legend i { display: inline-block; width: 12px; height: 12px; border: 1.5px solid var(--fg); border-radius: 50%; }
.legend .sq i { border-radius: 3px; }
.legend svg { width: 14px; height: 13px; }

/* the wave with pins (the sheet's signature) */
.wave { --wh: clamp(84px, 9vw, 132px); position: relative; }
.wave > svg { display: block; width: 100%; height: var(--wh); overflow: visible; }
.wave path { fill: none; vector-effect: non-scaling-stroke; }
.pins { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: calc(var(--wh) * -1); }
.pins li { position: relative; padding: calc(var(--wh) + 1.1rem) .75rem 0; text-align: center; }
.pins li::before { content: ""; position: absolute; left: 50%; width: 1px; background: var(--hair);
  top: calc(var(--wh) * var(--y)); height: calc(var(--wh) * (1 - var(--y)) + .7rem); }
.pins .dot { position: absolute; left: 50%; top: calc(var(--wh) * var(--y)); width: 15px; height: 15px; translate: -50% -50%;
  border-radius: 50%; background: var(--c); border: 2px solid var(--bg); box-shadow: 0 0 0 1.5px var(--strong); }
.pins b { display: block; color: var(--strong); font-weight: 700; line-height: 1.2; }
.pins span:not(.dot) { display: block; font-size: .95rem; line-height: 1.35; margin-top: .2rem; }
@media (max-width: 720px) {
  .wave > svg { height: 60px; margin-bottom: 1.25rem; }
  .pins { grid-template-columns: 1fr; margin-top: 0; gap: 1.1rem; border-left: 1.5px solid var(--strong); margin-left: 7px; }
  .pins li { padding: 0 0 0 1.5rem; text-align: left; }
  .pins li::before { display: none; }
  .pins .dot { left: -1px; top: .7em; }
}
@media (prefers-reduced-motion: no-preference) {
  .wave > svg { animation: wipe 1.8s var(--ease) .15s both; }
  @keyframes wipe { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
}

/* people */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.person { display: grid; grid-template-columns: clamp(96px, 14vw, 184px) 1fr; gap: 1.25rem; align-items: start; }
.person .frame { aspect-ratio: 4 / 5; border: 1px solid var(--hair); background: var(--paper-2); display: grid; place-items: end start; padding: .5rem; }
.person .frame .mono { font-size: .7rem; }
.person h3 { margin-bottom: .1rem; }
.person .mono { display: block; margin-bottom: .5rem; }
@media (max-width: 640px) { .people { grid-template-columns: 1fr; } }

/* questions */
.faq { display: grid; gap: 0; }
.faq > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(1.5rem, 4vw, 3rem); padding: 1.4rem 0; border-top: 1px solid var(--hair); }
.faq dt { font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--strong); }
.faq dd { max-width: 60ch; }
.slot { font: 400 .8rem/1.5 var(--mono); border: 1px dashed var(--hair); padding: .6rem .8rem; display: inline-block; }
@media (max-width: 720px) { .faq > div { grid-template-columns: 1fr; } }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--hair); }
.foot ul { display: flex; gap: 1.5rem; }
