:root {
  --ink: #071018;
  --ink-2: #132433;
  --paper: #f4f8fa;
  --paper-2: #e8f0f3;
  --line: rgba(7, 16, 24, 0.1);
  --muted: #5a7282;
  --teal: #1ecad8;
  --teal-deep: #0f8fa3;
  --navy: #16324a;
  --max: 1080px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Sora", "Avenir Next", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(30, 202, 216, 0.14), transparent 55%),
    radial-gradient(700px 360px at 0% 30%, rgba(22, 50, 74, 0.07), transparent 50%),
    linear-gradient(180deg, #f7fbfc 0%, var(--paper) 45%, var(--paper-2) 100%);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--teal-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--navy);
}

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

.shell.narrow {
  max-width: 40rem;
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 1.15rem 0;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #edf7f9;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: rgba(237, 247, 249, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

/* Hero: brand + mark + one line + CTAs — no product screenshots */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #edf7f9;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(30, 202, 216, 0.22), transparent 60%),
    linear-gradient(165deg, #050b11 0%, #0c1822 45%, #102636 100%);
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(30, 202, 216, 0.2), transparent 70%);
  animation: pulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 40rem);
  text-align: center;
  padding: 6.5rem 0 4rem;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-mark {
  display: block;
  width: min(42vw, 220px);
  height: auto;
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
  animation: floatMark 7s ease-in-out infinite alternate;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(3.6rem, 11vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.hero-line {
  margin: 0 auto 1.75rem;
  max-width: 26rem;
  color: rgba(220, 238, 242, 0.9);
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 400;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #2ad8e4, #1492a8);
  color: #03161c;
}

.btn-primary:hover {
  color: #021016;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #edf7f9;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

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

.btn-line:hover {
  border-color: rgba(7, 16, 24, 0.28);
  color: var(--navy);
}

.band {
  padding: 5rem 0;
}

.band-soft {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-lead {
  margin: 0 0 2.4rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.proto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.proto-grid article {
  padding: 1.4rem 1.2rem 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.proto-grid article:nth-child(3n-1),
.proto-grid article:nth-child(3n) {
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}

.proto-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.proto-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 22rem;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.news-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--teal);
  color: var(--ink-2);
  font-size: 1.05rem;
}

.download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.download-row h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.35rem;
}

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

.download-row .actions {
  justify-content: flex-start;
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.note code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.84em;
  color: var(--navy);
  background: rgba(22, 50, 74, 0.07);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.site-footer {
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-row a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-row a:hover {
  color: var(--teal-deep);
}

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

@keyframes floatMark {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes pulse {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}

@media (max-width: 860px) {
  .proto-grid {
    grid-template-columns: 1fr;
  }

  .proto-grid article:nth-child(3n-1),
  .proto-grid article:nth-child(3n) {
    padding-left: 0;
    border-left: none;
  }

  .download-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero-shell {
    padding-top: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
