/* 101studio design tokens + shared components. Black / white / one red. */
@font-face { font-family: "Gilroy"; src: url("/assets/fonts/gilroy-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("/assets/fonts/gilroy-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("/assets/fonts/gilroy-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("/assets/fonts/gilroy-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --red: #e70024;
  --red-ink: #c4001e;          /* red text on white: 5.9:1 */
  --mute: #5f5f5f;             /* secondary text: 6.4:1 on white */
  --line: #0a0a0a;
  --line-soft: #e3e3e3;
  --wash: #f4f4f4;

  --font: "Gilroy", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-hero: clamp(32px, 4.4vw, 48px);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --tap: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
/* Text fields get a crisp inset border instead of the offset red ring. */
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mute { color: var(--mute); }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.logo { width: 132px; height: auto; aspect-ratio: 801.45 / 125; color: var(--ink); }

/* Buttons: sharp, 44px tall, icon + label. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--tap); padding: 0 var(--s4);
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--red); border-color: var(--red); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { border-color: transparent; }
.btn-ghost:hover { background: var(--wash); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 0 var(--s3); font-size: var(--fs-xs); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
