/*!
 * Helio Stitch
 * Copyright (c) 2026 Helio Stitch. All rights reserved.
 *
 * This software is proprietary and confidential. It is licensed for use through
 * the Helio Stitch service only, and is not sold. You may not copy, modify,
 * redistribute, sell, resell, sublicense, reverse engineer or create derivative
 * works from it, in whole or in part, without prior written permission.
 *
 * Designs and machine files you make with Helio Stitch are yours.
 * Third-party components keep their own licences:
 * https://heliostitch.com/attribution
 *
 * For extended usage, licensing or partnership: sam@cityembroidery.com
 */
/* Helio Stitch lander — ported from lander-comp/Helio Stitch Lander.dc.html (Eclipse hero) */

html, body {
  margin: 0;
  background: #0C0D0F;
  color: #ECEAE4;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: #C6E36A; text-decoration: none; }
a:hover { color: #DDF28C; }
input[type=range] { accent-color: #B6D84A; }
img { display: block; max-width: 100%; }

.page {
  min-height: 100vh;
  background: #0C0D0F;
  overflow-x: hidden;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 13, 15, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1E2024;
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ECEAE4;
  flex: none;
}
.logo-word { font-size: 19px; letter-spacing: -.03em; white-space: nowrap; }
.logo-word-bold, .footer-word-bold { font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; min-width: 0; }
.site-nav-links { display: none; gap: 26px; }
.site-nav-links a { color: #C9CBD0; }
.nav-signin { color: #ECEAE4; white-space: nowrap; }
@media (min-width: 901px) {
  .site-nav-links { display: flex; }
  .site-nav { gap: 26px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-accent { background: #B6D84A; color: #15170E; }
.btn-accent:hover { background: #C6E36A; color: #15170E; }
.btn-outline { border: 1px solid #33363C; color: #ECEAE4; background: transparent; }
.btn-outline:hover { border-color: #B6D84A; color: #ECEAE4; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-pill { border-radius: 999px; }
.nav-signup { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; }

/* ---------- eclipse hero ---------- */
.hero-eclipse {
  position: relative;
  min-height: min(820px, 92vh);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.eclipse-sun-mount {
  position: absolute;
  right: max(-260px, -20vw);
  top: 50%;
  width: min(980px, 110vw);
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity .2s linear;
}
.hero-eclipse-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0C0D0F 30%, rgba(12, 13, 15, .6) 60%, transparent);
  pointer-events: none;
}
.hero-eclipse-copy {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-eclipse-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(52px, 9vw, 128px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-eclipse-lede {
  margin: 0;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.5;
  color: #A9ADB5;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-eclipse-note { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: #7C8088; }

.eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B6D84A;
}

/* ---------- format strip ---------- */
.format-strip {
  border-top: 1px solid #1E2024;
  border-bottom: 1px solid #1E2024;
  background: #101113;
  overflow: hidden;
}
.format-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #8A8E96;
}

/* ---------- generic section scaffolding ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 96px 24px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head-center { align-items: center; text-align: center; margin: 0 auto; }
.section-title {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.section-title-center { text-align: center; }
.section-lede { margin: 0; font-size: 17px; line-height: 1.55; color: #A9ADB5; text-wrap: pretty; }
.section-copy { display: flex; flex-direction: column; gap: 18px; }

/* ---------- features ---------- */
.features-section { padding: 112px 24px 40px; display: flex; flex-direction: column; gap: 48px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  background: #1E2024;
  border: 1px solid #1E2024;
  border-radius: 20px;
  overflow: hidden;
}
.feature-card { background: #0F1012; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(182, 216, 74, .12);
  color: #B6D84A;
  display: flex; align-items: center; justify-content: center;
}
.feature-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.feature-body { font-size: 15.5px; line-height: 1.55; color: #9A9EA6; text-wrap: pretty; }
.feature-more { display: flex; flex-direction: column; gap: 14px; }
.feature-more-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6C7078; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chip {
  font-size: 14px; color: #C9CCD2;
  padding: 7px 14px;
  border: 1px solid #26292E;
  border-radius: 999px;
  background: #0F1012;
}

/* ---------- demo ---------- */
.demo-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: center;
}
.demo-copy { display: flex; flex-direction: column; gap: 18px; }
.demo-rows { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.demo-row {
  display: flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 14px;
  border-radius: 12px;
  background: #131417;
  border: 1px solid #25272C;
  transition: background .15s, border-color .15s;
}
.demo-row.is-current { background: rgba(182, 216, 74, .1); border-color: rgba(182, 216, 74, .45); }
.demo-row-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.demo-row-name { flex: 1; font-size: 15px; font-weight: 600; }
.demo-row-type { font-size: 13.5px; color: #8A8E96; }
.demo-row-count { width: 64px; text-align: right; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: #C9CBD0; }

.demo-panel {
  border-radius: 24px;
  background: #131417;
  border: 1px solid #25272C;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.demo-hoop {
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 18px;
  background: linear-gradient(145deg, #5A5E66, #3B3E44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 24px 40px -20px rgba(0, 0, 0, .7);
}
.demo-hoop-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #1A1B1E;
  box-shadow: inset 0 3px 14px rgba(0, 0, 0, .6);
  display: flex; align-items: center; justify-content: center;
  padding: 13%;
}
.demo-controls { display: flex; align-items: center; gap: 14px; }
.demo-play {
  width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 50%;
  background: #B6D84A; color: #15170E;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.demo-scrub { position: relative; flex: 1; height: 30px; }
.demo-segs {
  position: absolute; left: 0; right: 0; top: 11px;
  height: 8px; border-radius: 4px; overflow: hidden;
  display: flex; gap: 2px;
}
.demo-segs span { display: block; height: 100%; }
.demo-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 0%;
  width: 3px; margin-left: -1.5px; border-radius: 2px;
  background: #fff; pointer-events: none;
}
#demoRange {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.demo-count { flex: none; width: 112px; text-align: right; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: #C9CBD0; }

/* ---------- sun-stitch mounts (JS fills these with canvases) ---------- */
.sun-mount, .cta-sun-mount { width: 100%; }
.sun-stitch { position: relative; width: 100%; aspect-ratio: 1; }
.sun-stitch-cv, .sun-stitch-ov { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }

/* ---------- gallery ---------- */
.gallery-section { display: flex; flex-direction: column; gap: 40px; padding: 64px 24px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.gallery-item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-swatch {
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px solid #25272C;
  background: repeating-linear-gradient(135deg, #131417 0 12px, #16171A 12px 24px);
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #5C6068;
}
.gallery-item figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.gallery-name { font-weight: 600; }
.gallery-meta { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #8A8E96; }

/* ---------- formats ---------- */
.formats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: start;
}
.formats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.format-card {
  padding: 16px; border-radius: 14px;
  background: #131417; border: 1px solid #25272C;
  display: flex; flex-direction: column; gap: 4px;
}
.format-ext { font-family: 'IBM Plex Mono', monospace; font-size: 17px; font-weight: 500; color: #ECEAE4; }
.format-m { font-size: 13px; color: #8A8E96; }

/* ---------- compare ---------- */
.compare-section { display: flex; flex-direction: column; gap: 40px; padding: 64px 24px; }
.compare-table { border-radius: 20px; border: 1px solid #25272C; overflow: hidden; }
.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid #1E2024;
}
.compare-head { background: #131417; border-bottom: 1px solid #25272C; }
.compare-head span { padding: 18px 22px; font-size: 13px; color: #8A8E96; }
.compare-col-a { font-size: 15px !important; font-weight: 700; color: #B6D84A !important; background: rgba(182, 216, 74, .06); }
.compare-col-b { font-size: 15px !important; font-weight: 700; color: #C9CBD0 !important; }
.compare-k { padding: 16px 22px; font-size: 15px; font-weight: 600; }
.compare-a {
  padding: 16px 22px; font-size: 15px; color: #ECEAE4;
  background: rgba(182, 216, 74, .06);
  display: flex; gap: 10px; align-items: flex-start;
}
.compare-a svg { flex: none; margin-top: 3px; }
.compare-b { padding: 16px 22px; font-size: 15px; color: #8A8E96; }

/* ---------- testimonials ---------- */
.testimonials-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.quote-card {
  margin: 0; padding: 30px; border-radius: 20px;
  background: #131417; border: 1px solid #25272C;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.quote-card blockquote { margin: 0; font-size: 20px; line-height: 1.4; letter-spacing: -.015em; text-wrap: pretty; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #25272C; display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #B6D84A; flex: none;
}
.quote-who { display: flex; flex-direction: column; gap: 2px; }
.quote-name { font-size: 15px; font-weight: 600; }
.quote-role { font-size: 13.5px; color: #8A8E96; }
.quote-placeholder {
  margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  color: #5C6068; text-transform: uppercase; letter-spacing: .08em;
}

/* ---------- pricing ---------- */
.pricing-section { display: flex; flex-direction: column; gap: 40px; padding: 64px 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: stretch; }
.plan-card {
  position: relative; padding: 32px; border-radius: 22px;
  background: #0F1012; border: 1px solid #25272C;
  display: flex; flex-direction: column; gap: 22px;
}
.plan-card-pop { background: #131417; border-color: rgba(182, 216, 74, .55); }
.plan-head { display: flex; align-items: center; justify-content: space-between; }
.plan-name { font-size: 20px; font-weight: 700; }
.plan-badge { padding: 4px 10px; border-radius: 999px; background: #B6D84A; color: #15170E; font-size: 12px; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price-v { font-size: 52px; font-weight: 700; letter-spacing: -.04em; }
.plan-price-per { font-size: 15px; color: #8A8E96; }
.plan-desc { font-size: 15px; color: #A9ADB5; margin-top: -10px; }
.plan-items { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-items span { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.plan-items svg { flex: none; margin-top: 2px; }
.plan-btn { height: 50px; border-radius: 12px; font-size: 16px; font-weight: 700; border: 1px solid transparent; }
.plan-btn-outline { background: transparent; color: #ECEAE4; border-color: #33363C; }
.plan-btn-accent { background: #B6D84A; color: #15170E; border-color: #B6D84A; }

/* ---------- faq ---------- */
.faq-section { max-width: 860px; margin: 0 auto; padding: 96px 24px; display: flex; flex-direction: column; gap: 32px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid #25272C; }
.faq-item { border-bottom: 1px solid #25272C; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; border: 0; background: transparent; color: #ECEAE4;
  font: inherit; font-size: 18px; font-weight: 600; text-align: left; cursor: pointer;
}
.faq-toggle {
  width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid #33363C;
  display: flex; align-items: center; justify-content: center; color: #B6D84A;
  transform: rotate(0deg); transition: transform .2s;
}
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }
.faq-a { margin: 0; padding: 0 4px 24px; max-width: 700px; font-size: 16px; line-height: 1.6; color: #A9ADB5; text-wrap: pretty; display: none; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- final CTA ---------- */
.final-cta-section { padding: 40px 24px 96px; }
.final-cta {
  max-width: 1200px; margin: 0 auto; border-radius: 28px;
  background: #131417; border: 1px solid #25272C;
  padding: clamp(40px, 6vw, 80px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-sun-mount { position: absolute; right: -120px; top: 50%; width: 420px; transform: translateY(-50%); opacity: .9; }
.final-cta-copy { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.final-cta-copy .section-title { font-size: clamp(34px, 4.4vw, 56px); line-height: 1; }
.final-cta-sub { margin: 0; font-size: 17px; color: #A9ADB5; }
.final-cta > .btn { position: relative; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid #1E2024; }
.site-footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 36px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 14px; color: #7C8088;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-word { color: #C9CBD0; letter-spacing: -.02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: #9A9EA6; }

/* ---------- small screens ---------- */
@media (max-width: 480px) {
  .site-header-inner { padding: 0 16px; gap: 10px; }
  .nav-signup { padding: 0 14px; font-size: 14px; }
  .hero-eclipse-copy, .section, .features-section, .demo-section, .sanity-section, .gallery-section,
  .formats-section, .compare-section, .testimonials-section, .pricing-section,
  .faq-section, .final-cta-section, .format-strip-inner, .site-footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .compare-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .compare-k, .compare-a, .compare-b, .compare-head span { padding: 14px 10px; }
}

/* ---------- sanity engine ---------- */
.sanity-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: center;
}
.sanity-copy { display: flex; flex-direction: column; gap: 18px; }
.sanity-card {
  border-radius: 24px;
  background: #131417;
  border: 1px solid #25272C;
  overflow: hidden;
}
.sanity-card-head {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 28px 24px;
  border-bottom: 1px solid #25272C;
}
.sanity-seal { flex: none; }
.sanity-card-headline { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sanity-card-kicker { font-size: 13.5px; font-weight: 600; color: #A9ADB5; }
.sanity-card-verdict { font-size: 30px; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: #B6D84A; }
.sanity-card-sub { font-size: 14px; color: #A9ADB5; }
.sanity-rows { display: flex; flex-direction: column; padding: 6px 28px 14px; }
.sanity-row { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid #1E2024; }
.sanity-row:last-child { border-bottom: 0; }
.sanity-row svg { flex: none; margin-top: 3px; }
.sanity-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sanity-row-title { font-size: 15px; font-weight: 600; }
.sanity-row-note { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; line-height: 1.45; color: #8A8E96; }
/* The checks arrive one after another once the card scrolls into view, the way
   they do in the app. Without JavaScript, or with reduced motion, the card is
   simply complete: `is-waiting` is only ever set by lander.js. */
.sanity-card.is-waiting .sanity-row { opacity: 0; transform: translateY(6px); }
.sanity-card.is-in .sanity-row { opacity: 1; transform: none; transition: opacity .32s ease-out, transform .32s ease-out; }
.sanity-card.is-in .sanity-row:nth-child(2) { transition-delay: .14s; }
.sanity-card.is-in .sanity-row:nth-child(3) { transition-delay: .28s; }
.sanity-card.is-in .sanity-row:nth-child(4) { transition-delay: .42s; }
.sanity-card.is-in .sanity-row:nth-child(5) { transition-delay: .56s; }
/* The copy comes first in the page; beside it on a wide screen the card goes
   on the left, so this section and the stitch-out demo above it alternate. */
@media (min-width: 960px) {
  .sanity-card { order: -1; }
}

.pricing-more { margin: -12px 0 0; text-align: center; font-size: 15px; color: #8A8E96; }
