:root {
  --deep-navy: #0a1020;
  --sky-navy: #182338;
  --coral: #ff6b4a;
  --teal: #40dccb;
  --paper: #e5e7eb;
  --mut: #94a3b8;
  --font-display: "Rubik", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--deep-navy);
  color: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.toss {
  color: var(--coral);
}

.teal {
  color: var(--teal);
}
.coral {
  color: var(--coral);
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem var(--space);
  background: color-mix(in srgb, var(--deep-navy) 70%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}

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

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--coral) 35%, transparent);
}

.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--paper) 22%, transparent);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--teal);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  animation: ken 18s ease-in-out infinite alternate;
}

@keyframes ken {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-visual img {
    animation: none;
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--deep-navy) 25%, transparent) 0%,
    transparent 30%,
    color-mix(in srgb, var(--deep-navy) 55%, transparent) 65%,
    color-mix(in srgb, var(--deep-navy) 94%, transparent) 100%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--space), 36rem);
  margin: 0 0 0 var(--space);
  padding: 7rem 0 3rem;
  animation: hero-in 700ms var(--ease) both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #fff;
}

.hero-copy h1 {
  margin: 0.45rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--teal);
  line-height: 1.2;
}

.lead {
  margin: 0 0 1.35rem;
  color: color-mix(in srgb, var(--paper) 82%, transparent);
  max-width: 28rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.strip,
.host,
.install {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--space);
}

.strip {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid color-mix(in srgb, var(--paper) 10%, transparent);
  flex-wrap: wrap;
}

.lead-inline {
  color: var(--mut);
  margin: 0 0 0.75rem;
}

.lead-inline a {
  color: var(--teal);
}

.code {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--sky-navy);
  border: 1px solid color-mix(in srgb, var(--paper) 10%, transparent);
  overflow-x: auto;
  font-size: 0.88rem;
  color: #fff;
}

.code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}

.install {
  border-top: 1px solid color-mix(in srgb, var(--paper) 10%, transparent);
}

.install-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.install-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.install-head p {
  margin: 0;
  color: var(--mut);
}

.install-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  flex-shrink: 0;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--teal) 25%, transparent);
}

.code-row {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.code-row .code {
  flex: 1;
  min-width: min(100%, 18rem);
  margin: 0;
}

.btn-teal {
  background: var(--teal);
  color: var(--deep-navy);
  align-self: stretch;
}

.more {
  margin-top: 1rem;
  color: var(--mut);
}

.more summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 600;
}

.more .code {
  margin-top: 0.75rem;
}

.strip h2,
.host h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.strip p,
.host li {
  color: var(--mut);
}

footer a {
  color: var(--teal);
}

code {
  color: #fff;
  font-size: 0.9em;
}

footer {
  padding: 1.5rem var(--space) 2.25rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  color: var(--mut);
  font-size: 0.92rem;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

footer .wordmark {
  color: #fff;
}

.dot {
  opacity: 0.4;
}

@media (max-width: 640px) {
  .strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-copy {
    margin-inline: var(--space);
  }
}
