/* ============================================================
   LUMIIST — GLOBAL DESIGN TOKEN SYSTEM
   tokens.css — link this on every page before any other CSS
   Last updated: 2026

   STRUCTURE:
   1.  Reset
   2.  Lumiist brand tokens     (app chrome — never change)
   3.  Brand tokens             (user-set — overwritten on passport/studio load)
   4.  Typography scale
   5.  Spacing scale
   6.  Border radius scale
   7.  Shadow scale
   8.  Z-index scale
   9.  Transition scale
   10. Breakpoints (as custom props for reference — use media queries in CSS)
   11. Base styles
   12. Utility classes
   13. Shared chrome          (background, sidebar, frosted panel — .lu-* classes)
   14. Loading overlay
   15. Auth lightbox
   16. Responsive
   ============================================================ */


/* ============================================================
   1. RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

img, svg, video {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

textarea {
  resize: none;
}


/* ============================================================
   2. LUMIIST BRAND TOKENS
   App chrome colours — these are lumiist's own identity.
   Never overwritten by user brand data.
   ============================================================ */
:root {

  /* Forest greens — primary lumiist palette */
  --lu-forest:          #2A4A3E;
  --lu-forest-mid:      #3D6355;
  --lu-forest-light:    #4A7A68;
  --lu-forest-pale:     #F0F5F3;

  /* Tan / warm accents */
  --lu-tan:             #C9A880;
  --lu-tan-light:       #E6D3B5;
  --lu-tan-pale:        #F7F0E6;

  /* Neutrals */
  --lu-cream:           #FBF8F3;
  --lu-cream-dark:      #EDE5D8;
  --lu-ink:             #141410;
  --lu-charcoal:        #0F172A;
  --lu-navy:            #1B2D4A;
  --lu-iceblue:         #F5F8FA;

  /* UI semantic */
  --lu-muted:           #72726F;
  --lu-border:          #DDD9D1;
  --lu-border-mid:      #C8C4BC;
  --lu-surface:         #FDFAF4;
  --lu-white:           #FFFDF9;

  /* App font — always DM Sans, never overwritten */
  --lu-font:            'DM Sans', sans-serif;
}


/* ============================================================
   3. BRAND TOKENS
   Set to lumiist defaults on load.
   Overwritten by JS on passport/studio load using user's
   saved brand data from Supabase.

   --brand-primary-light is auto-derived — always the lightest
   tone in the palette, used for ripple hairlines on the bg.
   ============================================================ */
:root {

  --brand-primary:        #2A4A3E;
  /* The primary for the app's own buttons and headers: set by
     brand-colours.js, darker when the primary is too light for white text */
  --brand-ui:             var(--brand-primary);
  --brand-secondary:      #3D6355;
  --brand-accent:         #C9A880;
  --brand-primary-light:  #A8C8B8;

  --brand-font-header:    'DM Sans', sans-serif;
  --brand-font-body:      'DM Sans', sans-serif;
}


/* ============================================================
   4. TYPOGRAPHY SCALE
   ============================================================ */
:root {
  --text-xs:      11px;
  --text-sm:      13px;
  --text-md:      15px;
  --text-lg:      18px;
  --text-xl:      24px;
  --text-2xl:     32px;
  --text-3xl:     48px;

  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      800;

  --leading-tight:    1.15;
  --leading-snug:     1.35;
  --leading-normal:   1.6;
  --leading-relaxed:  1.75;

  --tracking-tight:   -0.03em;
  --tracking-normal:   0;
  --tracking-wide:     0.06em;
  --tracking-wider:    0.1em;
}


/* ============================================================
   5. SPACING SCALE
   ============================================================ */
:root {
  --space-2xs:   2px;
  --space-xs:    4px;
  --space-sm:    8px;
  --space-md:    16px;
  --space-lg:    24px;
  --space-xl:    40px;
  --space-2xl:   64px;
  --space-3xl:   96px;
}


/* ============================================================
   6. BORDER RADIUS SCALE
   ============================================================ */
:root {
  --radius-sm:    7px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    20px;
  --radius-pill:  99px;
}


/* ============================================================
   7. SHADOW SCALE
   ============================================================ */
:root {
  --shadow-sm:    0 1px 6px rgba(0,0,0,0.05);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.18);
  --shadow-deep:  0 16px 60px rgba(0,0,0,0.28);

  --shadow-brand: 0 0 28px color-mix(in srgb, var(--brand-secondary) 20%, transparent),
                  0 2px 8px rgba(0,0,0,0.05);
  --shadow-brand-hover: 0 0 40px color-mix(in srgb, var(--brand-secondary) 32%, transparent),
                        0 8px 24px rgba(0,0,0,0.09);
}


/* ============================================================
   8. Z-INDEX SCALE
   ============================================================ */
:root {
  --z-base:       1;
  --z-raised:     10;
  --z-sidebar:    50;
  --z-overlay:    100;
  --z-modal:      200;
  --z-toast:      300;
}


/* ============================================================
   9. TRANSITION SCALE
   ============================================================ */
:root {
  --ease-fast:    0.14s ease;
  --ease-mid:     0.22s ease;
  --ease-slow:    0.4s ease;
}


/* ============================================================
   10. BREAKPOINT REFERENCE
   Use these values in media queries throughout your CSS.
   Custom props can't be used inside @media so these are
   documentation only — copy the px values into media queries.

   mobile:   480px
   tablet:   768px
   desktop:  1200px
   ============================================================ */


/* ============================================================
   11. BASE STYLES
   ============================================================ */
html, body {
  min-height: 100vh;
  font-family: var(--lu-font);
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  color: var(--lu-ink);
  background: var(--lu-iceblue);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}


/* ============================================================
   12. UTILITY CLASSES
   ============================================================ */

/* Visibility */
.hidden   { display: none !important; }
.visible  { display: block !important; }

/* Text */
.text-muted     { color: var(--lu-muted); }
.text-ink       { color: var(--lu-ink); }
.text-forest    { color: var(--lu-forest); }
.text-white     { color: #fff; }
.text-upper     { text-transform: uppercase; letter-spacing: var(--tracking-wider); }
.text-center    { text-align: center; }

/* Flex helpers */
.flex           { display: flex; }
.flex-col       { display: flex; flex-direction: column; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-sm    { gap: var(--space-sm); }
.flex-gap-md    { gap: var(--space-md); }
.flex-1         { flex: 1; }

/* Spacing */
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

/* Truncate */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   13. SHARED CHROME
   Background, sidebar, and frosted panel.
   Single source of truth for all app pages.
   Copied verbatim from passport.html (proven design) — only
   the class prefix changed from .lp- to .lu-.
   ============================================================ */

/* ─── LAYOUT ─────────────────────────────────────────────── */
.lu-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

/* ─── BACKGROUND ─────────────────────────────────────────── */
.lu-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 0% 0%, var(--brand-ui) 0%, transparent 68%),
    linear-gradient(155deg,
      color-mix(in srgb, var(--brand-ui) 92%, #000) 0%,
      color-mix(in srgb, var(--brand-secondary) 72%, #000) 52%,
      color-mix(in srgb, var(--brand-ui) 85%, #000) 100%
    );
  transition: background 0.6s ease;
}

/* ─── RIPPLES ─────────────────────────────────────────────── */
.lu-ripples {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ─── SIDEBAR ─────────────────────────────────────────────── */
.lu-sidebar {
  position: relative;
  z-index: 10;
  width: min(260px, 18vw);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  gap: 0;
}

.lu-logo-box {
  background: rgba(255,255,255,0.92);
  border-radius: 13px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 14px;
  width: fit-content;
  min-width: 140px;
  align-self: center;
}

.lu-logo-text {
  font-size: 24px;
  font-weight: 800;
  color: #0D1808;
  letter-spacing: -0.04em;
}

.lu-brand-name {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  outline: none;
}
.lu-brand-name:focus {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
}

.lu-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  text-align: center;
  font-style: italic;
  margin-bottom: 28px;
  line-height: 1.5;
  padding: 0 8px;
  cursor: pointer;
  outline: none;
}
.lu-tagline:focus {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
}

.lu-nav-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0 6px;
  margin-bottom: 6px;
}

.lu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lu-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 9px;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lu-nav-item:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
}
.lu-nav-item.active {
  background: rgba(255,255,255,0.88);
  color: #101828;
  font-weight: 600;
}
.lu-nav-item i { font-size: 15px; }

.lu-spacer { flex: 1; }

.lu-user-chip {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.lu-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F0C040;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #5A3A00;
  flex-shrink: 0;
}

.lu-user-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.lu-plan-badge {
  font-size: 7px;
  font-weight: 700;
  background: #3DB86A;
  color: #fff;
  padding: 1px 5px;
  border-radius: 99px;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 2px;
}

/* ─── FROSTED PANEL ──────────────────────────────────────── */
.lu-panel {
  position: relative;
  z-index: 10;
  flex: 1;
  margin: 16px 70px 16px 0;
  border-radius: 20px;
  background: rgba(232,238,228,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ─── SCROLL AREA ────────────────────────────────────────── */
.lu-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.lu-scroll::-webkit-scrollbar { width: 4px; }
.lu-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
}

/* ─── CHROME RESPONSIVE ──────────────────────────────────── */
@media (min-width: 1440px) {
  .lu-sidebar  { width: 280px; padding: 32px 24px 28px; }
  .lu-brand-name { font-size: 38px; }
  .lu-tagline  { font-size: 15px; }
  .lu-nav-item { font-size: 16px; padding: 12px 14px; }
  .lu-panel    { margin: 18px 80px 18px 0; border-radius: 22px; }
}

@media (min-width: 1920px) {
  .lu-sidebar  { width: 300px; padding: 36px 28px 32px; }
  .lu-brand-name { font-size: 42px; }
  .lu-tagline  { font-size: 16px; }
  .lu-nav-item { font-size: 17px; padding: 13px 15px; }
  .lu-panel    { margin: 20px 90px 20px 0; }
}

/* ─── PHONE MENU (760px and under) ─────────────────────────
   The side menu becomes a slide-in menu, opened from a top bar.
   The top bar, dark backdrop and close button are added by
   /js/phone-menu.js. Computers and tablets are unchanged. */
.lu-topbar, .lu-scrim, .lu-menu-close { display: none; }

@media (max-width: 760px) {
  .lu-wrap:has(> .lu-sidebar) { height: 100vh; height: 100dvh; flex-direction: column; }

  .lu-topbar {
    position: relative; z-index: 20;
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px 12px;
    color: #fff;
  }
  .lu-topbar-logo {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 9px; background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 3px;
    font-size: 12px; font-weight: 800; color: var(--brand-ui, var(--brand-primary, #1a2e1a));
  }
  .lu-topbar-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .lu-topbar-text { flex: 1; min-width: 0; line-height: 1.2; }
  .lu-topbar-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lu-topbar-page { font-size: 12px; color: rgba(255,255,255,0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lu-topbar-btn, .lu-menu-close {
    width: 42px; height: 42px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 11px; border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.1); color: #fff;
    font-size: 21px; cursor: pointer; font-family: inherit;
  }
  .lu-topbar-btn:focus-visible, .lu-menu-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

  /* The side menu, now sliding in from the left */
  .lu-wrap > .lu-sidebar {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 500;
    width: min(300px, 86vw);
    padding: calc(18px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    background: linear-gradient(170deg,
      color-mix(in srgb, var(--brand-ui, var(--brand-primary, #1a2e1a)) 92%, #000) 0%,
      color-mix(in srgb, var(--brand-secondary, #3a7d44) 70%, #000) 100%);
    box-shadow: 10px 0 40px rgba(0,0,0,0.35);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .lu-menu-open .lu-wrap > .lu-sidebar {
    transform: none; visibility: visible;
    transition: transform 0.25s ease, visibility 0s;
  }
  .lu-menu-close { display: flex; position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 36px; height: 36px; font-size: 18px; }
  .lu-wrap > .lu-sidebar .lu-logo-box { min-height: 56px; margin-bottom: 10px; }
  .lu-wrap > .lu-sidebar .lu-nav-item { padding: 11px 12px; font-size: 15px; }

  .lu-scrim {
    display: block; position: fixed; inset: 0; z-index: 499;
    background: rgba(0,0,0,0.45);
    opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  }
  .lu-menu-open .lu-scrim { opacity: 1; pointer-events: auto; }

  /* The frosted panel takes the full width */
  .lu-wrap > .lu-panel {
    flex: 1; min-height: 0;
    margin: 0 8px calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: 16px;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .lu-wrap > .lu-sidebar, .lu-scrim { transition: none; }
}


/* ============================================================
   14. LOADING OVERLAY
   Full-screen, sits above everything during generation.
   ============================================================ */
.lu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  background: rgba(234,231,224,0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-slow);
}

.lu-overlay.visible {
  display: flex !important;
  opacity: 1;
  pointer-events: all;
}

.lu-overlay-contained {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border-radius: inherit;
  background: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-slow);
}

.lu-overlay-contained.visible {
  display: flex !important;
  opacity: 1;
  pointer-events: all;
}

.lu-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.lu-loader-logo {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lu-loader-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  animation: luLogoPulse 2.8s ease-in-out infinite;
}

.lu-loader-logo::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(42,74,62,0);
  animation: luRingExpand 2.8s ease-in-out infinite;
}

.lu-loader-tag {
  font-family: var(--lu-font);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--lu-forest);
  letter-spacing: var(--tracking-wider);
  text-align: center;
  transition: opacity var(--ease-slow);
  opacity: 0.85;
}

.lu-loader-dots {
  display: flex;
  gap: var(--space-sm);
}

.lu-loader-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lu-forest-mid);
  opacity: 0.25;
  animation: luDotBounce 1.4s ease-in-out infinite;
}

.lu-loader-dot:nth-child(2) { animation-delay: 0.2s; }
.lu-loader-dot:nth-child(3) { animation-delay: 0.4s; }

.lu-loader-sm { gap: var(--space-sm); }
.lu-loader-sm .lu-loader-logo,
.lu-loader-sm .lu-loader-logo img { width: 40px; height: 40px; }
.lu-loader-sm .lu-loader-logo::before { inset: -8px; }
.lu-loader-sm .lu-loader-tag { font-size: var(--text-xs); }
.lu-loader-sm .lu-loader-dot { width: 4px; height: 4px; }

@keyframes luLogoPulse {
  0%, 100% { transform: scale(0.92); filter: drop-shadow(0 0 2px rgba(42,74,62,0.1)); }
  50%       { transform: scale(1.08); filter: drop-shadow(0 0 14px rgba(42,74,62,0.32)); }
}

@keyframes luRingExpand {
  0%, 100% { inset: -8px;  border-color: rgba(42,74,62,0);   border-width: 1px; }
  50%       { inset: -22px; border-color: rgba(42,74,62,0.2); border-width: 1.5px; }
}

@keyframes luDotBounce {
  0%, 100% { transform: translateY(0);    opacity: 0.25; }
  50%       { transform: translateY(-4px); opacity: 0.7; }
}


/* ============================================================
   15. AUTH LIGHTBOX
   Curved corner modal — left side carousel, right side form.
   ============================================================ */
.lu-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: luFadeIn 0.25s ease;
}

.lu-auth-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.lu-auth-carousel {
  position: relative;
  overflow: hidden;
  background: var(--lu-charcoal);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.lu-auth-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.lu-auth-carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.lu-auth-carousel-dots {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
}

.lu-auth-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all var(--ease-fast);
  cursor: pointer;
}

.lu-auth-carousel-dot.active {
  background: #fff;
  width: 18px;
  border-radius: var(--radius-pill);
}

.lu-auth-form {
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
}

.lu-auth-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-sm);
}

.lu-auth-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--lu-charcoal);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

.lu-auth-sub {
  font-size: var(--text-sm);
  color: var(--lu-muted);
  line-height: var(--leading-normal);
  margin-top: calc(-1 * var(--space-sm));
}

.lu-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px var(--space-md);
  border-radius: var(--radius-sm);
  font-family: var(--lu-font);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: all var(--ease-fast);
  border: none;
  letter-spacing: -0.01em;
}

.lu-auth-btn-google {
  background: #fff;
  color: var(--lu-ink);
  border: 1.5px solid var(--lu-border);
}

.lu-auth-btn-google:hover {
  border-color: #9CA3AF;
  background: #FAFAFA;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.lu-auth-btn-google img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lu-auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--lu-muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
}

.lu-auth-divider::before,
.lu-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--lu-border);
}

.lu-auth-btn-email {
  background: var(--lu-forest);
  color: #fff;
}

.lu-auth-btn-email:hover {
  background: var(--lu-forest-mid);
  transform: translateY(-1px);
}

.lu-auth-btn-email:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.lu-auth-legal {
  font-size: var(--text-xs);
  color: #B0ADA8;
  text-align: center;
  line-height: var(--leading-normal);
}

.lu-auth-legal a {
  color: var(--lu-muted);
  text-decoration: underline;
}

@keyframes luFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ============================================================
   16. RESPONSIVE
   ============================================================ */

/* Tablet — 768px */
@media (max-width: 768px) {

  .lu-auth-modal {
    grid-template-columns: 1fr;
    max-width: 480px;
    border-radius: var(--radius-xl);
  }

  .lu-auth-carousel { display: none; }

  .lu-auth-form { padding: var(--space-xl) var(--space-lg); }
}
