/* ==========================================================
   LesEye — marketing site stylesheet
   Plain CSS, no build step. Tokens from leseye-tokens.css.
   ========================================================== */

:root {
  /* ---- Color: core (same values as the mobile app) ---- */
  --le-bg:            #10130f;
  --le-surface:       #181d15;
  --le-surface-2:     #20261c;
  --le-border:        rgba(255,255,255,0.08);
  --le-text:          #e9e6dc;
  --le-text-muted:    #9aa294;
  --le-accent:        #7f9a5c;
  --le-accent-strong: #a9c886;
  --le-accent-soft:   rgba(127,154,92,0.16);
  --le-amber:         #e0913f;
  --le-ink-on-accent: #101208;

  --le-font-ui:   'Space Grotesk', system-ui, sans-serif;
  --le-font-mono: 'Space Mono', monospace;

  --le-container: 1160px;
  --le-gutter: 40px;
  --le-section-y: 96px;

  --le-r-sm: 9px;
  --le-r-md: 12px;
  --le-r-lg: 16px;
  --le-r-xl: 24px;

  --le-shadow-pop: 0 12px 30px rgba(0,0,0,0.45);
}

/* ---------- font faces (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/space-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/space-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/space-mono-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/space-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--le-bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  background: var(--le-bg);
  color: var(--le-text);
  font-family: var(--le-font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html {
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--le-accent-strong);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---------- layout helpers ---------- */
.container {
  max-width: var(--le-container);
  margin: 0 auto;
  padding: 0 var(--le-gutter);
  box-sizing: border-box;
}
.section {
  padding: var(--le-section-y) 0;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 52px;
  max-width: 640px;
}
.eyebrow {
  font-family: var(--le-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--le-accent-strong);
}
.h2 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0;
}
.section-sub {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--le-text-muted);
  margin: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16,19,15,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--le-border);
}
.nav-row {
  max-width: var(--le-container);
  margin: 0 auto;
  padding: 0 var(--le-gutter);
  box-sizing: border-box;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--le-text);
  flex: none;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 24px;
}
.nav-link {
  color: var(--le-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-link:hover { color: var(--le-text); }
.nav-spacer { flex: 1; }
.lang-switch {
  display: flex;
  background: var(--le-surface);
  border: 1px solid var(--le-border);
  border-radius: 10px;
  padding: 3px;
  flex: none;
  gap: 2px;
}
.lang-switch a {
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--le-font-ui);
  text-decoration: none;
  color: var(--le-text-muted);
  background: none;
}
.lang-switch a[aria-current="true"] {
  background: var(--le-accent);
  color: var(--le-ink-on-accent);
}
.nav-login {
  color: var(--le-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 4px;
}
.nav-cta {
  flex: none;
  background: var(--le-accent);
  color: var(--le-ink-on-accent);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 11px;
}

@media (max-width: 880px) {
  .nav-links, .nav-login { display: none; }
  .nav-row { padding: 0 20px; gap: 12px; }
}
@media (max-width: 480px) {
  .nav-row { padding: 0 14px; gap: 10px; }
  .brand-name { font-size: 16px; }
  .lang-switch a { padding: 4px 8px; }
  .nav-cta {
    /* SK label is long — shrink instead of overflowing the viewport */
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    padding: 8px 12px;
  }
}

/* ---------- buttons ---------- */
.btn-primary {
  display: inline-block;
  background: var(--le-accent);
  color: var(--le-ink-on-accent);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: var(--le-font-ui);
}
.btn-primary:hover { background: var(--le-accent-strong); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(900px 480px at 72% 0%, rgba(127,154,92,0.12), transparent 62%);
}
.hero-inner {
  max-width: var(--le-container);
  margin: 0 auto;
  padding: 76px 40px 96px;
  box-sizing: border-box;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.h1 {
  font-size: 54px;
  line-height: 1.07;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--le-text-muted);
  margin: 0;
  max-width: 520px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--le-surface);
  border: 1px solid var(--le-border);
  border-radius: 12px;
  padding: 9px 16px 9px 12px;
  text-decoration: none;
  color: var(--le-text);
}
a.store-badge:hover { border-color: rgba(255,255,255,0.2); }
.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-badge-sub {
  font-size: 10px;
  color: var(--le-text-muted);
}
.store-badge-title {
  font-size: 13.5px;
  font-weight: 700;
}
span.store-badge {
  opacity: 0.55;
  cursor: default;
  position: relative;
}
span.store-badge::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--le-surface-2);
  border: 1px solid var(--le-border);
  color: var(--le-text);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
  z-index: 5;
}
span.store-badge:hover::after,
span.store-badge:focus-visible::after {
  opacity: 1;
}
.hero-micro {
  font-family: var(--le-font-mono);
  font-size: 12px;
  color: var(--le-text-muted);
}

/* ---------- phone mockup ---------- */
.hero-phone-col {
  position: relative;
  width: 322px;
  height: 700px;
  margin: 0 auto;
  justify-self: center;
}
.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #050604;
  border-radius: 54px;
  border: 2px solid #2a2e26;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.04);
  padding: 12px;
  box-sizing: border-box;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--le-bg);
  border-radius: 42px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 6;
}
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 4px;
  flex: none;
}
.status-time {
  font-family: var(--le-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--le-text);
}
.status-glyphs {
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-gal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 12px;
  flex: none;
}
.app-gal-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--le-surface);
  border: 1px solid var(--le-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.app-gal-title-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.app-gal-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}
.app-gal-subtitle {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--le-accent-strong);
}
.app-gal-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--le-surface);
  border: 1px solid var(--le-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.app-gal-pills {
  display: flex;
  gap: 8px;
  padding: 0 18px 10px;
  overflow: hidden;
  white-space: nowrap;
  flex: none;
}
.app-gal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
  background: var(--le-surface);
  border: 1px solid var(--le-border);
  color: var(--le-text);
}
.app-gal-pill svg { flex: none; }
.app-gal-pill.is-active {
  background: rgba(127,154,92,0.16);
  border-color: rgba(169,200,134,0.45);
  color: var(--le-accent-strong);
}
.app-gal-clear {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px 14px;
  color: var(--le-accent-strong);
  font-size: 12.5px;
  font-weight: 700;
  flex: none;
}
.app-gal-body {
  flex: 1;
  overflow: hidden;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.app-gal-date-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex: none;
}
.app-gal-date {
  font-size: 15px;
  font-weight: 700;
}
.app-gal-date-count {
  font-family: var(--le-font-mono);
  font-size: 11px;
  color: var(--le-text-muted);
}
.app-gal-card {
  position: relative;
  flex: none;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid var(--le-border);
  overflow: hidden;
  background: var(--le-surface);
}
.app-gal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.app-gal-card-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.app-gal-species-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10,12,9,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 4px 11px 4px 5px;
  flex: none;
  max-width: 72%;
}
.app-gal-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255,255,255,0.28);
  flex: none;
}
.app-gal-species-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-gal-confidence {
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.62);
  white-space: nowrap;
  flex: none;
}
.app-gal-meta-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  background: rgba(10,12,9,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 13px;
  padding: 6px 11px;
  text-align: right;
  flex: none;
}
.app-gal-camera {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.app-gal-time {
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.62);
  white-space: nowrap;
}

.hero-notif {
  position: absolute;
  top: 76px;
  right: -52px;
  width: 308px;
  z-index: 5;
}
.notif-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(32,38,28,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 11px 12px;
  box-shadow: var(--le-shadow-pop);
}
.notif-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--le-bg);
  border: 1px solid var(--le-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.notif-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.notif-app-name {
  font-size: 12.5px;
  font-weight: 700;
}
.notif-now {
  font-size: 10.5px;
  color: var(--le-text-muted);
  margin-left: auto;
}
.notif-title {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-body {
  font-size: 11.5px;
  color: var(--le-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-thumb {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
}

@media (max-width: 880px) {
  .hero-inner { padding: 52px 20px 64px; }
  .hero-grid { display: flex; flex-direction: column; gap: 48px; }
  .h1 { font-size: 34px; line-height: 1.12; }
  .lead { font-size: 16px; }
  .hero-phone-col { width: 290px; height: 630px; }
  .hero-notif {
    top: 48px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 296px;
  }
}

/* ---------- how it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-card {
  background: var(--le-surface);
  border: 1px solid var(--le-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--le-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-tile.is-amber {
  background: rgba(224,145,63,0.14);
}
.step-num {
  font-family: var(--le-font-mono);
  font-size: 12px;
  color: var(--le-text-muted);
}
.step-title {
  font-size: 17px;
  font-weight: 700;
}
.step-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--le-text-muted);
}
.step-email {
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  color: var(--le-accent-strong);
  background: var(--le-surface-2);
  border: 1px solid var(--le-border);
  border-radius: 9px;
  padding: 7px 10px;
  align-self: flex-start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

@media (max-width: 880px) {
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- proof strip ---------- */
.proof-section {
  position: relative;
}
.proof-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}
.proof-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,19,15,0.55), rgba(16,19,15,0) 30%, rgba(16,19,15,0) 55%, rgba(16,19,15,0.7));
}
.proof-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.proof-bottom-inner {
  max-width: var(--le-container);
  margin: 0 auto;
  padding: 0 var(--le-gutter) 22px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.proof-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16,19,15,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 8px 14px 8px 9px;
}
.proof-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.proof-species {
  font-size: 13.5px;
  font-weight: 700;
}
.proof-confidence {
  font-family: var(--le-font-mono);
  font-size: 12px;
  color: var(--le-accent-strong);
}
.proof-meta {
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  color: rgba(233,230,220,0.75);
  background: rgba(16,19,15,0.6);
  border-radius: 9px;
  padding: 7px 11px;
}

@media (max-width: 880px) {
  .proof-img { height: 280px; }
}

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--le-surface);
  border: 1px solid var(--le-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}
.feature-card.span-2 { grid-column: span 2; }
.feature-title {
  font-size: 17.5px;
  font-weight: 700;
}
.feature-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--le-text-muted);
  max-width: 520px;
}
.species-chip-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.species-chip-stack { display: flex; }
.species-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--le-surface);
  display: block;
}
.species-chip:not(:first-child) { margin-left: -9px; }
.species-list-mono {
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  color: var(--le-text-muted);
}
.feature-card.is-count {
  flex-direction: row;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.feature-count {
  font-family: var(--le-font-mono);
  font-size: 44px;
  font-weight: 700;
  color: var(--le-accent-strong);
  line-height: 1;
  flex: none;
}
.feature-count-copy {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 880px) {
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card.span-2 { grid-column: auto; }
}

/* ---------- pricing ---------- */
.pricing-section {
  background: var(--le-surface);
  border-top: 1px solid var(--le-border);
  border-bottom: 1px solid var(--le-border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--le-surface-2);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100%;
  border: 1px solid var(--le-border);
}
.plan-card.is-highlight {
  border: 1px solid rgba(169,200,134,0.55);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--le-accent);
  color: var(--le-ink-on-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 13px;
  border-radius: 99px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--le-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--le-text-muted);
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
}
.plan-price {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-price-unit {
  font-size: 14px;
  color: var(--le-text-muted);
}
.plan-photos-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--le-surface);
  border-radius: 11px;
}
.plan-card.is-highlight .plan-photos-row {
  background: var(--le-bg);
}
.plan-photos {
  font-family: var(--le-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--le-accent-strong);
}
.plan-photos-label {
  font-size: 12.5px;
  color: var(--le-text-muted);
}
.plan-note {
  font-size: 13px;
  color: var(--le-text-muted);
  margin-top: 10px;
}
.plan-divider {
  height: 1px;
  background: var(--le-border);
  margin: 18px 0 14px;
}
.plan-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
}
.plan-check svg { flex: none; }
.plan-spacer { flex: 1; }
.plan-cta {
  text-align: center;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px;
  border-radius: 12px;
  margin-top: 20px;
  font-family: var(--le-font-ui);
  background: none;
  border: 1px solid var(--le-border);
  color: var(--le-text);
}
.plan-card.is-highlight .plan-cta {
  background: var(--le-accent);
  color: var(--le-ink-on-accent);
  border: none;
}
.price-foot {
  text-align: center;
  font-size: 12.5px;
  color: var(--le-text-muted);
  margin-top: 26px;
}

/* Invite-only beta: plans stay visible but are covered by a "release" scrim.
   Remove .pricing-overlay + this block when subscriptions go live. */
.pricing-overlay-wrap {
  position: relative;
}
.pricing-overlay {
  position: absolute;
  inset: -18px -10px -10px; /* covers the plan-tag that pokes above the cards */
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(16, 19, 15, 0.62);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  border-radius: 24px;
}
.pricing-overlay-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--le-surface);
  border: 1px solid rgba(169, 200, 134, 0.45);
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--le-accent-strong);
  font-size: 15px;
  font-weight: 700;
}
.pricing-overlay-note {
  font-size: 13px;
  color: var(--le-text);
  opacity: 0.85;
  text-align: center;
  padding: 0 20px;
}

@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- trust ---------- */
.trust-section { padding: 64px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.trust-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.trust-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trust-title {
  font-size: 14.5px;
  font-weight: 700;
}
.trust-body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--le-text-muted);
}
.trust-email {
  text-decoration: none;
  color: inherit;
}
.trust-email:hover { color: var(--le-accent-strong); }

@media (max-width: 880px) {
  .trust-section { padding: 48px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--le-border);
}
.footer-inner {
  max-width: var(--le-container);
  margin: 0 auto;
  padding: 44px var(--le-gutter) 28px;
  box-sizing: border-box;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
}
.footer-tag {
  font-size: 13px;
  line-height: 1.6;
  color: var(--le-text-muted);
  max-width: 260px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--le-text-muted);
}
.footer-link {
  color: var(--le-text);
  text-decoration: none;
  font-size: 13.5px;
}
.footer-link:hover { color: var(--le-accent-strong); }
.footer-link.is-current { color: var(--le-accent-strong); }
span.footer-link { cursor: default; }
/* Invite-only beta: app-store links stay visible under the same "release"
   scrim as pricing. Remove with .pricing-overlay when the apps ship. */
.footer-apps-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-apps-overlay {
  position: absolute;
  inset: -8px -10px;
  z-index: 1;
  display: flex;
  align-items: center;
  background: rgba(16, 19, 15, 0.42);
  backdrop-filter: blur(0.8px);
  -webkit-backdrop-filter: blur(0.8px);
  border-radius: 12px;
}
.footer-apps-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--le-surface);
  border: 1px solid rgba(169, 200, 134, 0.45);
  border-radius: 999px;
  padding: 6px 12px;
  margin-left: 4px;
  color: var(--le-accent-strong);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--le-border);
  margin-top: 34px;
  padding-top: 20px;
}
.footer-copy, .footer-host {
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  color: var(--le-text-muted);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
}

/* ---------- legal / inner pages ---------- */
.legal-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 40px 40px;
  box-sizing: border-box;
}
.breadcrumb {
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--le-accent-strong);
  margin-bottom: 16px;
}
.legal-h1 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0;
}
.legal-updated {
  font-family: var(--le-font-mono);
  font-size: 12px;
  color: var(--le-text-muted);
  margin: 14px 0 0;
}
.legal-divider {
  height: 1px;
  background: var(--le-border);
  margin: 30px 0 34px;
}
.prose {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--le-text);
}
p.prose { margin: 0 0 12px; }
.legal-section { margin-top: 38px; }
.legal-h2 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.005em;
}
.legal-section .prose { margin: 12px 0 0; }
.legal-list .prose { margin: 0; }
.legal-list {
  margin: 14px 0 0;
  padding: 0 0 0 2px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legal-list li {
  display: flex;
  gap: 11px;
  align-items: baseline;
}
.legal-dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--le-accent-strong);
  position: relative;
  top: -3px;
}
.contact-box {
  margin-top: 44px;
  background: var(--le-surface);
  border: 1px solid var(--le-border);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-title {
  font-size: 14.5px;
  font-weight: 700;
}
.contact-body {
  font-size: 13px;
  color: var(--le-text-muted);
}
.contact-btn {
  flex: none;
  background: none;
  border: 1px solid var(--le-border);
  color: var(--le-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 11px;
}
.contact-btn:hover { border-color: rgba(255,255,255,0.25); }

@media (max-width: 880px) {
  .legal-main { padding: 44px 20px 24px; }
  .legal-h1 { font-size: 30px; }
  .legal-h2 { font-size: 19px; }
  .prose { font-size: 15.5px; }
  .site-footer { margin-top: 56px; }
}
@media (min-width: 881px) {
  .site-footer.legal-footer { margin-top: 80px; }
}

/* ---------- fallback / 404 pages ---------- */
.fallback-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  text-align: center;
}
.fallback-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 420px;
}
.fallback-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.fallback-brand-name {
  font-size: 20px;
  font-weight: 700;
}
.fallback-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fallback-line {
  font-size: 15px;
  color: var(--le-text-muted);
  line-height: 1.6;
}
.fallback-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.fallback-links a {
  color: var(--le-accent-strong);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--le-border);
  border-radius: 10px;
  padding: 9px 18px;
}
.fallback-links a:hover { border-color: rgba(255,255,255,0.25); }
.fallback-code {
  font-family: var(--le-font-mono);
  font-size: 13px;
  color: var(--le-text-muted);
}
