/* FURSOY — brand hub styles.
   Follows the canonical FURSOY Web Design Standard.
   Light-first surface strategy (guideline §3): paper base, ink-family dark footer.
   Derived tones stay inside the ink/teal family. */

/* ===== Self-hosted FURSOY typefaces (no external requests) ===== */
/* Manrope: variable 200–800, latin + latin-ext subsets */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Mono: 400 + 700, latin + latin-ext subsets (labels/kickers only) */
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-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: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-bold-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: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-bold-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== Tokens — canonical FURSOY values ===== */
:root {
  color-scheme: light;
  --ink: #0b3334;          /* canonical --ink */
  --ink-hover: #155051;    /* canonical hover ink */
  --teal: #13abb8;         /* canonical --teal */
  --bright: #27d2d8;       /* canonical --bright */
  --paper: #f6f8f5;        /* canonical --paper */
  --line: #d9e4df;         /* canonical --line */
  --link-teal: #078f9a;    /* legal/action link teal on light */
  --kicker-teal: #0794a0;  /* kicker teal on light */
  --text-muted: #506866;   /* derived muted lead (ink family) */
  --text-soft: #647876;    /* derived muted support (ink family) */
  --card-bg: #fcfefd;      /* derived paper-white card surface */
  --footer-bg: #082526;    /* canonical footer dark */
  --footer-line: #294647;  /* canonical dark-surface border */
  --footer-muted: #8fa5a3; /* derived footer text (teal-gray family) */
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--teal);
  color: var(--paper);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

/* FURSOY alignment: ~1180px container system */
.site-header,
.hero,
.section-block,
.footer-inner {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

/* FURSOY alignment: bordered navbar character (86px scale) */
.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 51, 52, 0.1);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.brand-tagline {
  padding-left: 14px;
  border-left: 1px solid rgba(11, 51, 52, 0.15);
  color: var(--text-soft);
  font: 700 9px/1.4 "Space Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--teal);
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font: 700 11px/1.4 "Space Mono", monospace;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pill-cta:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.hero {
  padding: 120px 0 96px;
}

/* FURSOY alignment: kicker pattern (mono, uppercase, teal, tracked) */
.kicker {
  margin: 0 0 28px;
  color: var(--kicker-teal);
  font: 700 11px/1.4 "Space Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* FURSOY alignment: tight negative tracking, near-solid line-height */
h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

/* FURSOY guideline §1.1: em inside headings renders not italic but in accent teal */
h1 em, h2 em {
  font-style: normal;
  color: var(--teal);
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.018em;
}

.section-block {
  padding: 40px 0 80px;
}

/* FURSOY alignment: airy card grid collapsing at breakpoints */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cards-featured {
  grid-template-columns: 1fr;
}

/* FURSOY alignment: radius family A surface card, thin border, hover lift */
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-bg);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: 0 24px 80px rgba(8, 47, 49, 0.12);
}

.card-hero {
  padding: 40px;
}

.card-hero h2 {
  font-size: 28px;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f8f6;
  color: #07949d;
  font: 700 9.5px/1.4 "Space Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.beta {
  background: #e8f9f7;
  color: #05828c;
  border: 1px solid rgba(19, 171, 184, 0.4);
}

.status-pill.preview {
  background: #f1f4f3;
  color: #556c6a;
}

.status-dot {
  font-size: 8px;
  line-height: 1;
}

.card-kicker {
  color: var(--kicker-teal);
  font: 700 10px/1.4 "Space Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

.card-link {
  margin-top: auto;
  color: var(--link-teal);
  font: 700 11px/1.4 "Space Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card:hover .card-link {
  color: var(--teal);
}

/* FURSOY alignment: dark ink-family footer with mono column headers */
.site-footer {
  background: var(--footer-bg);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col.brand-col {
  max-width: 280px;
}

.footer-desc {
  margin: 0;
  color: var(--footer-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-col-header {
  color: var(--footer-muted);
  font: 700 9px/1.4 "Space Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  color: #f4f6f8;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-inner a {
  color: #b5c7c5;
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: #6bdcd7;
}

/* FURSOY alignment: bottom bar separated by 1px dark border, smallest text */
.footer-bottom {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--footer-line);
  color: #5f7775;
  font: 700 8.5px/1.4 "Space Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer a:focus-visible,
.brand:focus-visible,
.card:focus-visible,
.pill-cta:focus-visible {
  outline: 3px solid rgba(19, 171, 184, 0.55);
  outline-offset: 4px;
}

/* FURSOY alignment: two practical breakpoints, grids collapse to stacks */
@media (max-width: 900px) {
  .hero {
    padding: 88px 0 72px;
  }

  .header-nav {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section-block,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 26px, 1180px); /* FURSOY alignment: mobile gutter */
  }

  .site-header {
    min-height: 72px;
  }

  .brand-tagline {
    display: none;
  }

  .hero {
    padding: 72px 0 56px;
  }

  h1 {
    font-size: clamp(40px, 11vw, 55px);
  }

  .section-block {
    padding-bottom: 50px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

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

  .card,
  .footer-inner a,
  .pill-cta {
    transition: none;
  }

  .card:hover,
  .pill-cta:hover {
    transform: none;
  }
}
