/* Embeddings at Scale: sign-up page. Shared by index.html, thanks.html and error.html. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "IBM Plex Sans"; font-weight: 500; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "IBM Plex Mono"; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --ink: #0F1420;
  --ink-soft: #C4C9D3;
  --paper: #F5F3EE;
  --line: #E2DED5;
  --text: #1B1F27;
  --muted: #5B616C;
  --grey: #8A8F98;
  --model: #6FA8FF;
  --producer: #00AE9D;
  --infra: #E9C46A;
  --app: #FF8224;
  --head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* hero: text left, the embedding space right */
.hero { background: var(--ink); color: #EEF0F4; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center;
  padding-top: 52px; padding-bottom: 44px; }
h1 { font: 700 clamp(38px, 5.2vw, 62px)/1.03 var(--head); letter-spacing: -.015em; margin: 0 0 22px; }
h1 .line { display: block; }
.hero p { color: var(--ink-soft); max-width: 50ch; margin: 0; }
.hero p b { color: #fff; font-weight: 500; }
.space { width: 100%; height: auto; display: block; touch-action: pan-y; }

/* the embedding space (built by main.js) */
.space .bg { fill: #283043; }
.space .cluster { transition: opacity .35s ease; }
.space.has-active .cluster { opacity: .38; }
.space.has-active .cluster.is-active { opacity: 1; }
.space .lbl { font: 400 var(--lbl, 18px) var(--mono); letter-spacing: .02em; }
.space .cluster.is-active .lbl { font-weight: 500; }
.space .tether line { opacity: 0; transition: opacity .3s ease; }
.space .tether.show line { opacity: .9; }
.space .you-core { transition: fill .35s ease; }
.space .you-lbl { font: 400 var(--lbl, 18px) var(--mono); fill: var(--grey); transition: fill .35s ease; }
@media (prefers-reduced-motion: no-preference) {
  .space .tw { animation: tw 4.5s ease-in-out infinite; }
  @keyframes tw { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
}

/* body */
main .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px 72px; padding-top: 64px; padding-bottom: 72px; }
h2 { font: 700 26px/1.2 var(--head); margin: 0 0 18px; }
.roles { list-style: none; padding: 0; margin: 0; }
.roles li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: center; padding: 16px 12px 16px 10px;
  border-bottom: 1px solid var(--line); border-left: 3px solid transparent; transition: background .25s, border-color .25s; }
.roles li:last-child { border-bottom: 0; }
.roles b { font-weight: 500; display: block; }
.roles small { display: block; font-size: 14.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.roles li.is-active { background: color-mix(in srgb, var(--c) 14%, transparent); border-left-color: var(--c); }
/* role icons: a disc in the role's colour, as in the picture; "not using yet" is grey and dashed, like "you?" */
.roles .icon { background: var(--c); border-color: transparent; }
.roles .new .icon { background: transparent; border: 1.5px dashed var(--grey); }
.roles .new .icon svg { stroke: var(--grey); fill: var(--grey); }
.learn p { margin: 0; }
.asks { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.asks li { display: flex; align-items: center; gap: 16px; }
.asks b { display: block; font-weight: 500; font-size: 18px; }
.asks small { display: block; font-size: 14.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }

/* form: under both columns, fields in one row */
.card { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.card h2 { margin-bottom: 6px; }
.card .lead { margin: 0 0 24px; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card label { display: block; font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.card input[type=text], .card input[type=email] { width: 100%; font: inherit; color: var(--text); padding: 12px 14px;
  border: 1px solid #CFCAC0; border-radius: 6px; background: var(--paper); }
.card input:focus-visible { outline: 2px solid var(--producer); outline-offset: 1px; }
.send { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-top: 24px; }
.consent { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.consent input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--producer); cursor: pointer; }
.consent label { all: unset; cursor: pointer; }
.consent a { font-weight: 500; }
.consent input:focus-visible { outline: 2px solid var(--producer); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button { font: 700 17px/1 var(--head); padding: 17px 40px; border: 0; border-radius: 6px;
  background: var(--ink); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
button:hover, button:focus-visible { background: var(--producer); color: var(--ink); }

/* footer: all logos, on dark so the white lettering of the ESA and CloudFerro logos shows */
footer { background: var(--ink); color: var(--ink-soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between;
  padding-top: 36px; padding-bottom: 36px; }
.logos { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.logos img { height: 34px; width: auto; display: block; }
.logos .wfs { filter: brightness(0) invert(1); }
.contact a { color: #fff; }

/* thank-you and error pages */
.note { min-height: calc(100vh - 106px); display: flex; align-items: center; }
.note .wrap { display: block; padding-top: 72px; padding-bottom: 72px; max-width: 760px; margin: 0 auto; }
.note h1 { color: var(--text); }
.note p { font-size: 19px; margin: 0 0 16px; }
.note .back { font: 500 15px/1 var(--mono); }

@media (max-width: 860px) {
  .hero-grid, main .wrap, .fields { grid-template-columns: 1fr; }
  .send button { width: 100%; }
  .hero-grid { gap: 8px; padding-top: 40px; padding-bottom: 24px; }
  main .wrap { gap: 40px; padding-top: 40px; }
  .space { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .card { padding: 24px 18px; }
  .logos { gap: 24px; }
  .logos img { height: 28px; }
}
