/* Fairwind. Pale lilac-tinted page, five pastels as fills, a wind motif (curved lines,
   seeds, one paper plane). Text is always ink or dim; pastels never carry text colour. */
:root {
  --page: #f3f0ff;
  --ink: #26233a;
  --dim: #57526c;
  --rule: rgba(38, 35, 58, 0.16);
  --peach: #ffd6c4;
  --butter: #ffe9a8;
  --mint: #c5efd9;
  --sky: #c9e4fb;
  --lilac: #dfd5fa;
  --peach-d: #ff9f87;
  --butter-d: #ffbf2e;
  --mint-d: #17a57a;
  --sky-d: #6fb8f2;
  --lilac-d: #a58cf0;
  --violet: #5b3fd6;
  --violet-d: #3f28a8;
  --green: #17604a;
  --error: #a3271c;
  --spring: cubic-bezier(0.3, 1.6, 0.5, 1);
  --display: "Bricolage Grotesque", "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  --font: "DM Sans", "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.55 var(--font); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p, ul, ol, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

/* Big flat pastel shapes drifting behind everything. */
.fw-sky { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.fw-sky i { position: absolute; border-radius: 50%; opacity: 0.6; animation: fw-drift 44s ease-in-out infinite alternate; }
.fw-sky i:nth-child(1) { width: 48vmax; height: 48vmax; left: -16vmax; top: -18vmax; background: var(--peach); --dx: 5vmax; --dy: 4vmax; }
.fw-sky i:nth-child(2) { width: 34vmax; height: 34vmax; right: -12vmax; top: 14vh; background: var(--butter); --dx: -4vmax; --dy: 6vmax; animation-duration: 52s; }
.fw-sky i:nth-child(3) { width: 40vmax; height: 40vmax; left: 6vw; bottom: -24vmax; background: var(--mint); --dx: 6vmax; --dy: -4vmax; animation-duration: 60s; }
.fw-sky i:nth-child(4) { width: 22vmax; height: 22vmax; left: -9vmax; top: 54vh; background: var(--sky); --dx: 3vmax; --dy: -6vmax; animation-duration: 38s; }
.fw-sky i:nth-child(5) { width: 36vmax; height: 36vmax; right: -15vmax; bottom: -6vmax; background: var(--lilac); --dx: -5vmax; --dy: -5vmax; animation-duration: 48s; }
@keyframes fw-drift { to { transform: translate(var(--dx), var(--dy)) scale(1.08); } }

/* One column, one left edge. */
.fw { max-width: 728px; margin: 0 auto; padding: 0 24px; min-height: 100vh; display: flex; flex-direction: column; }
.fw-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 0; }
.fw-main, .fw-pane { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.fw-main { flex: 1; padding: 36px 0 72px; }
.fw-pane { width: 100%; animation: fw-slide 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) backwards; --from: -28px; }
.fw-pane[data-tab="link"], .fw-pane[data-tab="web"] { --from: 28px; }
.fw-main > *, .fw-pane > * { max-width: 100%; }
.fw-foot { padding: 24px 0 36px; color: var(--dim); font-size: 14.5px; display: grid; gap: 2px; }
@keyframes fw-slide { from { transform: translateX(var(--from)); opacity: 0; } }
@keyframes fw-rise { from { transform: translateY(26px) scale(0.97); opacity: 0; } }
@keyframes fw-pop { from { transform: scale(0.3); opacity: 0; } }
@keyframes fw-bob { 50% { transform: translateY(-5px) rotate(8deg); } }
@keyframes fw-burst { from { transform: scale(0.2); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
@keyframes fw-squish { 30% { transform: scale(1.1, 0.88); } 60% { transform: scale(0.96, 1.06); } }
@keyframes fw-draw { from { stroke-dashoffset: 1; } }
@keyframes fw-fly { 0% { offset-distance: 0%; opacity: 0; } 7%, 93% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

.fw-mark { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font: 700 22px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.fw-mark svg { width: 34px; height: 34px; flex: none; transition: transform 0.3s var(--spring); }
.fw-mark:hover svg { transform: rotate(-14deg) scale(1.08); }

/* Tabs: a white pill with a violet thumb that slides. */
.fw-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; background: #fff; border-radius: 999px; }
.fw-tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--violet); transition: transform 0.35s var(--spring); }
.fw-tabs[data-tab="link"]::before { transform: translateX(100%); }
.fw-tabs[data-tab="web"]::before { transform: translateX(200%); }
.fw-tabs button { position: relative; border: 0; background: none; min-height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 15.5px; white-space: nowrap; transition: color 0.2s; }
.fw-tabs button[aria-current="page"] { color: #fff; }

/* Type: heavy, tight display lines; regular for reading. */
.fw-hero, .fw-h1, .fw-h2, .fw-section > h2, .fw-entry h3, .fw-work h2, .fw-work h4, .fw-faq summary { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.fw-hero { font-weight: 700; font-size: clamp(40px, 8.6vw, 66px); line-height: 1.02; letter-spacing: -0.03em; max-width: 11.5em; margin-bottom: 8px; }
.fw-wave { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10'%3E%3Cpath d='M0 5C7 -1 21 11 28 5' fill='none' stroke='%23ff9f87' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 100% / 28px 10px; padding-bottom: 7px; white-space: nowrap; }
.fw-h1 { font-weight: 700; font-size: clamp(31px, 6.2vw, 46px); line-height: 1.05; }
.fw-h2, .fw-section > h2 { font-weight: 700; font-size: clamp(24px, 4.4vw, 30px); line-height: 1.12; }
.fw-lede { font-size: 19.5px; line-height: 1.45; max-width: 30em; }
.fw-small, .fw-field small { font-size: 14.5px; color: var(--dim); }
.fw-dim { color: var(--dim); }
.fw-loading { font: 600 22px var(--display); }
.fw-error { color: var(--error); font-size: 15.5px; font-weight: 500; }
.fw-field [role="alert"] { color: var(--error); font-weight: 500; }
.fw-notice { background: var(--butter); border-radius: 20px; padding: 16px 18px; font-size: 15.5px; }

.fw-section { width: 100%; display: grid; gap: 12px; margin-top: 44px; }
.fw-section > p { max-width: 34em; }
.fw-art { display: block; flex: none; }
.fw-art-wind { width: 168px; height: auto; }
.fw-art-empty { width: min(340px, 88%); height: auto; overflow: visible; }

/* Front door. The scene: wind lines draw in, seeds and one plane ride them. */
.fw-scene { width: 100%; height: clamp(190px, 30vh, 270px); overflow: visible; margin-bottom: 4px; }
.fw-scene .fw-draw { stroke-dasharray: 1; animation: fw-draw 1.5s cubic-bezier(0.5, 0, 0.2, 1) backwards; }
.fw-scene .fw-fly { animation: fw-fly linear infinite; }
.fw-scene .fw-shape { transform-box: fill-box; transform-origin: center; animation: fw-pop 0.7s var(--spring) backwards; }
.fw-door > .fw-hero, .fw-door > .fw-lede, .fw-door > .fw-btn { animation: fw-rise 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; }
.fw-door > .fw-lede { animation-delay: 0.1s; }
.fw-door > .fw-btn { animation-delay: 0.2s; }

/* The mission, said large. */
.fw-eyebrow { font: 700 15px/1.3 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet); }
.fw-eyebrow-hero { animation: fw-rise 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; max-width: 26em; }
.fw-mission { background: var(--ink); color: #fff; border-radius: 32px; padding: 34px 30px 32px; gap: 16px; }
.fw-mission .fw-eyebrow { color: var(--butter); }
.fw-mission > h2 { font-size: clamp(32px, 6.4vw, 50px); line-height: 1.04; letter-spacing: -0.03em; max-width: 12em; }
.fw-mission-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.fw-mission-points h3 { font: 700 20px/1.2 var(--display); color: var(--butter); margin-bottom: 6px; }
.fw-mission-points p { font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.fw-mission-close { font: 700 clamp(24px, 4.6vw, 34px)/1.12 var(--display); letter-spacing: -0.02em; text-wrap: balance; max-width: 16em; margin-top: 56px; }

/* Verification by addition: a web that grows a person at a time. */
.fw-add > p { max-width: 34em; }
.fw-add > h2 { font-size: clamp(30px, 6vw, 44px); letter-spacing: -0.03em; }
.fw-add-show { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: center; background: #fff; border-radius: 28px; padding: 20px 22px; margin: 6px 0; }
.fw-add-show svg { width: 100%; height: auto; overflow: visible; }
.fw-add-tie { stroke-dasharray: 1; animation: fw-draw 0.5s ease-out backwards; }
.fw-add-node { transform-box: fill-box; transform-origin: center; animation: fw-pop 0.5s var(--spring) 0.25s backwards; }
.fw-add-show ul { display: grid; gap: 10px; }
.fw-add-show li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; font-size: 15.5px; opacity: 0.25; transition: opacity 0.35s; }
.fw-add-show li.is-in { opacity: 1; }
.fw-add-show li i { width: 14px; height: 14px; border-radius: 50%; position: relative; top: 2px; }
.fw-add-show li b { font-weight: 600; margin-right: 4px; }
.fw-add-show li.fw-add-more i { background: #fff; border: 3px solid var(--lilac-d); }
.fw-add-show li.fw-add-more { font-size: 14.5px; color: var(--dim); }
.fw-add-show li.fw-add-more b { display: block; color: var(--ink); }
@media (max-width: 640px) { .fw-add-show { grid-template-columns: 1fr; } }

/* The played demo: three screens side by side, the student's, the people asked, the
   reader's. The pane where something is happening is lit. */
.fw-in { animation: fw-rise 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; }
.fw-flow { width: 100%; background: #fff; border-radius: 28px; padding: 14px 14px 16px; display: grid; gap: 14px; box-shadow: 0 26px 50px -30px rgba(38, 35, 58, 0.45), 0 1px 2px rgba(38, 35, 58, 0.08); }
.fw-flow-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; pointer-events: none; user-select: none; }
.fw-flow-pane { display: grid; gap: 10px; align-content: start; min-height: 372px; background: var(--page); border-radius: 20px; padding: 14px 12px; border: 2.5px solid transparent; opacity: 0.6; transition: opacity 0.4s, border-color 0.4s; }
.fw-flow-pane.is-live { opacity: 1; border-color: var(--violet); }
.fw-flow-head { font-size: 13.5px; color: var(--dim); line-height: 1.3; }
.fw-flow-head b { display: block; font: 700 18px/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.fw-flow-list, .fw-flow-people { display: grid; gap: 8px; }
.fw-flow-list li, .fw-flow-people li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: start; background: #fff; border-radius: 16px; padding: 10px; font-size: 14px; line-height: 1.3; transition: background-color 0.4s; }
.fw-flow-list li.is-waiting { background: var(--butter); }
.fw-flow-list li.is-confirmed { background: var(--mint); }
.fw-flow-list b, .fw-flow-people b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.fw-flow-list small, .fw-flow-people small { display: block; color: var(--dim); font-size: 13px; }
.fw-flow-list .fw-dot { width: 22px; height: 22px; border-width: 2.5px; border-color: var(--ink); background: transparent; }
.fw-flow-list .is-waiting .fw-dot { background: var(--butter-d); border-color: #fff; }
.fw-flow-list .is-confirmed .fw-dot { background: var(--mint-d); border-color: #fff; animation: fw-pop 0.5s var(--spring) backwards; }
.fw-flow-stage { position: relative; }
.fw-flow-ties { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.fw-flow-ties path { fill: none; stroke: var(--lilac-d); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.08 0.07; animation: fw-rise 0.4s backwards; }
.fw-flow-ties path.is-done { stroke: var(--mint-d); stroke-dasharray: 1; animation: fw-draw 0.5s ease-out backwards; }
.fw-flow-list li, .fw-flow-people li { position: relative; z-index: 3; }
.fw-flow-who { display: flex; align-items: center; gap: 8px; }
.fw-face { display: block; flex: none; border-radius: 50%; background: var(--lilac); object-fit: cover; }
.fw-flow-people li { grid-template-columns: 34px 1fr; align-items: center; }
.fw-flow-people li > i { position: relative; width: 34px; height: 34px; opacity: 0.55; transition: opacity 0.3s; }
.fw-flow-people li > i > em { position: absolute; right: -4px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; background: var(--mint-d); color: #fff; display: grid; place-items: center; border: 2px solid #fff; animation: fw-pop 0.45s var(--spring) backwards; }
.fw-flow-people li.is-asked > i, .fw-flow-people li.is-done > i { opacity: 1; }
.fw-flow-people li.is-done { background: var(--lilac); }
.fw-flow-people .fw-stars { gap: 6px; margin-top: 2px; }
.fw-flow-people .fw-stars svg { width: 13px; height: 13px; }
.fw-flow-people .fw-stars small { font-size: 12.5px; }
.fw-flow .fw-doc { margin-top: 10px; padding: 22px 14px 14px; font-size: 13.5px; box-shadow: 0 12px 24px -16px rgba(38, 35, 58, 0.35); }
.fw-flow .fw-doc::before { width: 60px; height: 18px; margin-left: -30px; top: -9px; }
.fw-flow .fw-doc-name { font-size: 17px; }
.fw-flow .fw-doc-list { gap: 10px; margin-top: 8px; }
.fw-flow .fw-doc-list > li { padding-left: 18px; gap: 2px; }
.fw-flow .fw-doc h3 { font-size: 13.5px; line-height: 1.3; }
.fw-flow .fw-doc-by { font-size: 12.5px; line-height: 1.3; }
.fw-reel-cap { display: grid; gap: 2px; padding: 0 4px; min-height: 3.6em; }
.fw-reel-cap b { font: 700 21px/1.2 var(--display); letter-spacing: -0.02em; }
.fw-reel-cap span { color: var(--dim); font-size: 15.5px; }
.fw-reel-nav { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.fw-reel-nav > button:not(.fw-link) { flex: 1; max-width: 72px; height: 28px; border: 0; padding: 11px 0; background: none; cursor: pointer; }
.fw-reel-nav > button > i { display: block; height: 6px; border-radius: 3px; background: var(--rule); position: relative; overflow: hidden; }
.fw-reel-nav > button.is-on > i { background: var(--lilac); }
.fw-reel-nav > button.is-on > i::after { content: ""; position: absolute; inset: 0; background: var(--violet); border-radius: 3px; }
.fw-reel-nav > button.is-on > i[style]::after { transform-origin: left; animation: fw-fill linear both; animation-duration: inherit; }
.fw-reel-nav .fw-link { margin-left: auto; }
@keyframes fw-fill { from { transform: scaleX(0); } }
@media (min-width: 900px) { .fw-flow { width: calc(100% + 150px); max-width: none; margin-left: -75px; } }
@media (max-width: 640px) {
  .fw-flow-stage { grid-template-columns: 1fr; }
  .fw-flow-pane { min-height: 0; }
  .fw-flow-pane:not(.is-live) { display: none; }
  .fw-flow-pane.is-live { min-height: 330px; }
}

/* The pages to read (fairwind-pages.tsx): a conversation, a path, facing pairs. */
.fw-read .fw-main { gap: 22px; }
.fw-read-p { max-width: 34em; font-size: 17.5px; }
.fw-talk { display: grid; gap: 26px; margin: 6px 0 0; }
.fw-talk > div { display: grid; gap: 10px; }
.fw-talk dt { display: flex; align-items: flex-end; gap: 10px; justify-self: start; max-width: 30em; }
.fw-talk dt span { background: var(--butter); border-radius: 20px 20px 20px 6px; padding: 10px 16px; font: 700 18.5px/1.25 var(--display); letter-spacing: -0.01em; }
.fw-talk > div:nth-child(4n + 2) dt span { background: var(--mint); }
.fw-talk > div:nth-child(4n + 3) dt span { background: var(--peach); }
.fw-talk > div:nth-child(4n + 4) dt span { background: var(--sky); }
.fw-talk dd { margin: 0 0 0 44px; max-width: 33em; font-size: 17px; }
.fw-path { counter-reset: path; display: grid; gap: 0; margin-top: 6px; }
.fw-path li { counter-increment: path; position: relative; display: grid; gap: 2px; padding: 0 0 26px 54px; }
.fw-path li::before { content: counter(path); position: absolute; left: 0; top: -4px; width: 36px; height: 36px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font: 700 17px/1 var(--display); }
.fw-path li::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--lilac); }
.fw-path li:last-child { padding-bottom: 0; }
.fw-path li:last-child::after { display: none; }
.fw-path b { font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; }
.fw-path span { max-width: 32em; }
.fw-gives { counter-reset: gives; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 34px; margin-top: 8px; }
.fw-gives li { counter-increment: gives; display: grid; gap: 4px; align-content: start; padding-top: 14px; border-top: 5px solid var(--mint-d); }
.fw-gives li:nth-child(3n + 2) { border-top-color: var(--violet); }
.fw-gives li:nth-child(3n + 3) { border-top-color: var(--butter-d); }
.fw-gives li::before { content: counter(gives, decimal-leading-zero); font: 700 15px/1 var(--display); letter-spacing: 0.06em; color: var(--dim); }
.fw-gives b { font: 700 22px/1.15 var(--display); letter-spacing: -0.02em; }
.fw-gives span { font-size: 16.5px; }
.fw-callout { display: grid; gap: 16px; }
.fw-callout-line { font-size: clamp(19px, 3.4vw, 25px); line-height: 1.5; color: var(--green); font-weight: 500; }
.fw-callout mark { color: inherit; border-radius: 8px; padding: 2px 6px; background: var(--peach); }
.fw-callout mark.is-b { background: var(--butter); }
.fw-callout mark.is-c { background: var(--sky); }
.fw-callout ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fw-callout li { padding-top: 12px; border-top: 6px solid var(--peach); font-size: 15.5px; }
.fw-callout li.is-b { border-top-color: var(--butter-d); }
.fw-callout li.is-c { border-top-color: var(--sky-d); }
.fw-callout li b { display: block; font: 700 18px/1.2 var(--display); margin-bottom: 2px; }
.fw-meter { display: flex; gap: 10px; margin-top: 4px; }
.fw-meter li { flex: 1; max-width: 110px; display: grid; justify-items: center; gap: 4px; padding: 14px 6px; border-radius: 22px; background: var(--lilac); }
.fw-meter li.is-free { background: var(--mint); }
.fw-meter b { font: 700 30px/1 var(--display); }
.fw-meter span { font-size: 14px; font-weight: 600; }
.fw-price { font-size: 18px; }
.fw-price b { font: 700 clamp(40px, 8vw, 60px)/1 var(--display); letter-spacing: -0.03em; margin-right: 8px; }
.fw-read-more { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 18px; border-top: 2px solid var(--rule); font-weight: 600; font-size: 15.5px; }
.fw-read .fw-mission > h2 { max-width: 13em; }
@media (max-width: 640px) {
  .fw-gives { grid-template-columns: 1fr; gap: 24px; }
  .fw-callout ol { grid-template-columns: 1fr; }
  .fw-talk dd { margin-left: 0; }
}

/* Windy with the mail: the film (or the still) above everything Fairwind does, and the
   still again beside the last Start button. */
.fw-carry { width: 100%; margin: 44px 0 0; display: grid; gap: 12px; }
.fw-carry video, .fw-carry img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px; background: #cdb0f3; }
.fw-carry figcaption { font: 700 clamp(20px, 3.6vw, 26px)/1.2 var(--display); letter-spacing: -0.02em; max-width: 22em; }
.fw-close-art { width: min(260px, 46%); height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; background: #cdb0f3; }

/* Windy, the mascot, saying one thing. */
.fw-windy { display: block; flex: none; width: 230px; height: auto; aspect-ratio: 125 / 52; border-radius: 26px; background: #c6aef0; }
.fw-windy-says { display: flex; align-items: center; gap: 14px; max-width: 36em; }
.fw-windy-says > p { position: relative; background: #fff; border-radius: 22px 22px 22px 6px; padding: 12px 16px; font-size: 16px; line-height: 1.4; }
@media (max-width: 560px) { .fw-windy-says { flex-direction: column; align-items: flex-start; gap: 10px; } .fw-windy { width: min(230px, 70%); border-radius: 20px; } .fw-windy-says > p { border-radius: 6px 22px 22px 22px; } }

/* Everything in Fairwind: a card each, with a small picture of the thing. */
.fw-caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fw-caps > li { display: grid; gap: 8px; align-content: start; background: #fff; border-radius: 26px; padding: 12px 12px 18px; }
.fw-caps > li > :not(img) { padding: 0 6px; }
.fw-caps img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; background: var(--lilac); }
.fw-caps h3 { font: 700 20px/1.2 var(--display); letter-spacing: -0.02em; margin-top: 4px; }
.fw-caps p { font-size: 15.5px; line-height: 1.45; }
.fw-cap-tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 2px; font-size: 14px; color: var(--dim); }
.fw-cap-tag b { font-weight: 600; color: var(--green); background: var(--mint); border-radius: 999px; padding: 1px 10px; }
.fw-cap-tag.is-pro b { color: var(--violet-d); background: var(--lilac); }
@media (max-width: 640px) {
  .fw-mission-points, .fw-caps { grid-template-columns: 1fr; }
  .fw-mission { padding: 28px 22px; border-radius: 28px; }
}

.fw-faq { display: grid; gap: 8px; }
.fw-faq details { background: #fff; border-radius: 20px; padding: 0 18px; }
.fw-faq summary { cursor: pointer; font-weight: 600; min-height: 52px; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.fw-faq summary::-webkit-details-marker { display: none; }
.fw-faq summary::after { content: "+"; flex: none; font: 700 24px/1 var(--display); color: var(--violet); transition: transform 0.2s; }
.fw-faq details[open] summary::after { transform: rotate(45deg); }
.fw-faq details p { padding: 0 0 16px; max-width: 34em; }
.fw-h3 { font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; margin-top: 10px; }
.fw-panel.fw-why + .fw-panel.fw-why { background: #fff; margin-top: 16px; }
.fw-panel > .fw-btn { justify-self: start; }
.fw-panel .fw-dots li:nth-child(n + 4)::before { background: var(--sky-d); }



.fw-panel { border-radius: 28px; padding: 26px 26px 28px; margin-top: 30px; background: var(--sky); }
.fw-more h2 { font-size: 20px; }
.fw-morelink { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 12px; padding: 16px 20px; min-height: 56px; border-radius: 22px; background: var(--butter); text-decoration: none; transition: transform 0.3s var(--spring); }
.fw-morelink + .fw-morelink { background: var(--mint); }
.fw-morelink + .fw-morelink + .fw-morelink { background: var(--sky); }
.fw-morelink + .fw-morelink + .fw-morelink + .fw-morelink { background: var(--lilac); }
.fw-morelink:hover { transform: translateY(-2px); }
.fw-morelink b { font-family: var(--display); font-size: 19px; }
.fw-morelink span { color: var(--ink); font-size: 15.5px; }
@media (max-width: 520px) { .fw-morelink { grid-template-columns: 1fr auto; } .fw-morelink span { grid-column: 1; } .fw-morelink svg { grid-row: 1 / span 2; grid-column: 2; } }
@media (prefers-reduced-motion: reduce) { .fw-morelink { transition: none; } .fw-morelink:hover { transform: none; } }
.fw-panel.fw-why { background: #fff; margin-top: 44px; }
.fw-why p + p { margin-top: 10px; }
.fw-panel + .fw-panel { margin-top: -6px; background: var(--lilac); }
.fw-dots { display: grid; gap: 10px; }
.fw-dots li { padding-left: 30px; position: relative; }
.fw-dots li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; border-radius: 50%; background: var(--peach-d); }
.fw-dots li:nth-child(2)::before { background: var(--butter-d); }
.fw-dots li:nth-child(3)::before { background: var(--violet); }
.fw-close { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }

/* Buttons: chunky pills that lift on hover and squish when pressed. */
.fw-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 0; border-radius: 999px; padding: 0 26px; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 16.5px; line-height: 1.2; --drop: var(--violet-d); box-shadow: 0 4px 0 var(--drop); transition: transform 0.18s var(--spring), box-shadow 0.18s var(--spring); }
.fw-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 0 var(--drop); }
.fw-btn:active:not(:disabled) { transform: translateY(3px) scale(1.04, 0.94); box-shadow: 0 1px 0 var(--drop); }
.fw-btn:disabled { opacity: 0.5; cursor: default; }
.fw-btn-primary { background: var(--violet); color: #fff; }
/* Delete my account: the one destructive button. */
.fw-btn-danger { background: var(--error); color: #fff; --drop: #6f170f; }
.fw-btn-soft { background: #fff; color: var(--ink); --drop: rgba(38, 35, 58, 0.16); }
.fw-btn.is-done { animation: fw-squish 0.45s ease-out; }
.fw-btn.is-done svg { color: var(--mint-d); animation: fw-pop 0.4s var(--spring); }
.fw-btn.is-done::after, .fw-entry.is-confirmed .fw-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; opacity: 0; pointer-events: none; box-shadow: 0 -32px 0 var(--peach-d), 28px -16px 0 var(--butter-d), 28px 16px 0 var(--sky-d), 0 32px 0 var(--lilac-d), -28px 16px 0 var(--peach-d), -28px -16px 0 var(--mint-d); }
.fw-btn.is-done::after { left: 26px; animation: fw-burst 0.6s ease-out; }
.fw-link { display: inline-flex; align-items: center; min-height: 40px; border: 0; background: none; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; color: var(--dim); font-size: 15px; font-weight: 500; }
.fw-link:hover { color: var(--ink); }
.fw-icon { border: 0; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255, 255, 255, 0.7); transition: transform 0.18s var(--spring), background-color 0.15s; }
.fw-icon:hover:not(:disabled) { background: #fff; transform: translateY(-2px) rotate(-8deg); }
.fw-icon:active:not(:disabled) { transform: scale(0.88); }
.fw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.fw-add { margin-top: 10px; }

/* Forms */
.fw-form { width: 100%; max-width: 540px; display: grid; gap: 18px; }
.fw-form > .fw-art { margin-bottom: -4px; }
.fw-form fieldset { display: grid; gap: 10px; }
.fw-form legend { font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; padding: 0; margin-bottom: 10px; }
.fw-entry-form { background: var(--sky); border-radius: 28px; padding: 28px; animation: fw-rise 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; }
.fw-field { display: grid; gap: 6px; }
.fw-field > span { font-size: 15px; font-weight: 500; }
.fw-field input, .fw-field textarea, .fw-field select { width: 100%; min-height: 50px; border: 2px solid #cfc8dc; border-radius: 16px; padding: 11px 15px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.fw-field textarea { resize: vertical; display: block; }
.fw-field input:focus, .fw-field textarea:focus, .fw-field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91, 63, 214, 0.2); }
.fw-field ::placeholder { color: #807a94; }
.fw-pair { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.fw-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.fw-check, .fw-switch, .fw-options label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; min-height: 40px; padding: 7px 0; }
.fw input[type="checkbox"], .fw input[type="radio"] { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 0; flex: none; border-radius: 50%; border: 2px solid #7d7694; background: #fff center / 15px no-repeat; cursor: pointer; transition: transform 0.2s var(--spring), background-color 0.15s, border-color 0.15s; }
.fw input[type="checkbox"]:checked { background-color: var(--violet); border-color: var(--violet); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fw input[type="radio"]:checked { border-color: var(--violet); background-image: radial-gradient(var(--violet) 0 6px, transparent 6.5px); background-size: 100%; }
.fw input[type="checkbox"]:active, .fw input[type="radio"]:active { transform: scale(0.85); }
.fw input:disabled { opacity: 0.5; cursor: default; }
.fw-options { display: grid; gap: 8px; }
.fw-options label { background: #fff; border-radius: 18px; padding: 11px 14px; transition: background-color 0.15s; }
.fw-options label:has(:checked) { background: var(--lilac); }
/* One tap from a short set: who did a research part, or the words in a rating. */
.fw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fw-chips label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 15px 7px 9px; border-radius: 999px; background: #fff; font-size: 15px; line-height: 1.25; cursor: pointer; transition: background-color 0.15s; }
.fw-chips label:has(:checked) { background: var(--lilac); font-weight: 600; }
.fw-chips label:has(:disabled) { opacity: 0.55; cursor: default; }
.fw .fw-chips input { width: 22px; height: 22px; background-size: 13px; }
.fw .fw-chips input[type="radio"]:checked { background-image: radial-gradient(var(--violet) 0 5px, transparent 5.5px); background-size: 100%; }
.fw-form .fw-parts { gap: 14px; }
.fw-form .fw-parts legend { margin-bottom: 4px; }
.fw-part { display: grid; gap: 8px; padding-top: 14px; border-top: 2.5px dotted var(--rule); }
.fw-part > p { font-weight: 600; }
.fw-pair-wide { grid-template-columns: 3fr 2fr; align-items: end; }

/* My list. Each entry is a pastel card; its dot is the status; a wavy wind line joins
   consecutive confirmed dots. */
.fw-list { width: 100%; display: grid; gap: 14px; }
.fw-entry { --pad: 22px; position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 0 14px; padding: var(--pad); border-radius: 26px; background: var(--peach); animation: fw-rise 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; animation-delay: calc(var(--i, 0) * 75ms); }
.fw-entry:nth-child(5n + 2) { background: var(--butter); }
.fw-entry:nth-child(5n + 3) { background: var(--mint); }
.fw-entry:nth-child(5n + 4) { background: var(--sky); }
.fw-entry:nth-child(5n + 5) { background: var(--lilac); }
.fw-dot { position: relative; z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; background: #fff; display: grid; place-items: center; color: #fff; }
.fw-entry.is-none .fw-dot { background: transparent; border-color: var(--ink); border-width: 2.5px; }
.fw-entry.is-waiting .fw-dot { background: var(--butter-d); animation: fw-bob 2.8s ease-in-out infinite; }
.fw-entry.is-confirmed .fw-dot { background: var(--mint-d); animation: fw-pop 0.5s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 75ms + 0.35s); }
.fw-entry.is-confirmed .fw-dot::before { animation: fw-burst 0.75s ease-out calc(var(--i, 0) * 75ms + 0.55s); }
.fw-entry.is-changed .fw-dot { background: linear-gradient(90deg, var(--lilac-d) 50%, #fff 50%); }
.fw-entry.is-declined .fw-dot, .fw-entry.is-expired .fw-dot { background: transparent; border: 2.5px dashed var(--dim); }
.fw-entry.is-joined::after { content: ""; position: absolute; z-index: 1; left: calc(var(--pad) + 7px); width: 14px; top: calc(var(--pad) + 32px); bottom: calc(-18px - var(--pad)); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Cpath d='M7 0C14 7 0 21 7 28' fill='none' stroke='%2317a57a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y; }
.fw-entry-body { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.fw-entry-body > * { max-width: 100%; }
.fw-entry h3, .fw-work h2, .fw-work h4 { font-weight: 700; font-size: 21px; line-height: 1.18; overflow-wrap: anywhere; }
.fw-where { color: var(--dim); font-size: 15px; overflow-wrap: anywhere; }
.fw-line { overflow-wrap: anywhere; }
/* A research entry: its mark, then each part with who did it and who confirmed it. */
.fw-kind { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.fw-kind-art { width: 34px; height: 34px; flex: none; }
.fw-partlist { display: grid; gap: 9px; width: 100%; margin: 4px 0 2px; }
.fw-partlist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; overflow-wrap: anywhere; }
.fw-partlist b { font-weight: 600; }
.fw-partlist small { display: block; font-size: 14.5px; color: var(--dim); }
.fw-partlist .is-yes small { color: var(--green); font-weight: 600; }
.fw-partdot { width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; color: #fff; }
.fw-partlist .is-yes .fw-partdot { background: var(--mint-d); border-color: #fff; }
.fw-partlist .is-mentor .fw-partdot { border: 2px dashed var(--dim); }
/* Proof files on an entry (fairwind-proofs.tsx): optional, quiet until used. */
.fw-proof { display: grid; gap: 8px; justify-items: start; width: 100%; margin: 6px 0 2px; }
.fw-proof-head { font-size: 14.5px; }
.fw-proof-head b { font-weight: 600; margin-right: 4px; }
.fw-proof-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; width: 100%; }
.fw-proof-list > li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 4px 12px; background: rgba(255, 255, 255, 0.6); border-radius: 16px; padding: 8px 12px 8px 8px; font-size: 15px; }
.fw-proof-thumb { width: 56px; height: 56px; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: #fff; color: var(--dim); display: grid; place-items: center; cursor: pointer; }
.fw-proof-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-proof-thumb:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.fw-proof-about { display: grid; gap: 0; min-width: 0; }
.fw-proof-about .fw-switch { min-height: 32px; padding: 2px 0; gap: 8px; }
.fw-proof-acts { display: flex; flex-wrap: wrap; gap: 0 16px; }
.fw-proof-add { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--dim); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.fw-proof-add:hover { color: var(--ink); }
.fw-proof-choose { display: grid; gap: 10px; justify-items: start; background: rgba(255, 255, 255, 0.6); border-radius: 18px; padding: 14px 16px; font-size: 15.5px; max-width: 36em; }
.fw-proof .fw-small { max-width: 38em; }
.fw-proof-asked { background: rgba(255, 255, 255, 0.55); border-radius: 22px; padding: 16px 18px; }
.fw-proof-asked .fw-proof-list > li { grid-template-columns: 56px 1fr; background: #fff; align-items: start; }
@media (max-width: 480px) { .fw-proof-list > li { grid-template-columns: 48px 1fr; } .fw-proof-thumb { width: 48px; height: 48px; } .fw-proof-list > li > .fw-link { grid-column: 2; min-height: 32px; } }
.fw-media { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 2px; }
.fw-media-slot { width: 30px; height: 30px; border-radius: 10px; border: 1.5px dashed rgba(38, 35, 58, 0.28); background: rgba(255, 255, 255, 0.45); display: grid; place-items: center; color: var(--dim); }
.fw-media-note { font-size: 14px; color: var(--dim); }
.fw-state { font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 4px 12px; margin: 4px 0; }
.fw-entry.is-confirmed .fw-state { color: var(--green); background: #fff; }
.fw-ask { display: grid; gap: 6px; justify-items: start; padding: 12px 0 0; margin-top: 4px; border-top: 2.5px dotted var(--rule); width: 100%; font-size: 16px; }
.fw-ask + .fw-row, .fw-ask + .fw-askform { margin-top: 6px; }
.fw-message { background: #fff; border-radius: 18px 18px 18px 6px; padding: 13px 16px; font-size: 15.5px; overflow-wrap: anywhere; }
.fw-quote { position: relative; padding-left: 34px; display: grid; gap: 2px; font-weight: 500; }
.fw-quote::before { content: "\201C"; position: absolute; left: 0; top: -2px; font: 700 50px/1 var(--display); opacity: 0.45; }
.fw-switch { font-size: 14.5px; font-weight: 400; color: var(--dim); align-items: center; }
/* One person's rating: stars, the words they picked, their comment. Never a total. */
.fw-review { display: grid; gap: 8px; justify-items: start; width: 100%; background: rgba(255, 255, 255, 0.6); border-radius: 18px; padding: 14px 16px 8px; }
.fw-review .fw-switch { color: var(--ink); }
.fw-stars { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fw-stars > span { display: inline-flex; gap: 2px; color: var(--ink); }
.fw-stars svg { stroke-width: 1.6; }
.fw-stars small { font-size: 14.5px; color: var(--dim); }
.fw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fw-tags li { padding: 2px 11px; border: 1.5px solid var(--rule); border-radius: 999px; background: #fff; font-size: 14.5px; }
.fw-askform { display: grid; gap: 12px; width: 100%; max-width: 440px; margin-top: 6px; }
.fw-url { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; background: #fff; border-radius: 20px; padding: 14px 18px; }

/* Bring your list: where it is from, the file or the pasted text, then one card each. */
.fw-import { width: 100%; display: grid; gap: 18px; justify-items: start; background: var(--sky); border-radius: 28px; padding: 28px; animation: fw-rise 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; }
.fw-import > * { max-width: 100%; }
.fw-import > p:not(.fw-or) { max-width: 34em; }
.fw-import > .fw-field, .fw-import > .fw-notice, .fw-sources, .fw-drop, .fw-cands, .fw-none { width: 100%; }
.fw-import > .fw-small:first-child { font-weight: 600; margin-bottom: -10px; }
.fw-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fw-sources button { width: 100%; height: 100%; display: grid; gap: 6px; align-content: start; text-align: left; border: 3px solid transparent; border-radius: 22px; padding: 16px 18px 18px; background: #fff; cursor: pointer; transition: transform 0.18s var(--spring), border-color 0.15s; }
.fw-sources button:hover { transform: translateY(-2px); }
.fw-sources button[aria-pressed="true"] { border-color: var(--violet); background: var(--lilac); }
.fw-sources b { font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; }
.fw-sources span { font-size: 15px; line-height: 1.4; padding-left: 16px; position: relative; }
.fw-sources span::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--peach-d); }
.fw-drop { display: grid; justify-items: center; gap: 10px; padding: 26px 18px; border: 3px dashed rgba(38, 35, 58, 0.34); border-radius: 24px; background: rgba(255, 255, 255, 0.55); text-align: center; transition: background-color 0.15s, border-color 0.15s; }
.fw-drop.is-over { background: #fff; border-color: var(--violet); }
.fw-drop p { font-weight: 600; }
.fw-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fw-drop .fw-btn:focus-within { outline: 3px solid var(--violet); outline-offset: 3px; }
.fw-or { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 15px; font-weight: 600; margin: -4px 0; }
.fw-or::before, .fw-or::after { content: ""; flex: 1; border-top: 2.5px dotted var(--rule); }
.fw-none { display: grid; gap: 10px; background: #fff; border-radius: 22px; padding: 20px; }
.fw-none h3 { font: 700 21px/1.2 var(--display); letter-spacing: -0.02em; }
.fw-cands { display: grid; gap: 14px; }
.fw-cand { display: grid; gap: 14px; padding: 20px; border-radius: 24px; background: #fff; border: 3px solid transparent; }
.fw-cand.is-flagged { border-color: var(--butter-d); }
.fw-cand.is-skipped { background: rgba(255, 255, 255, 0.5); gap: 2px; }
.fw-cand-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fw-cand-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 700 19px/1.2 var(--display); letter-spacing: -0.01em; }
.fw-cand-kind .fw-state { font-family: var(--font); letter-spacing: 0; background: var(--butter); margin: 0; }
.fw-cand .fw-switch { color: var(--ink); font-weight: 600; padding: 0; }

/* Plain documents: the page a college opens. Plain inside, a sheet of paper outside. */
.fw-doc { position: relative; width: 100%; background: #fff; border-radius: 5px; padding: 36px 30px 30px; display: grid; gap: 6px; font-size: 16px; box-shadow: 0 22px 40px -22px rgba(38, 35, 58, 0.35), 0 1px 2px rgba(38, 35, 58, 0.08); margin-top: 14px; }
.fw-doc::before { content: ""; position: absolute; left: 50%; top: -13px; width: 96px; height: 26px; margin-left: -48px; background: rgba(255, 207, 92, 0.75); transform: rotate(-3deg); }
.fw-tilt .fw-doc { transform: rotate(-1.2deg); }
.fw-tilt { position: relative; }
.fw-tilt > svg { position: absolute; right: -14px; top: -22px; width: 74px; height: auto; z-index: 1; transform: rotate(-12deg); }
.fw-doc-name { font-size: 24px; font-weight: 600; line-height: 1.2; }
.fw-doc-sub { color: var(--dim); }
.fw-doc-list { counter-reset: fw; display: grid; gap: 22px; margin-top: 18px; }
.fw-doc-list > li { counter-increment: fw; display: grid; gap: 4px; padding-left: 30px; position: relative; }
.fw-doc-list > li::before { content: counter(fw) "."; position: absolute; left: 0; top: 0; color: var(--dim); }
.fw-doc h3 { font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.fw-doc-where { color: var(--dim); font-size: 15px; }
.fw-doc-by { font-size: 15px; color: var(--green); }
.fw-doc-by.is-none { color: var(--dim); }
.fw-doc blockquote { border-left: 2px solid var(--rule); padding-left: 12px; font-size: 15px; }
.fw-doc cite { color: var(--dim); font-style: normal; }
.fw-doc-said { display: grid; gap: 12px; margin-top: 14px; }
.fw-doc-said blockquote { display: grid; gap: 5px; justify-items: start; }
.fw-doc-others { margin-top: 8px; display: grid; gap: 2px; }
.fw-doc-note { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--dim); }

/* My web. The map is the Careers drawing (web-map.tsx) in Fairwind's colours: entries are
   pastel grounds, people are violet seeds, gusts join them to "You". Every person is the
   same dot: nothing is sized or coloured by how much anyone confirmed. */
.fw-web { width: 100%; display: grid; gap: 14px; background: #fff; border-radius: 28px; padding: 14px 14px 18px; animation: fw-rise 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; }
.webm-wrap { display: grid; gap: 6px; min-width: 0; }
.webm { width: 100%; min-width: 0; overflow: hidden; }
.webm.is-wide { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.webm svg { display: block; margin: 0 auto; font-family: var(--font); user-select: none; -webkit-user-select: none; }
.webm-hint { font-size: 14px; color: var(--dim); }
.webm-links path { fill: none; stroke: var(--sky-d); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 9; transition: opacity 0.25s; }
.webm-links path.is-dim { opacity: 0.25; }
.webm-hub { transition: opacity 0.25s; }
.webm-hub.is-dim { opacity: 0.3; }
.webm-ground { fill: var(--lilac); transition: fill 0.2s; }
.webm-hub.is-mine .webm-ground { fill: var(--peach); }
.webm-hub.is-mine:not(.is-open):nth-of-type(5n + 2) .webm-ground { fill: var(--butter); }
.webm-hub.is-mine:not(.is-open):nth-of-type(5n + 3) .webm-ground { fill: var(--mint); }
.webm-hub.is-mine:not(.is-open):nth-of-type(5n + 4) .webm-ground { fill: var(--sky); }
.webm-hub.is-open .webm-ground { fill: #fbfaff; stroke: var(--dim); stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; }
.webm-hub.is-selected .webm-ground { stroke: var(--violet); stroke-width: 3; stroke-dasharray: none; }
.webm-orbit { fill: none; stroke: rgba(38, 35, 58, 0.3); stroke-width: 1.5; stroke-dasharray: 1 6; stroke-linecap: round; }
.webm-mark { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.webm-hub.is-mine .webm-mark { fill: var(--ink); }
.webm-hub.is-open .webm-mark { fill: #fff; stroke: var(--dim); stroke-dasharray: 2.4 2.4; }
.webm-name { font-family: var(--display); font-size: 13.5px; font-weight: 700; fill: var(--ink); }
.webm-hit { fill: transparent; stroke: none; }
.webm-title, .webm-dot { cursor: pointer; }
.webm-dot { transition: opacity 0.25s; }
.webm-body { fill: var(--violet); stroke: var(--violet); stroke-width: 2; }
.webm-dot.is-hollow .webm-body { fill: #fff; }
.webm-dot.is-faint .webm-body { fill: #fff; stroke: var(--dim); stroke-dasharray: 2 3; }
.webm-ring { fill: none; stroke: var(--violet); stroke-width: 1.5; }
.webm-in { font-size: 11px; font-weight: 700; fill: #fff; pointer-events: none; }
.webm-dot.is-hollow .webm-in { fill: var(--violet-d); }
.webm-dot.is-faint .webm-in { fill: var(--dim); }
.webm-who { font-size: 13.5px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.webm-dot.is-dim { opacity: 0.2; }
.webm-dot.is-lit .webm-body, .webm-dot:hover .webm-body { stroke: var(--butter-d); stroke-width: 4; stroke-dasharray: none; }
.webm-arcs path { fill: none; stroke: var(--butter-d); stroke-width: 3; stroke-linecap: round; }
.webm-centre { cursor: pointer; }
.webm-centre circle { fill: var(--violet); }
.webm-centre circle.webm-aura { fill: var(--lilac); }
.webm-centre text { font: 700 13px var(--display); fill: #fff; pointer-events: none; }
.webm-plate { pointer-events: none; }
.webm-plate rect { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.webm-plate text { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.webm-plate.is-strong rect { fill: var(--ink); }
.webm-plate.is-strong text { fill: #fff; }
.webg-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0 8px; font-size: 14px; color: var(--dim); }
.webg-legend li { display: inline-flex; align-items: center; gap: 7px; }
.webg-legend svg { flex: none; }
.fw-people { width: 100%; display: grid; gap: 14px; }
.fw-people > li { display: grid; gap: 10px; padding: 20px 22px; border-radius: 26px; background: var(--mint); border: 3px solid transparent; }
.fw-people > li:nth-child(4n + 2) { background: var(--sky); }
.fw-people > li:nth-child(4n + 3) { background: var(--butter); }
.fw-people > li:nth-child(4n + 4) { background: var(--peach); }
.fw-people > li.is-picked { border-color: var(--violet); }
.fw-people h3 button { border: 0; background: none; padding: 0; min-height: 40px; cursor: pointer; text-align: left; font: 700 21px/1.18 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.fw-tie { display: grid; gap: 2px; overflow-wrap: anywhere; }
.fw-tie + .fw-tie { padding-top: 10px; border-top: 2.5px dotted var(--rule); }

/* Moving to Seneca Careers: a calm panel under My link. */
.fw-panel.fw-move { background: #fff; justify-items: start; gap: 14px; margin-top: 56px; }
.fw-move h2 { font-size: clamp(21px, 4vw, 25px); }

/* The teacher's page: same palette, nothing moving. */
.fw-plain .fw-main { padding-top: 28px; }
.fw-plain .fw-sky i, .fw-plain .fw-main * { animation: none !important; }
.fw-work { display: grid; gap: 4px; padding: 20px 22px; border-radius: 24px; background: var(--sky); width: 100%; }
.fw-lines { display: grid; gap: 8px; }
.fw-lines li { display: flex; gap: 10px; align-items: baseline; overflow-wrap: anywhere; }
.fw-lines svg { flex: none; color: var(--mint-d); position: relative; top: 3px; stroke-width: 3.5; }
.fw-confirm { max-width: 580px; gap: 28px; }
.fw-context { display: grid; gap: 6px; margin-top: 6px; padding: 14px 16px; border-radius: 18px; border: 2px dashed var(--rule); font-size: 16px; }
.fw-context ul { display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
.fw-form .fw-rate { background: #fff; border-radius: 24px; padding: 22px; gap: 12px; }
.fw-form .fw-rate legend { float: left; width: 100%; margin-bottom: 0; }
.fw-rate > * { clear: both; }
.fw-rate .fw-chips label { background: var(--page); }
.fw-rate .fw-chips label:has(:checked) { background: var(--lilac); }
.fw-rate-sub { font-size: 15px; font-weight: 500; margin-top: 4px; }
.fw-starpick { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; }
.fw-starpick > button:not(.fw-link) { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.fw-starpick > button:not(.fw-link):hover { background: var(--page); }
.fw-starpick svg { stroke-width: 1.6; fill: none; }
.fw-starpick .is-on svg { fill: var(--butter-d); }
.fw-starpick > span { margin: 0 8px; font-size: 15px; color: var(--dim); }

@media (min-width: 900px) {
  .fw-scene { width: calc(100% + 150px); max-width: none; margin-left: -75px; }
  .fw-pane > .fw-web { width: calc(100% + 150px); max-width: none; margin-left: -75px; }
}
@media (max-width: 560px) {
  .fw-top { flex-wrap: wrap; }
  .fw-tabs { width: 100%; }
}
@media (max-width: 480px) {
  .fw { padding: 0 18px; }
  .fw-web { padding: 8px 6px 14px; border-radius: 22px; }
  .fw-people > li { padding: 16px 18px; }
  .fw-top { padding-top: 16px; }
  .fw-main { padding: 24px 0 56px; }
  .fw-tabs button { padding: 0 13px; }
  .fw-doc { padding: 30px 18px 22px; }
  .fw-entry { --pad: 16px; gap: 0 10px; }
  .fw-entry-form, .fw-panel, .fw-import { padding: 20px 18px; }
  .fw-sources { grid-template-columns: 1fr; }
  .fw-cand { padding: 16px; }
  .fw-trio { grid-template-columns: 1fr 1fr; }
  .fw-trio > :first-child { grid-column: 1 / -1; }
  .fw-pair-wide { grid-template-columns: 1fr; }
  .fw-form .fw-rate { padding: 18px 16px; }
  .fw-starpick > button:not(.fw-link) { width: 42px; }
  .fw-tilt > svg { right: -6px; width: 60px; }
  .fw-close > svg { width: 120px; }
  .fw-btn { padding: 0 20px; }
  .fw-icon { width: 44px; height: 44px; }
  .fw-entry .fw-row { gap: 10px 8px; flex-wrap: nowrap; }
  .fw-entry .fw-row > .fw-btn { padding: 0 15px; font-size: 15.5px; flex: 0 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .fw *, .fw *::before, .fw *::after, .fw-sky i { animation: none !important; transition: none !important; }
}

/* Fairwind Pro (docs/careers/frontend/fairwind-pro.tsx): the school-or-outside question in
   the request form, the Pro panel and the school-email screen. Calm: no badge colours that
   shout, and the price is said once. */
.fw-from { display: grid; gap: 10px; }
.fw-from legend { font-size: 15px; font-weight: 500; padding: 0; margin-bottom: 8px; }
.fw-from-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fw-from-picks label { display: grid; gap: 6px; align-content: start; justify-items: start; cursor: pointer; background: #fff; border: 2px solid #cfc8dc; border-radius: 18px; padding: 12px 14px; font-weight: 600; font-size: 15.5px; line-height: 1.25; transition: border-color 0.15s, transform 0.18s var(--spring); }
.fw-from-picks label:hover { transform: translateY(-2px); }
.fw-from-picks label.is-on { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91, 63, 214, 0.16); }
.fw-from-picks input { position: absolute; opacity: 0; pointer-events: none; }
.fw-from-picks label:has(:focus-visible) { outline: 3px solid var(--violet); outline-offset: 3px; }
.fw-chip { display: inline-block; justify-self: start; background: var(--butter); border-radius: 999px; padding: 3px 11px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fw-soft-note { background: rgba(255, 255, 255, 0.75); border-radius: 18px; padding: 13px 16px; font-size: 15px; line-height: 1.45; max-width: 34em; }
.fw-link.fw-inline { display: inline; min-height: 0; font-size: inherit; color: var(--ink); }
.fw-pro { width: 100%; display: grid; gap: 16px; justify-items: start; animation: fw-rise 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; }
.fw-pro-free { background: var(--mint); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 16px; }
.fw-pro-card { display: grid; gap: 12px; justify-items: start; width: 100%; max-width: 520px; background: var(--lilac); border-radius: 28px; padding: 26px; }
.fw-pro-card h2 { font: 700 22px/1.2 var(--display); }
.fw-pro-waiver { background: var(--peach); }
.fw-pro-price { font: 700 clamp(30px, 6vw, 40px)/1.05 var(--display); }
.fw-pro-have { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 18px; }
.fw-pro-tick { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint-d); color: #fff; }
.fw-pro-card .fw-askform { max-width: none; }
@media (max-width: 480px) {
  .fw-pro-card { padding: 20px 18px; }
  .fw-from-picks label { padding: 11px 12px; font-size: 15px; }
}
.fw-pro > .fw-link { gap: 6px; }
.fw-from-picks .fw-chip { border-radius: 12px; font-size: 13px; line-height: 1.3; padding: 4px 10px; }
@media (max-width: 480px) {
  .fw-from-picks { grid-template-columns: 1fr; }
}
.fw-ways { display: grid; gap: 8px; margin: 0; padding-left: 22px; list-style: decimal; font-size: 15.5px; line-height: 1.45; }
.fw-ways ul { display: grid; gap: 6px; margin: 8px 0 0; padding-left: 18px; list-style: disc; }
.fw-waiver-ask { display: grid; gap: 2px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fw-waiver-ask .fw-check { font-weight: 600; }
.fw-waiver-ask .fw-small { margin-left: 34px; }
