
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
main { display: block; }
h1 { font-size: 2em; margin: 0.67em 0; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
a { background-color: transparent; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
img { border-style: none; }
button, input, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button { text-transform: none; }
button, [type="button"], [type="submit"] { -webkit-appearance: button; }
textarea { overflow: auto; }
[type="checkbox"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }


* { animation-name: none !important; transition-property: none !important; }


@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/public/fonts/inter-latext.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: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/public/fonts/inter-lat.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: 'Work Sans'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/public/fonts/worksans-latext.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: 'Work Sans'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/public/fonts/worksans-lat.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 {
  
  --color-bg: #17120d;
  --color-surface: #201912;
  --color-surface-raised: #2a2119;
  --color-footer: #141414;
  --color-line: rgba(251, 243, 230, 0.14);
  --color-text: #fbf3e6;
  --color-text-soft: #d9cbb6;
  --color-accent: #f5a03a;
  --color-accent-light: #ffc46b;
  --color-accent-deep: #f0892a;
  --color-accent-ink: #1c1206;
  --color-sky: #8fd8ec;
  --color-sky-ink: #0e2a35;
  --color-error: #ffb3a6;

  
  --space-xs: clamp(0.35rem, 0.6vw, 0.5rem);
  --space-sm: clamp(0.6rem, 1.1vw, 0.9rem);
  --space-md: clamp(1rem, 1.8vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2.25rem, 5vw, 4rem);
  --space-2xl: clamp(3rem, 7vw, 6rem);

  
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Work Sans', 'Inter', system-ui, sans-serif;
  --font-size-sm: clamp(0.875rem, 0.9vw, 0.95rem);
  --font-size-md: clamp(1rem, 1.1vw, 1.0625rem);
  --font-size-lg: clamp(1.15rem, 1.5vw, 1.35rem);
  --font-size-h3: clamp(1.15rem, 1.6vw, 1.4rem);
  --font-size-h2: clamp(1.55rem, 2.6vw, 2.1rem);
  --font-size-h1: clamp(1.85rem, 3.9vw, 3rem);

  
  --border-radius: 0.75rem;
  --border-radius-lg: 1.1rem;
  --border-width: 1px;
  --shadow-sm: 0 0.25rem 0.9rem rgba(0, 0, 0, 0.35);
  --shadow-md: 0 1.2rem 3.5rem rgba(0, 0, 0, 0.45);

  
  --frame-width: min(90vw, 76rem);
  --header-top: 2rem;
  --header-bar: 4.25rem;
  --header-h: calc(var(--header-top) + var(--header-bar));
}

html { scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-size-md);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
h1 { font-size: var(--font-size-h1); line-height: 1.12; }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
p { margin: 0 0 var(--space-sm); line-height: 1.7; }

a { color: var(--color-accent-light); text-underline-offset: 0.18em; }
a:hover { color: #ffffff; }
:focus-visible { outline: 2px solid var(--color-sky); outline-offset: 3px; }

img, svg { max-width: 100%; }
img { height: auto; }
