/* FOR_S — shared foundation for formspatial.id, project.formspatial.id and manager.formspatial.id
   Tokens come from the logo: black planes, white space, logo blue, and the green→blue gradient
   ("The Signature Device": the underscore between form and space). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/static/inter-latin.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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/static/inter-latin-ext.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;
}

:root {
  --black: #000;
  --white: #fff;
  --paper: #F3F4F2;
  --paper-2: #E9EBE8;
  --ink: #000;
  --ink-2: #474C49;      /* body secondary · 8.9:1 on white */
  --ink-3: #5E6360;      /* captions · 6.2:1 on white, 5.6:1 on paper */
  --line: #D8DBD7;
  --line-2: #B9BDBA;
  --green: #22B573;      /* logo gradient start (form) */
  --green-ink: #12784A;  /* green for text on white · 5.6:1 */
  --blue: #2350AA;       /* logo blue · 7.2:1 on white */
  --indigo: #2E3192;     /* gradient end (space) */
  --amber: #8A5A00;
  --amber-bg: #FBF1DC;
  --red: #B42318;
  --red-bg: #FDECEA;
  --green-bg: #E5F5EC;
  --blue-bg: #E8EEF9;
  --space: linear-gradient(90deg, #22B573 0%, #2350AA 70%, #2E3192 100%);
  --space-v: linear-gradient(180deg, #22B573 0%, #2350AA 70%, #2E3192 100%);
  --block: linear-gradient(120deg, #0F6A42 0%, #1B5E86 45%, #2350AA 75%, #2E3192 100%); /* accent colour blocks, white text ≥ 5.6:1 */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 2px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss01";
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: #CFE0F7; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black); color: var(--white); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* the signature underscore */
.us { display: inline-block; width: .62em; height: .13em; background: var(--space); margin-left: .05em; vertical-align: baseline; transform: skewY(-8deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; font-size: 16px; font-weight: 600; line-height: 1.2; border-radius: var(--radius); border: 1.5px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); text-align: center; white-space: nowrap; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2A2A2A; }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--paper); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(127,127,127,.12); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #1B4290; }
.btn-green { background: #137A4B; color: var(--white); }
.btn-green:hover { background: #0F6A41; }
.btn-red { background: var(--red); color: var(--white); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { color: var(--blue); font-weight: 600; border-bottom: 1.5px solid currentColor; }
.link:hover { color: var(--indigo); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
