:root {
  --bg: #070708;
  --bg-elevated: #101012;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Syne", "Inter", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.07;
  mix-blend-mode: overlay;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  pointer-events: none;
  position: fixed;
  width: 520px;
  height: 520px;
  right: -80px;
  top: 80px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}

.nav,
.hero,
.about,
.stack,
.apps,
.contact,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--accent) !important;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 90px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
}

.lede {
  margin: 22px 0 32px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--accent);
  color: #06201b;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #99f6e4;
}

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

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.hero-photo {
  margin: 0;
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: auto -18% -10% -18%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(94, 234, 212, 0.16), transparent 70%);
  z-index: -1;
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}

.about,
.stack,
.apps,
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 96px;
}

.about {
  border-top: 1px solid var(--line);
  padding-top: 72px;
}

.about p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
}

.about p:first-of-type {
  margin-top: 0;
}

.stack-head span,
.section-head span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stack-head h2,
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  max-width: 18ch;
}

.stack-head,
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.chips li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: #d1d5db;
  font-size: 14px;
  font-weight: 500;
}

.app-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.app-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.app-card h3 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 18px 0 0;
}

.app-kicker {
  margin: 4px 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-card p {
  margin: 0 0 24px;
  color: var(--muted);
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-icon,
.app-logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--accent);
  background: var(--accent-dim);
}

.app-logo {
  object-fit: cover;
}

.app-logo-saltos {
  background: #fca895;
  box-shadow: 0 8px 24px rgba(252, 168, 149, 0.22);
}

.app-logo-zaping {
  background: #00bfa5;
  box-shadow: 0 8px 24px rgba(0, 191, 165, 0.28);
}

.app-icon svg {
  width: 26px;
  height: 26px;
}

.app-tag {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}

.app-link {
  width: fit-content;
}

.contact {
  border-top: 1px solid var(--line);
  padding-top: 72px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(94, 234, 212, 0.4);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-dim);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card strong {
  display: block;
  font-size: 15px;
}

.contact-card span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a:hover {
  color: var(--accent);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-photo {
    order: -1;
    justify-self: center;
    width: min(100%, 360px);
  }

  .lede {
    max-width: none;
  }

  .app-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
