/* legal-bundle */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('Newsreader-Variable-Latin.woff2') format('woff2-variations');
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('PublicSans-Variable-Latin.woff2') format('woff2-variations');
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('GeistMono-Variable-Latin.woff2') format('woff2-variations');
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122;
}


/* Shared layout for GreenMotion Auction legal & utility pages */
:root {
  --brand: #0E5E5C;
  --brand-dark: #0A4948;
  --brand-light: #E8F4F3;
  --text: #111110;
  --text-secondary: #5C5A54;
  --text-muted: #8A877D;
  --border: #E4E1D9;
  --bg-soft: #F7F6F3;
  --font: 'Public Sans', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-soft);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.site-nav-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}
.site-logo {
  font-weight: 800; font-size: 0.9rem; text-decoration: none;
  color: var(--text); letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .site-logo { font-size: 0.78rem; }
  .site-logo-mark { width: 24px; height: 24px; }
}
.site-logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff; font-size: 0.7rem; font-weight: 800;
  display: grid; place-items: center;
}
.site-logo .logo-text { display: inline-flex; align-items: baseline; gap: 0.25em; }
.site-logo .logo-gm { font-style: normal; color: var(--brand); letter-spacing: -0.03em; }
.legal-main {
  flex: 1;
  max-width: 760px; margin: 0 auto;
  padding: 48px 24px 32px;
  width: 100%;
}
.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(17, 17, 16, 0.05);
}
.legal-main h1 {
  font-size: 2rem; font-weight: 800;
  letter-spacing: -0.025em; margin-bottom: 8px;
}
.legal-main .last-updated {
  font-family: var(--mono); font-size: 0.78rem;
  color: var(--text-muted); margin-bottom: 28px;
}
.legal-main h2 {
  font-size: 1.2rem; font-weight: 700;
  margin: 28px 0 10px; color: var(--text);
}
.legal-main p, .legal-main li {
  margin-bottom: 14px; color: var(--text-secondary);
}
.legal-main ul { padding-left: 24px; }
.legal-main dl { margin-bottom: 20px; }
.legal-main dt {
  font-weight: 600; color: var(--text);
  margin-top: 14px; font-size: 0.9rem;
}
.legal-main dd {
  margin-left: 0; color: var(--text-secondary);
  font-size: 0.9rem;
}
.legal-main dd.mono {
  font-family: var(--mono); font-size: 0.85rem;
}
.legal-main a { color: var(--brand); font-weight: 500; }
.legal-main code {
  font-family: var(--mono); font-size: 0.85em;
  background: var(--bg-soft); padding: 2px 6px; border-radius: 4px;
}
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.site-footer a { color: var(--brand); text-decoration: none; }
.site-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 16px; margin-bottom: 12px;
}
.site-footer-links a { font-weight: 600; }


/* Site navigation — shared across marketing & app pages */
:root {
  --nav-h: 68px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; max-width: 100%; }

button, a, select, input, textarea { touch-action: manipulation; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--brand, #0E5E5C);
  outline-offset: 2px;
}

/* Minimal buttons used in nav (full set in gma.css on app pages) */
.nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  font-family: inherit;
}
.nav .btn:active { transform: scale(0.98); }
.nav .btn-primary {
  background: linear-gradient(135deg, var(--brand, #0E5E5C) 0%, var(--brand-dark, #0A4948) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 94, 92, 0.2);
}
.nav .btn-outline {
  background: transparent;
  border: 1.5px solid var(--border, #E4E1D9);
  color: var(--text, #111110);
}
.nav .btn-outline:hover {
  border-color: var(--text-secondary, #5C5A54);
  background: var(--bg-soft, #F7F6F3);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 120;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(228, 225, 217, 0.9);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  @media (hover: hover) and (pointer: fine) {
    .nav {
      background: rgba(255, 255, 255, 0.82);
      -webkit-backdrop-filter: blur(16px) saturate(1.15);
      backdrop-filter: blur(16px) saturate(1.15);
    }
  }
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 24px rgba(17, 17, 16, 0.06);
  border-bottom-color: transparent;
}

.nav-inner {
  max-width: var(--container, 1180px);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 20px;
}

.logo {
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: -0.03em;
  color: var(--text, #111110);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  justify-self: start;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--brand, #0E5E5C) 0%, var(--brand-dark, #0A4948) 100%);
  box-shadow: 0 6px 18px rgba(14, 94, 92, 0.22);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.72rem;
  color: #fff;
  flex-shrink: 0;
}
.logo-text { display: inline-flex; align-items: baseline; gap: 0.22em; }
.logo-gm { font-style: normal; color: var(--brand, #0E5E5C); letter-spacing: -0.03em; }

.nav-primary {
  justify-self: center;
  min-width: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }

.nav-links a,
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary, #5C5A54);
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus-visible {
  color: var(--text, #111110);
  background: var(--bg-soft, #F7F6F3);
}
.nav-links a.active {
  color: var(--brand-dark, #0A4948);
  background: var(--brand-light, #E8F4F3);
}

.nav-dropdown-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  margin-top: 2px;
  transition: transform 0.2s;
}
.nav-dropdown.open .nav-dropdown-btn::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border, #E4E1D9);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(17, 17, 16, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 130;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary, #5C5A54);
  text-decoration: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--bg-soft, #F7F6F3);
  color: var(--text, #111110);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.nav-market-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border, #E4E1D9);
  background: var(--bg, #fff);
}
.nav-market-wrap label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted, #8A877D);
  white-space: nowrap;
}
.nav-market,
.market-select {
  border: none;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text, #111110);
  padding: 6px 8px 6px 4px;
  cursor: pointer;
  max-width: 118px;
}
.nav-market:focus,
.market-select:focus {
  outline: 2px solid var(--brand, #0E5E5C);
  outline-offset: 2px;
  border-radius: 6px;
}

.live-dot {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--brand, #0E5E5C);
  background: var(--brand-light, #E8F4F3);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.live-dot.on { display: inline-flex; }
.live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand, #0E5E5C);
  animation: nav-pulse 2s ease infinite;
}
@keyframes nav-pulse {
  50% { opacity: 0.35; }
}

.nav-actions .btn {
  padding: 9px 16px;
  font-size: 0.8125rem;
}
.nav-actions .btn-outline.nav-login {
  padding: 9px 14px;
  border-color: transparent;
  background: transparent;
  color: var(--text-secondary, #5C5A54);
}
.nav-actions .btn-outline.nav-login:hover {
  color: var(--text, #111110);
  background: var(--bg-soft, #F7F6F3);
}
.nav-actions .btn-primary.nav-cta {
  padding: 9px 18px;
  box-shadow: 0 6px 20px rgba(14, 94, 92, 0.2);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border, #E4E1D9);
  border-radius: 10px;
  background: var(--bg, #fff);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text, #111110);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 16, 0.4);
  z-index: 118;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.nav-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  z-index: 119;
  background: #fff;
  border-left: 1px solid var(--border, #E4E1D9);
  box-shadow: -12px 0 40px rgba(17, 17, 16, 0.12);
  padding: calc(var(--nav-h) + var(--safe-top) + 12px) 24px calc(32px + var(--safe-bottom));
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-section {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted, #8A877D);
  margin: 20px 0 8px;
}
.nav-drawer-section:first-child { margin-top: 0; }
.nav-drawer-links {
  list-style: none;
  display: grid;
  gap: 4px;
}
.nav-drawer-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text, #111110);
  text-decoration: none;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active {
  background: var(--brand-light, #E8F4F3);
  color: var(--brand-dark, #0A4948);
}
.nav-drawer-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border, #E4E1D9);
  display: grid;
  gap: 10px;
}
.nav-drawer-actions .btn { width: 100%; justify-content: center; }
.nav-drawer .nav-market-wrap {
  width: 100%;
  justify-content: space-between;
  margin-bottom: 8px;
}
.nav-drawer .nav-market,
.nav-drawer .market-select {
  max-width: none;
  flex: 1;
}

@media (max-width: 1080px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav-primary { display: none; }
  .nav-actions .nav-login,
  .nav-actions .live-dot,
  .nav-actions .nav-market-wrap {
    display: none;
  }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 480px) {
  .logo { font-size: 0.8rem; }
  .logo-mark { width: 26px; height: 26px; }
  .nav-actions .btn-primary.nav-cta {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

/* App pages: slimmer bar */
.nav--app .nav-primary--minimal .nav-links { gap: 2px; }
.nav--app .nav-inner { grid-template-columns: auto 1fr auto; }
.nav--workspace .nav-actions .nav-login { display: inline-flex; }
@media (max-width: 1080px) {
  .nav--workspace .nav-actions .nav-login { display: none; }
}
@media (max-width: 720px) {
  .nav--workspace .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav--workspace .live-dot,
  .nav--workspace .nav-market-wrap { display: none; }
  .nav--workspace .nav-toggle { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot::before { animation: none; }
  .nav-drawer { transition: none; }
  .nav-dropdown-menu { transition: none; }
}

