/* ==========================================================================
   Fruit Up University - Flagship 120fps Editorial Design System
   Locked Brand Tokens: #155e3a, #19b660, #e5232d, #faf8f4, #0f2e1c
   Fonts: Anton (Display), Inter (Body), DM Mono (Labels)
   Motion: cubic-bezier(0.22, 1, 0.36, 1)
   ========================================================================== */

:root {
  --fuu-primary: #155e3a;
  --fuu-primary-hover: #0f472b;
  --fuu-primary-soft: rgba(21, 94, 58, 0.08);
  --fuu-accent: #19b660;
  --fuu-accent-dark: #0d8042;
  --fuu-action: #e5232d;
  --fuu-action-hover: #bf1720;
  --fuu-bg: #faf8f4;
  --fuu-surface: #ffffff;
  --fuu-surface-sage: #edf5f0;
  --fuu-surface-muted: #f3efe8;
  --fuu-surface-dark: #0f2e1c;
  --fuu-ink: #07110b;
  --fuu-text: #141a16;
  --fuu-text-secondary: #46524b;
  --fuu-muted: #6e7b73;
  --fuu-border: #e4dfd5;
  --fuu-border-strong: #cfc8ba;
  --fuu-foil: #d8b467;
  --fuu-shadow-sm: 0 2px 8px rgba(7, 17, 11, 0.05);
  --fuu-shadow-md: 0 10px 30px rgba(7, 17, 11, 0.08);
  --fuu-shadow-lg: 0 22px 54px rgba(7, 17, 11, 0.16);

  /* Shared aliases for sibling engines */
  --primary: var(--fuu-primary);
  --accent: var(--fuu-accent);
  --action: var(--fuu-action);
  --bg: var(--fuu-bg);
  --surface: var(--fuu-surface);
  --surface-sage: var(--fuu-surface-sage);
  --surface-muted: var(--fuu-surface-muted);
  --text: var(--fuu-text);
  --text-secondary: var(--fuu-text-secondary);
  --muted: var(--fuu-muted);
  --border: var(--fuu-border);

  --fuu-font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --fuu-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fuu-font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --fuu-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --fuu-radius-sm: 10px;
  --fuu-radius-md: 16px;
  --fuu-radius-lg: 22px;
}

[data-theme='dark'] {
  --fuu-bg: #07110b;
  --fuu-surface: #0f2e1c;
  --fuu-surface-sage: #133a24;
  --fuu-surface-muted: #10321f;
  --fuu-text: #f5f2ea;
  --fuu-text-secondary: #b9c3ba;
  --fuu-muted: #8a968d;
  --fuu-border: #294134;
  --fuu-border-strong: #395947;
  --fuu-primary-soft: rgba(25, 182, 96, 0.14);
  --fuu-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --fuu-shadow-md: 0 12px 34px rgba(0, 0, 0, 0.38);
  --fuu-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}

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

[hidden] {
  display: none !important;
}

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

body.fuu-app-body,
body.fuu-seo-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--fuu-bg);
  color: var(--fuu-text);
  font-family: var(--fuu-font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.fuu-modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--fuu-primary);
  text-decoration: none;
}

[data-theme='dark'] a {
  color: var(--fuu-accent);
}

.fuu-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--fuu-primary);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 700;
}
.fuu-skip-link:focus {
  left: 12px;
}

.fuu-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
}

/* Hidden horizontal scrollbars with touch & trackpad scrolling intact */
.fuu-no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fuu-no-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ==========================================================================
   Buttons & Chips (120fps Tactile Spring)
   ========================================================================== */

.fuu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--fuu-font-body);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms var(--fuu-spring),
    background-color 160ms var(--fuu-spring),
    border-color 160ms var(--fuu-spring),
    box-shadow 160ms var(--fuu-spring);
  user-select: none;
}

.fuu-btn:active {
  transform: scale(0.97);
}

.fuu-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.fuu-btn-primary {
  background: var(--fuu-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(21, 94, 58, 0.22);
}
.fuu-btn-primary:hover {
  background: var(--fuu-primary-hover);
}

.fuu-btn-action {
  background: var(--fuu-action);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(229, 35, 45, 0.26);
}
.fuu-btn-action:hover {
  background: var(--fuu-action-hover);
}

.fuu-btn-ghost {
  background: var(--fuu-surface);
  color: var(--fuu-text) !important;
  border-color: var(--fuu-border-strong);
}
.fuu-btn-ghost:hover {
  background: var(--fuu-surface-sage);
  border-color: var(--fuu-primary);
}

.fuu-btn-sm {
  min-height: 36px;
  padding: 6px 13px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.fuu-btn-lg {
  min-height: 52px;
  padding: 13px 22px;
  font-size: 1rem;
  border-radius: 14px;
}

.fuu-btn-block {
  width: 100%;
}

.fuu-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--fuu-surface-muted);
  border: 1px solid var(--fuu-border);
  color: var(--fuu-text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.fuu-chip-green {
  background: var(--fuu-surface-sage);
  border-color: rgba(25, 182, 96, 0.35);
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-chip-green {
  color: #7ef0ae;
}

.fuu-chip-mono {
  font-family: var(--fuu-font-mono);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* ==========================================================================
   Global Top Header & Unified 6-Wing Navigation Bar
   ========================================================================== */

.fuu-topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 248, 244, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fuu-border);
}

[data-theme='dark'] .fuu-topbar {
  background: rgba(7, 17, 11, 0.92);
}

.fuu-topbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fuu-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
  color: var(--fuu-text);
  text-align: left;
  min-width: 0;
  transition: transform 150ms var(--fuu-spring);
}
.fuu-brand-lockup:active {
  transform: scale(0.98);
}

.fuu-brand-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.fuu-brand-divider {
  width: 1px;
  height: 28px;
  background: var(--fuu-border-strong);
  flex-shrink: 0;
}

.fuu-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fuu-brand-title {
  font-family: var(--fuu-font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-brand-title {
  color: #ffffff;
}

.fuu-brand-sub {
  font-family: var(--fuu-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--fuu-muted);
}

.fuu-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.fuu-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--fuu-border-strong);
  background: var(--fuu-surface);
  color: var(--fuu-text);
  font-family: var(--fuu-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms var(--fuu-spring), border-color 150ms var(--fuu-spring), background-color 150ms var(--fuu-spring);
}
.fuu-top-pill:hover {
  border-color: var(--fuu-primary);
  background: var(--fuu-surface-sage);
}
.fuu-top-pill:active {
  transform: scale(0.97);
}

.fuu-friend-trigger {
  border-color: rgba(25, 182, 96, 0.45);
  background: var(--fuu-surface-sage);
  font-weight: 700;
}

.fuu-friend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fuu-accent);
  box-shadow: 0 0 0 3px rgba(25, 182, 96, 0.22);
}

.fuu-kbd {
  font-family: var(--fuu-font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--fuu-surface-muted);
  border: 1px solid var(--fuu-border);
  color: var(--fuu-muted);
}

.fuu-pass-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  max-width: 240px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--fuu-border-strong);
  background: var(--fuu-surface-muted);
  color: var(--fuu-text);
  font-family: var(--fuu-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform 150ms var(--fuu-spring), background-color 150ms var(--fuu-spring);
}
.fuu-pass-badge:active {
  transform: scale(0.97);
}
.fuu-pass-badge.is-unlocked {
  background: rgba(25, 182, 96, 0.14);
  border-color: var(--fuu-accent);
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-pass-badge.is-unlocked {
  color: #88f7b4;
}

.fuu-pass-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fuu-accent);
  flex-shrink: 0;
}

.fuu-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--fuu-border-strong);
  background: var(--fuu-surface);
  color: var(--fuu-text);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms var(--fuu-spring), background-color 150ms var(--fuu-spring);
}
.fuu-icon-btn:hover {
  background: var(--fuu-surface-sage);
}
.fuu-icon-btn:active {
  transform: scale(0.95);
}

/* 6-Wing Navigation Strip + Desktop Scroll Chevrons */
.fuu-wing-nav-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.fuu-wing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  flex: 1 1 auto;
  min-width: 0;
  scroll-behavior: smooth;
  padding: 2px 0;
}

.fuu-wing-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--fuu-border);
  background: var(--fuu-surface);
  color: var(--fuu-text-secondary);
  font-family: var(--fuu-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms var(--fuu-spring),
    background-color 160ms var(--fuu-spring),
    color 160ms var(--fuu-spring),
    border-color 160ms var(--fuu-spring);
}

.fuu-wing-tab:hover {
  border-color: var(--fuu-primary);
  color: var(--fuu-text);
}
.fuu-wing-tab:active {
  transform: scale(0.97);
}

.fuu-wing-tab.is-active {
  background: var(--fuu-primary);
  border-color: var(--fuu-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 94, 58, 0.24);
}

.fuu-tab-num {
  font-family: var(--fuu-font-mono);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(21, 94, 58, 0.1);
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-tab-num {
  background: rgba(255, 255, 255, 0.12);
  color: #9ef5c1;
}
.fuu-wing-tab.is-active .fuu-tab-num {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.fuu-rail-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--fuu-border-strong);
  background: var(--fuu-surface);
  color: var(--fuu-text);
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: var(--fuu-shadow-sm);
  transition: transform 150ms var(--fuu-spring), background-color 150ms var(--fuu-spring);
}
.fuu-rail-arrow:hover {
  background: var(--fuu-surface-sage);
  border-color: var(--fuu-primary);
}
.fuu-rail-arrow:active {
  transform: scale(0.94);
}

/* ==========================================================================
   Main Panels & Tab 00 Luxury-Editorial Opening Cover Portal
   ========================================================================== */

.fuu-main {
  padding: 26px 0 56px;
  min-width: 0;
}

.fuu-wing-panel[hidden] {
  display: none !important;
}

.fuu-cover-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}

.fuu-cover-copy,
.fuu-cover-showcase {
  min-width: 0;
  max-width: 100%;
}

.fuu-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.fuu-hero-title {
  margin: 0 0 14px;
  font-family: var(--fuu-font-display);
  font-size: clamp(2.05rem, 3.8vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--fuu-text);
}

.fuu-hero-lead {
  margin: 0 0 18px;
  font-size: 1.04rem;
  color: var(--fuu-text-secondary);
  max-width: 68ch;
}

.fuu-counters-ribbon {
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--fuu-surface-sage);
  border: 1px solid rgba(21, 94, 58, 0.22);
  font-family: var(--fuu-font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fuu-primary);
  line-height: 1.5;
}
[data-theme='dark'] .fuu-counters-ribbon {
  color: #9bf3bd;
  border-color: rgba(25, 182, 96, 0.3);
}

/* Inline Option A Email Authorization Card */
.fuu-inline-auth-card {
  background: var(--fuu-surface);
  border: 2px solid var(--fuu-primary);
  border-radius: var(--fuu-radius-lg);
  padding: 22px;
  box-shadow: var(--fuu-shadow-md);
  min-width: 0;
  max-width: 100%;
}

.fuu-inline-auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.fuu-inline-auth-kicker {
  font-family: var(--fuu-font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-inline-auth-kicker {
  color: var(--fuu-accent);
}

.fuu-inline-auth-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(25, 182, 96, 0.14);
  color: var(--fuu-accent-dark);
  font-size: 0.74rem;
  font-weight: 700;
}
[data-theme='dark'] .fuu-inline-auth-pill {
  color: #92f4b8;
}

.fuu-inline-auth-desc {
  margin: 0 0 14px;
  font-size: 0.93rem;
  color: var(--fuu-text-secondary);
}

.fuu-inline-inputs,
.fuu-auth-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.fuu-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.fuu-field > span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fuu-text-secondary);
}

.fuu-field input,
.fuu-search-input,
.fuu-select {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 11px;
  border: 1px solid var(--fuu-border-strong);
  background: var(--fuu-bg);
  color: var(--fuu-text);
  font-family: var(--fuu-font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 150ms var(--fuu-spring), box-shadow 150ms var(--fuu-spring);
}

.fuu-field input:focus,
.fuu-search-input:focus,
.fuu-select:focus {
  border-color: var(--fuu-primary);
  box-shadow: 0 0 0 3px rgba(21, 94, 58, 0.16);
}

.fuu-auth-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(229, 35, 45, 0.1);
  border: 1px solid rgba(229, 35, 45, 0.4);
  color: #b01018;
  font-size: 0.86rem;
  font-weight: 600;
}
[data-theme='dark'] .fuu-auth-error {
  color: #ff9aa0;
}

.fuu-pass-active-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fuu-pass-active-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fuu-pass-check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fuu-accent);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fuu-pass-active-headline {
  display: block;
  font-size: 1.08rem;
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-pass-active-headline {
  color: #8af7b6;
}

.fuu-pass-active-sub {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--fuu-text-secondary);
}

.fuu-pass-quick-wings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fuu-buddy-mini {
  width: 54px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(7, 17, 11, 0.18));
}

.fuu-buddy-trial-celebration {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--fuu-surface-sage);
  border: 1px solid rgba(21, 94, 58, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.fuu-buddy-trial-celebration strong {
  display: block;
  margin-top: 6px;
  font-size: 0.96rem;
}
.fuu-buddy-trial-celebration p {
  margin: 3px 0 0;
  font-size: 0.84rem;
  color: var(--fuu-text-secondary);
}

.fuu-book-stage-photo {
  padding: 12px;
  background: var(--fuu-surface);
}

.fuu-editorial-cover-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--fuu-border-strong);
  box-shadow: var(--fuu-shadow-md);
}

.fuu-cover-photo {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center 48%;
  display: block;
}

.fuu-cover-plaque {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 46, 28, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 180, 103, 0.55);
  color: #faf8f4;
}

.fuu-cover-plaque-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.fuu-plaque-logo {
  height: 30px;
  width: auto;
}

.fuu-plaque-smoothie-badge {
  font-family: var(--fuu-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(25, 182, 96, 0.24);
  border: 1px solid rgba(25, 182, 96, 0.5);
  color: #b5fad0;
  white-space: nowrap;
}

.fuu-cover-plaque-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fuu-plaque-title {
  font-family: var(--fuu-font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 1.06;
  color: #ffffff;
}

.fuu-plaque-meta {
  margin-top: 3px;
  font-family: var(--fuu-font-mono);
  font-size: 0.68rem;
  color: var(--fuu-foil);
}

.fuu-plaque-buddy {
  width: 58px;
  height: auto;
  flex-shrink: 0;
  margin-top: -16px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

.fuu-wing-trial-banner {
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: var(--fuu-radius-lg);
  background: linear-gradient(135deg, var(--fuu-surface-sage) 0%, var(--fuu-surface) 100%);
  border: 1.5px solid var(--fuu-primary);
  box-shadow: var(--fuu-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.fuu-wing-trial-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
}
.fuu-wing-trial-copy strong {
  display: block;
  font-size: 1rem;
  color: var(--fuu-text);
}
.fuu-wing-trial-copy p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--fuu-text-secondary);
}

/* ==========================================================================
   Luxury Hardcover Living Bible Showcase & 5-Wing Table of Contents
   ========================================================================== */

.fuu-cover-showcase {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fuu-book-stage {
  background: linear-gradient(155deg, var(--fuu-surface-sage) 0%, var(--fuu-surface-muted) 100%);
  border: 1px solid var(--fuu-border);
  border-radius: var(--fuu-radius-lg);
  padding: 22px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--fuu-shadow-md);
}

.fuu-hardcover-book {
  position: relative;
  width: 100%;
  max-width: 350px;
  border-radius: 6px 18px 18px 6px;
  background: linear-gradient(145deg, #0e3d24 0%, #155e3a 52%, #0a2516 100%);
  box-shadow:
    -8px 12px 28px rgba(7, 17, 11, 0.34),
    inset 4px 0 10px rgba(255, 255, 255, 0.12);
  padding: 16px 16px 16px 26px;
  color: #faf8f4;
  overflow: hidden;
}

.fuu-book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(90deg, #071b10 0%, #185b39 55%, #092214 100%);
  border-right: 1px solid rgba(216, 180, 103, 0.38);
}

.fuu-book-pages-edge {
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: repeating-linear-gradient(
    to bottom,
    #f6f1e5 0px,
    #f6f1e5 2px,
    #dfd6c3 2px,
    #dfd6c3 3px
  );
  border-radius: 0 3px 3px 0;
  opacity: 0.9;
}

.fuu-book-front.has-cover-art {
  padding: 0;
}
.fuu-book-front.has-cover-art img.fuu-cover-art-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(216, 180, 103, 0.55);
}

.fuu-book-foil-frame {
  border: 1.5px solid rgba(216, 180, 103, 0.72);
  border-radius: 12px;
  padding: 16px 15px;
  background: radial-gradient(circle at 50% 15%, rgba(25, 182, 96, 0.16), transparent 68%);
  text-align: center;
}

.fuu-book-top-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--fuu-font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--fuu-foil);
  margin-bottom: 12px;
}

.fuu-book-logo {
  margin: 0 auto 10px;
  height: 42px;
  width: auto;
}

.fuu-book-emblem-title {
  font-family: var(--fuu-font-display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  line-height: 1.02;
  color: #ffffff;
}

.fuu-book-emblem-sub {
  margin-top: 6px;
  font-family: var(--fuu-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: #dfeadf;
}

.fuu-book-divider {
  width: 64px;
  height: 2px;
  background: var(--fuu-foil);
  margin: 12px auto;
}

.fuu-book-pillars {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #eef5ef;
}
.fuu-book-pillars li {
  padding: 3px 0 3px 16px;
  position: relative;
}
.fuu-book-pillars li::before {
  content: '\2022';
  position: absolute;
  left: 3px;
  color: var(--fuu-foil);
}

.fuu-book-author {
  font-family: var(--fuu-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--fuu-foil);
  padding-top: 8px;
  border-top: 1px solid rgba(216, 180, 103, 0.3);
}

/* 5-Wing Table of Contents Card */
.fuu-toc-card {
  background: var(--fuu-surface);
  border: 1px solid var(--fuu-border);
  border-radius: var(--fuu-radius-lg);
  padding: 16px 18px;
  box-shadow: var(--fuu-shadow-sm);
}

.fuu-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.fuu-toc-label {
  font-family: var(--fuu-font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--fuu-muted);
}

.fuu-toc-friend-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--fuu-primary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
[data-theme='dark'] .fuu-toc-friend-link {
  color: var(--fuu-accent);
}

.fuu-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fuu-toc-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  border: 1px solid var(--fuu-border);
  background: var(--fuu-bg);
  color: var(--fuu-text);
  font-family: var(--fuu-font-body);
  text-align: left;
  cursor: pointer;
  transition: transform 150ms var(--fuu-spring), border-color 150ms var(--fuu-spring), background-color 150ms var(--fuu-spring);
}
.fuu-toc-row:hover {
  border-color: var(--fuu-primary);
  background: var(--fuu-surface-sage);
}
.fuu-toc-row:active {
  transform: scale(0.985);
}

.fuu-toc-idx {
  font-family: var(--fuu-font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--fuu-primary);
  background: var(--fuu-surface-sage);
  padding: 3px 7px;
  border-radius: 6px;
}
[data-theme='dark'] .fuu-toc-idx {
  color: #96f3b9;
}

.fuu-toc-name {
  font-size: 0.86rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fuu-toc-count {
  font-family: var(--fuu-font-mono);
  font-size: 0.72rem;
  color: var(--fuu-muted);
}

/* ==========================================================================
   Portal Sections & 5 Rich Wing Launch Cards
   ========================================================================== */

.fuu-portal-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--fuu-border);
}

.fuu-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.fuu-section-title {
  margin: 8px 0 0;
  font-family: var(--fuu-font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fuu-randomizer-teaser-mount {
  min-height: 120px;
  min-width: 0;
  max-width: 100%;
}

.fuu-wing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.fuu-wing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--fuu-surface);
  border: 1px solid var(--fuu-border);
  border-radius: var(--fuu-radius-lg);
  padding: 22px;
  box-shadow: var(--fuu-shadow-sm);
  min-width: 0;
  transition: transform 180ms var(--fuu-spring), box-shadow 180ms var(--fuu-spring), border-color 180ms var(--fuu-spring);
}
.fuu-wing-card:hover {
  transform: translateY(-2px);
  border-color: var(--fuu-primary);
  box-shadow: var(--fuu-shadow-md);
}

.fuu-wing-card-featured {
  border-color: rgba(229, 35, 45, 0.42);
  background: linear-gradient(180deg, var(--fuu-surface) 0%, var(--fuu-surface-sage) 100%);
}

.fuu-wing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.fuu-wing-badge {
  font-family: var(--fuu-font-mono);
  font-size: 0.73rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--fuu-surface-sage);
  color: var(--fuu-primary);
  font-weight: 500;
}
[data-theme='dark'] .fuu-wing-badge {
  color: #93f4b9;
}

.fuu-wing-badge-red {
  background: rgba(229, 35, 45, 0.12);
  color: var(--fuu-action);
}

.fuu-wing-stat {
  font-family: var(--fuu-font-mono);
  font-size: 0.78rem;
  color: var(--fuu-muted);
}

.fuu-wing-card-title {
  margin: 0 0 10px;
  font-family: var(--fuu-font-display);
  font-size: 1.38rem;
  line-height: 1.12;
  letter-spacing: 0.015em;
}

.fuu-wing-card-desc {
  margin: 0 0 16px;
  font-size: 0.91rem;
  color: var(--fuu-text-secondary);
  flex: 1 1 auto;
}

.fuu-wing-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.fuu-wing-card-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--fuu-surface-muted);
  color: var(--fuu-text-secondary);
}

/* ==========================================================================
   Tabs 02, 03, 04: Interactive Encyclopedia Wings + Studio Launcher
   ========================================================================== */

.fuu-wing-hero {
  background: var(--fuu-surface);
  border: 1px solid var(--fuu-border);
  border-radius: var(--fuu-radius-lg);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--fuu-shadow-sm);
}

.fuu-wing-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.fuu-wing-hero-title {
  margin: 8px 0 6px;
  font-family: var(--fuu-font-display);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.06;
  text-transform: uppercase;
}

.fuu-wing-hero-sub {
  margin: 0;
  font-size: 0.96rem;
  color: var(--fuu-text-secondary);
  max-width: 72ch;
}

.fuu-law-banner {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--fuu-surface-sage);
  border-left: 4px solid var(--fuu-accent);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fuu-text);
}

.fuu-studio-launcher-bar {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--fuu-surface-muted);
  border: 1px solid var(--fuu-border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fuu-studio-launcher-info strong {
  display: block;
  font-size: 0.95rem;
}
.fuu-studio-launcher-info span {
  font-size: 0.83rem;
  color: var(--fuu-text-secondary);
}

.fuu-studio-launcher-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fuu-studio-embed-wrap {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--fuu-primary);
  background: var(--fuu-ink);
}
.fuu-studio-embed-frame {
  width: 100%;
  height: min(74vh, 720px);
  border: 0;
  display: block;
  background: var(--fuu-bg);
}

/* Filter Command Bar */
.fuu-filter-bar {
  background: var(--fuu-surface);
  border: 1px solid var(--fuu-border);
  border-radius: var(--fuu-radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fuu-filter-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr)) auto;
  gap: 10px;
  align-items: center;
}

.fuu-rail-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fuu-chip-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 2px 0;
}

.fuu-filter-pill {
  flex-shrink: 0;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--fuu-border-strong);
  background: var(--fuu-bg);
  color: var(--fuu-text-secondary);
  font-family: var(--fuu-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 150ms var(--fuu-spring), background-color 150ms var(--fuu-spring), color 150ms var(--fuu-spring);
}
.fuu-filter-pill:hover {
  border-color: var(--fuu-primary);
  color: var(--fuu-text);
}
.fuu-filter-pill:active {
  transform: scale(0.96);
}
.fuu-filter-pill.is-active {
  background: var(--fuu-primary);
  border-color: var(--fuu-primary);
  color: #ffffff;
}

.fuu-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-family: var(--fuu-font-mono);
  font-size: 0.8rem;
  color: var(--fuu-muted);
}

/* Guide Cards Grid */
.fuu-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 16px;
}

.fuu-guide-card {
  background: var(--fuu-surface);
  border: 1px solid var(--fuu-border);
  border-radius: var(--fuu-radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  box-shadow: var(--fuu-shadow-sm);
  transition: transform 170ms var(--fuu-spring), border-color 170ms var(--fuu-spring), box-shadow 170ms var(--fuu-spring);
}
.fuu-guide-card:hover {
  transform: translateY(-2px);
  border-color: var(--fuu-primary);
  box-shadow: var(--fuu-shadow-md);
}

.fuu-guide-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fuu-pdf-num-tag {
  font-family: var(--fuu-font-mono);
  font-size: 0.73rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--fuu-surface-sage);
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-pdf-num-tag {
  color: #95f4ba;
}

.fuu-guide-cat-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--fuu-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fuu-guide-card-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.fuu-guide-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--fuu-surface-muted);
  border: 1px solid var(--fuu-border);
  flex-shrink: 0;
}

.fuu-guide-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--fuu-text);
}

.fuu-guide-summary {
  margin: 0;
  font-size: 0.86rem;
  color: var(--fuu-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fuu-guide-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--fuu-font-mono);
  font-size: 0.72rem;
  color: var(--fuu-muted);
}
.fuu-guide-meta-strip span {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--fuu-surface-muted);
}

.fuu-guide-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--fuu-border);
}

.fuu-load-more-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Modals (Option A Email Gate, Official Guide Detail & Cmd+K Spotlight)
   ========================================================================== */

.fuu-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  height: 100vh;
  height: 100dvh;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 17, 11, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.fuu-modal-backdrop.is-open {
  display: flex;
}

.fuu-modal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100dvh - 36px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: var(--fuu-surface);
  border: 1px solid var(--fuu-border-strong);
  border-radius: var(--fuu-radius-lg);
  padding: 26px;
  box-shadow: var(--fuu-shadow-lg);
}

.fuu-guide-modal-card {
  max-width: 820px;
}

.fuu-cmdk-card {
  max-width: 720px;
  padding: 0;
  overflow: hidden;
  align-self: flex-start;
  margin-top: 5vh;
}

.fuu-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--fuu-border-strong);
  background: var(--fuu-surface-muted);
  color: var(--fuu-text);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fuu-modal-close:hover {
  background: var(--fuu-action);
  color: #ffffff;
  border-color: var(--fuu-action);
}

.fuu-auth-modal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-right: 40px;
}

.fuu-auth-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.fuu-auth-modal-title {
  margin: 0 0 8px;
  font-family: var(--fuu-font-display);
  font-size: 1.75rem;
  line-height: 1.08;
}

.fuu-auth-modal-reason {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--fuu-text-secondary);
}

.fuu-auth-perks {
  list-style: none;
  padding: 12px 14px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: var(--fuu-surface-sage);
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fuu-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--fuu-text-secondary);
  margin-bottom: 12px;
}

.fuu-auth-notice {
  margin: 10px 0 0;
  font-size: 0.76rem;
  color: var(--fuu-muted);
  text-align: center;
}

/* Guide Detail Modal Content */
.fuu-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
  padding-right: 42px;
}

.fuu-detail-title {
  margin: 0 0 6px;
  font-family: var(--fuu-font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.08;
}

.fuu-detail-sub {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-detail-sub {
  color: var(--fuu-accent);
}

.fuu-detail-summary {
  margin: 0 0 18px;
  color: var(--fuu-text-secondary);
}

.fuu-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.fuu-detail-box {
  padding: 14px;
  border-radius: 14px;
  background: var(--fuu-surface-muted);
  border: 1px solid var(--fuu-border);
}
.fuu-detail-box-law {
  background: var(--fuu-surface-sage);
  border-color: rgba(25, 182, 96, 0.35);
}
.fuu-detail-box h3 {
  margin: 0 0 6px;
  font-family: var(--fuu-font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fuu-primary);
}
[data-theme='dark'] .fuu-detail-box h3 {
  color: #93f4b9;
}
.fuu-detail-box p {
  margin: 0;
  font-size: 0.88rem;
}

.fuu-detail-section {
  margin-bottom: 18px;
}
.fuu-detail-section h3 {
  margin: 0 0 10px;
  font-family: var(--fuu-font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.fuu-detail-ing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fuu-detail-ing-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--fuu-bg);
  border: 1px solid var(--fuu-border);
  font-size: 0.88rem;
}
.fuu-detail-ing-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
}
.fuu-detail-ing-sub {
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--fuu-text-secondary);
}

.fuu-detail-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}

.fuu-detail-tip {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--fuu-surface-sage);
  border-left: 4px solid var(--fuu-primary);
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.fuu-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--fuu-border);
}

/* Cmd+K Spotlight Search */
.fuu-cmdk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--fuu-border);
}
.fuu-cmdk-bar input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  color: var(--fuu-text);
  font-family: var(--fuu-font-body);
  font-size: 1rem;
  outline: none;
  min-width: 0;
}
.fuu-cmdk-results {
  max-height: 62vh;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fuu-cmdk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--fuu-border);
  background: var(--fuu-bg);
  color: var(--fuu-text);
  text-align: left;
  cursor: pointer;
}
.fuu-cmdk-item:hover {
  border-color: var(--fuu-primary);
  background: var(--fuu-surface-sage);
}

/* ==========================================================================
   Footer & Static Crawlable SEO Guide Pages
   ========================================================================== */

.fuu-footer {
  border-top: 1px solid var(--fuu-border);
  background: var(--fuu-surface);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
}

.fuu-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.fuu-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  font-size: 0.82rem;
  color: var(--fuu-text-secondary);
}
.fuu-footer-brand p {
  margin: 0;
}

.fuu-footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  font-weight: 600;
}

.fuu-link-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--fuu-primary);
  font-family: var(--fuu-font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
[data-theme='dark'] .fuu-link-btn {
  color: var(--fuu-accent);
}

/* Static Crawlable SEO Guide Pages (/guide/<id>/index.html) */
.fuu-seo-header {
  background: var(--fuu-surface);
  border-bottom: 1px solid var(--fuu-border);
  padding: 12px 20px;
}
.fuu-seo-header-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.fuu-seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fuu-font-display);
  font-size: 1.2rem;
  color: var(--fuu-primary);
}
.fuu-seo-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fuu-seo-main {
  max-width: 980px;
  margin: 24px auto 48px;
  padding: 0 20px;
}
.fuu-seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--fuu-font-mono);
  font-size: 0.78rem;
  color: var(--fuu-muted);
  margin-bottom: 14px;
}
.fuu-seo-card {
  background: var(--fuu-surface);
  border: 1px solid var(--fuu-border);
  border-radius: var(--fuu-radius-lg);
  padding: 28px;
  box-shadow: var(--fuu-shadow-sm);
}
.fuu-seo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.fuu-seo-title {
  margin: 0 0 8px;
  font-family: var(--fuu-font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.06;
}
.fuu-seo-subtitle {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--fuu-primary);
}
.fuu-seo-summary {
  margin: 0 0 20px;
  font-size: 1.02rem;
  color: var(--fuu-text-secondary);
}
.fuu-seo-cta-banner {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--fuu-surface-sage);
  border: 1.5px solid var(--fuu-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.fuu-seo-cta-banner p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--fuu-text-secondary);
}
.fuu-seo-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.fuu-seo-box {
  padding: 16px;
  border-radius: 14px;
  background: var(--fuu-surface-muted);
  border: 1px solid var(--fuu-border);
}
.fuu-seo-box-accent {
  background: var(--fuu-surface-sage);
}
.fuu-seo-box h2,
.fuu-seo-section h2,
.fuu-seo-tip h2 {
  margin: 0 0 8px;
  font-family: var(--fuu-font-display);
  font-size: 1.22rem;
}
.seo-ing-list,
.seo-step-list,
.fuu-seo-dir-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seo-ing-item,
.seo-step-list li {
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--fuu-bg);
  border: 1px solid var(--fuu-border);
}
.seo-ing-main {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.seo-ing-meta {
  font-size: 0.82rem;
  color: var(--fuu-text-secondary);
  margin-top: 3px;
}
.seo-step-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.seo-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fuu-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fuu-seo-tip {
  margin: 22px 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--fuu-surface-sage);
  border-left: 4px solid var(--fuu-primary);
}
.fuu-seo-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--fuu-border);
}
.fuu-seo-footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--fuu-muted);
}

/* ==========================================================================
   Responsive & iOS Safari / Android WebKit Parity Guards
   ========================================================================== */

@media (max-width: 1024px) {
  .fuu-cover-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .fuu-filter-row-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  /* Mandatory iOS Safari Auto-Zoom Guard: >= 16px on all form inputs */
  input,
  select,
  textarea,
  .fuu-field input,
  .fuu-search-input,
  .fuu-select,
  .fuu-cmdk-bar input {
    font-size: max(16px, 1rem) !important;
  }

  .fuu-container {
    padding: 0 14px;
  }
  .fuu-topbar-inner {
    padding: 8px 14px;
  }
  .fuu-wing-nav-shell {
    padding: 0 14px 8px;
  }
  .fuu-rail-arrow {
    display: none;
  }
  .fuu-hide-sm {
    display: none !important;
  }
  .fuu-inline-inputs,
  .fuu-auth-fields,
  .fuu-detail-grid,
  .fuu-seo-callouts,
  .fuu-filter-row-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .fuu-cards-grid,
  .fuu-wing-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fuu-modal-card {
    padding: 20px 16px;
  }
  .fuu-daily-link {
    display: inline-flex;
    font-size: 0.78rem;
    padding: 5px 10px;
    min-height: 34px;
    white-space: nowrap;
  }
}

@media (max-width: 460px) {
  .fuu-hide-xs {
    display: none !important;
  }
  .fuu-brand-divider {
    display: none;
  }
  .fuu-brand-logo {
    height: 32px;
  }
  .fuu-brand-title {
    font-size: 1.05rem;
  }
  .fuu-pass-badge {
    max-width: 158px;
  }
}
