/* =========================================================================
   FREIZO — static site
   Palette: Slate blue & white  (ink #3c4e61 on white paper)
   Converted from the "freizo Site" design mockup (slate palette).
   ========================================================================= */

:root {
  /* ---- Slate palette --------------------------------------------------- */
  --ink:       #3c4e61;
  --paper:     #ffffff;
  --paperFade: rgba(255, 255, 255, .92);
  --line:      rgba(60, 78, 97, .16);
  --tint:      rgba(60, 78, 97, .05);
  --ink30:     rgba(60, 78, 97, .30);
  --ink55:     rgba(60, 78, 97, .55);

  /* ---- Type ------------------------------------------------------------ */
  --f-sans:    "IBM Plex Sans", system-ui, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, monospace;
  --f-display: "Space Grotesk", sans-serif;

  /* ---- Shape ----------------------------------------------------------- */
  --maxw:   1180px;
  --gutter: 40px;
}

/* =========================================================================
   BASE
   ========================================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .72; }
i { font-style: italic; }
img { max-width: 100%; }

/* Shared page inset */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* freizo wordmark — skewed Space Grotesk */
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { flex: none; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -.01em;
  transform: skewX(-9deg);
  display: inline-block;
}
/* italic "freizo" inside headings */
.brand-i { font-family: var(--f-sans); font-style: italic; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paperFade);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.mainnav { display: flex; align-items: center; gap: 28px; font-size: 16.2px; }
.nav-ext { display: inline-flex; align-items: center; gap: 7px; }
.nav-ext__mark { flex: none; }

/* =========================================================================
   HERO (intro)
   ========================================================================= */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 88px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 72px;
  align-items: start;
}
.hero__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 26px;
}
.hero__title {
  margin: 0;
  font-weight: 300;
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero__title .brand-i { font-weight: 400; font-size: .86em; }
.hero__lede {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 19.8px;   /* +20% */
  line-height: 1.6;
  opacity: .85;
  padding-top: 6px;
}
.hero__lede p { margin: 0; }

/* =========================================================================
   SECTION SCAFFOLD  (numbered eyebrow column + content column)
   ========================================================================= */
.section { padding: 92px 0; }
.section[id] { scroll-margin-top: 74px; }
.section--line { border-bottom: 1px solid var(--line); }
.section__grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.section__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .5;
  padding-top: 6px;
}
.section__num i { font-style: normal; }
.section__title {
  margin: 0 0 26px;
  font-weight: 300;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.section__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  max-width: 820px;
}
.section__text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Stat cards (kept from the mockup overview) */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  background: var(--line);
}
.stat { background: var(--paper); padding: 28px 26px 30px; }
.stat__big { font-weight: 300; font-size: 40px; line-height: 1; margin-bottom: 14px; }
.stat__label { font-size: 13.5px; font-weight: 500; margin-bottom: 9px; }
.stat__body { margin: 0; font-size: 14px; line-height: 1.6; opacity: .7; }
.bars { display: flex; gap: 5px; align-items: flex-end; height: 40px; margin-bottom: 14px; }
.bars span { width: 7px; }
.ring { height: 40px; display: flex; align-items: center; margin-bottom: 14px; }
.ring__o {
  width: 38px; height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ring__i { width: 12px; height: 12px; background: var(--ink); border-radius: 50%; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--tint);
  border-top: 1px solid var(--line);
  padding: 56px 0 52px;
}
.site-footer__inner { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; line-height: 1.5; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.site-footer__brand .brand__name { font-size: 17px; }
.site-footer__meta { opacity: .7; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .hero__grid,
  .section__grid { grid-template-columns: 1fr; gap: 30px; }
  .stats { grid-template-columns: 1fr; }
  .hero { padding: 76px 0 68px; }
  .hero__title { font-size: 42px; }
  .section { padding: 60px 0; }
  .mainnav { display: none; }
}
