/* Marketing landing — shares CSS variables from app.css when both loaded; standalone-safe fallbacks below */

.land-page {
  --land-max: 1100px;
  --land-pad: clamp(20px, 4vw, 40px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg, #0c0a08);
  color: var(--text, #f0e6d3);
}

@media (max-width: 767px) {
  body.land-nav-open {
    overflow: hidden;
  }
}

.land-skip {
  position: absolute;
  left: -9999px;
}
.land-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--copper, #c9923c);
  color: var(--btn-on-accent, #0c0a08);
  border-radius: 4px;
}

.land-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 12px var(--land-pad);
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
  background: var(--header-bg, rgba(12,10,8,0.92));
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.land-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.land-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border2, rgba(255,255,255,0.12));
  border-radius: 10px;
  background: var(--bg1, #141210);
  color: var(--text, #f0e6d3);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s var(--ease-ui, ease), border-color 0.15s;
}
.land-nav-toggle:hover {
  background: var(--bg2, #1c1916);
  border-color: var(--copper-mid, rgba(201,146,60,0.35));
}
.land-nav-icon--close {
  display: none;
}
.land-header.land-menu-open .land-nav-icon--open {
  display: none;
}
.land-header.land-menu-open .land-nav-icon--close {
  display: block;
}

.land-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.land-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--copper-mid, rgba(201,146,60,0.35)), var(--copper-dim, rgba(201,146,60,0.12)));
  border: 1px solid var(--border2, rgba(255,255,255,0.1));
  display: grid;
  place-items: center;
  color: var(--copper, #c9923c);
}

.land-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 14px;
  font-size: 13px;
  flex: 1 1 auto;
  min-width: 0;
}
.land-nav a {
  color: var(--text2, #a89880);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color var(--t-ui, 70ms) var(--ease-ui), background var(--t-ui, 70ms) var(--ease-ui);
}
.land-nav a:hover {
  color: var(--text, #f0e6d3);
  background: rgba(255,255,255,0.04);
}
.land-nav a.land-nav-cta {
  background: var(--copper, #c9923c);
  color: var(--btn-on-accent, #0c0a08);
  font-weight: 500;
}
.land-nav a.land-nav-cta:hover {
  background: var(--hbtn-primary-hover, #d9a24c);
  color: var(--btn-on-accent, #0c0a08);
}

/* Desktop: brand | nav | tools */
@media (min-width: 768px) {
  .land-header {
    flex-wrap: nowrap;
  }
  .land-brand {
    order: 1;
    flex: 0 0 auto;
  }
  .land-nav {
    order: 2;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .land-header-tools {
    order: 3;
  }
  .land-nav-toggle {
    display: none !important;
  }
}

/* Mobile: brand | hamburger + theme; nav slides below */
@media (max-width: 767px) {
  .land-header {
    flex-wrap: wrap;
    align-items: center;
  }
  .land-brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }
  .land-header-tools {
    order: 2;
  }
  .land-nav-toggle {
    display: inline-flex;
  }
  .land-header-tools .theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .land-nav {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 10px var(--land-pad) 14px;
    margin: 0 calc(-1 * var(--land-pad));
    border-top: 1px solid var(--border, rgba(255,255,255,0.08));
    background: var(--bg1, #141210);
    border-radius: 0 0 12px 12px;
  }
  .land-header.land-menu-open .land-nav {
    display: flex;
  }
  .land-nav a {
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
  }
  .land-nav a.land-nav-cta {
    text-align: center;
    margin-top: 4px;
  }
}

.land-main {
  flex: 1;
}

.land-hero {
  position: relative;
  padding: clamp(48px, 10vw, 96px) var(--land-pad) 64px;
  overflow: hidden;
}
.land-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201,146,60,0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(201,146,60,0.06), transparent 50%);
  pointer-events: none;
}

.land-hero-inner {
  position: relative;
  max-width: var(--land-max);
  margin: 0 auto;
}

.land-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper, #c9923c);
  margin-bottom: 12px;
  font-weight: 500;
}

.land-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 16px;
}

.land-lead {
  font-size: 1.05rem;
  color: var(--text2, #a89880);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 28px;
}

.land-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.land-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s var(--ease-ui), transform 0.15s var(--ease-ui);
}
.land-btn--primary {
  background: var(--copper, #c9923c);
  color: var(--btn-on-accent, #0c0a08);
}
.land-btn--primary:hover {
  background: var(--hbtn-primary-hover, #d9a24c);
}
.land-btn--ghost {
  background: transparent;
  color: var(--text2, #a89880);
  border: 1px solid var(--border2, rgba(255,255,255,0.12));
}
.land-btn--ghost:hover {
  color: var(--text, #f0e6d3);
  border-color: var(--copper-mid, rgba(201,146,60,0.4));
}

.land-section {
  padding: 56px var(--land-pad);
  border-top: 1px solid var(--border, rgba(255,255,255,0.06));
}
.land-section-inner {
  max-width: var(--land-max);
  margin: 0 auto;
}

.land-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.land-section-desc {
  color: var(--text2, #a89880);
  max-width: 60ch;
  margin-bottom: 36px;
  line-height: 1.55;
}

.land-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.land-feature {
  padding: 22px;
  border-radius: 12px;
  background: var(--bg1, #141210);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
}
.land-feature h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.land-feature p {
  font-size: 13px;
  color: var(--text2, #a89880);
  line-height: 1.55;
}

.land-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.land-price-card {
  padding: 26px;
  border-radius: 14px;
  background: var(--bg1, #141210);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  display: flex;
  flex-direction: column;
}
.land-price-card--highlight {
  border-color: var(--copper-mid, rgba(201,146,60,0.45));
  box-shadow: 0 0 0 1px rgba(201,146,60,0.12);
}
.land-price-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.land-price-tag {
  font-size: 12px;
  color: var(--text3, #685e52);
  margin-bottom: 16px;
}
.land-price-num {
  font-size: 2rem;
  font-weight: 300;
  font-family: 'Fraunces', Georgia, serif;
  color: var(--copper, #c9923c);
  margin-bottom: 4px;
}
.land-price-num span {
  font-size: 14px;
  color: var(--text3, #685e52);
  font-family: 'IBM Plex Sans', sans-serif;
}
.land-price-features {
  list-style: none;
  margin: 20px 0 24px;
  flex: 1;
}
.land-price-features li {
  font-size: 13px;
  color: var(--text2, #a89880);
  padding: 8px 0;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.05));
  padding-left: 18px;
  position: relative;
}
.land-price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper, #c9923c);
  opacity: 0.7;
}

.land-api-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .land-api-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.land-pre-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  background: var(--bg2, #1c1916);
}
.land-pre-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3, #685e52);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
  font-family: 'IBM Plex Mono', monospace;
}
.land-pre-wrap pre {
  margin: 0;
  padding: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text2, #c4b8a8);
  overflow-x: auto;
}

.land-footer {
  padding: 32px var(--land-pad);
  border-top: 1px solid var(--border, rgba(255,255,255,0.06));
  font-size: 12px;
  color: var(--text3, #685e52);
  text-align: center;
}
.land-footer a {
  color: var(--text2, #a89880);
  margin: 0 10px;
}

