/* FRANEX SOLUTIONS holding page. Values mirror brand/tokens.css (brand v1). */

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  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: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  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;
}

:root {
  color-scheme: light dark;
  --bg: #f5f4f0;
  --fg: #0b0b0c;
  --muted: #6b6a66;
  --line: #e4e2dc;
  --accent: #c2410c;
  --grid: rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --fg: #f5f4f0;
    --muted: #8a8a8e;
    --line: #232326;
    --accent: #ff5a1f;
    --grid: rgba(255, 255, 255, 0.045);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  color: var(--fg);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 32px;
  }
}

header {
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 1;
}

.logo b {
  font-weight: 700;
  letter-spacing: -0.035em;
}

.logo span {
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.logo-link {
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}

.logo .solid {
  stroke: var(--fg);
}

.logo .split {
  stroke: var(--accent);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
}

main .wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--muted);
}

a {
  color: var(--accent);
}

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

footer {
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}

footer .wrap {
  padding-top: 24px;
  padding-bottom: 24px;
}

footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  main .wrap > * {
    animation: rise 250ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  main .wrap > :nth-child(2) {
    animation-delay: 60ms;
  }
  main .wrap > :nth-child(3) {
    animation-delay: 120ms;
  }
  main .wrap > :nth-child(4) {
    animation-delay: 180ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
