/* Spantor brand tokens and base styles, shared by the gate and the site.
   Source of truth: Brand/brand-decisions.md in the Spantor workspace. */

/* Fonts, served from this site (files in public/fonts/). Each typeface has two files:
   "latin" for English, and "latin-ext" for Czech and other accented letters. The browser
   fetches a file only when the page uses a character listed in its unicode-range. */
@font-face{
  font-family:"Inter";font-style:normal;font-weight:400 600;font-display:swap;
  src:url("/fonts/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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Inter";font-style:normal;font-weight:400 600;font-display:swap;
  src:url("/fonts/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:"JetBrains Mono";font-style:normal;font-weight:700;font-display:swap;
  src:url("/fonts/jetbrains-mono-700-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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"JetBrains Mono";font-style:normal;font-weight:700;font-display:swap;
  src:url("/fonts/jetbrains-mono-700-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{
  --main:#4F7A5C;       /* buttons, footer band, large color areas */
  --on-main:#FFFFFF;    /* text on main */
  --main-text:#3D6649;  /* colored text and links on the light background */
  --accent:#E3A72F;     /* used sparingly: tags, dots */
  --on-accent:#2B1E00;  /* text on accent */
  --ink:#1D2620;        /* body text and headings */
  --muted:#5E6A60;      /* secondary text */
  --bg:#F9FAF6;         /* page background */
  --tint:#E8EEE3;       /* soft panels, icon circles, active menu item */
  --line:#D9DFD3;       /* hairlines and borders */
  --mark:#D3E5D1;       /* marker highlight behind key words in a headline */
  --display:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;
  --body:"Inter","Helvetica Neue",Arial,sans-serif;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;
  background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.55;
  overflow-wrap:break-word;
}
img,svg{max-width:100%}
p{margin:0}
button{font-family:inherit}
:focus-visible{outline:2px solid var(--main-text);outline-offset:2px}

/* Marker highlight behind key words in a headline */
.mark{color:var(--main-text);background:linear-gradient(transparent 70%,var(--mark) 70%);-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Pill-shaped buttons */
.pill{display:inline-block;font-family:var(--body);font-size:1rem;font-weight:600;line-height:1.3;text-decoration:none;padding:11px 20px;border-radius:999px;border:1.5px solid var(--main);background:var(--main);color:var(--on-main);cursor:pointer}
.pill.quiet{background:transparent;color:var(--ink);border-color:var(--line)}
.pill.quiet:hover{border-color:var(--ink)}
