/* Avanti Client Intake — shared tokens and base styles (client page + partner portal).
   Source of truth: clients/avanti/reports/avanti-colours-and-type.pdf (2026-09-18).
   Monigue speaks (caps only), Instrument Sans reads and works, Konfus counts.
   Flat colour only. No gradients, shadows, rounded corners, hairline rules, icons or chips:
   separation comes from surface, size and spacing. */
@font-face { font-family: "Monigue"; src: url(/assets/fonts/Monigue.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Konfus"; src: url(/assets/fonts/Konfus-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/InstrumentSans-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; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/InstrumentSans-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; }

:root {
  --paper: #F2F1EE; --tint: #E9E7E1; --tint-2: #DDDAD2; --ink: #0A0A0B; --text-2: #6B6A66; --text-2-tint: #5A5752;
  --navy: #131B4A; --navy-2: #1E2A66; --cobalt: #3B63FF; --cobalt-deep: #2B4FE0; --ice: #8FDBFF; --cyan: #56CCF2;
  --ember: #DD6528; --error: #E5484D;
  --display: "Monigue", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ui: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
  --accent: "Konfus", Georgia, "Times New Roman", serif;
  --gut: clamp(18px, 5vw, 56px);
  --maxw: 880px;
}
* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ui); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 12px; }
a { color: var(--cobalt-deep); text-decoration-color: var(--cyan); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.caps { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-weight: 400; }
.label { font-family: var(--display); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; line-height: 1.2; }
.muted { color: var(--text-2); }
.stop { color: var(--cobalt); }

/* ---- top bar ---- */
.topbar { padding-block: 18px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { text-decoration: none; color: var(--ink); line-height: 1; display: inline-flex; flex-direction: column; }
.wordmark-name { font-family: var(--display); font-size: 26px; letter-spacing: .06em; }
.wordmark-sub { font-family: var(--display); font-size: 10px; letter-spacing: .2em; color: var(--text-2); margin-top: 5px; }

/* ---- buttons ---- */
.btn { font: 600 16px/1.2 var(--ui); border: 0; border-radius: 0; cursor: pointer; padding: 14px 20px; min-height: 48px;
  background: var(--cobalt-deep); color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { background: var(--cobalt); color: var(--paper); }
.btn:active { background: var(--navy); }
.btn[disabled] { background: var(--tint-2); color: var(--text-2); cursor: default; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2A2A2D; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #FFFFFF; color: var(--ink); }
.btn-quiet { background: transparent; color: var(--cobalt-deep); padding: 8px 4px; min-height: 40px; text-decoration: underline;
  text-decoration-color: var(--cyan); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.btn-quiet:hover { background: transparent; color: var(--cobalt); }

/* ---- form fields ---- */
.field { display: block; margin-top: 14px; }
.field > span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=url], input[type=date], textarea, select {
  width: 100%; font: 400 17px/1.5 var(--ui); color: var(--ink); background: var(--paper); border: 0; border-radius: 0;
  padding: 12px 14px; outline: none; }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--cobalt); outline-offset: 0; }
::placeholder { color: var(--text-2); }

/* ---- skeleton loaders: grey placeholder shapes with a shimmer sweep ----
   Square corners (the site has none to begin with), flat tint fill, a slow light sweep.
   Pages add their own sizing/layout classes alongside these; this block only owns the
   shimmer mechanics and the four shape primitives. */
.sk { position: relative; overflow: hidden; background: var(--tint); }
.sk::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--tint) 0%, var(--tint-2) 50%, var(--tint) 100%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
}
@keyframes sk-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk-line { height: 14px; margin-bottom: 8px; }
.sk-title { height: 40px; margin-bottom: 14px; }
.sk-row { height: 52px; margin-bottom: 8px; }
.sk-bar { height: 6px; }
@media (prefers-reduced-motion: reduce) {
  .sk::after { animation: none; background: var(--tint); }
}
