/* ==========================================================================
   MOVO · Design System Tokens
   Source of truth extracted from https://site.movoai.pro/ + real screenshots.
   Corrected from CSS-only analysis after cross-referencing real visuals.
   ========================================================================== */

:root {
  /* --- NEUTRALS (深黑基调, 更纯) --- */
  --bg-0:        #0a0a0f;
  --bg-1:        #0d0d13;
  --bg-2:        #101018;
  --bg-card:     #14141c;
  --bg-elevated: #181822;
  --bg-code:     #0f0f17;

  --border:      #2a2340;   /* 卡片紫色描边 */
  --border-2:    #1e1e28;   /* 分隔线 */
  --border-3:    rgba(255,255,255,0.08);

  /* --- TEXT --- */
  --text-1: #ffffff;
  --text-2: #d4d5df;
  --text-3: #8a8b99;
  --text-4: #5a5b6a;
  --text-5: #3a3b48;

  /* --- BRAND (青→紫 双主色) --- */
  --brand-cyan:   #4ecfd9;
  --brand-blue:   #5b7fff;
  --brand-purple: #a56bff;
  --brand-pink:   #c96bff;
  --brand-magenta:#d67aff;

  /* Solid CTA purple */
  --btn-purple-a: #7b4dff;
  --btn-purple-b: #a26bff;

  /* Accents */
  --accent-green: #38e68a;
  --accent-yellow:#ffd260;
  --accent-red:   #ff6b7a;

  /* --- GRADIENTS (from real Movo CSS) --- */
  /* Hero H1: mint green → purple, ~158deg (from real page1-hero h1) */
  --grad-headline:  linear-gradient(158deg, #61ffad 7.7%, #624afa 102%);
  /* Feature tags: cyan-mint → violet */
  --grad-tag:       linear-gradient(126deg, #84ffe1 2.5%, #8976ff 100.76%);
  /* Final CTA background */
  --grad-hero-cta:  linear-gradient(90deg, #8b5cf6 0%, #6623fe 100%);
  /* Primary button — real one is a right-to-left violet gradient */
  --grad-btn:       linear-gradient(270deg, #8b5cf6 0%, #6623fe 100%);
  --grad-btn-hover: linear-gradient(270deg, #9569f8 0%, #7132ff 100%);

  /* --- SHADOWS --- */
  --shadow-card:   0 20px 60px rgba(0,0,0,0.5);
  --shadow-btn:    0 12px 32px rgba(122, 69, 255, 0.45), inset 0 1px rgba(255,255,255,0.14);
  --shadow-btn-h:  0 16px 40px rgba(122, 69, 255, 0.55), inset 0 1px rgba(255,255,255,0.14);
  --shadow-nav:    0 26px 86px rgba(0,0,0,0.36), inset 0 1px rgba(255,255,255,0.08);
  --shadow-panel:  0 34px 92px rgba(0,0,0,0.5), 0 0 54px rgba(122, 69, 255, 0.16);

  /* --- RADII --- */
  --r-sm:  8px;
  --r-md:  12px;    /* buttons */
  --r-lg:  16px;
  --r-xl:  20px;    /* cards */
  --r-2xl: 22px;    /* nav */
  --r-pill: 999px;

  /* --- SPACING --- */
  --section-y:      clamp(80px, 10vw, 120px);
  --section-y-lg:   clamp(100px, 12vw, 160px);
  --container:      min(1280px, 100% - 48px);
  --container-nav:  min(1348px, 100% - 32px);
  --container-narrow: min(1080px, 100% - 48px);
  --container-text: min(760px, 100% - 48px);

  /* --- TRANSITIONS --- */
  --ease-brand: cubic-bezier(0.21, 0.76, 0.24, 1);
  --t-fast: 0.18s;
  --t-med:  0.32s;
  --t-slow: 0.68s;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg-0);
  scroll-behavior: smooth;
  overflow-anchor: none;
}
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-2);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
/* Eyebrow: mint-green vertical bar + uppercase text (real Movo pattern) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: transparent;
  background: var(--grad-tag);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  min-height: 26px;
}
.eyebrow::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 8px;
  background: #84ffe1;
  flex: 0 0 4px;
  display: block;
}
.eyebrow--purple { }

h1, h2, h3, h4, h5 { margin: 0; color: var(--text-1); font-weight: 500; }

/* Hero H1: LARGE, weight 700, gradient (mint→purple) */
.h-hero {
  font-family: 'Inter', sans-serif;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.h-hero .gradient,
.gradient-text {
  background: var(--grad-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Section H2: LARGE, weight 400-500 (LIGHT), white */
.h-section {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0;
  color: white;
}
.h-section + .kicker {
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  font-weight: 200;
  text-align: center;
  max-width: 720px;
  line-height: 1.25;
}

/* Feature H3: 36px, weight 400 */
.h-feature {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 2.7vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  color: white;
}

.h-card {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: white;
}

.body-lg { font-size: 18px; color: var(--text-2); line-height: 1.55; }
.body-md { font-size: 15px; color: var(--text-3); line-height: 1.6; }
.body-sm { font-size: 13px; color: var(--text-4); }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container      { width: var(--container);       margin: 0 auto; }
.container-narrow { width: var(--container-narrow); margin: 0 auto; }
.container-text { width: var(--container-text);  margin: 0 auto; }

section { padding: var(--section-y) 0; position: relative; }
section.section-lg { padding: var(--section-y-lg) 0; }

/* Page container to push content below fixed nav */
.page-body { padding-top: 88px; }

/* ==========================================================================
   NAV — 1:1 real Movo homepage
   Transparent bar with full-width blurred bg strip via ::before
   ========================================================================== */
.nav {
  z-index: 1000;
  isolation: isolate;
  width: min(1280px, 100% - 80px);
  min-height: 60px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: white;
}
.nav::before {
  content: '';
  z-index: 0;
  pointer-events: none;
  background: rgba(10, 9, 12, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 60px;
}
.nav > * { position: relative; z-index: 1; }
.nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-transform: uppercase;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.brand-mark img,
.brand-mark svg {
  display: block;
  width: 140px;
  height: 23px;
}
.brand-mark img {
  object-fit: contain;
}
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 5vw, 100px);
  font-size: 16px;
  font-weight: 500;
  color: white;
  letter-spacing: 0.05em;
}
.nav-links a {
  color: white;
  opacity: 0.6;
  transition: opacity var(--t-fast), color var(--t-fast);
  position: relative;
}
.nav-links a:hover { opacity: 1; color: white; }
.nav-links a[aria-current="page"] { opacity: 1; color: white; }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -18px; left: 0; right: 0;
  height: 2px;
  background: var(--brand-purple);
  border-radius: 2px;
}
.nav-actions { display: inline-flex; align-items: center; gap: 12px; }

/* ==========================================================================
   BUTTONS — real Movo style: pill 40px radius, 200×54, weight 700
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 40px;
  cursor: pointer;
  padding: 0 31px;
  min-height: 54px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  color: white;
  line-height: 1;
}
.btn.primary {
  background: var(--grad-btn);
  box-shadow: 0 10px 28px rgba(102, 35, 254, 0.22);
}
.btn.primary:hover {
  background: var(--grad-btn-hover);
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 34px rgba(102, 35, 254, 0.34);
}
.btn.primary .arrow-icon {
  width: 0;
  height: 20px;
  opacity: 0;
  transform: translateX(-4px);
  transition: width var(--t-fast), opacity var(--t-fast), transform var(--t-fast), margin-left var(--t-fast);
  margin-left: 0;
  flex: 0 0 0;
}
.btn.primary:hover .arrow-icon {
  width: 20px;
  flex-basis: 20px;
  opacity: 1;
  transform: translateX(0);
  margin-left: 4px;
}

.btn.secondary {
  color: white;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
}
.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.24);
}

/* On-color (Final CTA white pill) */
.btn.on-color {
  color: #8b5cf6;
  background: white;
  border-radius: 40px;
  box-shadow: 0 18px 42px rgba(45, 16, 130, 0.2);
  min-height: 58px;
  padding: 0 25px;
  font-size: 18px;
  min-width: 250px;
}
.btn.on-color:hover {
  color: #6623fe;
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(45, 16, 130, 0.3);
}

.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Nav-specific button size — compact 136×38 */
.nav .btn.secondary {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 40px;
  color: rgba(255,255,255,0.75);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
}
.nav .btn.secondary:hover { color: white; background: rgba(255,255,255,0.06); }
.nav .btn.primary {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  min-width: 136px;
  border-radius: 40px;
}

/* ==========================================================================
   CARD
   ========================================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: transform var(--t-med) var(--ease-brand), border-color var(--t-med);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(165, 107, 255, 0.45);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(165, 107, 255, 0.12), transparent 60%);
}
.card-body { padding: 24px; position: relative; z-index: 1; }
.card-body h3 { color: white; }

/* ==========================================================================
   TAG / CHIP
   ========================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.chip.cyan  { color: var(--brand-cyan);   border-color: rgba(78, 207, 217, 0.4);  background: rgba(78, 207, 217, 0.08); }
.chip.purple{ color: var(--brand-purple); border-color: rgba(165, 107, 255, 0.4); background: rgba(165, 107, 255, 0.08); }
.chip.pink  { color: var(--brand-pink);   border-color: rgba(201, 107, 255, 0.4); background: rgba(201, 107, 255, 0.08); }
.chip.green { color: var(--accent-green); border-color: rgba(56, 230, 138, 0.4);  background: rgba(56, 230, 138, 0.08); }

/* ==========================================================================
   HERO BACKGROUNDS (family look)
   ========================================================================== */
.hero-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.hero-bg::before {
  inset: -20% -10% -20% -10%;
  background:
    radial-gradient(circle at 50% 60%, rgba(165, 107, 255, 0.28), transparent 45%),
    radial-gradient(circle at 20% 40%, rgba(78, 207, 217, 0.14), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(91, 127, 255, 0.16), transparent 42%);
}
.hero-bg::after {
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(122, 69, 255, 0.16), transparent 50%),
    linear-gradient(180deg, transparent 60%, var(--bg-0));
}

/* Grid overlay for extra depth */
.hero-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   FINAL CTA (品牌签名收尾, 每页复用)
   ========================================================================== */
.final-cta {
  padding: clamp(80px, 10vw, 140px) 24px;
  text-align: center;
  background: var(--grad-hero-cta);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12), transparent 40%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  color: white;
  letter-spacing: -0.02em;
  position: relative;
}
.final-cta h2 span { display: block; }
.final-cta .btn { margin-top: 36px; position: relative; }

/* ==========================================================================
   FOOTER — 1:1 real Movo homepage
   ========================================================================== */
.site-footer {
  background: #09090c;
  padding: 40px 24px;
  color: rgba(255,255,255,0.8);
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.site-footer-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.site-footer-main {
  display: grid;
  grid-template-columns: 173px minmax(0, 1fr);
  gap: clamp(48px, 5.2vw, 80px);
  width: min(1520px, 100%);
  margin: 0 auto;
  align-items: start;
  min-height: 184px;
}
.site-footer-brand { display: flex; flex-direction: column; align-items: flex-start; width: 173px; }
.site-footer-brand .brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  height: 23px;
}
.site-footer-brand .brand-wordmark .brand-mark { display:inline-flex; line-height:0; }
.site-footer-brand p {
  color: rgba(255,255,255,0.58);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  margin: 30px 0 0;
}
.site-footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.site-footer-socials a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.86);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.site-footer-socials a:hover {
  background: rgba(139, 92, 246, 0.7);
  color: white;
  transform: translateY(-2px);
}
.site-footer-socials svg { width: 16px; height: 16px; fill: currentColor; }

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(4, max-content) minmax(240px, max-content);
  gap: clamp(24px, 3.6vw, 72px);
  justify-content: end;
  align-items: flex-start;
  min-width: 0;
}
.site-footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: none;
  white-space: nowrap;
}
.site-footer-group strong {
  color: snow;
  font-size: 30px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 20px;
}
.site-footer-group a,
.site-footer-group span {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  transition: color var(--t-fast);
}
.site-footer-group a:hover { color: white; }
.site-footer-group.site-footer-company { min-width: 260px; }

.site-footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  width: min(1520px, 100%);
  margin: 0 auto;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1520px, 100%);
  margin: 0 auto;
  font-size: 12px;
  color: #bfbaca;
}
.site-footer-bottom p { margin: 0; }
.site-footer-from {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-transform: capitalize;
}
.site-footer-from b {
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}
.site-footer-from svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 18px;
}
.site-footer-back-top {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  display: grid; place-items: center;
  color: white;
  transition: background var(--t-fast), transform var(--t-fast);
}
.site-footer-back-top:hover {
  background: rgba(139, 92, 246, 0.7);
  transform: translateY(-2px);
}
.site-footer-back-top svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 1100px) {
  .site-footer-main { grid-template-columns: 1fr; gap: 44px; }
  .site-footer-brand { width: 100%; }
  .site-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
  .site-footer-group { white-space: normal; }
}
@media (max-width: 640px) {
  .site-footer-links { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .site-footer-group strong { font-size: 22px; margin-bottom: 14px; }
  .site-footer-group a, .site-footer-group span { font-size: 13px; line-height: 26px; }
  .site-footer-company { grid-column: 1 / -1; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ==========================================================================
   REVEAL ON SCROLL
   Default: visible (fail-safe). JS opts-in by adding .reveal-ready to <body>.
   ========================================================================== */
.reveal { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease-brand), transform var(--t-slow) var(--ease-brand); }
body.reveal-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition-delay: var(--reveal-delay, 0s);
}
body.reveal-ready .reveal.is-visible { opacity: 1; transform: translate(0, 0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  body.reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   PLACEHOLDER IMAGE (striped, with label)
   ========================================================================== */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg,
      rgba(165, 107, 255, 0.08) 0 12px,
      rgba(78, 207, 217, 0.05) 12px 24px),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--text-3);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  text-align: center;
  padding: 20px;
  min-height: 120px;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(165, 107, 255, 0.14), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(78, 207, 217, 0.10), transparent 40%);
  pointer-events: none;
}
.ph > * { position: relative; z-index: 1; }
.ph-label { color: var(--text-2); font-weight: 600; margin-bottom: 4px; letter-spacing: 0.02em; }
.ph-hint  { color: var(--text-4); font-size: 11px; }

/* Aspect ratios */
.ph.ratio-16-9 { aspect-ratio: 16 / 9; }
.ph.ratio-4-3  { aspect-ratio: 4 / 3; }
.ph.ratio-1-1  { aspect-ratio: 1 / 1; }
.ph.ratio-3-2  { aspect-ratio: 3 / 2; }
.ph.ratio-21-9 { aspect-ratio: 21 / 9; }

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.input, .textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-1);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(165, 107, 255, 0.18);
}
.textarea { min-height: 96px; resize: vertical; }

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(20, 20, 28, 0.7);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 24px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-box:focus-within {
  border-color: rgba(165, 107, 255, 0.55);
  box-shadow: 0 0 40px rgba(165, 107, 255, 0.18);
}
.search-box svg { flex: none; color: var(--text-3); width: 20px; height: 20px; }
.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-1);
  font-size: 16px;
  padding: 12px 16px 12px 12px;
}
.search-box input::placeholder { color: var(--text-4); }
.search-box .btn { border-radius: var(--r-pill); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .nav { width: calc(100% - 16px); padding: 0 14px; }
  .nav-links { display: none; }
  .site-footer-main { grid-template-columns: 1fr 1fr; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 600px) {
  .nav-actions .secondary { display: none; }
  .site-footer-main { grid-template-columns: 1fr; }
}
