/* hookfaces landing: design tokens, base document styles and shared pieces. */

@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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: "Onest";
  src: url("/fonts/onest-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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;
}

:root {
  color-scheme: dark;
  --color-bg: #0e0c12;
  --color-surface: #17141d;
  --color-surface-raised: #1f1b27;
  --color-border: rgb(255 255 255 / 0.08);
  --color-border-strong: rgb(255 255 255 / 0.16);
  --color-text: #f6f3f8;
  --color-muted: #a9a2b4;
  --color-dim: #756d81;
  --color-accent: #ff5f3a;
  --color-accent-strong: #ff7a5a;
  --color-accent-soft: rgb(255 95 58 / 0.14);
  --color-on-accent: #140f14;
  --color-money: #ffc24b;
  --font-sans: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius-small: 10px;
  --radius: 16px;
  --radius-large: 24px;
  --radius-pill: 999px;
  --space-section: clamp(96px, 14vw, 144px);
  --width-content: 1160px;
  --shadow-raised: 0 18px 40px rgb(0 0 0 / 0.35);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

code,
pre {
  font-family: var(--font-mono);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.logo-mark {
  flex: none;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  background: linear-gradient(180deg, var(--color-accent-strong), var(--color-accent));
  color: var(--color-on-accent);
  box-shadow: 0 8px 24px rgb(255 95 58 / 0.25), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.button--primary:hover {
  background: var(--color-accent-strong);
}

.button--dark {
  background: var(--color-surface-raised);
  border-color: var(--color-border);
  color: var(--color-text);
}

.button--dark:hover {
  border-color: var(--color-border-strong);
}

.button--light {
  background: var(--color-text);
  color: var(--color-on-accent);
}

.button--outline {
  background: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.button--outline:hover {
  background: var(--color-surface-raised);
}

.button--small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.button--large {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.button--block {
  width: 100%;
}

/* Avatars */

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-surface);
  background: var(--color-surface-raised);
}

/* Two-tone titles: the lead in full colour, the tail dimmed. */

.title-lead,
.title-tail {
  display: block;
}

.title-tail {
  color: var(--color-dim);
}

.fine-print {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--color-dim);
  font-size: 13px;
  text-align: center;
}

.fine-print--left {
  margin-left: 0;
  text-align: left;
}

.fine-print a {
  color: var(--color-muted);
}

/* Footer */

.site-footer {
  max-width: var(--width-content);
  margin: 96px auto 0;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--color-border);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__brand {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer__links a,
.site-footer__credits {
  color: var(--color-dim);
  font-size: 14px;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--color-text);
}

.site-footer__credits {
  margin-top: 16px;
  font-size: 12px;
}

.site-footer__credits span {
  display: block;
  margin-top: 4px;
}
