/* ==========================================================================
   Gekr Labs — Design System & Stylesheet
   Brand palette derived directly from the Gekr Labs mascot emblem:
   Midnight Navy (#132646), Fox Tangerine (#EE631E), Goggle Sky (#7DBAE5),
   and Warm Lab Alabaster (#FAF8F4).
   ========================================================================== */

:root {
  /* Brand Colors */
  --navy-950: #0b162b;
  --navy-900: #132646;
  --navy-800: #1c355e;
  --navy-700: #27487d;

  --fox-600: #d64e0e;
  --fox-500: #ee631e;
  --fox-400: #ff8242;
  --fox-100: #ffe4d6;
  --fox-50: #fff4ee;

  --sky-500: #4f9dd6;
  --sky-400: #7dbae5;
  --sky-200: #c8e3f6;
  --sky-50: #eff7fd;

  /* Neutrals */
  --cream-50: #faf8f4;
  --cream-100: #f3efe8;
  --cream-200: #e6dfd4;
  --white: #ffffff;

  --ink-900: #121c2d;
  --ink-700: #334155;
  --ink-500: #59667a;
  --ink-400: #7f8ca0;

  --border-subtle: rgba(19, 38, 70, 0.09);
  --border-medium: rgba(19, 38, 70, 0.16);
  --border-light: rgba(255, 255, 255, 0.14);

  /* Semantic */
  --status-live-bg: #e7f8ef;
  --status-live-fg: #116b41;
  --status-soon-bg: #eef5fc;
  --status-soon-fg: #1f5487;
  --status-beta-bg: #fff3e6;
  --status-beta-fg: #a8430b;

  /* Typography */
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout & Radii */
  --container-max: 1140px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 22, 43, 0.05);
  --shadow-sm: 0 4px 14px rgba(11, 22, 43, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 22, 43, 0.09);
  --shadow-lg: 0 24px 56px rgba(11, 22, 43, 0.14);
  --shadow-fox: 0 10px 24px rgba(238, 99, 30, 0.28);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background-color: var(--cream-50);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--fox-500);
  outline-offset: 3px;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.96);
  box-shadow: 0 4px 20px rgba(11, 22, 43, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}

.brand:hover .brand-logo {
  transform: rotate(-4deg) scale(1.05);
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand-text span {
  color: var(--fox-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-900);
  background: rgba(19, 38, 70, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--white);
  color: var(--navy-900);
}

.mobile-menu {
  display: none;
  padding: 12px 24px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--cream-50);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-links a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink-900);
}

.mobile-menu-links a:hover {
  background: rgba(19, 38, 70, 0.06);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--fox-500);
  color: var(--white);
  box-shadow: var(--shadow-fox);
}

.btn-primary:hover {
  background: var(--fox-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(214, 78, 14, 0.34);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--navy-900);
  background: var(--cream-100);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 84px;
  overflow: hidden;
  background-image: radial-gradient(rgba(19, 38, 70, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 248, 244, 0.25) 0%, rgba(250, 248, 244, 0.85) 75%, var(--cream-50) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fox-500);
  box-shadow: 0 0 0 3px var(--fox-100);
}

.hero-title {
  font-size: clamp(2.5rem, 4.8vw, 3.85rem);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--fox-500);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-500);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
}

.platform-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--navy-900);
  color: var(--white);
}

/* Hero Mascot Stage */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mascot-stage {
  position: relative;
  width: 100%;
  max-width: 410px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-backdrop {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(125, 186, 229, 0.34), rgba(238, 99, 30, 0.14) 60%, transparent 75%);
  filter: blur(22px);
}

.mascot-ring {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1.5px dashed rgba(19, 38, 70, 0.16);
  animation: slowSpin 42s linear infinite;
}

.mascot-card {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gentleFloat 6s ease-in-out infinite;
}

.mascot-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(19, 38, 70, 0.2));
}

.float-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
}

.float-badge--top {
  top: 8%;
  right: -2%;
}

.float-badge--bottom {
  bottom: 9%;
  left: -4%;
}

.float-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.float-badge-dot--sky {
  background: var(--sky-400);
}

.float-badge-dot--fox {
  background: var(--fox-500);
}

.sparkle {
  position: absolute;
  z-index: 2;
  color: var(--fox-500);
  opacity: 0.85;
}

.sparkle--1 {
  top: 14%;
  left: 10%;
  width: 22px;
  height: 22px;
}

.sparkle--2 {
  bottom: 18%;
  right: 6%;
  width: 16px;
  height: 16px;
  color: var(--sky-500);
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 88px 0;
}

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

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fox-500);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 700;
  color: var(--navy-900);
}

.section-desc {
  margin-top: 12px;
  font-size: 1.04rem;
  color: var(--ink-500);
  max-width: 580px;
}

/* ==========================================================================
   Portfolio / Apps Section
   ========================================================================== */
.portfolio-section {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.portfolio-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: var(--cream-50);
  color: var(--ink-700);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.filter-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.apps-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--cream-100);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-900);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
}

.apps-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.28s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 38, 70, 0.18);
  background: var(--white);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.app-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 22%;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
  box-shadow: 0 10px 22px rgba(19, 38, 70, 0.14);
}

.app-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-meta-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge--available {
  background: var(--status-live-bg);
  color: var(--status-live-fg);
}

.status-badge--coming-soon {
  background: var(--status-soon-bg);
  color: var(--status-soon-fg);
}

.status-badge--beta {
  background: var(--status-beta-bg);
  color: var(--status-beta-fg);
}

.app-category-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-400);
}

.app-card-body {
  flex: 1;
}

.app-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.app-tagline {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--fox-600);
  margin-bottom: 12px;
}

.app-description {
  font-size: 0.95rem;
  color: var(--ink-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.app-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.highlight-chip {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-700);
}

.app-card-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-btn {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1.5px solid var(--navy-900);
  transition: transform 0.2s var(--ease-out), background-color 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.store-btn--disabled {
  background: var(--white);
  color: var(--ink-500);
  border-color: var(--border-medium);
  cursor: default;
}

.store-btn--disabled:hover {
  background: var(--white);
  transform: none;
  box-shadow: none;
}

.store-btn-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.78;
  line-height: 1;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn-main {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.1;
}

.store-btn-text {
  text-align: left;
}

.app-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 11px;
  background: rgba(19, 38, 70, 0.04);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.app-detail-link:hover {
  background: var(--fox-50);
  color: var(--fox-600);
}

.app-detail-link svg {
  transition: transform 0.2s var(--ease-out);
}

.app-detail-link:hover svg {
  transform: translateX(3px);
}

.lab-pipeline-banner {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--sky-50);
  border: 1px dashed rgba(79, 157, 214, 0.45);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lab-pipeline-text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.94rem;
  color: var(--navy-900);
}

.lab-pipeline-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--white);
  color: var(--sky-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   About / Studio Philosophy Band (Deep Midnight Navy)
   ========================================================================== */
.studio-band {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.84);
  position: relative;
  overflow: hidden;
}

.studio-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(125, 186, 229, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.studio-band .container {
  position: relative;
  z-index: 1;
}

.studio-band .section-kicker {
  color: var(--sky-400);
}

.studio-band .section-title {
  color: var(--white);
}

.studio-band .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pillar-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(238, 99, 30, 0.18);
  color: var(--fox-400);
  border: 1px solid rgba(238, 99, 30, 0.3);
}

.pillar-icon--sky {
  background: rgba(125, 186, 229, 0.16);
  color: var(--sky-400);
  border-color: rgba(125, 186, 229, 0.3);
}

.pillar-card h3 {
  color: var(--white);
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

/* ==========================================================================
   Contact / Support Callout Section
   ========================================================================== */
.contact-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.contact-card h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  margin-bottom: 14px;
}

.contact-card p {
  color: var(--ink-500);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-box {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--cream-50);
  border: 1px solid var(--border-subtle);
}

.contact-box-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-400);
  margin-bottom: 8px;
}

.contact-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border-medium);
  margin-bottom: 14px;
}

.contact-email-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  word-break: break-all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  background: var(--cream-50);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.copy-btn:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.copy-btn.is-copied {
  background: var(--status-live-bg);
  color: var(--status-live-fg);
  border-color: rgba(17, 107, 65, 0.25);
}

.contact-box-note {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 0;
}

/* ==========================================================================
   Subpage Hero (Legal, Support, App Detail)
   ========================================================================== */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(125, 186, 229, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(125, 186, 229, 0.15);
  border: 1px solid rgba(125, 186, 229, 0.3);
  color: var(--sky-200);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.76);
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.legal-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s ease;
}

.legal-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.legal-tab.is-active {
  background: var(--fox-500);
  border-color: var(--fox-500);
  color: var(--white);
}

/* ==========================================================================
   Legal Document Layout
   ========================================================================== */
.legal-section {
  padding: 56px 0 88px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 98px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.legal-toc-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-400);
  margin-bottom: 12px;
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  background: var(--fox-50);
  color: var(--fox-600);
  font-weight: 600;
}

.legal-article {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-xs);
}

.legal-summary-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--sky-50);
  border-left: 4px solid var(--sky-500);
  margin-bottom: 34px;
}

.legal-summary-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.legal-summary-box p {
  font-size: 0.94rem;
  color: var(--ink-700);
}

.legal-article section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 100px;
}

.legal-article section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.legal-article h2 {
  font-size: 1.38rem;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.legal-article h3 {
  font-size: 1.06rem;
  color: var(--navy-900);
  margin: 18px 0 8px;
}

.legal-article p {
  color: var(--ink-700);
  line-height: 1.78;
  margin-bottom: 14px;
}

.legal-article p:last-child {
  margin-bottom: 0;
}

.legal-article ul,
.legal-article ol {
  margin: 10px 0 16px;
  padding-left: 22px;
  color: var(--ink-700);
}

.legal-article li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-article a {
  color: var(--fox-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-article a:hover {
  color: var(--navy-900);
}

.legal-callout-warn {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--fox-50);
  border: 1px solid var(--fox-100);
  font-size: 0.93rem;
  margin: 16px 0;
}

/* ==========================================================================
   App Detail Page
   ========================================================================== */
.app-detail-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.app-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(125, 186, 229, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.app-detail-hero .container {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sky-200);
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--white);
}

.app-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.app-detail-icon {
  width: 112px;
  height: 112px;
  border-radius: 24%;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.app-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-detail-intro {
  flex: 1;
  min-width: 260px;
}

.app-detail-intro h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin: 10px 0 8px;
}

.app-detail-intro p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 620px;
}

.app-detail-body {
  padding: 60px 0 88px;
}

.app-detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: start;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.detail-card h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.detail-card p + p {
  margin-top: 14px;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--cream-50);
  border: 1px solid var(--border-subtle);
}

.feature-bullet {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--fox-50);
  color: var(--fox-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--ink-500);
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-key {
  color: var(--ink-500);
}

.spec-val {
  font-weight: 700;
  color: var(--navy-900);
  text-align: right;
}

/* ==========================================================================
   Support Page & FAQ Accordion
   ========================================================================== */
.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--fox-500);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand span {
  color: var(--fox-400);
}

.footer-tagline {
  font-size: 0.93rem;
  line-height: 1.65;
  max-width: 310px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--fox-400);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-platforms {
    justify-content: center;
  }

  .mascot-stage {
    max-width: 330px;
  }

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

  .contact-card,
  .app-detail-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-toc {
    position: static;
  }

  .legal-article {
    padding: 28px 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .apps-grid--two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .float-badge--top {
    right: 0;
  }

  .float-badge--bottom {
    left: 0;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .app-card {
    padding: 22px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mascot-card,
  .mascot-ring {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Print-Friendly Legal Documents */
@media print {
  .site-header,
  .site-footer,
  .legal-toc,
  .legal-tabs {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .page-hero {
    background: #ffffff;
    color: #000000;
    padding: 0 0 16px;
    border-bottom: 2px solid #132646;
  }

  .page-hero h1,
  .page-hero-meta {
    color: #000000;
  }

  .legal-layout {
    display: block;
  }

  .legal-article {
    border: none;
    box-shadow: none;
    padding: 16px 0;
  }
}
