/* Automat brand stylesheet — public pages (home, register, blog, guest pages).
   2026-10-23 redesign. Colours sampled from the logo files in public/brand. */
:root {
  --navy: #04202F;
  --navy-2: #0B3346;
  --aqua: #05B4D0;
  --aqua-ink: #037C91;   /* aqua for text/links on light grounds (passes 4.5:1) */
  --aqua-wash: #E3F5F8;
  --paper: #F3F6F7;
  --white: #FFFFFF;
  --line: #D3DDE1;
  --muted: #475A65;
  --muted-on-navy: #A9BDC7;
  --go: #1C7A4A;
  --go-wash: #E7F4EC;
  --warn: #8A5A00;
  --warn-wash: #FFF6E0;
  --error: #B42318;
  --error-wash: #FDECEA;
  --radius: 6px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--navy); background: var(--paper); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua-ink); text-underline-offset: 4px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wide { font-stretch: 118%; }
.display { font-weight: 850; font-stretch: 120%; letter-spacing: -0.025em; line-height: 0.95; margin: 0; }
.h2 { font-weight: 850; font-stretch: 116%; letter-spacing: -0.02em; line-height: 1; margin: 0; font-size: clamp(34px, 4.4vw, 58px); }
.lede { font-size: 19px; color: var(--muted); max-width: 32em; margin: 22px 0 0; }
.label { font-size: 14px; font-weight: 700; letter-spacing: 0.01em; margin: 0 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 24px; border-radius: var(--radius); font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-aqua { background: var(--aqua); color: var(--navy); }
.btn-aqua:hover { background: #2BC3DB; color: var(--navy); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; }

/* Site header / footer */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.site-head .logo img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; font-weight: 600; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--aqua-ink); }
.site-nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
@media (max-width: 760px) { .site-nav .hide-sm { display: none; } .site-head .logo img { height: 28px; } }

.site-foot { background: var(--navy); color: var(--muted-on-navy); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: 40px; padding-bottom: 40px; }
.site-foot img { height: 30px; width: auto; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { color: var(--white); }

/* Forms */
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.field .hint { font-weight: 400; color: var(--muted); }
.input, .field input, .field textarea, .field select { font: inherit; font-weight: 400; font-size: 16px; color: var(--navy); background: var(--white); border: 1.5px solid #8FA3AD; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--aqua-ink); box-shadow: 0 0 0 3px rgba(5,180,208,.25); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: inherit; font-size: 15px; font-weight: 600; color: var(--navy); background: var(--white); border: 1.5px solid #8FA3AD; border-radius: var(--radius); padding: 10px 14px; min-height: 44px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.alert { border-radius: var(--radius); padding: 12px 14px; font-size: 15px; }
.alert-error { background: var(--error-wash); color: var(--error); border: 1px solid #F3B8B2; }
.hidden { display: none !important; }
