/* Mobile navigation is a modal sheet with native keyboard and focus handling. */
.mobile-mega-menu { width:calc(100% - 24px); max-width:560px; max-height:calc(100dvh - 24px); margin:12px auto; padding:22px; overflow:auto; overscroll-behavior:contain; border:1px solid #dce5d2; border-radius:18px; background:#fafcf6; color:#294332; box-shadow:0 24px 80px #122b3540; }
.mobile-mega-menu::backdrop { background:#142e25a8; backdrop-filter:blur(4px); }
.mega-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.mega-eyebrow { display:block; color:#81916f; font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.1em; margin-bottom:4px; }
.marketing .mega-heading h2 { margin:0; font-size:25px; font-weight:500; letter-spacing:-.035em; }
.mega-close { display:grid; place-items:center; width:42px; height:42px; border:1px solid #dfe7d5; border-radius:10px; background:#f0f5e9; color:#385733; cursor:pointer; }
.mega-close svg { width:20px; height:20px; }
.mega-featured { display:flex; align-items:center; gap:12px; padding:15px; border:1px solid #d9e6ca; border-radius:11px; background:#eaf2df; color:#355633; }
.mega-featured>span:last-child { margin-left:auto; }
.mega-featured strong,.mega-links strong { display:block; font-size:13px; font-weight:600; }
.mega-featured small,.mega-links small { display:block; font-size:11px; font-weight:400; color:#728566; margin-top:5px; line-height:1.5; }
.mega-feature-icon { display:grid; place-items:center; width:38px; height:38px; border:1px solid #d0dfbf; border-radius:8px; background:#f7fbef; flex:none; }
.mega-feature-icon svg { width:22px; height:22px; }
.mega-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:12px 0 20px; }
.mega-links a { padding:14px 12px; border:1px solid #e3e9dc; border-radius:9px; background:#fff; color:#385236; }
.mobile-mega-menu a:hover { background:#edf3e5; text-decoration:none; }
.mega-resources { border-top:1px solid #e1e8d8; padding-top:16px; }
.mega-resources>span { font-size:10px; color:#81916f; font-weight:500; }
.mega-resources>div { display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:5px; }
.mega-resources a { display:inline-flex; gap:10px; align-items:center; font-size:12px; padding:10px 0; min-height:42px; color:#516b44; }
.mega-account { margin-top:16px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.marketing .mega-account .btn { min-height:44px; font-size:12px; padding:12px; display:flex; justify-content:center; gap:10px; align-items:center; box-shadow:none; }
.marketing .mega-account .btn-primary:hover { background:#1d4935; color:#fff; transform:none; }
.mega-account p { grid-column:1/-1; font-size:10px; color:#869477; text-align:center; margin:2px 0 0; }
@media(max-width:900px) {
 .marketing .nav-links.is-open { display:none; }
 .marketing .nav-cta { display:none; }
 .marketing .menu-toggle { appearance:none; color:var(--ink); display:flex; padding:10px 12px; border:1px solid #dce5d3; border-radius:8px; background:#f1f5e9; font-size:12px; min-height:42px; gap:9px; }
 .marketing .menu-toggle span { font-size:inherit; }
 .marketing .nav-inner { height:72px; }
}
@media(max-width:360px) { .mobile-mega-menu { padding:18px; } .mega-links a { padding:12px 10px; } .mega-links strong { font-size:12px; } .mega-links small { font-size:10px; } .mega-featured { padding:12px; } }
@media(prefers-reduced-motion:reduce) { .marketing { scroll-behavior:auto; } .marketing .btn { transition:none; } }


/* Public index */
.marketing {
  --ink: #173a2f;
  --ink-2: #445a4e;
  --primary: #184c37;
  --primary-strong: #103b2b;
  --line: #d9dfd3;
  --bg: #faf9f3;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-head: var(--font-body);
  --display: "Instrument Serif", Georgia, serif;
}
.marketing .container { width: min(1192px, calc(100% - 72px)); }
.marketing ::selection { background: #d9eab3; color: #173a2f; }
.marketing :focus-visible { outline: 3px solid #a3631c; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 70; padding: 10px 20px; background: white; }
.skip-link:focus { top: 12px; }
.marketing .nav { background: #faf9f3f5; }
.marketing .brand { gap: 9px; font-size: 23px; letter-spacing: -.055em; }
.marketing .nav-inner { height: 72px; }
.marketing .nav-links { gap: 23px; }
.marketing .nav-links a { font-size: 14px; }
.marketing .btn { min-height: 44px; border-radius: 8px; }
.marketing .nav-cta .btn-ghost { border: 0; }
.mobile-sign-in,.menu-toggle { display: none; }
.menu-toggle svg { display: block; width: 18px; height: 18px; }
.home-intro { padding: clamp(48px,6vw,96px) 0; }
.intro-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,6vw,92px); align-items: center; }
.intro-category { font-size: 13px; color: #446349; font-weight: 600; margin: 0 0 20px; }
.intro-copy h1 { font: 400 clamp(60px,6.7vw,100px)/.96 var(--display); letter-spacing: -.044em; margin: 0; max-width: 11ch; }
.intro-copy h1 em { color: #47724d; }
.intro-description { max-width: 47ch; font-size: clamp(16px,1.45vw,19px); line-height: 1.6; color: var(--ink-2); margin: 24px 0; }
.intro-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.intro-actions .btn { padding: 14px 22px; }
.intro-actions > a + a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 600; font-size: 14px; }
.intro-terms { color: #526558; font-size: 12px; margin: 14px 0 0; }
.marketing main section[id], .case-example { scroll-margin-top: 85px; }
.marketing .section { padding: clamp(46px,6.5vw,94px) 0; }
.marketing .section h2, .controls-band h2, .marketing .cta-final h2 { font: 400 clamp(38px,4.8vw,65px)/1.05 var(--display); letter-spacing: -.035em; }
.home-flow { border-block: 1px solid var(--line); background: #eff2e7; padding: 26px 0; }
.flow-layout { display: grid; grid-template-columns: minmax(140px,.65fr) 3fr; align-items: start; gap: 24px; }
.flow-layout h2 { font: 400 31px/1.1 var(--display); margin: 0; }
.flow-layout ol { display: grid; grid-template-columns: repeat(3,1fr); list-style: none; margin: 0; padding: 0; }
.flow-layout li { padding: 0 20px; border-left: 1px solid #cbd5c4; }
.flow-layout strong,.flow-layout span { display: block; }
.flow-layout span { color: var(--ink-2); font-size: 13px; margin-top: 4px; }
.editorial-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.editorial-heading h2,.editorial-heading p { margin: 0; }
.editorial-heading p { max-width: 45ch; color: var(--ink-2); }
.shots { gap: 18px; }
.marketing .shot { margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.shot-heading, .shot figcaption { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.shot-heading { margin-bottom: 12px; }
.shot-heading span,.shot figcaption { font-size: 12px; color: #516458; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.shot figcaption { padding: 14px 0 0; margin: 0; }
.marketing #features { background: #f1f2e9; }
.feature-layout,.controls-layout { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.3fr); gap: clamp(24px,5vw,80px); }
.feature-layout .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.feature-layout .card {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 3px 10px;
  background: transparent;
  border: 0;
  border-top: 1px solid #cbd5c4;
  border-radius: 0;
  padding: 14px 0 0;
}
.feature-layout .icon { align-self: center; background: #e2e9d8; color: #315541; border-radius: 8px; width: 32px; height: 32px; }
.feature-layout .icon svg { width: 20px; height: 20px; }
.feature-layout .card h3 { align-self: center; margin: 0; font-size: 17px; line-height: 1.22; }
.feature-layout .card p { grid-column: 2; margin: 0; font-size: 14px; line-height: 1.5; }
.controls-band { background: #193e31; color: #fffaf0; padding: clamp(42px,5.5vw,82px) 0; }
.controls-band p,.controls-band dd { color: #dde6db; }
.controls-band dl { margin: 0; }
.controls-band dl div { padding: 14px 0; border-top: 1px solid #54715e; display: grid; grid-template-columns: minmax(130px,.7fr) 1.5fr; gap: 15px; }
.controls-band dt { font-weight: 600; }
.controls-band dd { margin: 0; font-size: 14px; }
.marketing .plan-card { border-radius: 12px; box-shadow: none; }
.marketing .plan-card.is-featured { border-color: #6c906e; background: #f0f5e7; }
.marketing .pricing-foot { font-size: 13px; color: var(--ink-2); }
.marketing #google-data { border-top: 1px solid var(--line); padding-bottom: 30px; }
.marketing #google-data h2, .marketing #founder h2 { font-size: clamp(30px,3vw,46px); }
.marketing #google-data .card { background: transparent; }
.marketing #founder { padding-top: 18px; }
.marketing .founder-note { max-width: 840px; border: 0; border-left: 3px solid #739164; padding: 0 0 0 24px; border-radius: 0; background: transparent; }
.marketing .faq { border-top: 1px solid var(--line); }
.faq .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0 40px; }
.faq .section-head { grid-row: span 8; }
.marketing .faq details { grid-column: 2; margin: 0; border: 0; background: transparent; border-bottom: 1px solid var(--line); padding: 15px 0; border-radius: 0; }
.marketing .cta-final { background: #e2ecd8; }
@media(max-width:900px) {
  .marketing .nav-links, .marketing .nav-cta { display: none; }
  .marketing .mobile-sign-in { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; }
  .marketing .menu-toggle { display: inline-flex; align-items: center; font-family: inherit; cursor: pointer; }
  .flow-layout { grid-template-columns: 1fr; gap: 14px; }
  .flow-layout li:first-child { border-left: 0; padding-left: 0; }
}
@media(max-width:760px) {
  .marketing .container { width: calc(100% - 36px); }
  .marketing .nav-inner { height: 64px; }
  .intro-layout,.feature-layout,.controls-layout { grid-template-columns: minmax(0,1fr); }
  .intro-copy h1 { max-width: 13ch; }
  .home-intro { padding: 38px 0 30px; }
  .editorial-heading,.faq .container { display: block; }
  .editorial-heading h2 { margin-bottom: 10px; }
  .feature-layout .section-head { margin: 0; }
  .marketing .plan-grid,.shots { grid-template-columns: 1fr; }
  .flow-layout ol { grid-template-columns: 1fr; gap: 14px; }
  .flow-layout li { border: 0; padding: 0; }
}
@media(max-width:460px) {
  .intro-copy h1 { font-size: 56px; }
  .feature-layout .grid-3 { grid-template-columns: 1fr; }
  .controls-band dl div { grid-template-columns: 1fr; gap: 3px; }
}

/* Screenshot gallery */
.shot-open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: zoom-in; }
.shot-expand { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fffef8; box-shadow: 0 2px 8px #173a2f26; }
.shot-expand svg { width: 17px; height: 17px; }
.shot-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; color: #f8faf5; background: #12231d; overflow: hidden; }
.shot-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.shot-viewer::backdrop { background: #12231d; }
html:has(.shot-viewer[open]) { overflow: hidden; }
.shot-viewer-bar, .shot-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px clamp(12px,3vw,42px); }
.shot-viewer-bar { padding-top: max(9px,env(safe-area-inset-top)); }
.shot-tools { padding-bottom: max(9px,env(safe-area-inset-bottom)); }
.shot-tools > span { font-size: 13px; color: #d5e0d7; line-height: 1.3; }
.shot-tools > div { display: flex; flex: none; border: 1px solid #64796c; border-radius: 24px; overflow: hidden; }
.shot-viewer button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; color: inherit; background: transparent; font: 600 14px var(--font-body); cursor: pointer; }
.shot-viewer .shot-close { display: flex; align-items: center; gap: 8px; }
.shot-close span, .shot-tools button:not([data-zoom="fit"]) { font-size: 22px; }
.shot-viewer button:hover { background: #2c4136; }
.shot-viewer button:disabled { color: #91a197; cursor: default; }
.shot-viewer :focus-visible { outline: 2px solid #e9f3a9; outline-offset: -3px; }
.shot-stage { position: relative; overflow: hidden; background: #26382e; cursor: grab; touch-action: none; user-select: none; }
.shot-stage.is-dragging { cursor: grabbing; }
.shot-stage img { position: absolute; top: 0; left: 0; max-width: none; max-height: none; transform-origin: 0 0; pointer-events: none; }
