:root {
  --ink: #0e1411;
  --ink-soft: #2a3530;
  --fog: #e8eee9;
  --line: #c9d4cc;
  --leaf: #157a4a;
  --leaf-deep: #0f5c38;
  --paper: #f5f8f5;
  --display: "Syne", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 500 1.05rem/1.55 var(--body);
  background: var(--paper);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }

/* —— Nav —— */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-ghost {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.45rem 0.2rem;
  color: var(--ink-soft);
}
.nav-ghost:hover { color: var(--leaf); }
.nav-dl {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem 0.95rem;
  background: var(--ink);
  color: #fff !important;
}
.nav-dl:hover { background: var(--leaf-deep); }

/* —— Hero as product page —— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  min-height: calc(100vh - 4rem);
  min-height: calc(100dvh - 4rem);
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vh, 4.5rem);
  background:
    radial-gradient(900px 500px at 85% 20%, #d4e5da 0%, transparent 60%),
    radial-gradient(700px 400px at 0% 100%, #dde8e1 0%, transparent 55%),
    var(--paper);
}

.hero-copy { max-width: 28rem; }
.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c6e63;
}
.kicker.dark { color: #5c6e63; }

.hero-copy h1 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.lede {
  margin: 0 0 1.75rem;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 32ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.fine {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: #6a7a70;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.25rem;
  background: var(--leaf);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover {
  background: var(--leaf-deep);
  transform: translateY(-1px);
}
.btn-meta {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink) !important;
  border: 1.5px solid var(--ink);
  background: transparent;
}
.btn-secondary:hover { background: var(--ink); color: #fff !important; }
.btn-on-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.1); }

/* Product frame — one hero visual */
.hero-product { position: relative; }
.device {
  background: #1a221e;
  border-radius: 12px 12px 4px 4px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(14, 20, 17, 0.12),
    0 28px 60px rgba(14, 20, 17, 0.22);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  animation: settle 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 0.9rem;
  background: #121916;
}
.device-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #3d4a43;
}
.device-bar span:nth-child(1) { background: #c45c4a; }
.device-bar span:nth-child(2) { background: #c4a24a; }
.device-bar span:nth-child(3) { background: #4aa36a; }
.device-bar em {
  margin-left: 0.6rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a9a90;
  font-family: var(--body);
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* —— Proof strip —— */
.proof {
  background: var(--ink);
  color: #e8f0ea;
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
}
.proof-inner { max-width: 1100px; margin: 0 auto; }
.proof h2 {
  margin: 0 0 2rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
  line-height: 1.1;
}
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
}
.pillars li {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 240, 234, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pillars strong {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
}
.pillars span {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(232, 240, 234, 0.7);
  line-height: 1.45;
}

/* —— Alternating feature (one image each) —— */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}
.feature-flip { direction: rtl; }
.feature-flip > * { direction: ltr; }
.feature-text h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}
.feature-text p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36ch;
}
.feature-shot {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.activate {
  background:
    linear-gradient(135deg, #123d2a 0%, #1a6b45 55%, #0f5c38 100%);
  color: #f0f7f2;
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}
.activate-inner { max-width: 36rem; }
.activate h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
}
.activate p {
  margin: 0 0 1.5rem;
  color: rgba(240, 247, 242, 0.8);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: #5c6e63;
}
.foot strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot-links a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}
.foot-links a:hover { color: var(--leaf); }

@keyframes settle {
  from { opacity: 0; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(24px); }
  to { opacity: 1; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(0); }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 1rem;
  }
  .device { transform: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .feature, .feature-flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary, .btn-on-dark { justify-content: center; }
}
