:root {
  --surface-950: #020617;
  --surface-900: #0f172a;
  --surface-800: #1e293b;
  --surface-200: #e2e8f0;
  --accent-300: #6ee7c8;
  --accent-400: #34d7a8;
  --accent-500: #1cb98e;
  --accent-600: #159271;
  --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  background: var(--surface-950);
  color: #f8fafc;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  margin-inline: auto;
  max-width: 72rem;
  padding-inline: 1.25rem;
}

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img.brand-icon {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #fff;
}

.brand-by {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.3rem;
  font-size: 0.6rem;
  line-height: 1;
  color: rgba(226, 232, 240, 0.5);
}

.brand-by img {
  height: 0.65rem;
  width: auto;
  opacity: 0.7;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--surface-200);
  transition: background-color 0.15s, color 0.15s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(28, 185, 142, 0.35);
}

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

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--surface-200);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--surface-200);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle svg {
  height: 1.5rem;
  width: 1.5rem;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem 1.25rem;
}

.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-menu a {
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--surface-200);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.mobile-menu .btn {
  margin-top: 0.4rem;
}

@media (min-width: 768px) {
  .nav-links,
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  padding-block: 3.5rem 4rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero .lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.8);
}

.hero .quote {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.5);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-figure {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.5);
}

.hero-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

figcaption.art-note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.4);
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
section {
  padding-block: 4.5rem;
}

.section-head {
  max-width: 42rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-400);
}

.section-head h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.section-head p {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.6);
}

/* Card grid: ul > li, no wrapper div between them. */
.card-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card-grid > li {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem;
}

.card-grid h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.card-grid p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.55);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* How it works: ordered steps */
.steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.steps > li {
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem;
}

.steps .n {
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-400);
}

.steps h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.steps p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.55);
}

.two-col {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* dot list */
.dot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dot-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.8);
}

.dot-list > li::before {
  content: '';
  margin-top: 0.4rem;
  height: 0.4rem;
  width: 0.4rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent-400);
}

/* ── Final CTA ────────────────────────────────────────────────────────── */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(28, 185, 142, 0.2);
  background: linear-gradient(to bottom, rgba(21, 146, 113, 0.15), transparent);
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
}

.cta-panel p {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.7);
}

.cta-panel .btn {
  margin-top: 2rem;
}

.cta-panel .fine {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.6);
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface-950);
  padding-block: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.5);
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--surface-200);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.7);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.5);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* Sable widget illustrations: cool frosted glass and a single green accent. */
section[id] { scroll-margin-top: 6rem; }
.widget-showcase { display: grid; gap: 1.25rem; margin-top: 2.5rem; padding: clamp(1rem, 3vw, 2.5rem); border: 1px solid rgba(255,255,255,.08); border-radius: 1.75rem; background: radial-gradient(ellipse at 70% 45%, rgba(99,211,154,.09), transparent 65%), #0b111b; }
.widget-glass { min-width: 0; padding: 1.5rem; border: 1px solid rgba(236,238,241,.13); border-radius: 1.25rem; background: linear-gradient(145deg,rgba(39,45,54,.82),rgba(17,21,28,.88)); backdrop-filter: blur(24px); box-shadow: 0 14px 36px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.04); color: #eceef1; }
.widget-brand { margin: 0; color: #63d39a; text-transform: uppercase; letter-spacing: .14em; font: 600 .65rem/1.5 ui-monospace, SFMono-Regular, monospace; }
.widget-glass h3 { margin: 1.1rem 0 .7rem; font-size: 1.25rem; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.widget-reminders h3 { max-width: 15rem; font-size: 1.6rem; }
.widget-reminder { display: flex; align-items: center; gap: .85rem; padding-block: 1.2rem; border-bottom: 1px solid rgba(236,238,241,.09); }
.widget-clock { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; flex-shrink: 0; background: rgba(99,211,154,.08); color: #63d39a; border-radius: .7rem; font-size: 1.6rem; }
.widget-reminder strong { display: block; font-size: .9rem; font-weight: 500; }
.widget-reminder div > span, .widget-footnote, .widget-focus > p:not(.widget-brand), .widget-demo-instruction { display: block; font-size: .8rem; color: #a1a8b2; }
.widget-reminder div > span { margin-top: .3rem; }
.widget-footnote { margin: 1.5rem 0 0; }
.widget-stack { display: grid; gap: 1.25rem; }
.widget-topline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; align-items: center; }
.widget-status { display: inline-flex; align-items: center; gap: .4rem; color: #a1a8b2; font-size: .7rem; }
.widget-status i { width: .35rem; height: .35rem; background: #63d39a; border-radius: 50%; }
.widget-focus-track { height: .2rem; margin-top: 1.2rem; background: rgba(255,255,255,.08); border-radius: 1rem; }
.widget-focus-track span { display: block; width: 56%; height: 100%; background: #63d39a; border-radius: inherit; }
.widget-next h3 { margin-bottom: .35rem; }
.widget-demo-instruction { margin: 0 0 1rem; }
.widget-checklist { display: grid; gap: .35rem; }
.widget-checklist label { display: flex; align-items: center; gap: .7rem; padding: .45rem .1rem; cursor: pointer; font-size: .85rem; }
.widget-checklist input { width: 1.1rem; height: 1.1rem; margin: 0; flex-shrink: 0; accent-color: #63d39a; cursor: pointer; }
.widget-checklist input:checked + span { text-decoration: line-through; color: #a1a8b2; }
.widget-demo-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; border-top: 1px solid rgba(236,238,241,.09); margin-top: 1rem; padding-top: .85rem; color: #a1a8b2; font-size: .7rem; }
.widget-demo-footer button { font: inherit; padding: .45rem .65rem; background: rgba(99,211,154,.08); color: #63d39a; border: 1px solid rgba(99,211,154,.24); border-radius: .45rem; cursor: pointer; }
.widget-demo-footer button:hover { background: rgba(99,211,154,.17); }
.widget-disclosure { margin: 1rem 0 0; max-width: 48rem; font-size: .8rem; line-height: 1.7; color: #a1a8b2; }
:focus-visible { outline: 2px solid #63d39a; outline-offset: 4px; }
@media (min-width: 768px) { .widget-showcase { grid-template-columns: .85fr 1.15fr; align-items: center; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.widget-request-example { margin-top: 1.25rem; padding: 1.25rem 1.5rem; border: 1px solid rgba(99,211,154,.18); border-radius: 1rem; background: rgba(99,211,154,.035); }
.widget-request-example p { margin: .65rem 0; color: #eceef1; font-size: 1rem; line-height: 1.6; }
.widget-request-example > span:last-child { color: #a1a8b2; font-size: .75rem; }
