:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --text: #f2f0eb;
  --text-muted: #9a968c;
  --steel: #a8b0b8;
  --line: rgba(242, 240, 235, 0.12);
  --btn-bg: #f2f0eb;
  --btn-text: #0a0a0a;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Sora", sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--space);
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.55) 70%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: auto;
  height: 1.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(242, 240, 235, 0.35);
  background: rgba(242, 240, 235, 0.04);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 6.5rem var(--space) 4rem;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 18%, rgba(168, 176, 184, 0.14), transparent 60%),
    radial-gradient(ellipse 90% 70% at 80% 100%, rgba(80, 70, 55, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(40, 48, 56, 0.35), transparent 50%),
    linear-gradient(180deg, #050505 0%, #080808 45%, #050505 100%);
}

.hero-inner {
  width: min(100%, 42rem);
  text-align: center;
}

.hero-logo {
  width: clamp(11rem, 42vw, 18rem);
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero-brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-headline {
  margin: 0 0 0.85rem;
  color: var(--steel);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.hero-sub {
  margin: 0 auto 2rem;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Sections */

.section {
  padding: clamp(4.5rem, 10vw, 7rem) var(--space);
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(100%, 40rem);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--text);
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.feature-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 1rem 0 1rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--steel);
}

.contact .btn {
  margin-top: 0.75rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem var(--space) 2.25rem;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.brand-footer {
  font-size: 0.85rem;
}

.brand-footer img {
  width: auto;
  height: 1.35rem;
}

.site-footer a:not(.brand) {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}

.site-footer a:not(.brand):hover {
  color: var(--text);
}

.copyright {
  margin: 0;
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.14s; }
.hero .reveal:nth-child(3) { transition-delay: 0.22s; }
.hero .reveal:nth-child(4) { transition-delay: 0.3s; }
.hero .reveal:nth-child(5) { transition-delay: 0.38s; }

.feature-list .reveal:nth-child(1) { transition-delay: 0.05s; }
.feature-list .reveal:nth-child(2) { transition-delay: 0.12s; }
.feature-list .reveal:nth-child(3) { transition-delay: 0.19s; }
.feature-list .reveal:nth-child(4) { transition-delay: 0.26s; }

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Under construction */

.page-construction {
  min-height: 100vh;
  min-height: 100dvh;
}

.construction {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 4rem var(--space);
  overflow: hidden;
}

.construction .hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.construction-inner {
  width: min(100%, 36rem);
  text-align: center;
}

@media (max-width: 640px) {
  .site-nav a:not(.btn) {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .copyright {
    margin-left: 0;
    width: 100%;
  }
}
