:root {
  --ink: #0f1c18;
  --ink-soft: #3a4f47;
  --paper: #e8f2ec;
  --paper-deep: #d0e4d8;
  --sea: #1a6b55;
  --sea-bright: #248f70;
  --coral: #c45c3a;
  --line: rgba(15, 28, 24, 0.12);
  --shadow: 0 18px 50px rgba(15, 28, 24, 0.12);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, #b8e0c8 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, #f0d5c4 0%, transparent 45%),
    linear-gradient(165deg, #f4faf6 0%, var(--paper) 40%, #dfece4 100%);
  line-height: 1.5;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--sea);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sea-bright);
}

.site-header {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--sea) !important;
}

.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  animation: rise 0.7s ease-out both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  animation: rise 0.7s ease-out 0.08s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--sea);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
  animation: rise 0.7s ease-out 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.7s ease-out 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--sea);
  color: #f4faf6;
}

.btn-primary:hover {
  background: var(--sea-bright);
  color: #fff;
}

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

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

.hero-visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  animation: fade-in 1s ease-out 0.2s both;
}

.orbit {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(26, 107, 85, 0.12), transparent 55%),
    repeating-conic-gradient(from 0deg, transparent 0deg 8deg, rgba(15, 28, 24, 0.03) 8deg 9deg);
  border: 1px solid var(--line);
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(26, 107, 85, 0.35);
  animation: spin 48s linear infinite;
}

.node {
  position: absolute;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}

.node.live {
  background: var(--sea);
  color: #f4faf6;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(26, 107, 85, 0.35);
}

.node:nth-child(1) {
  top: 12%;
  left: 28%;
  animation-delay: 0s;
}

.node:nth-child(2) {
  top: 38%;
  right: 8%;
  animation-delay: 0.6s;
}

.node:nth-child(3) {
  bottom: 18%;
  left: 18%;
  animation-delay: 1.2s;
}

.node:nth-child(4) {
  bottom: 32%;
  right: 22%;
  animation-delay: 1.8s;
}

.products {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 400;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease;
}

.product:not(.soon):hover {
  border-color: rgba(26, 107, 85, 0.45);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.product.soon {
  opacity: 0.72;
  cursor: default;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
}

.badge-live {
  background: rgba(26, 107, 85, 0.14);
  color: var(--sea);
}

.badge-soon {
  background: rgba(15, 28, 24, 0.06);
  color: var(--ink-soft);
}

.product-desc {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.product-action {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sea);
}

.product.soon .product-action {
  color: var(--ink-soft);
  font-weight: 500;
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.muted {
  color: var(--ink-soft);
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  .hero-visual {
    order: -1;
    min-height: 240px;
  }

  .orbit {
    width: min(100%, 280px);
  }

  .brand-mark {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}

@media (max-width: 520px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

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