:root {
  --bg: #f3f4f3;
  --bg-soft: #e9ebe9;
  --surface: #ffffff;
  --ink: #1a2420;
  --muted: #5c6662;
  --line: #dde1de;
  --green: #1c6b57;
  --green-deep: #155445;
  --mint: #d8ebe4;
  --radius: 12px;
  --shadow: 0 18px 40px -28px rgba(26, 36, 32, 0.45);
  --font-ui: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 90% 50% at 50% -5%, rgba(28, 107, 87, 0.08), transparent 55%),
    var(--bg);
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10;
  background: var(--green);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* App-like header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 244, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.mark {
  width: auto;
  height: 48px;
  display: block;
  flex: none;
  object-fit: contain;
}

.mark-wrap {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}

.mark-wrap .mark {
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green);
}

.edition {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.top-nav a:hover {
  color: var(--green);
  border-bottom-color: var(--mint);
}

.nav-cta {
  padding: 8px 14px !important;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  border-bottom: 0 !important;
}

.nav-cta:hover {
  background: var(--green-deep);
  color: #fff !important;
}

/* Hero — brand first, then product stage */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  animation: rise-in 560ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.deck {
  max-width: 36rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

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

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
}

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--green);
  background: var(--mint);
}

/* Full-bleed stage — same bg as product, soft chrome */
.stage {
  padding: 0 0 8px;
}

.stage-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
}

.stage-shot,
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

/* Click-to-enlarge product shots */
.shot {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shot:hover,
.shot:focus-visible {
  transform: translateY(-2px);
}

.shot:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.shot-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 36, 32, 0.78);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.shot:hover .shot-hint,
.shot:focus-visible .shot-hint {
  opacity: 1;
  transform: none;
}

.shot-phone img {
  max-height: 720px;
  object-fit: contain;
  object-position: top center;
  background: var(--bg-soft);
}

/* Lightbox */
.lightbox {
  width: min(96vw, 1280px);
  max-width: 96vw;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #101614;
  color: #f4f7f5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(12, 18, 16, 0.72);
  backdrop-filter: blur(4px);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(244, 247, 245, 0.12);
}

.lightbox-caption {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(244, 247, 245, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-close {
  flex: none;
  border: 1px solid rgba(244, 247, 245, 0.25);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 12px;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(244, 247, 245, 0.1);
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 12px 56px;
  max-height: calc(94vh - 96px);
  overflow: auto;
  background: #0c1210;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(94vh - 120px);
  width: auto;
  height: auto;
  border-radius: 8px;
  grid-area: 1 / 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(244, 247, 245, 0.28);
  border-radius: 999px;
  background: rgba(16, 22, 20, 0.78);
  color: #f4f7f5;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.lightbox-nav:hover {
  background: rgba(28, 107, 87, 0.92);
  border-color: rgba(244, 247, 245, 0.45);
}

.lightbox-nav:focus-visible {
  outline: 2px solid #7ecfb8;
  outline-offset: 2px;
}

.lightbox-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

.lightbox-nav-hint {
  margin: 0;
  padding: 10px 14px 14px;
  font-size: 0.8rem;
  color: rgba(244, 247, 245, 0.65);
  text-align: center;
}

@media (max-width: 640px) {
  .lightbox-stage {
    padding: 12px 48px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }
}

/* Continuous feature flow */
.flow {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 20px;
  display: grid;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.flow-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.flow-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.05rem;
}


.section-intro {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.section-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-intro p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.mosaic,
.phones,
.tour-band {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.mosaic-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.mosaic-grid figure,
.phone-row figure {
  margin: 0;
}


.mosaic-grid figcaption,
.phone-row figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.phone-row {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}


.tour-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer */
.site-footer {
  background: var(--green);
  color: #f4f7f5;
  margin-top: 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: grid;
  gap: 32px;
}

.footer-brand .wordmark {
  color: #fff;
}

.footer-brand .edition {
  color: rgba(244, 247, 245, 0.75);
}


.tagline {
  margin: 14px 0 0;
  max-width: 28rem;
  color: rgba(244, 247, 245, 0.88);
  font-size: 1.02rem;
}

.footer-contact {
  margin: 12px 0 0;
  color: rgba(244, 247, 245, 0.88);
  font-size: 0.95rem;
}

.footer-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a:hover {
  text-decoration-thickness: 2px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.waitlist-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.waitlist-lead {
  margin: 0 0 16px;
  color: rgba(244, 247, 245, 0.85);
}

.field + .field {
  margin-top: 10px;
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(244, 247, 245, 0.35);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1rem;
}

.field input::placeholder {
  color: rgba(244, 247, 245, 0.65);
}

.field input[aria-invalid="true"] {
  border-color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}

.email-row {
  display: flex;
  gap: 8px;
}

.email-row input {
  min-width: 0;
  flex: 1;
}

.email-row button {
  flex: none;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--green);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.email-row button:hover {
  background: var(--mint);
}

.field-error,
.form-status {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: #fff;
}

.form-status:empty {
  display: none;
}

.fine-print {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 44px;
  display: grid;
  gap: 18px;
  border-top: 1px solid rgba(244, 247, 245, 0.2);
  padding-top: 24px;
}

.fine-print h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-family: var(--font-ui);
  font-weight: 600;
}

.fine-print p {
  margin: 0;
  max-width: 48ch;
  color: rgba(244, 247, 245, 0.78);
  font-size: 0.92rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.site-footer :focus-visible {
  outline-color: #fff;
}

/* Custom solutions — same content column as hero/flow, text centered */
.custom-band {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 64px 20px;
  border-top: 1px solid var(--line);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: rise-in 640ms ease both;
}

.custom-inner {
  width: 100%;
  max-width: 36rem;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
}

.custom-inner .eyebrow,
.custom-inner h2,
.custom-inner > p {
  text-align: center;
}

.custom-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.custom-inner > p:not(.eyebrow) {
  margin: 14px 0 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.custom-inner .hero-actions {
  justify-content: center;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 860px) {
  .hero {
    padding: 64px 20px 36px;
  }

  .custom-band {
    padding: 72px 20px;
  }

  .flow {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px 48px;
    padding: 72px 20px;
  }

  .flow-reverse .flow-copy {
    order: 2;
  }

  .flow-reverse .flow-shot {
    order: 1;
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .phone-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 860px;
    gap: 28px;
  }

  .shot-phone img {
    max-height: 780px;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 0.9fr 1.1fr;
    align-items: start;
    gap: 36px;
  }

  .fine-print {
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
  }
}

/* Legal document pages */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
  color: var(--ink);
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.legal-doc p {
  margin: 0 0 14px;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin: 0 0 8px;
}

.legal-doc li ul {
  margin-top: 8px;
}

.legal-doc a {
  color: var(--green);
  font-weight: 600;
}

.legal-doc strong {
  color: var(--ink);
  font-weight: 600;
}

.footer-inner-simple {
  grid-template-columns: 1fr !important;
  gap: 20px !important;
}

.fine-print a {
  color: #fff;
  font-weight: 600;
}

.top-nav a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .custom-band {
    animation: none;
  }

  .btn-primary,
  .btn-ghost,
  .shot {
    transition: none;
  }
}
