:root {
  color-scheme: dark;
  --bg: #080b10;
  --surface: #131821;
  --surface-soft: #1c2430;
  --text: #f2f5fa;
  --text-soft: #a8b3c1;
  --line: #2f3a48;
  --brand: #d6e2f1;
  --brand-accent: #98adc4;
  --pop-shadow: rgb(130 190 255 / 34%);
  --pop-shadow-strong: rgb(130 190 255 / 46%);
  --max-width: 72rem;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", "Space Grotesk", "Avenir Next", sans-serif;
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 100;
}

.shader {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb,
.mesh {
  position: absolute;
  filter: blur(48px);
  opacity: 0.55;
}

.orb-a {
  top: -12rem;
  left: -6rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, #d7e4f2, rgb(215 228 242 / 0%));
  animation: driftA 18s ease-in-out infinite;
}

.orb-b {
  top: 22%;
  right: -8rem;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, #8ea2bb, rgb(142 162 187 / 0%));
  animation: driftB 20s ease-in-out infinite;
}

.orb-c {
  bottom: -10rem;
  left: 34%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, #b8c8da, rgb(184 200 218 / 0%));
  animation: driftC 16s ease-in-out infinite;
}

.mesh {
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgb(255 255 255 / 10%) 0, rgb(255 255 255 / 0%) 46%),
    radial-gradient(circle at 80% 72%, rgb(214 226 240 / 8%) 0, rgb(214 226 240 / 0%) 44%),
    linear-gradient(140deg, rgb(7 10 16 / 0%), rgb(7 10 16 / 78%));
  filter: none;
  opacity: 1;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(10 14 21 / 76%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgb(210 226 245 / 8%);
  padding-top: env(safe-area-inset-top);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.01em;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.24rem 0.7rem 0.24rem 0.22rem;
  box-shadow: 0 2px 10px rgb(214 226 241 / 0%);
  transition: box-shadow 150ms ease, background 150ms ease;
}

.brand:hover,
.brand:focus-visible {
  background: rgb(190 220 255 / 12%);
  box-shadow: 0 7px 20px var(--pop-shadow);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(177 202 230 / 58%);
  background: linear-gradient(152deg, rgb(18 24 34 / 96%), rgb(28 39 55 / 94%));
  box-shadow:
    inset 0 1px 0 rgb(234 244 255 / 16%),
    0 0 18px rgb(126 189 255 / 31%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mark-line {
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  height: 0.17rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #e7f2ff, #9fc9f8);
  box-shadow: 0 1px 5px rgb(140 193 247 / 32%);
}

.mark-line-a {
  top: 0.34rem;
}

.mark-line-b {
  top: 0.68rem;
  right: 0.45rem;
}

.mark-line-c {
  top: 1.02rem;
}

.mark-core {
  position: absolute;
  right: 0.27rem;
  top: 0.35rem;
  width: 0.18rem;
  height: 0.84rem;
  border-radius: 999px;
  background: rgb(133 176 223 / 88%);
  box-shadow: 0 0 10px rgb(136 187 239 / 36%);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgb(214 226 241 / 0%);
  transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.nav-list a[aria-current="page"],
.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
  background: rgb(182 217 255 / 14%);
  box-shadow: 0 7px 16px var(--pop-shadow);
}

.section {
  padding: clamp(2.4rem, 6vw, 5rem) 0;
}

#content {
  flex: 1;
}

.hero {
  padding-top: clamp(3rem, 10vw, 7rem);
}

.hero h1,
h1 {
  font-size: clamp(2.1rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.2;
  margin-top: 0.3rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.lede {
  max-width: 54ch;
  color: var(--text-soft);
  font-size: clamp(1.04rem, 2.6vw, 1.24rem);
}

.split-copy {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgb(165 206 247 / 18%);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px var(--pop-shadow-strong);
}

.button-primary {
  background: linear-gradient(135deg, #e3efff, #8bbdf4 58%, #6a8ec5);
  color: #0b121b;
  box-shadow: 0 12px 28px rgb(128 189 252 / 36%);
}

.button-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgb(255 255 255 / 3%);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgb(180 216 255 / 15%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  background: linear-gradient(160deg, rgb(24 30 40 / 90%) 0%, rgb(14 18 25 / 84%) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  overflow: hidden;
  animation: rise 520ms ease both;
  box-shadow:
    inset 0 1px 0 rgb(243 247 253 / 11%),
    0 10px 28px rgb(194 210 230 / 8%);
}

.app-card {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-card:hover,
.app-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgb(127 173 225 / 62%);
  box-shadow:
    inset 0 1px 0 rgb(243 247 253 / 13%),
    0 14px 30px rgb(121 182 250 / 24%);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 8%, rgb(218 230 244 / 16%), rgb(218 230 244 / 0%) 44%);
  pointer-events: none;
}

.card:nth-child(2) {
  animation-delay: 120ms;
}

.card:nth-child(3) {
  animation-delay: 220ms;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid #526173;
  background: rgb(174 192 212 / 14%);
  color: #d6e2f1;
  font-size: 0.82rem;
}

.kicker {
  margin-top: 1.4rem;
  color: var(--text-soft);
  max-width: 48ch;
}

.prose {
  max-width: 68ch;
}

.prose p,
.prose li {
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding: 1.4rem 0 calc(1.7rem + env(safe-area-inset-bottom));
  background: rgb(11 15 22 / 68%);
  backdrop-filter: blur(8px);
  box-shadow: 0 -10px 26px rgb(214 228 244 / 6%);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0;
  color: var(--text-soft);
}

.footer-email {
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  box-shadow: 0 2px 8px rgb(214 226 241 / 0%);
  transition: background 150ms ease, box-shadow 150ms ease;
}

.footer-email:hover,
.footer-email:focus-visible {
  background: rgb(182 218 255 / 12%);
  box-shadow: 0 7px 18px var(--pop-shadow);
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2.4rem, 1rem) scale(1.08);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2rem, -1.2rem) scale(0.94);
  }
}

@keyframes driftC {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(1rem, -1rem) scale(1.1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 40rem) {
  .nav-list {
    gap: 0.2rem;
  }

  .nav-list a {
    padding-inline: 0.55rem;
  }
}

@media (min-width: 52rem) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-copy {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .card,
  .button {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
