@font-face {
  font-family: "PP Mori Regular";
  src: url("assets/fonts/pp-mori-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "PP Mori Medium";
  src: url("assets/fonts/pp-mori-medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "PP Mori Bold";
  src: url("assets/fonts/pp-mori-bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "PP Telegraf Regular";
  src: url("assets/fonts/pp-telegraf-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

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

:root {
  --bg: #000000;
  --text: #ffffff;
  --text-muted: rgb(140, 140, 140);
  --border: #1e1d1d;
  --button-bg: #ffffff;
  --button-text: rgb(19, 19, 19);
  --grid-max: 1517px;
  --font-body: "PP Mori Regular", sans-serif;
  --font-heading: "PP Mori Bold", sans-serif;
  --font-button: "PP Mori Bold", sans-serif;
  --font-bold: "PP Mori Bold", sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.site {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.site-grid {
  width: 100%;
  max-width: var(--grid-max);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg);
}

/* ── Header ── */

.grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.logo-link {
  display: inline-flex;
  flex-shrink: 0;
}

.logo {
  display: block;
  height: 25px;
  width: auto;
}

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

.nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.7;
}

.header-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 10px 24px;
  font-family: var(--font-button);
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  color: var(--button-text);
  background: var(--button-bg);
  border-radius: 250px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.header-btn:hover {
  opacity: 0.88;
}

/* ── Hero ── */

.grid-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  border-right: 1px solid var(--border);
}

.headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 520px;
}

.subtext {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 40px;
}

.cta-button {
  appearance: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  padding: 14px 32px;
  font-family: var(--font-button);
  font-size: 15px;
  font-weight: 700;
  line-height: 16px;
  color: var(--button-text);
  background: var(--button-bg);
  border-radius: 250px;
  transition: opacity 0.2s ease;
}

.cta-button:hover {
  opacity: 0.88;
}

.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.mockup-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 32px 8px;
}

.dashboard-mockup {
  width: 130%;
  max-width: none;
  height: auto;
  display: block;
  transform: perspective(1600px) rotateY(-14deg) rotateX(8deg);
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
}

/* ── Stats ── */

.grid-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 40px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-bold);
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--text-muted);
}

/* ── Responsive ── */

@media (max-width: 1088px) {
  .grid-header {
    padding: 0 24px;
    height: 64px;
  }

  .header-left {
    gap: 24px;
  }

  .nav {
    gap: 20px;
  }

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

  .hero-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 48px 40px;
  }

  .hero-right {
    min-height: 360px;
  }

  .mockup-wrap {
    padding: 32px;
  }

  .dashboard-mockup {
    width: 110%;
    transform: perspective(1200px) rotateY(-8deg) rotateX(5deg);
  }

  .grid-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2),
  .stat:nth-child(4) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .grid-header {
    padding: 0 16px;
    height: 56px;
  }

  .nav {
    display: none;
  }

  .header-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .hero-left {
    padding: 36px 24px;
  }

  .headline {
    margin-bottom: 20px;
  }

  .subtext {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .hero-right {
    min-height: 260px;
  }

  .dashboard-mockup {
    width: 100%;
    transform: none;
  }

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

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px;
  }

  .stat:last-child {
    border-bottom: none;
  }
}
