:root {
  color-scheme: light;
  --paper: #f7f7ef;
  --ink: #19271f;
  --forest: #172a23;
  --night: #101d18;
  --lime: #d8ef92;
  --muted: #516053;
  --rule: #d3d9ca;
  font-family: 'Aptos', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  scroll-padding-top: 24px;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
figure, p { margin: 0; }
ul, ol { margin: 0; padding-inline-start: 1.2em; }
li + li { margin-top: .5em; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #5c92fa; outline-offset: 5px; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.2rem); font-weight: 650; }
h3 { font-size: 1.6rem; font-weight: 650; }
.wrap { width: min(100% - 7rem, 1312px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; left: 1rem; top: 1rem; padding: .7em 1em; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header, .hero { color: var(--paper); background: var(--night); }
.site-header { border-bottom: 1px solid #34443b; }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; font-weight: 730; font-size: 1.2rem; white-space: nowrap; letter-spacing: -.04em; }
.brand-mark { flex: none; width: 34px; height: 34px; }
nav { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.6rem); }
nav a { font-size: .94rem; text-decoration: none; color: #dde5d9; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .68rem 1.12rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; border-radius: 4px; line-height: 1.2; }
.button-outline { color: var(--paper); border-color: #66766a; }
.button-outline:hover { background: #263b31; }
.button-accent { background: var(--lime); color: var(--night); }
.button-accent:hover { background: #edffc3; }

.hero { padding: 3.3rem 0 4.7rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.75rem, 4.5vw, 5rem); }
.hero-copy { padding-block: 1rem; }
.preview-banner { display: inline-flex; align-items: center; gap: .7rem; padding-right: .75rem; border: 1px solid #60735f; border-radius: 4px; color: #ced8cc; font-size: .9rem; }
.preview-banner strong { padding: .2rem .8rem; border-radius: 3px 0 0 3px; background: var(--lime); color: var(--night); font-size: 1.15rem; }
.eyebrow { color: #536d39; font-size: .84rem; font-weight: 750; letter-spacing: .15em; }
.download .eyebrow { color: var(--lime); }
h1 { font-size: clamp(3.7rem, 6.1vw, 7rem); font-weight: 670; line-height: .97; letter-spacing: -.075em; margin-top: 1.2rem; }
.hero h1 { font-size: clamp(2.1rem, 4.35vw, 4.25rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.hero-product { display: block; margin-top: .45rem; color: var(--lime); font-size: .52em; letter-spacing: -.035em; }
.lede { max-width: 29rem; margin: 1.55rem 0 1.7rem; color: #ced8cc; font-size: clamp(1.04rem, 1.44vw, 1.2rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .95rem 1.4rem; }
.text-link { color: #edf2e8; font-size: .94rem; font-weight: 650; }
.meta { margin-top: 1.1rem; color: #a7b8a9; font-size: .9rem; }
.meta span { margin-inline: .38em; }
.preview-art { padding: .6rem; border: 1px solid #4b5e51; border-radius: 8px; background: #21332a; }
.preview-art img { border-radius: 4px; }
.preview-art figcaption { padding: .7rem .2rem .1rem; color: #ced8cc; font-size: .875rem; }
.hero-art { position: relative; overflow: hidden; border-radius: 6px; background: #294034; }
.workflow-gallery { max-width: 1040px; margin: 2.5rem auto 0; }
.hero-slides { position: relative; height: clamp(23rem, 37vw, 36rem); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-art figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .8rem; padding: .45rem .7rem; background: #1c2b23; color: var(--paper); font-size: .875rem; }
.hero-controls { display: flex; flex-wrap: wrap; gap: .35rem; }
.hero-controls[hidden] { display: none; }
.hero-controls button { min-height: 36px; padding: .2rem .55rem; border: 1px solid #76877a; border-radius: 4px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.hero-controls button:hover { background: #344d40; }
.hero-controls button:focus-visible { outline: 2px solid #a9c4ff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.workflow { padding-block: clamp(3rem, 6vw, 6rem); }
.future-features { border-top: 2px solid var(--rule); }
.section-intro h2, .split h2, .download h2 { margin-top: .6rem; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 3rem); margin-top: 2.3rem; }
.workflow-grid article { border-top: 1px solid #a9b7a6; padding-top: 1.15rem; }
.workflow-grid h3 { margin: .55rem 0 .62rem; }
.workflow-grid article > p:last-child, .split p { color: var(--muted); }
.free-tier .workflow-grid { margin-top: 1.8rem; }
.free-layer-details { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 1.25rem; margin-top: 2rem; }
.preview-report { padding: 1.3rem 1.5rem; border-left: 3px solid #768e50; background: #edf0e4; }
.preview-report ol, .preview-report p { max-width: 52rem; margin-top: .85rem; color: var(--muted); }
.share-card { padding: clamp(1.35rem, 3vw, 2.5rem); border-radius: 8px; color: var(--night); background: #d6fb53; }
.share-card h3 { font-size: clamp(1.85rem, 3.2vw, 2.8rem); text-wrap: balance; }
.share-card p { margin-top: .85rem; max-width: 32ch; }
.preview-note { margin-top: .85rem; color: var(--muted); font-size: .9rem; }
.api-guide .workflow-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); margin-top: 1.6rem; }
.api-steps { max-width: 56rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.api-steps ol { margin-top: .7rem; }
.api-steps p, .export-note { margin-top: 1rem; }
.product-shot { max-width: 1040px; margin: 2.5rem auto 0; padding: .75rem; border: 1px solid var(--rule); background: #e6eadb; border-radius: 8px; }
.product-shot img { border-radius: 4px; }
.product-shot figcaption { padding: .65rem .15rem .15rem; color: #3a4e42; font-size: .88rem; }
.privacy-note { max-width: 1040px; margin: 1.5rem auto 0; padding: 1.15rem 1.3rem; border-left: 3px solid #768e50; background: #edf0e4; }
.privacy-note p { margin-top: .5rem; color: var(--muted); }

.planning { background: #e9eee1; padding-block: clamp(2.75rem, 6vw, 6rem); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 5.25vw, 5.5rem); }
.split .eyebrow { color: #536d39; }
.split h2 + p { margin-block: 1rem 1.2rem; }
.planning-shot { margin: 0; }
.feature-list li::marker { color: #526d38; }

.download { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: var(--forest); color: var(--paper); }
.download-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.7rem; }
.download h2 + p { margin-top: 1rem; color: #d6e1d6; }
.download-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; }
.services { padding-block: clamp(3rem, 6vw, 6rem); }
.services-intro { max-width: 46rem; margin: 1rem 0 1.6rem; color: var(--muted); }
.service-group { border-top: 1px solid #a9b7a6; }
.service-group:last-child { border-bottom: 1px solid #a9b7a6; }
.service-group summary { cursor: pointer; min-height: 46px; padding: .85rem .2rem; font-weight: 700; }
.service-group summary:focus-visible { outline: 3px solid #5c92fa; }
.service-count { color: var(--muted); margin-left: .5rem; font-size: .9rem; font-weight: 500; }
.service-list { display: grid; gap: .75rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0 .2rem 1.2rem; }
.service-list div { padding-top: .65rem; border-top: 1px solid var(--rule); }
.service-list dt { font-weight: 700; }
.service-list dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.footer { padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; color: #4b584e; font-size: .92rem; }

.policy { max-width: 48rem; padding-block: clamp(3rem, 6vw, 6rem); }
.policy h1 { font-size: clamp(3rem, 7vw, 5rem); }
.policy section { margin-top: 2rem; }
.policy h2 { font-size: 1.6rem; }
.policy p { margin-top: .75rem; }

@media (max-width: 980px) {
  .wrap { width: min(100% - 4rem, 1312px); }
  .header-row { gap: 1rem; }
  h1 { font-size: clamp(3.35rem, 7vw, 5.1rem); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .header-row { min-height: 0; flex-wrap: wrap; padding-block: .8rem; gap: .7rem; }
  .header-row nav { order: 1; width: 100%; padding-top: .6rem; justify-content: space-between; border-top: 1px solid #34443b; }
  .hero { padding-block: 1.5rem 2rem; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-copy { padding-block: .4rem 0; }
  h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
  .hero-slides { height: clamp(15rem, 76vw, 27rem); }
  .workflow-grid, .free-layer-details, .service-list { grid-template-columns: 1fr; }
  .split > div { grid-row: 1; }
  .product-shot { padding: .35rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}
