/* Fonts — Space Grotesk (variable, self-hosted) */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-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 Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-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;
}

/* Tokens (from Figma) */
:root {
  --c-inverse: #232323;     /* background/inverse, text/primary */
  --c-neutral-700: #3f4447;
  --c-primary-400: #5c5c5c;
  --c-border: #d5d8da;
  --c-secondary-50: #f1f5f8;
  --c-white: #ffffff;

  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  position: relative;
  min-height: 100dvh;
  color: var(--c-white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  background: var(--c-inverse) url("img/hero.jpg") center / cover no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 35, 35, .55) 0%, rgba(35, 35, 35, .2) 70%),
    rgba(0, 0, 0, .25);
  pointer-events: none;
  z-index: 0;
}

/* Layout */
.site {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 80px;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(213, 216, 218, .35);
}

.header__logo {
  display: block;
  width: 156px;
  height: 34px;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 96px 100px;
}

.frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  width: 100%;
  min-width: 0;
  max-width: 880px;
}

/* Typography */
.eyebrow {
  margin: 0;
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

.headline {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.875rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.headline em { font-style: normal; }

.rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: var(--space-sm) 0;
  background: rgba(255, 255, 255, .7);
}

.tagline {
  margin: 0;
  max-width: 560px;
  font-size: clamp(1rem, .9rem + .4vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.7;
}

.tagline p { margin: 0; }
.tagline p + p { margin-top: 1em; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-md);
  border: 1px solid var(--c-white);
  font-family: var(--body);
  font-size: .875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.btn--primary { background: var(--c-white); color: var(--c-inverse); }
.btn--primary:hover { background: var(--c-secondary-50); }

.btn--ghost { background: transparent; color: var(--c-white); }
.btn--ghost:hover { background: var(--c-white); color: var(--c-inverse); }

.btn:focus-visible { outline: 2px solid var(--c-white); outline-offset: 3px; }

.footer {
  padding: var(--space-md);
  background: rgba(35, 35, 35, .85);
  border-top: 1px solid var(--c-neutral-700);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .75);
}

.footer p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .main { padding: 64px var(--space-md); }
}

@media (max-width: 680px) {
  .header__logo { width: 128px; height: auto; }
  .header__cta { display: none; }
  .main { padding: 48px 16px; }
  .actions { flex-direction: column; width: 100%; }
  .actions .btn { width: 100%; text-transform: none; }
  .actions .btn--primary { text-transform: uppercase; }
  .footer { padding: var(--space-sm) 16px; }
}

@media (max-width: 1200px) {
  body { background-image: url("img/hero-1200.jpg"); }
}

/* iOS / Safari: background-attachment: fixed is unsupported */
@supports (-webkit-touch-callout: none) {
  body { background-attachment: scroll; }
}
