/* GROW Platform — Design System */
/* Font: DM Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400;1,9..40,500&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── CSS Variables (Light Mode) ─────────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --leaf:        #4D7C1F;
  --leaf-dark:   #3A5E17;
  --leaf-light:  #6B9E2F;
  --leaf-pale:   #EBF5D6;
  --mint:        #A8D58C;
  --bamboo:      #C4A464;
  --bamboo-dark: #A0834A;
  --bamboo-pale: #F7F0E4;
  --earth:       #7A5C3A;

  /* Neutrals */
  --bg:          #FAFAF7;
  --surface:     #FFFFFF;
  --surface-2:   #F4F6F0;
  --border:      #E2E8D8;
  --border-2:    #CED6BE;

  /* Text */
  --text:        #1E2518;
  --text-2:      #4A5240;
  --text-muted:  #7A8568;
  --text-inv:    #FFFFFF;

  /* Semantic */
  --success:     #2D7A22;
  --warning:     #B87D1A;
  --error:       #C0392B;
  --info:        #1A6B8A;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(30,37,24,0.06);
  --shadow-md:   0 8px 24px rgba(30,37,24,0.09);
  --shadow-lg:   0 16px 48px rgba(30,37,24,0.12);
  --shadow-xl:   0 24px 80px rgba(30,37,24,0.16);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Typography */
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-mid:  280ms;
  --t-slow: 500ms;

  /* Layout */
  --container: 1140px;
  --nav-h:     68px;
  --section-gap: 80px;
}

/* ── Dark Mode ─────────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:         #0E1409;
  --surface:    #161D0E;
  --surface-2:  #1E2914;
  --border:     #2A3A1A;
  --border-2:   #3A4E28;

  --text:       #E8F0D8;
  --text-2:     #B8C8A0;
  --text-muted: #7A9060;
  --text-inv:   #0E1409;

  --leaf:       #6BAF2F;
  --leaf-dark:  #4D8020;
  --leaf-light: #8ED44F;
  --leaf-pale:  #1A2B0A;
  --bamboo:     #C4A464;
  --bamboo-pale:#1E1608;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.45);
  --shadow-xl:  0 24px 80px rgba(0,0,0,0.55);
}

/* ── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-decoration: none; }
a:hover { color: var(--leaf-dark); }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }

h1, .h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3, .h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.3; }
h4, .h4 { font-size: 1.125rem; font-weight: 600; }
h5, .h5 { font-size: 1rem; font-weight: 600; }

.text-muted { color: var(--text-muted); }
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem; }
.text-center { text-align: center; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-gap) 0; }
.section-sm { padding: 48px 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 32px; }

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(250,250,247,0.88);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}

[data-theme="dark"] .navbar {
  background: rgba(14,20,9,0.88);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 32px;
}

.navbar__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none;
}

.navbar__logo svg { width: 32px; height: 32px; }

.navbar__links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}

.navbar__links a {
  padding: 6px 14px; border-radius: var(--r-pill);
  color: var(--text-2); font-weight: 500; font-size: 0.9375rem;
  transition: background var(--t-fast), color var(--t-fast);
}

.navbar__links a:hover { background: var(--leaf-pale); color: var(--leaf-dark); }
.navbar__links a.active { color: var(--leaf); }

.navbar__actions { display: flex; align-items: center; gap: 12px; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-pill);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9375rem;
  cursor: pointer; border: none; text-decoration: none;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(145deg, var(--leaf-light), var(--leaf-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(77,124,31,0.32), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(77,124,31,0.42), inset 0 1px 0 rgba(255,255,255,0.2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--leaf);
  border: 2px solid var(--leaf);
}
.btn-outline:hover { background: var(--leaf-pale); }

.btn-ghost {
  background: transparent; color: var(--text-2);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.btn-bamboo {
  background: linear-gradient(145deg, var(--bamboo), var(--bamboo-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(196,164,100,0.32);
}
.btn-bamboo:hover { box-shadow: 0 8px 28px rgba(196,164,100,0.42); }

.btn-sm { padding: 7px 16px; font-size: 0.875rem; }
.btn-lg { padding: 15px 36px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ── Cards ───────────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body { padding: 24px; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--surface-2); }

/* ── Badges ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge-green { background: var(--leaf-pale); color: var(--leaf-dark); }
.badge-bamboo { background: var(--bamboo-pale); color: var(--bamboo-dark); }
.badge-red { background: #FDE8E8; color: #C0392B; }
[data-theme="dark"] .badge-red { background: #2A1010; color: #E06060; }

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-weight: 500; font-size: 0.875rem; color: var(--text-2);
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(77,124,31,0.18);
}

.form-control::placeholder { color: var(--text-muted); }

.form-hint { font-size: 0.8125rem; color: var(--text-muted); }
.form-error { font-size: 0.8125rem; color: var(--error); }
.form-control.is-invalid { border-color: var(--error); }
.form-control.is-valid { border-color: var(--success); }

.input-group { display: flex; }
.input-group .form-control { border-radius: var(--r-md) 0 0 var(--r-md); flex: 1; }
.input-group .btn { border-radius: 0 var(--r-md) var(--r-md) 0; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--leaf-pale) 0%, var(--bg) 70%);
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}

[data-theme="dark"] .hero {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1A2E0A 0%, var(--bg) 70%);
}

.hero__bg-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234D7C1F' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── Section Headers ─────────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--leaf); margin-bottom: 12px;
}
.section-label::before {
  content: ''; width: 24px; height: 2px; background: var(--leaf); border-radius: 2px;
}

.section-title { margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 1.0625rem; max-width: 600px; line-height: 1.7; }

/* ── Feature Cards ───────────────────────────────────────────────────────────── */
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
  position: relative; overflow: hidden;
}

.feat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--mint));
  opacity: 0; transition: opacity var(--t-mid) var(--ease);
}

.feat-card:hover {
  transform: translateY(-6px) rotateX(-2deg);
  box-shadow: var(--shadow-xl);
  border-color: var(--leaf);
}

.feat-card:hover::before { opacity: 1; }

.feat-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--leaf-pale); color: var(--leaf);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

[data-theme="dark"] .feat-icon { background: var(--leaf-pale); }

/* ── Steps ───────────────────────────────────────────────────────────────────── */
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
}

/* ── Plot Grid ───────────────────────────────────────────────────────────────── */
.plot-card {
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: all var(--t-mid) var(--ease);
  position: relative;
}
.plot-card.featured {
  border-color: var(--leaf);
  background: linear-gradient(145deg, var(--leaf-pale), var(--surface));
}
[data-theme="dark"] .plot-card.featured {
  background: linear-gradient(145deg, var(--leaf-pale), var(--surface));
}
.plot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plot-card .popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--leaf); color: #fff;
  padding: 4px 16px; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── Testimonials ────────────────────────────────────────────────────────────── */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}

.testimonial__stars { color: var(--bamboo); font-size: 1rem; margin-bottom: 16px; }
.testimonial__quote { color: var(--text-2); line-height: 1.7; margin-bottom: 20px; font-size: 1.0625rem; }

.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--leaf-pale); color: var(--leaf);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; overflow: hidden; flex-shrink: 0;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer;
  font-weight: 600; font-size: 1rem; color: var(--text);
  background: none; border: none; width: 100%; text-align: left;
  transition: color var(--t-fast);
}

.faq-q:hover { color: var(--leaf); }
.faq-q svg { flex-shrink: 0; transition: transform var(--t-mid) var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease), padding var(--t-mid) var(--ease);
}

.faq-a-inner { padding-bottom: 20px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 400px; }

/* ── Table ───────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }

table { width: 100%; border-collapse: collapse; }
thead { background: var(--surface-2); }
th {
  padding: 14px 20px; text-align: left;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
}
td { padding: 16px 20px; border-top: 1px solid var(--border); color: var(--text-2); }
tbody tr:hover { background: var(--surface-2); }

/* ── Alert ───────────────────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--r-md);
  font-size: 0.9375rem; display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: #EBF7E8; color: #1E6B19; border: 1px solid #B8E4B2; }
.alert-error   { background: #FDE8E8; color: #B52626; border: 1px solid #F5B8B8; }
.alert-info    { background: #E5F4FA; color: #1A5E78; border: 1px solid #B0DCEE; }
.alert-warning { background: #FEF3E2; color: #8A5C12; border: 1px solid #F5D9A0; }
[data-theme="dark"] .alert-success { background: #102010; color: #5ADB50; border-color: #1E4020; }
[data-theme="dark"] .alert-error   { background: #200E0E; color: #E87070; border-color: #3A1A1A; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p { color: var(--text-muted); line-height: 1.7; margin-top: 12px; font-size: 0.9375rem; }

.footer__col h5 { font-weight: 700; margin-bottom: 18px; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer__col a { display: block; color: var(--text-muted); margin-bottom: 10px; font-size: 0.9375rem; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--leaf); }

.footer__bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

.footer__bottom p { font-size: 0.875rem; color: var(--text-muted); }

/* ── Toast ───────────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 12px;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9375rem; min-width: 280px; max-width: 380px;
  animation: toastIn 0.3s var(--ease);
}

.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-error   { border-left: 4px solid var(--error); }
.toast.toast-info    { border-left: 4px solid var(--info); }

@keyframes toastIn {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ── Mobile CTA Pill ─────────────────────────────────────────────────────────── */
.mobile-cta {
  display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 999; width: calc(100% - 40px); max-width: 400px;
}

/* ── Animations ──────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

.fade-up { animation: fadeUp 0.6s var(--ease) both; }
.animate-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.animate-in.visible { opacity: 1; transform: translateY(0); }

.hero-cta-pulse { animation: pulse 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 56px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .navbar__links { display: none; }
  .mobile-cta { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  h1, .h1 { font-size: 2rem; }
}

/* ── Dashboard ───────────────────────────────────────────────────────────────── */
.sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  min-height: calc(100vh - var(--nav-h));
  padding: 28px 16px;
}

.sidebar__link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--r-md);
  color: var(--text-2); font-weight: 500; font-size: 0.9375rem;
  transition: background var(--t-fast), color var(--t-fast);
  margin-bottom: 4px;
}

.sidebar__link:hover { background: var(--leaf-pale); color: var(--leaf-dark); }
.sidebar__link.active { background: var(--leaf-pale); color: var(--leaf); font-weight: 600; }

.dashboard-layout {
  display: flex; min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
}

.dashboard-content { flex: 1; padding: 32px; max-width: calc(100% - 260px); }
.stat-card { border-radius: var(--r-xl); padding: 24px; }
.stat-card .value { font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-card .label { font-size: 0.875rem; color: var(--text-muted); margin-top: 6px; }

/* ── Theme Toggle ────────────────────────────────────────────────────────────── */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--t-fast);
}

.theme-toggle:hover { background: var(--leaf-pale); }

/* ── Hamburger ───────────────────────────────────────────────────────────────── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--t-mid) var(--ease); }

@media (max-width: 768px) { .hamburger { display: flex; } }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2); font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── PWA Install Banner ──────────────────────────────────────────────────────── */
.install-banner {
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  color: #fff; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
}

.install-banner button { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.install-banner button:hover { background: rgba(255,255,255,0.35); }

/* ── Auth Pages ──────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, var(--leaf-pale), var(--bg));
  padding: 20px;
}

[data-theme="dark"] .auth-page {
  background: radial-gradient(ellipse 70% 60% at 30% 50%, #162505, var(--bg));
}

.auth-card {
  width: 100%; max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
}

.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0; color: var(--text-muted); font-size: 0.875rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border-2); background: var(--surface);
  color: var(--text); font-weight: 500; font-size: 0.9375rem;
  cursor: pointer; width: 100%; transition: all var(--t-fast);
  text-decoration: none;
}
.oauth-btn:hover { background: var(--surface-2); border-color: var(--leaf); color: var(--text); transform: translateY(-1px); }
