:root {
  --brand: #2f5d3a;
  --brand-ink: #ffffff;
  --gold: #c8973a;
  --bg: #fbfbf8;
  --surface: #ffffff;
  --ink: #1d2a22;
  --muted: #55625a;
  --line: #e2e6df;
  --soft: #eef3ec;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #7fb08a;
    --brand-ink: #10180f;
    --gold: #d9ac57;
    --bg: #121814;
    --surface: #18201a;
    --ink: #e8eee9;
    --muted: #a5b1a8;
    --line: #2a352d;
    --soft: #1d2a21;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] {
  --brand: #7fb08a; --brand-ink: #10180f; --gold: #d9ac57; --bg: #121814; --surface: #18201a;
  --ink: #e8eee9; --muted: #a5b1a8; --line: #2a352d; --soft: #1d2a21; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: block; line-height: 0; }
.brand img { width: 220px; }
.logo-dark { display: none; }
nav.site { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
nav.site a { color: var(--ink); text-decoration: none; padding: 6px 0; }
nav.site a[aria-current="page"], nav.site a:hover { color: var(--brand); text-decoration: underline; }

.hero { padding: 56px 0 40px; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0; }

section { padding: 28px 0; }
h2 { font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 20px 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0 0 8px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
ul.plain { padding-left: 20px; margin: 8px 0; }
ul.plain li { margin: 4px 0; }

.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.contact dt { font-weight: 600; }
.contact dd { margin: 0; overflow-wrap: anywhere; }

.doc { padding: 40px 0 24px; max-width: 760px; }
.doc h1 { font-size: clamp(28px, 4.5vw, 38px); line-height: 1.2; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; }
.doc h2 { margin-top: 32px; font-size: 21px; }
.doc p, .doc li { overflow-wrap: anywhere; }
.callout { background: var(--soft); border-left: 4px solid var(--brand); padding: 14px 16px; border-radius: 6px; margin: 16px 0; }
.sample { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; margin: 8px 0; }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 32px; color: var(--muted); font-size: 14px; }
footer.site p { margin: 4px 0; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }

/* Home page banner: the scene fills the width; the headline sits on a green shade over the open sky. */
.banner { position: relative; display: flex; align-items: center; min-height: clamp(480px, 64vh, 620px); overflow: hidden; background: #2f5d3a; color: #ffffff; }
.banner-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.banner-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 38, 24, 0.9) 0%, rgba(18, 38, 24, 0.78) 38%, rgba(18, 38, 24, 0.2) 66%, rgba(18, 38, 24, 0) 82%); }
.banner-content { position: relative; width: 100%; padding-top: 64px; padding-bottom: 112px; }
.banner .eyebrow { color: #f3cf7e; }
.banner h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 18px; max-width: 16ch; color: #ffffff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); }
.banner .lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 30rem; margin: 0; color: rgba(255, 255, 255, 0.92); }
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn-gold { background: #e5b65a; color: #1d2a22; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.btn-gold:hover { background: #f0c46a; }
.btn-light { border: 2px solid rgba(255, 255, 255, 0.85); color: #ffffff; }
.btn-light:hover { background: rgba(255, 255, 255, 0.12); }
.banner :focus-visible { outline-color: #f3cf7e; }
.trust { background: var(--brand); color: var(--brand-ink); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; margin: 0 auto; font-size: 15px; font-weight: 600; }
.trust li::before { content: "\2713"; color: var(--gold); margin-right: 8px; }
@media (max-width: 720px) {
  .banner { align-items: flex-start; min-height: 600px; }
  .banner-art { object-position: 82% 100%; }
  .banner-scrim { background: linear-gradient(180deg, rgba(18, 38, 24, 0.9) 0%, rgba(18, 38, 24, 0.72) 48%, rgba(18, 38, 24, 0.1) 78%, rgba(18, 38, 24, 0) 100%); }
  .banner-content { padding-top: 40px; padding-bottom: 200px; }
  .trust ul { flex-direction: column; }
}

/* App tour page */
.tour-hero { padding-bottom: 8px; }
.tour-step { display: grid; gap: 20px 40px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.tour-step:first-of-type { border-top: 0; }
@media (min-width: 860px) {
  .tour-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); }
  .tour-flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .tour-flip .tour-text { order: 2; }
  .tour-phone { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .tour-wide .tour-text { max-width: 720px; }
}
.tour-text h2 { margin: 6px 0 10px; font-size: clamp(22px, 2.6vw, 28px); }
.tour-text p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.tour-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(29, 42, 34, 0.14); }
.shot.phone { max-width: 300px; justify-self: center; }
.shot.phone img { border-radius: 26px; border: 8px solid #1d2a22; }
.tour-cta { margin: 24px 0 8px; text-align: center; }
.tour-cta p { max-width: 560px; margin: 0 auto 14px; }
