:root {
  --bg: #f4f5ef;
  --ink: #10120f;
  --muted: #3c4338;
  --brand: #0d9f6e;
  --brand-dark: #097f57;
  --accent: #38abef;
  --warm: #b87333;
  --panel: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.72);
  --line: #d8dccf;
  --shadow: 0 24px 70px rgba(16, 18, 15, 0.1);
  --container: min(1120px, 92vw);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --section-gap: 44px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 5%, #dff7ea 0%, transparent 30%),
    radial-gradient(circle at 88% 14%, #e5f4ff 0%, transparent 24%),
    radial-gradient(circle at 84% 82%, #ffe7d6 0%, transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.5;
  position: relative;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(#000 0.35px, transparent 0.35px);
  background-size: 5px 5px;
}

.topbar,
main,
footer {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1040px, calc(100vw - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(16, 18, 15, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(16, 18, 15, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  border-radius: 999px;
  padding-right: 6px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.site-nav a:hover {
  background: rgba(13, 159, 110, 0.12);
  color: var(--ink);
  transform: translateY(-1px);
}

.top-cta {
  text-decoration: none;
  color: #fff;
  border: 0;
  background: linear-gradient(130deg, var(--brand-dark), var(--brand));
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(9, 127, 87, 0.18);
}

.top-cta:hover {
  filter: brightness(0.98);
}

.home-hero {
  position: relative;
  z-index: 1;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 42px;
  align-items: center;
  animation: rise 700ms ease both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 0.77rem;
  margin: 0 0 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 12ch;
  font-size: 4.7rem;
  line-height: 0.96;
}

h2 {
  font-size: 2.6rem;
  line-height: 1.05;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.hero-copy,
.section-intro p,
.card p,
.link-card p {
  color: var(--muted);
}

.hero-copy {
  max-width: 64ch;
  font-size: 1.16rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 120ms ease, filter 120ms ease;
  border: 0px;
}

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

.btn-primary {
  background: linear-gradient(130deg, var(--brand-dark), var(--brand));
  color: #fff;
  border: none;
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.platforms {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.platforms span {
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
}

.product-shot {
  border-radius: var(--radius-lg);
  background: rgba(15, 20, 17, 0.94);
  color: #eef7f1;
  border: 1px solid rgba(13, 159, 110, 0.18);
  box-shadow: var(--shadow);
  padding: 22px;
}

.shot-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shot-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8af4cb;
}

.shot-toolbar strong {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  color: #a9beb2;
}

.shot-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.shot-panel {
  border-radius: var(--radius-md);
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.shot-panel p {
  margin-bottom: 8px;
  color: #8af4cb;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shot-panel span {
  color: #dbe7df;
  line-height: 1.55;
}

.shot-panel-strong {
  background: rgba(13, 159, 110, 0.12);
  border-color: rgba(138, 244, 203, 0.2);
}

.shot-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shot-actions span {
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
}

.proof-strip,
.content-band,
.internal-links {
  position: relative;
  z-index: 1;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 44px;
}

.proof-strip div,
.card,
.link-card,
.internal-links,
.resource-grid a {
  background: var(--panel-soft);
  border: 1px solid rgba(16, 18, 15, 0.1);
  box-shadow: 0 18px 44px rgba(16, 18, 15, 0.06);
  backdrop-filter: blur(14px);
}

.proof-strip div {
  border-radius: 16px;
  padding: 18px;
}

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.95rem;
}

.content-band {
  padding: var(--section-gap) 0;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-intro p {
  font-size: 1.06rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-md);
  padding: 22px;
  animation: rise 700ms ease both;
}

.card-num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 700;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: start;
}

.use-case-list {
  display: grid;
  gap: 14px;
}

.link-card {
  display: block;
  border-radius: var(--radius-md);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
}

.link-card:hover,
.resource-grid a:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 159, 110, 0.28);
}

.internal-links {
  margin: 36px 0 48px;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: center;
}

.utility-page {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding: 54px 0 72px;
}

.utility-page h1 {
  max-width: 100%;
  font-size: 4rem;
  line-height: 1;
}

.utility-page .lede {
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 68ch;
}

.utility-card {
  margin-top: 28px;
  display: grid;
  gap: 24px;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--panel-soft);
  border: 1px solid rgba(16, 18, 15, 0.1);
  box-shadow: 0 18px 44px rgba(16, 18, 15, 0.06);
  backdrop-filter: blur(14px);
}

.utility-card section {
  display: grid;
  gap: 8px;
}

.utility-card h2 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.2;
}

.utility-card p,
.utility-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.utility-card ul {
  margin: 0;
  padding-left: 20px;
}

.utility-card a {
  color: var(--brand-dark);
  font-weight: 700;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.resource-grid a {
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 120ms ease, border-color 120ms ease;
}

.resource-grid strong,
.resource-grid span {
  display: block;
}

.resource-grid span {
  margin-top: 6px;
  color: var(--muted);
}

footer {
  padding: 0 0 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  color: #394237;
  font-size: 0.88rem;
}

footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-link-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  border-radius: 999px;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.footer-products a {
  color: var(--ink);
  font-weight: 700;
  border: 1px solid rgba(13, 159, 110, 0.18);
  background: rgba(255, 255, 255, 0.72);
  padding: 7px 10px;
}

.footer-other a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 8px;
}

.footer-links a:hover {
  background: rgba(13, 159, 110, 0.1);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

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

@media (max-width: 960px) {
  .topbar,
  footer,
  .home-hero,
  .proof-strip,
  .feature-grid,
  .split-band,
  .internal-links,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .footer-links {
    justify-content: flex-start;
  }

  h1 {
    max-width: 100%;
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .product-shot {
    order: -1;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 14px;
    border-radius: 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero {
    padding-top: 30px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .utility-page h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .shot-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* FAQ list (homepage and utility pages) */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-list details[open] {
  border-color: rgba(13, 159, 110, 0.32);
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 200ms ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}
