:root {
  color: #17201f;
  background: #f3f5f2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --accent: #176b58;
  --accent-dark: #0e5142;
  --accent-soft: #dcece5;
  --ink: #17201f;
  --muted: #66736e;
  --line: #d7e0db;
  --paper: #ffffff;
  --cream: #fbfcfa;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(.lightbox[open]) { overflow: hidden; }
body { min-width: 320px; margin: 0; background: var(--cream); }
button, a { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }

.site-shell { overflow: hidden; }
.section-wrap { width: min(var(--max-width), calc(100% - 56px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; width: min(var(--max-width), calc(100% - 56px)); height: 82px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.nav-download { padding: 11px 16px; border: 1px solid var(--accent); border-radius: 9px; color: var(--accent) !important; }
.nav-download:hover { background: var(--accent); color: #fff !important; }

.hero { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 6vw, 92px); align-items: center; min-height: 700px; padding: 70px 0 100px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.055em; text-wrap: balance; }
h1 { max-width: 560px; font-size: clamp(2.7rem, 4.2vw, 4.25rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 2.9vw, 2.7rem); line-height: 1.05; }
h3 { font-size: 19px; line-height: 1.1; }
.hero-lede { max-width: 460px; margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero-downloads, .platform-links { display: flex; align-items: center; }
.hero-downloads { gap: 9px; }
.platform-links { gap: 5px; }
.platform-links a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--muted); text-decoration: none; }
.platform-links a:hover { border-color: #9bc9b8; color: var(--accent); }
.platform-links svg { width: 15px; height: 15px; fill: currentColor; }
.platform-links span { font-size: 17px; line-height: 1; }
.button { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 19px; border-radius: 9px; font-size: 14px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 9px 22px rgb(23 107 88 / 18%); }
.button-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.text-link { display: none; color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 34px; color: var(--muted); font-size: 12px; }
.hero-note[hidden] { display: none; }
.hero-note-copy { line-height: 1.45; }
.hero-note-copy [data-platform-note] { display: block; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #70bca3; box-shadow: 0 0 0 5px var(--accent-soft); }

.demo-wrap { position: relative; min-width: 0; }
.demo-heading { display: grid; grid-template-columns: minmax(0, .92fr) 38px minmax(0, 1.08fr); align-items: center; margin: 0 0 13px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.demo-heading span { justify-self: center; }
.demo-heading-line { width: 30px; height: 1px; background: var(--line); }
.demo-board { display: grid; grid-template-columns: minmax(0, .92fr) 38px minmax(0, 1.08fr); align-items: center; }
.demo-card { position: relative; min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: 0 20px 50px rgb(31 49 43 / 9%); }
.demo-before { transform: rotate(-1.3deg); }
.demo-after { z-index: 1; transform: rotate(1.1deg); }
.demo-card-heading { display: flex; align-items: center; justify-content: space-between; min-height: 25px; margin-bottom: 11px; }
.demo-label { color: var(--ink); font-size: 12px; font-weight: 850; }
.demo-meta { color: var(--muted); font-size: 10px; }
.demo-badge { padding: 5px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-dark); font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.demo-card > img { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 9px; object-fit: cover; }
.demo-card figcaption { margin: 11px 2px 0; overflow: hidden; color: var(--muted); font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.demo-transition { position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; margin: 0 -5px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--accent); font-size: 20px; box-shadow: 0 8px 18px rgb(31 49 43 / 10%); }
.after-stage { position: relative; min-height: 425px; padding: 34px 48px 44px; }
.after-art { display: grid; place-items: center; width: min(100%, 330px); margin: 0 auto; overflow: hidden; border: 1px solid #e7ece8; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 70%); }
.after-art img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.annotation { position: absolute; z-index: 3; display: grid; gap: 2px; width: max-content; padding: 8px 10px; border: 1px solid #b6d8ca; border-radius: 8px; background: rgb(255 255 255 / 96%); box-shadow: 0 7px 16px rgb(31 49 43 / 9%); color: var(--ink); }
.annotation > div { display: grid; gap: 2px; }
.annotation strong { font: 700 13px/1.15 "Comic Sans MS", "Bradley Hand", cursive; }
.annotation small { color: var(--muted); font-size: 9px; font-weight: 700; }
.annotation-index { display: block; color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.svg-definitions { position: absolute; width: 0; height: 0; }
.annotation-arrow { position: absolute; overflow: visible; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.annotation--size { top: 4px; left: 0; }
.annotation--margin { top: 90px; right: -3px; }
.annotation--margin .annotation-arrow { top: 55px; left: calc(100% - 100px); width: 75px; height: 100px; }
.annotation--shadow { bottom: 10px; left: -40px; }
.annotation--shadow .annotation-arrow { top: -145px; left: calc(100% - 100px); width: 100px; height: 150px; }

.video-section { padding: 0 0 100px; }
.video-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.video-heading > p { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.video-frame { max-width: 960px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #000; box-shadow: 0 20px 50px rgb(31 49 43 / 10%); }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

.pricing-section { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(40px, 8vw, 120px); padding: 100px 0; border-top: 1px solid var(--line); }
.section-intro h2 { max-width: 580px; }
.section-intro > p:not(.eyebrow) { max-width: 520px; margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.pricing-unit { color: var(--muted); font-size: .48em; font-weight: 700; letter-spacing: -.03em; }
.pricing-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-item { min-height: 150px; padding: 22px 20px; border-top: 2px solid var(--accent); background: var(--paper); }
.pricing-item strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; }
.pricing-item p { margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.mobile-device .hero-downloads, .mobile-device .nav-download { display: flex; }
.mobile-device .hero-downloads a[aria-disabled="true"], .mobile-device .nav-download[aria-disabled="true"] {
  border-color: var(--line);
  background: #eef1ef;
  box-shadow: none;
  color: #98a39e !important;
  cursor: not-allowed;
  pointer-events: none;
}
.mobile-device .hero-downloads a[aria-disabled="true"]:hover, .mobile-device .nav-download[aria-disabled="true"]:hover {
  background: #eef1ef;
  color: #98a39e !important;
  transform: none;
}

.screenshots-section { padding: 0 0 110px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.screenshot-card { display: grid; gap: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: inherit; cursor: pointer; text-align: left; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.screenshot-card:hover { border-color: #9bc9b8; box-shadow: 0 14px 30px rgb(31 49 43 / 9%); transform: translateY(-2px); }
.screenshot-image { display: block; padding: 12px; background: #e9eeeb; }
.screenshot-image img { display: block; width: 100%; border-radius: 8px; }
.screenshot-caption { display: grid; gap: 5px; padding: 17px 18px 4px; }
.screenshot-caption strong { font-size: 15px; }
.screenshot-caption small { color: var(--muted); font-size: 12px; }
.screenshot-open { padding: 12px 18px 17px; color: var(--accent); font-size: 12px; font-weight: 800; }

.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.brand--footer { color: var(--ink); font-size: 15px; }
.brand--footer img { width: 27px; height: 27px; }
.footer-contact { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact img { display: block; width: 154px; height: auto; }

.lightbox { width: min(1100px, calc(100% - 32px)); padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 24px 80px rgb(23 32 31 / 25%); }
.lightbox::backdrop { background: rgb(23 32 31 / 62%); }
.lightbox img { display: block; width: 100%; max-height: calc(100vh - 64px); object-fit: contain; }
.lightbox-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 22px; line-height: 1; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { max-width: 700px; }
  .demo-wrap { width: min(700px, 100%); margin: 0 auto; }
  .pricing-section { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 680px) {
  .section-wrap, .site-header { width: min(100% - 32px, var(--max-width)); }
  .site-header { height: 70px; }
  .site-nav { gap: 14px; font-size: 11px; }
  .site-nav a:not(.nav-download) { display: none; }
  .nav-download { padding: 9px 11px; }
  .brand { font-size: 16px; }
  .brand img { width: 30px; height: 30px; }
  .hero { min-height: auto; padding: 55px 0 74px; }
  h1 { font-size: clamp(2.45rem, 11vw, 3.35rem); line-height: 1.04; }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 18px; }
  .text-link { display: inline; }
  .demo-board { grid-template-columns: 1fr; gap: 14px; }
  .demo-heading { display: flex; gap: 12px; margin-left: 20px; }
  .demo-transition { margin: -7px auto; transform: rotate(90deg); }
  .demo-card { padding: 12px; }
  .after-stage { min-height: auto; padding: 14px 0 0; }
  .after-art { width: min(100%, 330px); }
  .annotation { position: relative; inset: auto; display: block; width: auto; margin: 12px 2px 0; }
  .annotation strong { display: inline; margin-left: 6px; }
  .annotation small { display: block; margin-left: 7px; }
  .annotation-arrow { display: none; }
  .demo-after figcaption { margin-top: 12px; }
  .video-section { padding-bottom: 74px; }
  .video-heading { align-items: start; flex-direction: column; gap: 18px; }
  .pricing-details, .screenshot-grid { grid-template-columns: 1fr; }
  .pricing-section { gap: 30px; padding: 58px 0 48px; }
  .pricing-details { gap: 14px; }
  .pricing-item { min-height: 0; padding: 18px; }
  .screenshots-section { padding-bottom: 74px; }
  .site-footer { align-items: start; flex-direction: column; justify-content: center; gap: 12px; min-height: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button-primary, .screenshot-card { transition: none; }
}
