/* Flemo marketing site styling. Matches the app's watercolor and gold visual identity. */

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Google+Sans+Code:ital,wght@0,400;1,400&family=Google+Symbols:opsz,wght,FILL,GRAD,ROND@40..48,300,0..1,0,50&display=swap");

:root {
  /* Antigravity white/light-grey light mode */
  --bg: #ffffff;
  --surface: #f8f9fc;
  --panel: #f8f9fc;
  --elevated: #eff2f7;
  --primary: #121317;
  --primary-dark: #27272a;
  --primary-text: #FFFFFF;
  --accent: #121317;
  --accent-text: #18181b;
  --accent-gradient: none;
  --rose: #e35c5c;
  --rose-soft: rgba(227, 92, 92, 0.16);
  --info: #18181b;
  --info-soft: rgba(244, 244, 245, 0.4);
  --info-border: rgba(228, 228, 231, 0.3);
  --text: #18181b;
  --muted: #71717a;
  --border: rgba(228, 228, 231, 0.6);
  --danger: #C0392B;

  /* Brand Specific Gold (Clean Neutral) */
  --gold: #121317;
  --gold-alpha: rgba(18, 19, 23, 0.1);

  /* Glass effects */
  --glass: rgba(244, 244, 245, 0.4);
  --glass-border: rgba(228, 228, 231, 0.3);
  --glow-color: rgba(18, 19, 23, 0.02);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --maxw: 1400px;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --serif: "Google Sans Flex", "Google Sans", Arial, sans-serif;
  --sans: "Google Sans Flex", "Google Sans", Arial, sans-serif;
  --cursive: "Google Sans Flex", "Google Sans", Arial, sans-serif;

  /* Play Button Variables - Light Mode */
  --play-btn-bg: rgba(255, 255, 255, 0.6);
  --play-btn-border: rgba(15, 15, 16, 0.3);
  --play-btn-color: #1F1F1F;
  --play-btn-hover-bg: rgba(15, 15, 16, 0.05);
  --play-btn-hover-border: var(--text);
  --play-btn-hover-color: var(--text);

  /* Shared Home/Download cinematic light-mode tuning */
  --cinema-text: #18181b;
  --cinema-lead: #52525b;
  --cinema-scrim-left: rgba(255, 255, 255, 0.74);
  --cinema-scrim-mid: rgba(255, 255, 255, 0.48);
  --cinema-scrim-right: rgba(255, 255, 255, 0.10);
  --cinema-scrim-bottom: rgba(255, 255, 255, 0.30);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  scroll-behavior: auto !important;
}
html.lenis {
  height: auto;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Page Entry and Exit Animations */
main {
  opacity: 0;
  transform: translateY(12px);
  will-change: opacity, transform;
}
html.js-loaded main {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
html:not(.js-loaded) main {
  opacity: 1;
  transform: none;
}

body.is-leaving main {
  opacity: 0 !important;
  transform: translateY(-12px) !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6,
.hero h1, .download-hero h1, .about-hero h1, .guidelines-hero h1, .contact-intro h1, .legal-hero h1,
.section-head h2, .difference-item h3 {
  font-weight: 400 !important;
}

img { max-width: 100%; display: block; }

img,
video {
  backface-visibility: hidden;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* Subtle ambient glow, echoing the app's GlowBackground */
.glow {
  display: none !important;
}

/* ---------- Header & Navigation ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: linear-gradient(rgba(15, 15, 16, 0.85), rgba(15, 15, 16, 0.85)), url('cover.png') no-repeat center center;
  background-size: cover;
  border-bottom: 1px solid var(--border);
  transform: translateY(0);
  transition: transform 0.3s var(--ease-premium), background 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}
header.site.header-hidden {
  transform: translateY(-100%);
}
header.site.is-scrolled {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}
[data-theme="light"] header.site {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 70px;
  text-decoration: none;
}
.brand-flame {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.brand-wordmark {
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.0;
  display: inline-block;
  margin-top: -1px;
  letter-spacing: normal;
  background-image: linear-gradient(135deg, #FF6b81, #FFa502, #2ed573, #1e90ff, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 8s ease infinite;
  background-size: 200% auto;
}
.flemo-inline {
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  display: inline-block !important;
  background-image: linear-gradient(135deg, #FF6b81, #FFa502, #2ed573, #1e90ff, #9b59b6) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: shineText 8s ease infinite !important;
  background-size: 200% auto !important;
}
.brand-subline {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand .mark { font-family: var(--serif); font-weight: 800; font-size: 30px; letter-spacing: 0; line-height: 1.0; color: var(--gold); }
.brand .dot { color: var(--gold); }
.brand .tag { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
/* ---------- Dropdown Navigation ---------- */
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.22s var(--ease-premium), transform 0.22s var(--ease-premium);
  position: relative;
  will-change: transform;
}
.nav-links a:hover {
  transform: translateY(-1px);
}
.nav-links a:hover, 
.nav-links a.active,
.nav-links a.nav-link-home.active,
.nav-links .nav-dropdown-trigger.active { 
  color: var(--text); 
}
.nav-links a.active::after,
.nav-links a.nav-link-home.active::after,
.nav-links .nav-dropdown-trigger.active::after {
  content: "";
  position: absolute; bottom: -6px; left: 0; right: 0; height: 2px;
  background: var(--text);
  border-radius: var(--radius-pill);
}

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.22s var(--ease-premium);
  will-change: transform;
  position: relative;
  padding: 4px 0;
}

.nav-dropdown-trigger .chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 540px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(18, 19, 23, 0.08);
  border: 1px solid rgba(18, 19, 23, 0.06);
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  padding: 28px;
}

html:not(.js-loaded) .nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.active .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

html:not(.js-loaded) .nav-item-dropdown:hover .chevron {
  transform: translateY(1px) rotate(-135deg);
}

.dropdown-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.dropdown-left {
  border-right: 1px solid rgba(18, 19, 23, 0.06);
  padding-right: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.dropdown-left h2 {
  font-size: 20px;
  line-height: 1.3;
  color: #18181b;
}

.dropdown-left .btn-sm {
  width: fit-content;
  font-size: 13px;
  padding: 8px 16px;
}

.dropdown-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dropdown-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #71717a;
}

.dropdown-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-link {
  font-size: 15px;
  color: #52525b;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-link:hover {
  background: #f8f9fc;
  color: #121317;
}

/* Nav CTA Button styling */
.btn-nav-cta {
  min-height: 38px;
  font-size: 14.5px;
  padding: 8px 18px;
  font-weight: 400;
  border-radius: var(--radius-pill);
}

.btn-nav-cta svg {
  margin-left: 6px;
  vertical-align: middle;
}

.mobile-only-download {
  display: none !important;
}

.nav-controls { display: flex; align-items: center; gap: 16px; }

/* Theme Toggle Button */
.theme-toggle {
  display: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.24s var(--ease-premium), color 0.24s var(--ease-premium);
  will-change: transform;
}
.nav-toggle:hover {
  transform: translateY(-1px) scale(1.04);
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: normal !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, background-color .15s, color .15s, box-shadow .15s;
  will-change: transform;
  transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0);
}
.btn:hover {
  transform: translate3d(var(--magnet-x, 0), calc(var(--magnet-y, 0) - 2px), 0);
}
.btn:active {
  transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0) scale(0.98);
}

.disabled,
a.disabled,
.btn.disabled,
.btn:disabled {
  pointer-events: none !important;
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-primary { background: #121317; color: #fff; }
.btn-primary:hover { background: #27272a; transform: translateY(-2px); }

.btn-watercolor {
  background: #121317; color: #fff;
}
.btn-watercolor:hover {
  background: #27272a;
  transform: translate3d(var(--magnet-x, 0), calc(var(--magnet-y, 0) - 2px), 0);
}

.btn-ghost { 
  background: rgba(244, 244, 245, 0.4); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px); 
  color: #27272a; 
  border: 1px solid rgba(228, 228, 231, 0.3); 
  padding: 10px 24px; 
}
.btn-ghost:hover {
  background: rgba(228, 228, 231, 0.5);
  transform: translate3d(var(--magnet-x, 0), calc(var(--magnet-y, 0) - 2px), 0);
}
.btn-lg { padding: 10px 24px; font-size: 18px; }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; }
.hero-image { display: block; position: relative; }
.hero-cover-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  background: var(--surface);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.5s ease;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-cover-container:hover .hero-cover-img {
  transform: scale(1.04);
}
.hero-logo-overlay {
  position: absolute;
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
  animation: logo-glow 3s infinite alternate;
}
@keyframes logo-glow {
  0% { transform: scale(1); filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)) brightness(1); }
  100% { transform: scale(1.03); filter: drop-shadow(0 8px 24px rgba(138, 180, 248, 0.4)) brightness(1.08); }
}

.kicker {
  color: var(--gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(38px, 5.5vw, 64px); line-height: 1.05; letter-spacing: 0;
  margin-bottom: 20px;
}
.hero-br {
  display: none;
}
@media (max-width: 640px) {
  .hero-br {
    display: inline !important;
  }
}
.hero h1 em { font-style: italic; font-weight: 700; color: var(--gold); font-family: var(--serif); position: relative; }
.hero h1 em::after {
  content: "";
  position: absolute; bottom: 4px; left: 0; right: 0; height: 6px;
  background: var(--accent-gradient);
  z-index: -1; opacity: 0.18;
}
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 54ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { color: var(--muted); font-size: 13px; margin-top: 18px; display: flex; align-items: center; gap: 6px; }
.hero-note::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.wrap { padding: 96px 24px; }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head .kicker { margin-bottom: 8px; }
.section-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }
.divider { border: 0; border-top: 1px solid var(--border); }

/* ---------- Cards & Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: var(--glass-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--accent-gradient); opacity: 0; transition: opacity 0.3s; z-index: 0;
}
.card:hover::before { opacity: 0.02; }

.card * { position: relative; z-index: 1; }

.card .ico {
  font-size: 28px; margin-bottom: 16px; display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--glass); border: 1px solid var(--border);
}
.card h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.pill {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--border);
  color: var(--muted); background: var(--elevated);
}
.pill.verified { color: var(--gold); border-color: var(--gold-alpha); background: rgba(231, 201, 122, 0.05); }
.pill.host { color: var(--accent-text); border-color: var(--glass-border); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-bottom: 48px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 36px; font-style: italic; font-weight: 700; color: var(--gold);
  display: block; margin-bottom: 12px; line-height: 1; opacity: 0.8;
}
.step h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ---------- CTA Band ---------- */
.cta {
  background: linear-gradient(135deg, var(--glass), rgba(231, 201, 122, 0.02));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.cta * { position: relative; z-index: 1; }
.cta h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 12px; }
.cta p { color: var(--muted); font-size: 16px; margin-bottom: 24px; max-width: 48ch; margin-left: auto; margin-right: auto; }
.cta-small-text { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- Legal & Long Form Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 5vw, 46px); margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; font-family: var(--sans); }
.prose h2 { font-family: var(--serif); font-weight: 700; font-size: 24px; margin: 36px 0 12px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.prose h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin: 20px 0 8px; color: var(--gold); }
.prose p, .prose li { color: var(--text); font-size: 15px; margin-bottom: 12px; opacity: 0.9; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: none; transition: color 0.15s; }
.prose a:hover { color: var(--accent); text-decoration: underline; }
.callout {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: var(--radius-md); padding: 18px 20px; color: var(--muted); font-size: 14px; margin: 24px 0;
  line-height: 1.6;
}

/* ---------- Guidelines Accordion / Cards ---------- */
.guidelines-group { margin-bottom: 32px; }
.guidelines-section-title {
  font-family: var(--serif); font-size: 26px; font-weight: 700; margin-bottom: 16px;
  color: var(--gold); display: flex; align-items: center; gap: 10px;
}
.guideline-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 16px; overflow: hidden;
}
.guideline-header {
  padding: 18px 24px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; user-select: none; transition: background 0.2s;
}
.guideline-header:hover { background: var(--glass); }
.guideline-title { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.guideline-icon { width: 20px; text-align: center; }
.guideline-chevron { font-size: 12px; color: var(--muted); transition: transform 0.2s; }
.guideline-card.open .guideline-chevron { transform: rotate(180deg); }
.guideline-content {
  padding: 0 24px 20px; display: none; border-top: 1px solid transparent;
}
.guideline-card.open .guideline-content { display: block; border-top-color: var(--border); padding-top: 16px; }
.guideline-content ul { padding-left: 20px; }
.guideline-content li { margin-bottom: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Contact & Support Form ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr); gap: 32px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.contact-card h2 { font-family: var(--serif); font-size: 30px; line-height: 1.15; margin-bottom: 12px; }
.contact-card p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--text); }
.field span { color: var(--muted); font-weight: 400; font-size: 11px; }
.field input, .field select, .field textarea {
  width: 100%; color: var(--text); background: var(--elevated);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: 14px; padding: 12px 14px; transition: border-color .15s ease, background-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 12px 16px; border-radius: var(--radius-md); margin-top: 16px; font-size: 14px; }
.form-status.success { display: block; color: #EFE7DA; background: rgba(52,168,83,.18); border: 1px solid rgba(52,168,83,.4); }
.form-status.error { display: block; color: #EFE7DA; background: rgba(192,57,43,.15); border: 1px solid rgba(192,57,43,.4); }
.help-list { display: grid; gap: 16px; margin-top: 20px; }
.help-item { padding: 16px; background: var(--elevated); border-radius: var(--radius-md); border: 1px solid var(--border); }
.help-item strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--gold); }
.help-item p { font-size: 13px; margin: 0; color: var(--muted); line-height: 1.5; }

/* ---------- Download App Page ---------- */
.download-hero {
  position: relative;
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
}
.download-hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
  width: 100%;
}
.download-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.download-device-stage {
  position: relative;
  width: 100%;
  min-height: min(72svh, 620px);
  margin-left: auto;
  display: grid;
  place-items: center;
}
.download-device-glow {
  position: absolute;
  inset: 8% 2% 12%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 107, 129, 0.20), transparent 32%),
    radial-gradient(circle at 68% 22%, rgba(30, 144, 255, 0.18), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(46, 213, 115, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(255, 165, 2, 0.10), rgba(155, 89, 182, 0.12));
  filter: blur(28px);
  opacity: 0.78;
}
.download-phone-frame {
  position: relative;
  z-index: 2;
  width: min(62%, 286px);
  aspect-ratio: 9 / 19.4;
  padding: 10px;
  border-radius: 38px;
  background: #111216;
  box-shadow:
    0 34px 78px rgba(18, 19, 23, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.download-phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 86px;
  height: 19px;
  border-radius: 999px;
  background: #050507;
  transform: translateX(-50%);
  z-index: 2;
}
.download-phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 30px;
}
.download-live-panel {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 16%;
  width: min(72%, 310px);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(228, 228, 231, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 52px rgba(18, 19, 23, 0.12);
}
.download-live-panel strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 1.25;
}
.download-live-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.download-live-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: #2ed573;
  box-shadow: 0 0 0 6px rgba(46, 213, 115, 0.13);
}
.download-motion-strip {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 10%;
  width: min(48%, 250px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(228, 228, 231, 0.8);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(18, 19, 23, 0.10);
}
.download-motion-strip img,
.download-motion-strip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.download-motion-strip video {
  z-index: 1;
}
.download-hero h1 {
  font-family: var(--serif);
  font-weight: 850;
  font-size: clamp(56px, 8.2vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
  margin: 0 0 24px;
  text-wrap: balance;
  color: var(--text);
}
.download-hero .lead {
  margin-bottom: 30px;
  color: var(--cinema-lead);
  max-width: 58ch;
}
.download-hero-actions,
.download-beta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.download-beta-row {
  margin-top: 24px;
}
.download-beta-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--info-border);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  background: var(--info-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}
.download-section {
  padding: 96px 0;
}
.download-section-compact {
  padding-top: 12px;
}
.download-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.download-section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.download-section-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  margin-bottom: 14px;
  text-wrap: balance;
}
.download-section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.download-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.download-card {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 107, 129, 0.08), transparent 38%),
    radial-gradient(circle at 92% 12%, rgba(30, 144, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(248,249,252,0.96));
  overflow: hidden;
}
[data-theme="light"] .download-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.54), transparent 58%),
    var(--surface);
}
.download-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.download-card h3 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1;
  margin: 0 0 8px;
}
.download-card p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}
.download-status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--info-border);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  background: var(--info-soft);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.download-steps {
  display: grid;
  gap: 12px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.download-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid rgba(228, 228, 231, 0.72);
}
.download-steps b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #ffffff;
  color: #18181b;
  border: 1px solid rgba(228, 228, 231, 0.9);
  font-size: 12px;
  font-weight: 800;
}
.download-steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}
.download-card .download-card-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}
.download-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.download-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--border);
}
.download-flow article {
  min-height: 240px;
  padding: clamp(24px, 3vw, 34px);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.download-flow span {
  color: #71717a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  margin-bottom: auto;
}
.download-flow h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.04;
  margin-bottom: 10px;
}
.download-flow p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

/* ---------- About Page ---------- */
.about-hero {
  padding: 82px 0 64px;
  overflow: hidden;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.about-hero-copy {
  max-width: 720px;
}

.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0 0 26px;
  text-wrap: balance;
}

.about-hero .lead {
  max-width: 56ch;
}

.about-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-hero-media {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.30);
  isolation: isolate;
}

.about-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 14, 12, 0.04), rgba(15, 14, 12, 0.38)),
    radial-gradient(circle at 18% 16%, rgba(231, 201, 122, 0.22), transparent 34%);
  pointer-events: none;
}

[data-theme="light"] .about-hero-media::after {
  background:
    linear-gradient(180deg, rgba(246, 241, 233, 0.06), rgba(246, 241, 233, 0.30)),
    radial-gradient(circle at 18% 16%, rgba(231, 201, 122, 0.18), transparent 34%);
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.about-belief {
  padding: 72px 0 88px;
}

.about-belief-copy {
  max-width: 760px;
  margin-bottom: 28px;
}

.about-belief-copy h2,
.about-statement h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 850;
  line-height: 1.02;
  margin: 0 0 18px;
  text-wrap: balance;
}

.about-belief-copy p,
.about-notes p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.about-principle {
  min-height: 300px;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(244, 237, 227, 0.035), transparent 56%),
    var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

[data-theme="light"] .about-principle {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), transparent 58%),
    var(--surface);
}

.about-principle span {
  margin-bottom: auto;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.about-principle h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.about-principle p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.about-split {
  padding: 92px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 12% 20%, rgba(231, 201, 122, 0.10), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(185, 140, 255, 0.10), transparent 34%);
}

.about-split-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.about-statement {
  max-width: 760px;
}

.about-notes {
  display: grid;
  gap: 18px;
  max-width: 680px;
}

.about-notes p {
  margin: 0;
}

.about-final {
  padding: 76px 0 24px;
}

.about-final .cta {
  max-width: 1120px;
  margin: 0 auto;
}

/* ---------- Guidelines Page ---------- */
.guidelines-hero {
  padding: 82px 0 64px;
  overflow: hidden;
}

.guidelines-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.guidelines-hero-copy {
  max-width: 700px;
}

.guidelines-hero h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 850;
  line-height: 0.96;
  margin: 0 0 26px;
  text-wrap: balance;
}

.guidelines-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.guidelines-hero-media {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.30);
  isolation: isolate;
}

.guidelines-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 14, 12, 0.03), rgba(15, 14, 12, 0.36)),
    radial-gradient(circle at 18% 20%, rgba(231, 201, 122, 0.20), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(86, 182, 232, 0.14), transparent 32%);
  pointer-events: none;
}

[data-theme="light"] .guidelines-hero-media::after {
  background:
    linear-gradient(180deg, rgba(246, 241, 233, 0.04), rgba(246, 241, 233, 0.30)),
    radial-gradient(circle at 18% 20%, rgba(231, 201, 122, 0.18), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(86, 182, 232, 0.12), transparent 32%);
}

.guidelines-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.guidelines-rules {
  padding: 72px 0 88px;
}

.guidelines-rules-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.guidelines-rules-head h2,
.guidelines-detail-copy h2,
.safety-note h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 850;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.rule-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.rule-card {
  min-height: 340px;
  padding: clamp(26px, 3vw, 36px);
  background:
    linear-gradient(145deg, rgba(244, 237, 227, 0.035), transparent 56%),
    var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

[data-theme="light"] .rule-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), transparent 58%),
    var(--surface);
}

.rule-card span {
  margin-bottom: auto;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.rule-card h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.04;
  margin-bottom: 12px;
}

.rule-card p {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

.guidelines-detail {
  padding: 92px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 12% 20%, rgba(231, 201, 122, 0.10), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(86, 182, 232, 0.10), transparent 34%);
}

.guidelines-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.guidelines-detail-copy {
  max-width: 640px;
}

.guidelines-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.guidelines-list div {
  padding: 24px;
  background: var(--surface);
}

.guidelines-list strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 16px;
}

.guidelines-list p {
  color: var(--muted);
  line-height: 1.64;
  margin: 0;
}

.guidelines-safety-note {
  padding: 76px 0 24px;
}

.safety-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(231, 201, 122, 0.10), rgba(185, 140, 255, 0.08)),
    var(--surface);
  overflow: hidden;
}

.safety-note p:not(.kicker) {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.66;
}

/* ---------- Contact Page ---------- */
.contact-hero {
  padding: 82px 0 64px;
  overflow: hidden;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.contact-intro {
  max-width: 720px;
}

.contact-intro h1 {
  font-family: var(--serif);
  font-size: clamp(50px, 6.8vw, 88px);
  font-weight: 850;
  line-height: 0.98;
  margin: 0 0 26px;
  text-wrap: balance;
}

.topic-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.topic-chip {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.topic-chip:hover,
.topic-chip.active {
  border-color: var(--gold);
  background: var(--gold-alpha);
  color: var(--gold);
  transform: translateY(-1px);
}

.urgent-note {
  max-width: 620px;
  border: 1px solid var(--info-border);
  border-radius: var(--radius-md);
  background: var(--info-soft);
  padding: 18px;
}

.urgent-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
}

.urgent-note p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.contact-support-media {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.30);
  isolation: isolate;
}

.contact-support-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 14, 12, 0.02), rgba(15, 14, 12, 0.34)),
    radial-gradient(circle at 18% 20%, rgba(231, 201, 122, 0.20), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(185, 140, 255, 0.12), transparent 34%);
  pointer-events: none;
}

[data-theme="light"] .contact-support-media::after {
  background:
    linear-gradient(180deg, rgba(246, 241, 233, 0.02), rgba(246, 241, 233, 0.24)),
    radial-gradient(circle at 18% 20%, rgba(231, 201, 122, 0.16), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(185, 140, 255, 0.10), transparent 34%);
}

.contact-support-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.contact-form-section {
  padding: 72px 0 24px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-help-panel {
  position: sticky;
  top: 104px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(244, 237, 227, 0.035), transparent 58%),
    var(--surface);
  padding: clamp(26px, 4vw, 38px);
}

.contact-help-panel h2,
.contact-request-card h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  margin-bottom: 14px;
}

.contact-request-card {
  padding: clamp(26px, 4vw, 40px);
}

.contact-request-card p {
  font-size: 15px;
  line-height: 1.6;
}

.contact-request-card .btn {
  width: 100%;
}

/* ---------- Legal Pages ---------- */
.legal-hero {
  padding: 64px 0 42px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 12% 18%, rgba(231, 201, 122, 0.10), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(185, 140, 255, 0.10), transparent 32%);
}

.legal-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 850;
  line-height: 0.98;
  margin: 0 0 14px;
}

.legal-hero .updated {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.legal-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.62;
  opacity: 0.9;
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.legal-summary-grid article {
  min-height: 168px;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--surface);
}

.legal-summary-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.legal-summary-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.05;
}

.legal-summary-grid p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.legal-section {
  padding: 64px 0 24px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 800px);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 2px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.legal-toc span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-toc a {
  color: var(--muted);
  border-radius: var(--radius-sm);
  padding: 8px 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.legal-toc a:hover {
  color: var(--text);
  background: var(--glass);
}

.legal-prose {
  max-width: 800px;
}

.legal-prose .callout {
  margin-bottom: 36px;
}

.legal-prose h2 {
  scroll-margin-top: 96px;
  margin: 46px 0 14px;
  padding-top: 4px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose h3 {
  margin: 24px 0 10px;
  color: var(--gold);
  font-size: 15px;
}

.legal-prose p,
.legal-prose li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
  opacity: 0.88;
}

.legal-prose p {
  margin-bottom: 14px;
}

.legal-prose ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-prose li {
  margin-bottom: 8px;
}

.legal-prose a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.legal-prose a:hover {
  text-decoration: underline;
}
.download-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 24px; align-items: start; }
.qr-card { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qr-frame {
  background: #FFFFFF; padding: 16px; border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); display: inline-block; margin-bottom: 16px;
}
.qr-frame img { width: 180px; height: 180px; }
.qr-card p { font-size: 14px; color: var(--muted); max-width: 24ch; }
.install-card h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 16px; }
.install-steps { list-style: none; padding: 0; display: grid; gap: 16px; }
.install-step { display: flex; gap: 16px; }
.install-num {
  font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--gold);
  min-width: 32px; height: 32px; border-radius: 50%; background: var(--glass);
  display: flex; align-items: center; justify-content: center;
}
.install-desc strong { display: block; font-size: 15px; margin-bottom: 2px; }
.install-desc p { font-size: 13px; color: var(--muted); }
.sys-reqs { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px; }
.sys-reqs h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.sys-req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; color: var(--muted); }
.sys-req-item strong { color: var(--text); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--border); padding: 64px 0 40px; margin-top: 64px; background: rgba(0, 0, 0, 0.1); }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .mark { font-family: "Caveat", cursive; font-weight: 700; font-size: 32px; }
.foot p { color: var(--muted); font-size: 13px; margin-top: 10px; max-width: 38ch; line-height: 1.6; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color 0.15s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { color: var(--muted); font-size: 13px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2, .steps, .contact-layout, .download-grid, .sys-req-grid, .download-platforms, .download-flow { grid-template-columns: 1fr; }
  .steps { gap: 16px; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px 24px;
    display: flex; border-top: 1px solid var(--border);
    align-items: stretch;
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.26s var(--ease-premium), transform 0.26s var(--ease-premium), visibility 0s linear 0.26s;
    will-change: opacity, transform;
    max-height: calc(100vh - 74px);
    max-height: calc(100svh - 74px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-links > a, 
  .nav-item-dropdown > a { 
    padding: 16px 0; 
    width: 100%; 
    border-bottom: 1px solid var(--border); 
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links a.active::after { display: none; }
  .nav-links .btn { margin-top: 16px; justify-content: center; width: 100%; }

  /* Mobile Dropdown Accordion styling */
  .nav-item-dropdown {
    width: 100%;
  }
  .nav-item-dropdown .dropdown-menu {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border: none !important;
    padding: 8px 0 16px 16px !important;
    background: transparent !important;
    display: none;
  }
  .nav-item-dropdown.active .dropdown-menu {
    display: block !important;
  }
  .nav-item-dropdown .dropdown-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nav-item-dropdown .dropdown-left {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 8px;
    gap: 12px;
  }
  .nav-item-dropdown .dropdown-left h2 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
  }
  .nav-item-dropdown .dropdown-left .btn-sm {
    padding: 6px 12px;
    font-size: 12.5px;
  }
  .nav-item-dropdown .dropdown-right {
    gap: 8px;
  }
  .nav-item-dropdown .dropdown-items {
    gap: 2px;
  }
  .nav-item-dropdown .dropdown-link {
    font-size: 14.5px;
    padding: 8px 0;
    width: 100%;
    border-bottom: none !important;
    display: block;
  }
  .mobile-only-download { display: block !important; }
  .btn-nav-cta {
    padding: 6px 12px;
    font-size: 13px;
    min-height: 32px;
  }
  .btn-nav-cta svg {
    width: 12px;
    height: 12px;
    margin-left: 4px;
  }
  .nav-toggle { display: block; }
  .hero { padding: 48px 0 40px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; }
  .hero-image { max-width: 580px; margin: 0 auto; width: 100%; }
  .foot-cols { gap: 32px; width: 100%; justify-content: space-between; }
}


@media (max-width: 580px) {
  .btn-nav-cta {
    display: none !important;
  }
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed; bottom: 24px; right: 24px; max-width: 480px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; z-index: 1000; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: slide-up-cookie 0.4s ease-out;
}
@keyframes slide-up-cookie {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.cookie-banner-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-banner .btn { padding: 8px 16px; font-size: 12px; }

@media (max-width: 520px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ---------- View Transitions & Smooth Animations ---------- */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: pageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Video Play Button */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--play-btn-bg);
  border: 2px solid var(--play-btn-border);
  color: var(--play-btn-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.video-play-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.video-play-btn:hover {
  background: var(--play-btn-hover-bg);
  border-color: var(--play-btn-hover-border);
  color: var(--play-btn-hover-color);
  transform: translate(-50%, -50%) scale(1.05);
}
.video-play-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-left: 2px;
}

/* ---------- Flemo Cinematic Homepage ---------- */
.home-section {
  position: relative;
  overflow: hidden;
}

.home-section h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero {
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  padding: 0;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--surface);
}

#hero-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: none !important;
  opacity: 1 !important;
}

.motion-video,
.motion-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.motion-video,
.download-hero-media video,
.about-hero-media img,
.guidelines-hero-media img,
.contact-support-media img,
.safety-photo {
  filter: saturate(0.92) contrast(0.96) brightness(0.94);
  transform: translateZ(0);
  will-change: transform;
}

[data-theme="light"] .motion-video,
[data-theme="light"] .download-hero-media video {
  filter: saturate(0.88) contrast(0.92) brightness(0.90);
}

.motion-poster {
  position: absolute;
  inset: 0;
}

.motion-video {
  position: relative;
  z-index: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(15, 14, 12, 0.88) 0%, rgba(15, 14, 12, 0.62) 42%, rgba(15, 14, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(15, 14, 12, 0.10) 0%, rgba(15, 14, 12, 0.58) 76%, var(--bg) 100%);
}

[data-theme="light"] .hero-scrim {
  background:
    linear-gradient(90deg, var(--cinema-scrim-left) 0%, var(--cinema-scrim-mid) 42%, var(--cinema-scrim-right) 100%),
    linear-gradient(180deg, rgba(246, 241, 233, 0.02) 0%, var(--cinema-scrim-bottom) 76%, var(--bg) 100%);
}

.hero-inner {
  width: 100%;
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 850;
  font-size: clamp(52px, 8.4vw, 116px);
  line-height: 0.96;
  letter-spacing: 0;
  margin: 0 0 28px;
  text-wrap: balance;
}
[data-theme="light"] .hero h1 {
  color: var(--cinema-text);
  text-shadow: none !important;
}

.hero p.lead,
.lead {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.58;
  color: var(--text);
  max-width: 58ch;
  opacity: 0.9;
  margin-bottom: 32px;
}
[data-theme="light"] .hero p.lead {
  color: var(--cinema-lead);
  opacity: 0.94;
  text-shadow: none !important;
}

[data-theme="light"] .hero-actions .btn-ghost,
[data-theme="light"] .download-hero-actions .btn-ghost {
  background: rgba(244, 244, 245, 0.4) !important;
  border-color: rgba(228, 228, 231, 0.3) !important;
  color: #27272a !important;
  box-shadow: none !important;
}

[data-theme="light"] .hero-actions .btn-ghost:hover,
[data-theme="light"] .download-hero-actions .btn-ghost:hover {
  background: rgba(228, 228, 231, 0.5) !important;
  border-color: rgba(228, 228, 231, 0.4) !important;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--info-border);
  background: var(--info-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.difference-section {
  padding: 104px 0 72px;
}

.difference-section::before,
.trust-section::before,
.final-section::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 560px;
  height: 560px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(185, 140, 255, 0.12), transparent 68%);
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin-bottom: 18px;
}

.section-head p {
  font-size: 18px;
  line-height: 1.65;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.difference-item {
  min-height: 300px;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(244, 237, 227, 0.035), transparent 54%),
    var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

[data-theme="light"] .difference-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), transparent 58%),
    var(--surface);
}

.signal-mark {
  color: var(--info);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: auto;
}

.difference-item h3,
.work-step span {
  font-family: var(--serif);
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.difference-item p,
.work-step p,
.trust-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.story-section,
.trust-section {
  padding: 96px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.split-layout-reverse {
  grid-template-columns: minmax(320px, 1.04fr) minmax(280px, 0.96fr);
}

.phone-story {
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.phone-story::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 25px;
  border: 1px solid rgba(244, 237, 227, 0.16);
  z-index: 3;
  pointer-events: none;
}

.story-copy,
.trust-copy {
  max-width: 700px;
}

.story-copy h2,
.trust-copy h2 {
  margin-bottom: 28px;
}

.work-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.work-step {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px;
  background: var(--surface);
}

.work-step span {
  margin: 0;
  color: var(--text);
}

.work-step p {
  margin: 0;
}

.safety-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

.safety-photo {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.gemini-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
[data-theme="light"] .gemini-media {
  background: #ffffff;
}
.gemini-photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s var(--ease-premium);
}
.gemini-media:hover .gemini-photo {
  transform: scale(1.03);
}

.safety-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 14, 12, 0.30));
  pointer-events: none;
}

[data-theme="light"] .safety-media::after {
  background: linear-gradient(180deg, transparent 48%, rgba(246, 241, 233, 0.22));
}

.trust-copy > p {
  max-width: 58ch;
  margin-bottom: 26px;
}

.trust-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill.verified {
  color: var(--info);
  border-color: var(--info-border);
  background: var(--info-soft);
}

[data-theme="light"] .pill.verified {
  border-color: var(--info-border);
  background: var(--info-soft);
}

.final-section {
  padding: 74px 0 40px;
}

.final-section .cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) clamp(24px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(15, 14, 12, 0.86), rgba(15, 14, 12, 0.56) 48%, rgba(15, 14, 12, 0.20)),
    linear-gradient(180deg, rgba(15, 14, 12, 0.02), rgba(15, 14, 12, 0.46)),
    url("assets/flemo-final-cta-poster.jpg") center / cover no-repeat,
    var(--surface);
  text-align: left;
  isolation: isolate;
}

.final-section .cta::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(231, 201, 122, 0.24), transparent 34%),
    radial-gradient(circle at 70% 30%, rgba(107, 166, 255, 0.14), transparent 42%);
  opacity: 1;
}

[data-theme="light"] .final-section .cta {
  background:
    linear-gradient(90deg, rgba(246, 241, 233, 0.94), rgba(246, 241, 233, 0.72) 48%, rgba(246, 241, 233, 0.24)),
    linear-gradient(180deg, rgba(246, 241, 233, 0.08), rgba(246, 241, 233, 0.44)),
    url("assets/flemo-final-cta-poster.jpg") center / cover no-repeat,
    var(--surface);
}

.final-section .cta p {
  margin-left: 0;
  margin-right: 0;
  color: rgba(244, 237, 227, 0.86);
}

[data-theme="light"] .final-section .cta p {
  color: var(--text);
}

.final-section .cta .cta-small-text {
  color: rgba(244, 237, 227, 0.74);
}

[data-theme="light"] .final-section .cta .cta-small-text {
  color: var(--muted);
}

.cta h2 {
  font-style: normal;
  font-weight: 850;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
}

.btn-gold {
  border-color: var(--gold);
  color: var(--gold);
}

.motion-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.difference-item:nth-child(2).motion-reveal {
  transition-delay: 90ms;
}

.difference-item:nth-child(3).motion-reveal {
  transition-delay: 180ms;
}

.card,
.difference-item,
.download-card,
.about-principle,
.rule-card,
.legal-summary-grid article,
.contact-card,
.help-item,
.topic-chip,
.pill,
.hero-trust-row span,
.download-beta-row span {
  transition:
    transform 0.28s var(--ease-premium),
    border-color 0.28s var(--ease-premium),
    background-color 0.28s var(--ease-premium),
    box-shadow 0.28s var(--ease-premium);
}

.card:hover,
.difference-item:hover,
.download-card:hover,
.about-principle:hover,
.rule-card:hover,
.legal-summary-grid article:hover,
.help-item:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10);
}

.topic-chip,
.pill,
.hero-trust-row span,
.download-beta-row span {
  will-change: transform;
}

.topic-chip:active,
.pill:active,
.hero-trust-row span:active,
.download-beta-row span:active {
  transform: scale(0.98);
}

@media (min-width: 1180px) {
  .hero-copy {
    padding-bottom: 36px;
  }
}

@media (max-width: 980px) {
  .difference-grid,
  .split-layout,
  .split-layout-reverse,
  .about-hero-grid,
  .about-split-grid,
  .guidelines-hero-grid,
  .guidelines-detail-grid,
  .contact-hero-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-toc span {
    grid-column: 1 / -1;
  }

  .legal-summary-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding-top: 84px;
  }

  .about-hero-media {
    min-height: 520px;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principle {
    min-height: 240px;
  }

  .guidelines-hero {
    padding-top: 84px;
  }

  .guidelines-hero-media {
    min-height: 520px;
  }

  .rule-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rule-card {
    min-height: 280px;
  }

  .safety-note {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding-top: 84px;
  }

  .contact-support-media {
    min-height: 520px;
  }

  .contact-help-panel {
    position: static;
  }

  .difference-item {
    min-height: 240px;
  }

  .story-copy,
  .trust-copy {
    max-width: none;
  }

  .split-layout-reverse .trust-copy {
    order: 2;
  }

  .split-layout-reverse .safety-media,
  .split-layout-reverse .gemini-media {
    order: 1;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    text-align: left;
  }

  .hero-inner {
    min-height: calc(100svh - 74px);
    align-items: center;
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .hero-content {
    align-items: stretch;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-scrim,
  [data-theme="light"] .hero-scrim {
    background:
      linear-gradient(180deg, rgba(15, 14, 12, 0.35) 0%, rgba(15, 14, 12, 0.75) 48%, var(--bg) 100%),
      linear-gradient(90deg, rgba(15, 14, 12, 0.78), rgba(15, 14, 12, 0.26));
  }

  [data-theme="light"] .hero-scrim {
    background:
      linear-gradient(180deg, rgba(246, 241, 233, 0.25) 0%, rgba(246, 241, 233, 0.68) 48%, var(--bg) 100%),
      linear-gradient(90deg, rgba(246, 241, 233, 0.70), rgba(246, 241, 233, 0.16));
  }



  .download-hero-media video {
    object-position: 70% 50%;
  }

  .story-section,
  .trust-section,
  .difference-section {
    padding: 72px 0;
  }

  .safety-media,
  .gemini-media {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .brand {
    gap: 4px;
  }

  .brand-flame {
    height: 42px;
    width: auto;
  }

  .brand-wordmark {
    font-size: 24px;
  }

  .brand-subline {
    font-size: 8px;
    letter-spacing: 1.0px;
    margin-top: 1px;
  }

  .brand .mark {
    font-size: 26px;
  }

  .brand .tag {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .hero h1 {
    font-size: clamp(32px, 9.5vw, 42px);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .hero p.lead,
  .lead {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .btn-lg {
    width: 100%;
    min-height: auto;
    padding: 10px 24px;
    font-size: 18px;
  }

  .hero-actions,
  .download-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .hero-trust-row,
  .download-beta-row {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 24px;
    width: 100%;
  }

  .hero-trust-row span,
  .download-beta-row span {
    flex: 0 1 auto;
    justify-content: center;
    font-size: 11px;
    padding: 6px 10px;
    min-height: auto;
  }

  .difference-grid,
  .work-list {
    border-radius: var(--radius-md);
  }

  .difference-item {
    min-height: auto;
    padding: 28px;
  }

  .signal-mark {
    margin-bottom: 44px;
  }

  .phone-story {
    max-width: 320px;
    border-radius: 28px;
  }

  .work-step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }

  .safety-media,
  .gemini-media {
    min-height: 340px;
  }

  .trust-stack .pill {
    width: 100%;
    justify-content: center;
    min-height: 34px;
  }

  .cta-actions {
    width: 100%;
  }

  .download-hero {
    min-height: auto;
    padding: 50px 0 58px;
  }
  .download-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .download-hero-copy {
    align-items: center;
  }
  .download-hero-actions {
    justify-content: center;
  }
  .download-device-stage {
    margin: 0 auto;
    min-height: 460px;
    max-width: 360px;
  }
  .download-device-glow {
    filter: blur(18px);
    opacity: 0.62;
  }
  .download-phone-frame {
    width: min(62%, 230px);
    border-radius: 32px;
  }
  .download-phone-screen {
    border-radius: 24px;
  }
  .download-live-panel {
    left: 50%;
    bottom: 4%;
    width: min(92%, 320px);
    text-align: left;
    transform: translateX(-50%);
  }
  .download-motion-strip {
    top: 5%;
    right: 2%;
    width: min(42%, 150px);
    border-radius: 22px;
  }

  .download-hero h1 {
    font-size: clamp(42px, 14vw, 62px);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .download-hero-actions .btn,
  .download-card-actions .btn {
    width: 100%;
  }

  .download-platforms,
  .download-flow {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: auto;
  }

  .download-card-top {
    flex-direction: column;
  }

  .about-hero {
    padding: 72px 0 56px;
  }

  .about-hero h1 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .about-hero-media {
    min-height: 420px;
    border-radius: var(--radius-md);
  }

  .about-hero-actions .btn {
    width: 100%;
  }

  .about-belief,
  .about-split {
    padding: 72px 0;
  }

  .about-belief-copy p,
  .about-notes p {
    font-size: 16px;
  }

  .about-principles {
    border-radius: var(--radius-md);
  }

  .about-principle {
    min-height: auto;
    padding: 28px;
  }

  .about-principle span {
    margin-bottom: 44px;
  }

  .about-final {
    padding-top: 60px;
  }

  .guidelines-hero {
    padding: 72px 0 56px;
  }

  .guidelines-hero h1 {
    font-size: clamp(48px, 16vw, 70px);
  }

  .guidelines-hero-media {
    min-height: 420px;
    border-radius: var(--radius-md);
  }

  .guidelines-hero-actions .btn,
  .safety-note .btn {
    width: 100%;
  }

  .guidelines-rules,
  .guidelines-detail {
    padding: 72px 0;
  }

  .rule-card-grid,
  .guidelines-list {
    border-radius: var(--radius-md);
  }

  .rule-card-grid {
    grid-template-columns: 1fr;
  }

  .rule-card {
    min-height: auto;
    padding: 28px;
  }

  .rule-card span {
    margin-bottom: 44px;
  }

  .guidelines-list div {
    padding: 22px;
  }

  .guidelines-safety-note {
    padding-top: 60px;
  }

  .safety-note {
    border-radius: var(--radius-md);
  }

  .contact-hero {
    padding: 72px 0 56px;
  }

  .contact-intro h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .topic-chip-row {
    gap: 8px;
  }

  .topic-chip {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .urgent-note,
  .contact-help-panel,
  .contact-request-card,
  .contact-support-media {
    border-radius: var(--radius-md);
  }

  .contact-support-media {
    min-height: 420px;
  }

  .contact-form-section {
    padding-top: 60px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    padding: 72px 0 46px;
  }

  .legal-hero h1 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .legal-summary-grid,
  .legal-toc {
    border-radius: var(--radius-md);
  }

  .legal-summary-grid article {
    min-height: auto;
    padding: 24px;
  }

  .legal-summary-grid span {
    margin-bottom: 24px;
  }

  .legal-section {
    padding-top: 44px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-prose p,
  .legal-prose li {
    font-size: 15px;
    line-height: 1.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .motion-video {
    display: none;
  }

  .motion-poster {
    position: absolute;
    display: block;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (pointer: coarse), (max-width: 860px) {
  html {
    scroll-behavior: auto;
  }

  .liquid-blob {
    filter: blur(34px);
    opacity: 0.28;
    animation-duration: 28s;
  }

  .hero h1 .typing-char,
  .gemini-typing-char {
    filter: none;
    transform: translate3d(0, 0.12em, 0);
  }

  .hero h1.is-revealing .typing-char,
  .gemini-suffix.is-revealing .gemini-typing-char {
    filter: none;
  }
}

/* Smooth hero headline reveal */
.hero h1.is-typing {
  text-wrap: wrap !important;
}
.hero h1 .typing-text {
  display: inline;
}
.hero h1 .typing-word {
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .typing-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.18em, 0);
  filter: blur(5px);
  transition:
    opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.hero h1.is-revealing .typing-char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* --- Brand logo and text overrides --- */
.brand-wordmark,
.flemo-inline {
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  display: inline-block !important;
  background-image: linear-gradient(135deg, #FF6b81, #FFa502, #2ed573, #1e90ff, #9b59b6) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: shineText 8s ease infinite !important;
  background-size: 200% auto !important;
}

.brand-subline {
  color: #9aa0a6 !important;
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 2.0px !important;
  text-transform: uppercase !important;
}
[data-theme="light"] .brand-subline {
  color: #5f6368 !important;
}

/* --- Hero Text Colors (White) --- */
.hero .kicker {
  color: #ffffff !important;
}
.hero h1 {
  color: #ffffff !important;
}
.hero p.lead {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

/* --- AI Tag styling --- */
.ai-tag-row {
  margin-top: 20px;
}
.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff !important;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ai-tag span {
  background: #ffffff;
  color: #121317;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ai-tag:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* --- Button and Trust Badge Colors (Dark Black) --- */
.hero-actions .btn-ghost {
  color: #000000 !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  font-weight: 600 !important;
}
.hero-actions .btn-ghost:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
}

.hero-trust-row span {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- Back to Top Button --- */
#back-to-top-btn {
  background: #121317 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: background 0.2s, transform 0.2s;
}
#back-to-top-btn:hover {
  background: #27272a !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Gemini API Page Redesign Styles
   ========================================================================== */

/* Hero Section & Card */
.gemini-hero-section {
  padding: 60px 0 40px;
}

.gemini-hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 96px 48px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.03);
  text-align: center;
  z-index: 1;
}

/* Liquid white background styling with shifting gradients */
.gemini-liquid-bg {
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 30%, #ffffff 60%, #f1f5fa 85%, #ffffff 100%);
  background-size: 400% 400%;
  animation: liquidGradient 16s ease infinite;
}

@keyframes liquidGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Blurry floating liquid blobs behind card content */
.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.blob-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 107, 129, 0.25) 0%, rgba(255, 107, 129, 0) 70%);
  top: -10%;
  left: 5%;
  animation: floatBlob1 20s infinite alternate ease-in-out;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.2) 0%, rgba(30, 144, 255, 0) 70%);
  bottom: -20%;
  right: 5%;
  animation: floatBlob2 24s infinite alternate ease-in-out;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 165, 2, 0.2) 0%, rgba(255, 165, 2, 0) 70%);
  top: 25%;
  right: 25%;
  animation: floatBlob3 18s infinite alternate ease-in-out;
}

@keyframes floatBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.15); }
}

@keyframes floatBlob2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -40px) scale(0.9); }
}

@keyframes floatBlob3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.1); }
}

/* Card Content & Typography */
.hero-card-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.gemini-card-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 500 !important;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
  min-height: 140px; /* Prevent content jump while typing */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 6px;
}

.hero-card-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 36px;
}

/* Typewriter styles */
.gemini-prefix {
  font-weight: 400 !important;
  color: var(--text);
  flex-basis: 100%;
  display: block;
}

.gemini-suffix {
  font-weight: 400 !important;
  color: var(--text);
  background: linear-gradient(135deg, #1e90ff, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  opacity: 0;
  transition: opacity 0.26s ease;
  min-height: 1.18em;
}

.gemini-final-text {
  font-weight: 500 !important;
  background: linear-gradient(135deg, #FF6b81, #FFa502, #2ed573, #1e90ff, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 8s ease infinite;
  background-size: 200% auto;
}

@keyframes shineText {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.gemini-typing-word {
  display: inline-block;
  white-space: nowrap;
}
.gemini-typing-char {
  display: inline-block;
  background: linear-gradient(135deg, #1e90ff, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1e90ff;
  opacity: 0;
  transform: translate3d(0, 0.2em, 0);
  filter: blur(5px);
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.gemini-suffix.is-revealing .gemini-typing-char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Split Layout Showcase Section */
.gemini-showcase-section {
  padding: 80px 0;
}

.gemini-showcase-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19.5;
  border-radius: 40px;
  border: 12px solid #121317;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.16);
  background: #000000;
  overflow: hidden;
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
  will-change: transform, box-shadow;
  transform: translate3d(0, 0, 0);
}

.mockup-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.22);
}

.app-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gemini-floating-badge {
  position: absolute;
  bottom: 30px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 10px 18px;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.gemini-badge-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.badge-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #121317;
  letter-spacing: -0.2px;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@media (max-width: 860px) {
  .gemini-hero-card {
    padding: 64px 24px;
  }
  .gemini-card-title {
    min-height: 180px;
  }
  .gemini-floating-badge {
    left: 16px;
    right: auto;
  }
}

/* Custom Gemini card grids */
.gemini-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.gemini-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gemini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.03);
}

.gemini-card span {
  color: var(--info);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 24px;
}

.gemini-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.gemini-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Adjust showcase section column ratios and work-step columns to prevent text overlapping */
.gemini-showcase-section .split-layout {
  grid-template-columns: minmax(320px, 1.25fr) minmax(280px, 0.75fr);
}

.gemini-showcase-section .work-step {
  grid-template-columns: 180px 1fr;
  align-items: center;
}

/* Gemini action button alignment */
.gemini-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

/* Wrapper to allow floating badge to overlap without being clipped */
.mockup-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 320px;
}

/* Language Switcher Styling */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.lang-btn {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* English active: white glass, black text */
.lang-btn-en.active {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #121317 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

/* Spanish active: black glass, white text */
.lang-btn-es.active {
  background: rgba(18, 19, 23, 0.9) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(18, 19, 23, 0.9) !important;
}

.lang-btn:not(.active) {
  background: transparent;
  color: var(--muted) !important;
}

.lang-btn:not(.active):hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--text) !important;
}

/* Dark theme overrides */
[data-theme="dark"] .lang-switcher {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .lang-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.05);
}

.lang-text-mobile {
  display: none;
}

@media (max-width: 860px) {
  .lang-text-full {
    display: none;
  }
  .lang-text-mobile {
    display: inline;
  }
}

/* Premium Watercolor Highlight Button */
.btn-watercolor-highlight {
  background: linear-gradient(135deg, #FF6b81, #FFa502, #2ed573, #1e90ff, #9b59b6) !important;
  background-size: 200% auto !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(255, 107, 129, 0.25) !important;
  animation: shineText 8s ease infinite !important;
  transition: all 0.2s ease !important;
}

.btn-watercolor-highlight:hover {
  transform: translate3d(var(--magnet-x, 0), calc(var(--magnet-y, 0) - 3px), 0) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(255, 107, 129, 0.35) !important;
}

/* Responsive Overrides for Gemini Showcase Section */
@media (max-width: 980px) {
  .gemini-showcase-section .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gemini-showcase-section .work-step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }
}

