/* signup.permitting.tech: the design's drafting sheet (Industry tokens, accent ramp). */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/barlow-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+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: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-ext-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-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+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: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-ext-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-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; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-ext-600-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #1d2d3d;       /* accent-900 */
  --grid: #2c455d;     /* accent-800 */
  --line: #416180;     /* accent-700 */
  --line-2: #597ea3;   /* accent-600 */
  --accent: #94bce3;   /* accent-400 */
  --accent-2: #b5d9fd; /* accent-300 */
  --ink: #f2f2f3;
  --ink-2: #e7e7ea;    /* neutral-200 */
  --muted: #b7b7ba;    /* neutral-400 */
  --faint: #98989b;    /* neutral-500 */
  --head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: #d6ebff; }

.sheet {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; gap: 32px; padding: 32px 40px;
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font: 600 18px/1.2 var(--head); }
.label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--accent); }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: var(--faint); }
.foot a { color: var(--faint); }

/* The blueprint frame, with registration marks at its corners. */
.frame { position: relative; width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--bg); border: 1px solid var(--line); }
.corner { position: absolute; width: 11px; height: 11px; color: var(--accent); }
.corner::before, .corner::after { content: ""; position: absolute; background: currentColor; }
.corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.corner::after { top: 5px; left: 0; width: 100%; height: 1px; }
.tl { top: -6px; left: -6px; } .tr { top: -6px; right: -6px; } .bl { bottom: -6px; left: -6px; } .br { bottom: -6px; right: -6px; }

h1 { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
h1:focus { outline: none; }
.h-xl { font-size: clamp(48px, 12vw, 76px); line-height: .92; }
.h-lg { font-size: clamp(44px, 10vw, 64px); line-height: .95; }
.h-md { font-size: clamp(40px, 9vw, 52px); line-height: .95; }
.lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.em { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.kicker { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.kicker-ok { color: var(--accent-2); }

/* Fields and buttons */
.signup { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 8px; }
.field { width: 100%; min-width: 0; min-height: 46px; padding: 0 14px; font: 15px var(--body); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 0; outline: none; }
.row .field { flex: 1; min-height: 48px; }
.field:focus { border-color: var(--accent); }
.field::placeholder { color: var(--faint); opacity: 1; }
textarea.field { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; font: 600 17px/1.1 var(--head); white-space: nowrap; flex-shrink: 0; color: var(--bg); background: var(--accent); border: 1px solid var(--accent); border-radius: 0; cursor: pointer; text-decoration: none; }
.row .btn { min-height: 48px; padding: 0 26px; }
.btn:hover { color: var(--bg); background: var(--accent-2); border-color: var(--accent-2); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-line { min-height: 44px; padding: 0 20px; font-size: 16px; color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn-line:hover { color: var(--ink); background: var(--grid); border-color: var(--line-2); }
.link, .linkbtn { font: inherit; font-size: 13px; color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.linkbtn:disabled { color: var(--faint); cursor: default; text-decoration: none; }
.actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.links { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 4px; }
.error { font-size: 13px; color: var(--accent-2); }

.for { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.ts { width: 100%; max-width: 640px; display: flex; justify-content: center; }
.ts:empty { display: none; }

/* A bit about you */
.intake { gap: 28px; }
.intro { display: flex; flex-direction: column; gap: 10px; }
.intro .lede { font-size: 15px; }
.q { display: flex; flex-direction: column; gap: 10px; }
.q-label { display: flex; gap: 10px; align-items: baseline; font: 600 19px/1.2 var(--head); color: var(--ink); }
.q-n { flex: none; font: 400 11px var(--body); color: var(--accent); }
.hint { margin-top: -4px; font-size: 12px; color: var(--faint); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 12px; font-size: 13px; line-height: 1.3; color: var(--ink-2); border: 1px solid var(--line); }
.chip:hover span { border-color: var(--accent); }
.chip input:checked + span { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.follow { display: none; flex-direction: column; gap: 6px; }
.follow-on .follow { display: flex; }
.follow-label { font-size: 12px; color: var(--muted); }

@media (max-width: 600px) {
  .sheet { padding: 20px 16px; gap: 24px; }
  .frame { padding: 24px 18px; }
  .row .btn { padding: 0 18px; }
}
