/* callremind — brand tokens
   Theme: orange-brown (terracotta) single-accent, minimalist.
   Font: Josefin Sans. OKLCH ramp, no warm-cream default bg. */

:root {
  /* Brand — orange-brown / terracotta */
  --brand: oklch(0.62 0.16 52);
  /* primary burnt-orange */
  --brand-strong: oklch(0.56 0.17 48);
  /* deeper, for hover/active */
  --accent: oklch(0.70 0.17 58);
  /* brighter orange, CTAs only */

  /* Neutrals — warm-tinted but NOT cream. Off-white at chroma ~0. */
  --bg: oklch(0.98 0.003 60);
  --surface: oklch(0.95 0.008 55);
  /* faint tint toward brand */
  --ink: oklch(0.24 0.02 50);
  /* warm near-black */
  --muted: oklch(0.50 0.03 52);
  /* secondary text */
  --line: oklch(0.88 0.01 55);
  /* hairline borders */

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-6: 6rem;

  --maxw: 1080px;
  --radius: 14px;

  --font: "Josefin Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* Header */
.site-head {
  /* position: sticky; */
  position: fixed;
  width: 100vw;
  top: 0;
  z-index: 200;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 95vw;

}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  color: var(--brand);
  flex: none;
  width: 66px;
  height: 56px;
  margin-right: -9px;


  width: 55px;
  height: 40px;
  opacity: .88;

  margin-top: -6.6px
}

.logo-text {
  background: linear-gradient(25deg, var(--ink) 0%, var(--brand) 50%, var(--ink) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: logoShine 4s linear infinite;
}

@keyframes logoShine {
  to {
    background-position: 200% center;
  }
}

.logo .dot {
  color: var(--brand);
}

.nav {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .2s ease;
}

.nav a:hover {
  color: var(--ink);
}

/* Hamburger — always visible (reliable nav trigger while scrolling) */
.hamburger {
  display: flex;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex: none;
  color: var(--ink);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* When the full-screen menu is open, cap <main> so nothing scrolls behind it */
body:has(.mobile-menu:not([hidden])) main {
  max-height: 100vh;
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: max(18px, env(safe-area-inset-top)) var(--sp-4) max(24px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu:not([hidden]) {
  display: flex;
}

.menu-close {
  position: sticky;
  top: 0;
  align-self: flex-end;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.menu-links {
  position: fixed;
  background: rgba(255, 255, 255, 0.96);
  z-index: 1000;
  width: 100vw;
  top: 110px;
  min-height: 100vh;
  left: 0;
  padding-top: 30px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--sp-4);
}

.menu-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  letter-spacing: -0.02em;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-links a:hover {
  color: var(--brand);
}

.menu-ico { font-size: 1.3em; line-height: 1; flex: none; }

.mobile-menu .lang-toggle {
  align-self: flex-start;
  margin-top: var(--sp-4);
}

/* Buttons — single solid accent, no ghost-card */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: oklch(0.99 0 0);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.btn:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--line);
  transform: translateY(-1px);
}

/* Language toggle */
.lang-toggle {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Hero */
.hero {
  padding: var(--sp-6) 0 var(--sp-5);
}

.hero .eyebrow {
  /* single deliberate kicker, NOT repeated per section */
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.hero h1 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 14ch;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero p.lead {
  margin-top: var(--sp-3);
  max-width: 52ch;
  font-size: 1.2rem;
  color: var(--muted);
  text-wrap: pretty;
}

.hero .cta-row {
  margin-top: var(--sp-4);
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.hero .price-note {
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: var(--sp-5) 0;
}

.section h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 18ch;
  text-wrap: balance;
  margin-bottom: var(--sp-3);
}

/* Feature rows — text-led, no identical card grid */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
}

.feature:nth-child(even) .feature-text {
  order: 2;
}

.feature-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-1);
}

.feature-text p {
  color: var(--muted);
  max-width: 46ch;
}

.feature-mark-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.feature-mark-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* Pricing — flat rate, the whole point */
.pricing {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}

.pricing .rate {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.pricing .rate small {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--bg);
  letter-spacing: 0;
}

.pricing p {
  color: color-mix(in oklch, var(--bg) 75%, transparent);
  margin-top: var(--sp-2);
  max-width: 44ch;
  margin-inline: auto;
}

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: var(--sp-4) 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* CVP — lowest outreach */
.cvp .eyebrow {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.cvp h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: var(--sp-3);
}

.cvp .lead {
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.15rem;
}

.cvp-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--sp-3);
  padding: 0;
}

.cvp-points li {
  font-weight: 600;
  font-size: 0.92rem;
  color: color-mix(in oklch, var(--brand) 75%, #000);
  background: color-mix(in oklch, var(--brand) 12%, #fff);
  border: 1px solid color-mix(in oklch, var(--brand) 28%, transparent);
  padding: 9px 16px;
  border-radius: 999px;
}

/* Testimonial */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

.testi {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-3);
}

.testi-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--sp-2);
  border: 2px solid var(--border);
  background: white;
}

.testi blockquote {
  margin: 0 0 var(--sp-2);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
}

.testi figcaption {
  font-weight: 600;
  color: var(--brand);
  font-size: 0.9rem;
}

/* Contact */
.contact-row {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-3);
}

.contact-phone {
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Header navbar always on top of the scroll-world layers on mobile */
  .site-head {
    /* position: sticky; */
    position: fixed;
    top: 0;
    z-index: 500;
    background: color-mix(in oklch, var(--bg) 92%, transparent);
  }

  .feature {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }

  .feature:nth-child(even) .feature-text {
    order: 0;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition: none !important;
  }
}

/* GSAP Image Sequence Styles */
.gsap-world {
  position: relative;
  background: var(--bg);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.gsap-sticky {
  position: sticky;
  top: 65px; /* header height */
  height: calc(100vh - 65px);
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

#gsap-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gsap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.92) 26%,
      rgba(255, 255, 255, 0.62) 50%,
      rgba(255, 255, 255, 0.20) 70%,
      transparent 100%);
  z-index: 2;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .gsap-overlay {
    width: 100vw;
  }
}

.gsap-content {
  position: relative;
  z-index: 3;
  margin-top: calc(-100vh + 65px); /* Let scenes flow over the sticky background */
}

.gsap-scene {
  height: 150vh;
  display: flex;
  align-items: center;
}

.gsap-copy {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 18px 50px rgba(40, 30, 20, 0.18);
  width: min(42vw, 460px);
  will-change: transform, opacity;
}

.gsap-copy__num {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
}

.gsap-copy__eyebrow {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.gsap-copy__title {
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.03;
  margin: 12px 0 0;
  letter-spacing: -0.02em;
}

.gsap-copy__body {
  margin-top: 18px;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 40ch;
}

.gsap-copy__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
}

.gsap-copy__tags li {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 11px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--brand) 78%, #1a1208);
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  white-space: nowrap;
}

.gsap-copy__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  pointer-events: auto;
}

@media (max-width: 860px) {
  .gsap-copy {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 24px;
  }
  .gsap-overlay {
    background: linear-gradient(0deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 70%, transparent) 46%, transparent 100%);
  }
}


/* Carousel Why Section */
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-4);
}

.carousel-header h2 {
  margin-bottom: 0 !important;
}

.carousel-nav {
  display: flex;
  gap: var(--sp-2);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: scale(1.05);
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar on Firefox */
  padding: 10px 4px 20px 4px; /* padding so card box-shadow doesn't clip */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar on Chrome, Safari, and Opera */
}

.carousel-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #000;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--sp-3);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-1);
  color: var(--ink);
}

.card-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-1);
  margin-top: var(--sp-3);
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}

/* Tablet and Desktop sizes */
@media (min-width: 641px) {
  .carousel-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 1025px) {
  .carousel-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

/* LANDING OVERLAY */
.landing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out;
}
/* Hide floating login while landing overlay or auth overlay is active */
body:has(.landing-overlay) .floating-login,
body:has(.auth-overlay:not([hidden])) .floating-login { display: none; }
.landing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 var(--sp-3);
  text-align: center;
  gap: var(--sp-4);
}
@media (min-width: 860px) {
  .landing-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}
.landing-text {
  margin-top:-13.5px;
  flex: 1;
  max-width: 600px;
}
.landing-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: var(--sp-1) 0 var(--sp-2);
}
.landing-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.landing-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  max-height: 60vh;
}

/* Language Visibility Toggles */
html[lang="en"] .lang-bm {
  display: none !important;
}
html[lang="ms"] .lang-en {
  display: none !important;
}

/* ============ AUTH MODAL (login / signup) ============ */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  background: color-mix(in oklch, var(--ink) 42%, transparent);
  backdrop-filter: blur(4px);
}
.auth-overlay[hidden] { display: none; }
/* reliable scroll lock for the background while modal is open (esp. mobile/iOS) */
html.auth-lock, body.auth-lock { overflow: hidden; touch-action: none; }

.auth-modal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(880px, 100%);
  max-height: 92vh;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  width: 36px; height: 36px;
  border: none;
  border-radius: 999px;
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.auth-close:hover { background: var(--line); }

/* LEFT — hand-drawn illustration side */
.auth-aside {
  position: relative;
  background:
    radial-gradient(120% 120% at 30% 20%, color-mix(in oklch, var(--brand) 16%, transparent), transparent 60%),
    color-mix(in oklch, var(--brand) 7%, var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) var(--sp-3);
  overflow: hidden;
}
.auth-aside-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  text-align: center;
}
.auth-aside .logo { justify-content: center; margin-bottom: var(--sp-3); }
.auth-illu {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto var(--sp-3);
  display: block;
}
/* sketch styling for the SVG */
.auth-illu .ripple {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.6;
  opacity: .35;
  transform-origin: 160px 160px;
  animation: ripple 4s ease-out infinite;
}
.auth-illu .ripple:nth-child(2) { animation-delay: .6s; }
.auth-illu .ripple:nth-child(3) { animation-delay: 1.2s; }
.auth-illu .ripple:nth-child(4) { animation-delay: 1.8s; }
@keyframes ripple {
  0%   { opacity: .45; transform: scale(.7); }
  70%  { opacity: .12; }
  100% { opacity: 0; transform: scale(1.05); }
}
.auth-illu .phone path {
  fill: none;
  stroke: var(--brand-strong);
  stroke-width: 4;
}
.auth-illu .node {
  fill: var(--bg);
  stroke: var(--brand);
  stroke-width: 3;
}
.auth-illu .links path {
  stroke: var(--brand);
  stroke-width: 1.6;
  opacity: .5;
}
.auth-aside-text {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.auth-aside-text strong { color: var(--brand-strong); }

/* RIGHT — form side */
.auth-form {
  padding: var(--sp-4) var(--sp-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.auth-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: var(--sp-3);
  background: var(--surface);
  border-radius: 999px;
  align-self: flex-start;
}
.auth-tab {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.auth-tab.is-active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.auth-panel { display: none; flex-direction: column; gap: var(--sp-2); }
.auth-panel.is-active { display: flex; }
.auth-panel h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0;
}
.auth-panel h2 .dot, .auth-sub { color: var(--brand); }
.auth-sub { color: var(--muted); margin: -0.3rem 0 var(--sp-1); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.field input {
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 22%, transparent);
}
.auth-submit { margin-top: var(--sp-1); width: 100%; }
.auth-alt { text-align: center; font-size: 0.9rem; color: var(--muted); margin-top: var(--sp-1); }
.auth-forgot { text-align: right; font-size: 0.85rem; margin: -0.4rem 0 0.2rem; }
.auth-forgot a { color: var(--brand-strong); font-weight: 600; text-decoration: none; }
.auth-forgot a:hover { text-decoration: underline; }
.auth-alt a { color: var(--brand-strong); font-weight: 600; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

/* ============ MOBILE: left becomes background behind form ============ */
@media (max-width: 720px) {
  .auth-overlay {
    padding: 0;
    align-items: stretch;
    overscroll-behavior: contain;
  }
  .auth-modal {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .auth-aside {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .9;
  }
  .auth-aside-inner { display: none; }      /* hide text/logo dup; keep sketch bg */
  .auth-form {
    position: relative;
    z-index: 1;
    justify-content: flex-start;            /* allow scroll from top when content > viewport */
    background: color-mix(in oklch, var(--bg) 86%, transparent);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    margin: var(--sp-3);
    padding: var(--sp-3);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }
  .auth-close { background: color-mix(in oklch, var(--bg) 80%, transparent); }
}

/* header login button */
.header-login {
  display:none; 
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 1.1rem;
  margin-right: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.header-login:hover { background: var(--surface); border-color: var(--brand); }

/* ===== Google OAuth button + divider ===== */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-google:hover { background: #faf8f6; border-color: var(--brand); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.btn-google .g-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.9rem 0 0.2rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-divider span { padding: 0 0.8rem; }

/* footer legal links */
.foot-legal { display: inline-flex; gap: 1rem; flex-wrap: wrap; margin-left: auto; }
.foot-legal a { color: var(--muted); text-decoration: none; font-size: 0.85rem; }
.foot-legal a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 720px) {
  .foot-legal { margin-left: 0; width: 100%; }
}

/* toast */
.cr-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 600;
  max-width: 90vw;
}
.cr-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cr-toast.err { background: #c0392b; }

/* ===== Floating WhatsApp reach button ===== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 56px;
  padding: 0 1.1rem 0 0.9rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.26); }
.wa-float svg { width: 28px; height: 28px; flex: 0 0 auto; }
.wa-float__label { line-height: 1; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--brand);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 720px) {
  .wa-float { right: 14px; bottom: 14px; height: 52px; width: 52px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
}

