﻿:root {
  --bg: #ececea;
  --surface: #f6f6f4;
  --ink: #151515;
  --muted: #6e6e6c;
  --accent: #99cf82;
  --accent-2: #f4d45a;
  --stroke: #121212;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, #f5f5f3, var(--bg) 40%);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(#000 0.4px, transparent 0.4px);
  background-size: 2px 2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
  background: rgba(245, 245, 243, 0.82);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 4vw;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.74rem;
}

.topbar nav {
  display: flex;
  gap: 0.4rem;
}

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

.topbar nav a {
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.topbar nav a:hover {
  border-color: var(--stroke);
  transform: translateY(-1px);
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 2rem;
}

.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
}

h1, h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

h1 span {
  color: #5e8f4c;
}

.sub {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-weight: 500;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn.mini {
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: #ffffff;
  font-size: 0.9rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.06);
}

.btn.primary {
  background: var(--accent);
}

.btn.ghost {
  background: #fff;
}

.hero-visual {
  position: relative;
  animation: drift 8s ease-in-out infinite;
}

.card-graphic {
  width: 100%;
  filter: drop-shadow(0 24px 24px rgba(10, 10, 10, 0.1));
}

.svg-title {
  font-size: 34px;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.float-1, .float-2, .float-3 { animation: bob 4.5s ease-in-out infinite; transform-origin: center; }
.float-2 { animation-delay: .8s; }
.float-3 { animation-delay: 1.4s; }
.bars { animation: grow 3s ease-in-out infinite alternate; transform-origin: bottom; }

.ticker-wrap {
  margin: 1rem calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,.13);
  border-bottom: 1px solid rgba(0,0,0,.13);
  background: #f8f8f6;
  display: flex;
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  padding: 0.85rem 1.2rem;
}

.ticker span::after {
  content: "•";
  margin-left: 1.2rem;
  color: #9b9b99;
}

.grid {
  padding: 5rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid article {
  background: var(--surface);
  border: 1px solid #1c1c1c;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 6px 7px 0 #121212;
}

.grid p {
  color: var(--muted);
  line-height: 1.55;
}

.instructions {
  margin-top: 4rem;
  background: #f9f9f7;
  border: 1px solid #121212;
  border-radius: 20px;
  padding: 1.6rem;
}

.install-demo {
  margin: 0.5rem 0 2rem;
}

.install-frame {
  margin-top: 0.9rem;
}

.demo {
  margin-top: 4rem;
}

.demo-head {
  max-width: 62ch;
}

.demo-head p {
  color: var(--muted);
  line-height: 1.6;
}

.demo-frame {
  margin-top: 1.1rem;
  border: 1px solid #121212;
  border-radius: 22px;
  padding: 0.65rem;
  background: linear-gradient(140deg, #191919, #111111);
  box-shadow: 0 28px 46px rgba(0, 0, 0, 0.18);
}

.demo-frame img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.instructions ol {
  line-height: 1.7;
  color: #3f3f3d;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f0f0ee;
  padding: 0.15rem 0.3rem;
  border-radius: 6px;
}

pre {
  background: #121212;
  color: #f5f5f3;
  border-radius: 14px;
  padding: 1rem;
  overflow: auto;
}

pre code {
  background: transparent;
  color: #f5f5f3;
  display: block;
  white-space: pre;
  padding: 0;
}

.cta {
  margin: 4rem 0 6rem;
  text-align: center;
  padding: 2.2rem;
  border-radius: 20px;
  background: linear-gradient(160deg, #f8f8f5, #edf4e9);
  border: 1px solid #151515;
}

.cta h2 { font-size: clamp(1.5rem, 4vw, 2.6rem); margin-top: 0; }

.socials {
  display: flex;
  gap: .8rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.socials a {
  padding: .6rem 1rem;
  border: 1px solid #151515;
  border-radius: 999px;
  background: #fff;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, .15);
  color: #545452;
  padding: 2.1rem 4vw 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
}

.footer-grid {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  margin: 0;
  color: #111;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-copy {
  margin: 0.35rem 0 0;
  max-width: 44ch;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-links a {
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid #c8c8c6;
  background: rgba(255, 255, 255, 0.75);
}

.made-with {
  width: min(1120px, 92vw);
  margin: 0.8rem auto 0;
  padding-top: 0.4rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

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

@keyframes drift {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes grow {
  from { transform: scaleY(.92); }
  to { transform: scaleY(1); }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.8rem 1rem;
  }
  .brand-wrap {
    width: 100%;
    align-items: center;
  }
  .topbar nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  main {
    width: min(1120px, 94vw);
  }
  .hero {
    padding-top: 1.4rem;
  }
  .topbar nav a {
    font-size: 0.85rem;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .cta {
    padding: 1.4rem;
  }
  .instructions, .grid article {
    border-radius: 14px;
  }
}
