:root {
  color-scheme: dark;
  --bg: #07110f;
  --bg-2: #0d1a16;
  --panel: rgba(248, 244, 233, 0.075);
  --panel-strong: rgba(248, 244, 233, 0.13);
  --line: rgba(248, 244, 233, 0.17);
  --text: #f8f4e9;
  --muted: rgba(248, 244, 233, 0.68);
  --soft: rgba(248, 244, 233, 0.48);
  --mint: #22d3a6;
  --sky: #6ee7ff;
  --brass: #ffd166;
  --ember: #ff7a3d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 30px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 209, 102, 0.34), transparent 30rem),
    radial-gradient(circle at 94% 8%, rgba(34, 211, 166, 0.26), transparent 28rem),
    radial-gradient(circle at 50% 106%, rgba(110, 231, 255, 0.15), transparent 34rem),
    linear-gradient(135deg, #07110f 0%, #0c1713 45%, #10110c 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(248, 244, 233, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 244, 233, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.055) 45%, transparent 52% 100%);
  animation: light-sweep 12s linear infinite;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 15, 0.52);
  padding: 6px;
  backdrop-filter: blur(18px);
}

.nav a {
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(248, 244, 233, 0.11);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 680px;
  padding: clamp(42px, 7vw, 96px) 0 clamp(40px, 6vw, 76px);
}

.hero-copy,
.showcase-card,
.info-band article,
.app-tile,
.contact-card {
  animation: rise-in 700ms both cubic-bezier(0.2, 0.9, 0.2, 1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(52px, 7.8vw, 108px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-wrap: balance;
}

.lead {
  max-width: 710px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brass), var(--mint));
  color: #07110f;
  box-shadow: 0 18px 46px rgba(34, 211, 166, 0.22);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(248, 244, 233, 0.06);
  color: var(--text);
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(248, 244, 233, 0.16), rgba(248, 244, 233, 0.055)),
    linear-gradient(180deg, rgba(7, 17, 15, 0.72), rgba(7, 17, 15, 0.38));
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 38px);
  isolation: isolate;
}

.showcase-card::before {
  position: absolute;
  inset: -36% -28% auto auto;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.42), transparent 67%);
  content: "";
}

.showcase-number {
  display: inline-flex;
  align-items: flex-end;
  gap: clamp(10px, 1.5vw, 18px);
  margin: 10px 0 6px;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  letter-spacing: -0.08em;
  line-height: 0.75;
  white-space: nowrap;
}

.showcase-count {
  font-size: clamp(120px, 17vw, 218px);
}

.showcase-label {
  margin-bottom: clamp(10px, 2.8vw, 28px);
  font-size: clamp(40px, 5.8vw, 76px);
  letter-spacing: -0.06em;
}

.icon-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.icon-cloud img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(248, 244, 233, 0.14);
  border-radius: 28%;
  background: rgba(248, 244, 233, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  animation: bob 5.4s ease-in-out infinite;
}

.icon-cloud img:nth-child(2n) {
  animation-delay: -1.6s;
}

.icon-cloud img:nth-child(3n) {
  animation-delay: -3s;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(60px, 8vw, 110px);
}

.info-band article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 244, 233, 0.06);
  padding: 24px;
  backdrop-filter: blur(18px);
}

.info-band span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.info-band h2 {
  margin-bottom: 12px;
  font-size: clamp(21px, 2.2vw, 28px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.info-band p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.apps-section {
  padding: 0 0 clamp(58px, 8vw, 108px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.52fr);
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 6vw, 74px);
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.app-grid {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 20px);
}

.app-tile {
  --a: #ffd166;
  --b: #22d3a6;
  position: relative;
  min-height: 176px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 25% 12%, rgba(248, 244, 233, 0.12), transparent 42%),
    linear-gradient(150deg, rgba(248, 244, 233, 0.105), rgba(248, 244, 233, 0.045));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
  padding: 18px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.app-tile::after {
  position: absolute;
  inset: auto -20% -35% 24%;
  height: 78px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--a) 55%, transparent), color-mix(in srgb, var(--b) 45%, transparent));
  filter: blur(28px);
  opacity: 0.42;
  content: "";
  transition: opacity 220ms ease, transform 220ms ease;
}

.app-tile:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  border-color: rgba(248, 244, 233, 0.32);
  background:
    radial-gradient(circle at 25% 12%, rgba(248, 244, 233, 0.16), transparent 42%),
    linear-gradient(150deg, rgba(248, 244, 233, 0.14), rgba(248, 244, 233, 0.06));
}

.app-tile:hover::after {
  opacity: 0.68;
  transform: translateY(-10px);
}

.icon-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(70px, 7vw, 92px);
  aspect-ratio: 1;
  border: 1px solid rgba(248, 244, 233, 0.14);
  border-radius: 26%;
  background: rgba(7, 17, 15, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 34px rgba(0, 0, 0, 0.25);
}

.icon-frame img {
  width: 100%;
  height: 100%;
  border-radius: 25%;
  display: block;
  object-fit: cover;
}

.icon-frame.placeholder {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--a) 72%, #ffffff 0%), var(--b)),
    var(--b);
  color: #07110f;
  overflow: hidden;
}

.icon-frame.placeholder::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(7, 17, 15, 0.18);
  border-radius: 24%;
  content: "";
}

.icon-frame.placeholder::after {
  position: absolute;
  inset: -38% auto auto -32%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  filter: blur(10px);
  content: "";
}

.icon-frame span {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.app-tile h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: rgba(248, 244, 233, 0.94);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: center;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 42px;
  background:
    radial-gradient(circle at 4% 18%, rgba(255, 209, 102, 0.24), transparent 28rem),
    linear-gradient(135deg, rgba(248, 244, 233, 0.12), rgba(248, 244, 233, 0.045));
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  padding: clamp(24px, 5vw, 46px);
}

.contact-section h2 {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(38px, 5.5vw, 78px);
  letter-spacing: -0.07em;
  line-height: 0.92;
  text-wrap: balance;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(7, 17, 15, 0.42);
  padding: 24px;
}

.contact-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 36px;
  color: var(--soft);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.2deg);
  }
}

@keyframes light-sweep {
  0% {
    transform: translateX(-24%);
    opacity: 0;
  }
  18%,
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(24%);
    opacity: 0;
  }
}

@media (max-width: 1040px) {
  .hero,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .showcase-card {
    max-width: 620px;
  }

  .app-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, var(--max));
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-tile {
    min-height: 154px;
    border-radius: 24px;
    padding: 14px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    text-align: center;
  }

  .icon-cloud {
    gap: 10px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.tone-sunset { --a: #ff7a3d; --b: #ffd166; }
.tone-oracle { --a: #6ee7ff; --b: #2454ff; }
.tone-fresh { --a: #c3ff4f; --b: #22d3a6; }
.tone-flare { --a: #ffcf5a; --b: #ff5f7e; }
.tone-signal { --a: #93a4ff; --b: #111827; }
.tone-loop { --a: #8ef6d6; --b: #0f766e; }
.tone-server { --a: #f8fafc; --b: #64748b; }
.tone-mole { --a: #f0abfc; --b: #7c2d12; }
.tone-xo { --a: #ffffff; --b: #0f172a; }
.tone-pliny { --a: #c084fc; --b: #312e81; }
.tone-bot-blue { --a: #60a5fa; --b: #1e293b; }
.tone-poly { --a: #2dd4bf; --b: #0f172a; }
.tone-rizz { --a: #fb7185; --b: #431407; }
.tone-scalper { --a: #facc15; --b: #166534; }
.tone-trail { --a: #86efac; --b: #14532d; }


@media (prefers-reduced-motion: reduce) {
  .app-tile {
    animation-delay: 0ms !important;
  }
}
