/* ==========================================================================
   PixelCraftin Studio — shared stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-raised: #101013;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);
  --text: #f4f2ee;
  --text-muted: #9a9aa1;
  --text-faint: #616167;
  --accent: #5c7cfa;
  --accent-strong: #748ffc;
  --accent-contrast: #fff;
  --star: rgba(255, 255, 255, 0.85);
  --nav-bg: rgba(10, 10, 12, 0.6);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-full: 999px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --ease: cubic-bezier(.16, .84, .44, 1);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f4f0;
  --bg-raised: #ffffff;
  --bg-card: rgba(10, 10, 12, 0.03);
  --border: rgba(10, 10, 12, 0.12);
  --border-soft: rgba(10, 10, 12, 0.08);
  --text: #16161a;
  --text-muted: #58585f;
  --text-faint: #8b8b92;
  --accent: #4c6ef5;
  --accent-strong: #3b5bdb;
  --accent-contrast: #fff;
  --star: rgba(10, 10, 12, 0.55);
  --nav-bg: rgba(246, 244, 240, 0.7);
  --shadow: 0 30px 80px rgba(20, 15, 10, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s var(--ease), color .3s var(--ease);
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

::selection {
  background: var(--accent);
  color: var(--accent-contrast);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Starfield ---------- */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Layout shell ---------- */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

/* ---------- Capsule header ---------- */
.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.capsule {
  width: 100%;
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 26px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .capsule {
  border: 1px solid rgba(10, 10, 12, 0.22);
  box-shadow: 0 12px 40px rgba(20, 15, 10, 0.14), 0 0 0 1px rgba(10, 10, 12, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand span {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.brand::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #5c7cfa;
  box-shadow: 0 0 8px 2px #5c7cfa, 0 0 16px 4px rgba(92, 124, 250, 0.45);
  margin-left: 2px;
  animation: brand-dot-glow 2.5s ease-in-out infinite alternate;
}

@keyframes brand-dot-glow {
  0% {
    box-shadow: 0 0 6px 1.5px #5c7cfa, 0 0 12px 3px rgba(92, 124, 250, 0.35);
    opacity: 0.85;
  }

  100% {
    box-shadow: 0 0 10px 3px #5c7cfa, 0 0 20px 6px rgba(92, 124, 250, 0.65);
    opacity: 1;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s var(--ease);
}

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

.nav-links a.active {
  color: var(--text) !important;
  font-weight: 500;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(92, 124, 250, 0.7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Robo Icon Button & Popup ---------- */
.robo-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s;
  flex-shrink: 0;
  position: relative;
}

.robo-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(92, 124, 250, 0.45);
}

.robo-btn .robo-icon,
img.robo-icon {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  background: transparent !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.robo-btn.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, var(--bg-raised));
  box-shadow: 0 0 14px rgba(92, 124, 250, 0.6);
}

.robo-btn.is-active .robo-icon {
  transform: rotate(45deg) scale(1.1);
}

.robo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.robo-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.robo-popup {
  position: fixed;
  top: 86px;
  right: clamp(14px, 4vw, 40px);
  width: min(360px, calc(100vw - 28px));
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(92, 124, 250, 0.2);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.95);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  overflow: hidden;
}

.robo-popup.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.robo-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #16161c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.robo-popup-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.robo-popup-avatar {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50%;
  background: transparent !important;
  border: 1px solid var(--accent);
  padding: 2px;
  object-fit: contain;
  display: block;
}

.robo-popup-title h4 {
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
  color: #f4f2ee;
}

.robo-popup-title span {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: #00E676;
  display: flex;
  align-items: center;
  gap: 4px;
}

.robo-popup-title span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E676;
  display: inline-block;
  box-shadow: 0 0 6px #00E676;
}

.robo-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #9a9aa1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: all .2s;
}

.robo-close-btn:hover {
  color: #ffffff;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.robo-popup-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #111116;
}

.robo-msg-bubble {
  background: #181820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border-top-left-radius: 2px;
  padding: 12px 14px;
  font-size: .88rem;
  color: #f4f2ee;
  line-height: 1.5;
}

.robo-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.robo-action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: #181820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f2ee;
  font-size: .82rem;
  text-decoration: none;
  transition: all .2s;
}

.robo-action-link:hover {
  border-color: var(--accent);
  background: rgba(92, 124, 250, 0.15);
  color: var(--accent-strong);
  transform: translateX(3px);
}

.robo-action-link span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Robo Dropdown Menu for Mockup Editor ---------- */
.robo-dropdown-item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.robo-dropdown-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #181820;
  color: #f4f2ee;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.robo-dropdown-btn.is-active {
  border-color: var(--accent);
  background: rgba(92, 124, 250, 0.15);
  color: var(--accent-strong);
}

.robo-dropdown-btn.is-active .robo-dropdown-arrow {
  transform: rotate(180deg);
}

.robo-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s var(--ease), opacity .25s ease, padding .25s ease;
  padding: 0;
}

.robo-dropdown-menu.is-open {
  max-height: 160px;
  opacity: 1;
  padding: 8px 0 2px 10px;
}

.robo-sub-action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: #141419;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #b0b0b8;
  font-size: .78rem;
  text-decoration: none;
  transition: all .2s;
}

.robo-sub-action-link:hover {
  border-color: var(--accent);
  color: #ffffff;
  background: #1e1e28;
  transform: translateX(3px);
}

.robo-sub-action-link span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Mockup Centered Modal Window ---------- */
.mockup-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.mockup-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mockup-modal-window {
  width: min(1180px, 94vw);
  height: min(88vh, 840px);
  max-height: calc(100dvh - 32px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-modal-overlay.is-open .mockup-modal-window {
  transform: scale(1) translateY(0);
}

.mockup-modal-header {
  height: 52px;
  min-height: 52px;
  padding: 0 18px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mockup-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mockup-modal-icon {
  font-size: 1.15rem;
}

.mockup-modal-title h3 {
  font-size: .94rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-modal-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-modal-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}

.mockup-modal-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--bg-raised);
}

.mockup-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: all .2s;
}

.mockup-modal-close:hover {
  color: #ff5c5c;
  border-color: rgba(255, 92, 92, 0.4);
  background: rgba(255, 92, 92, 0.1);
}

.mockup-modal-body {
  flex: 1;
  position: relative;
  width: 100%;
  height: calc(100% - 52px);
  background: #000;
  overflow: hidden;
}

.mockup-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .mockup-modal-overlay {
    padding: 8px;
  }

  .mockup-modal-window {
    width: 98vw;
    height: 94dvh;
    max-height: calc(100dvh - 16px);
    border-radius: var(--radius-md);
  }

  .mockup-modal-header {
    height: 46px;
    min-height: 46px;
    padding: 0 12px;
  }

  .mockup-modal-title h3 {
    font-size: .86rem;
  }
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: transform .25s var(--ease), border-color .2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: rotate(-14deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .sun-icon {
  display: none;
}

html[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}

html[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .2s;
}

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

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

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

.mobile-panel {
  position: fixed;
  top: 88px;
  left: 20px;
  right: 20px;
  z-index: 99;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.mobile-panel.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-panel a {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: background .2s, color .2s;
}

.mobile-panel a:hover {
  color: var(--text);
  background: var(--bg-card);
}

.mobile-panel a.active {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-card));
  border-left: 3px solid var(--accent);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5c7cfa;
  box-shadow: 0 0 8px 2px #5c7cfa, 0 0 16px 4px rgba(92, 124, 250, 0.5);
  flex-shrink: 0;
  animation: eyebrow-dot-glow 2.5s ease-in-out infinite alternate;
}

@keyframes eyebrow-dot-glow {
  0% {
    box-shadow: 0 0 6px 1.5px #5c7cfa, 0 0 12px 3px rgba(92, 124, 250, 0.35);
    opacity: 0.85;
  }

  100% {
    box-shadow: 0 0 10px 3px #5c7cfa, 0 0 20px 6px rgba(92, 124, 250, 0.7);
    opacity: 1;
  }
}

.eyebrow.rule {
  gap: 14px;
}

.eyebrow.rule::before {
  content: "";
  width: 28px;
  height: 1px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: none;
  animation: none;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 220px;
  padding-bottom: 120px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 28px 0 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-strong);
}

.hero p.sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 42px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, opacity .2s;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--text-muted);
}

.btn svg {
  width: 14px;
  height: 14px;
}

/* ---------- Section basics ---------- */
section {
  position: relative;
  padding: 120px 0;
}

.section-head {
  margin-bottom: 64px;
  max-width: 760px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 22px 0 18px;
  line-height: 1.05;
}

.section-head h2 em {
  font-style: italic;
  color: var(--accent-strong);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 620px;
}

/* ---------- Featured app rows ---------- */
.app-rows {
  border-top: 1px solid var(--border-soft);
  margin-top: 24px;
}

.app-row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(34px, 4.2vw, 54px) 18px;
  min-height: clamp(96px, 11vw, 132px);
  border-bottom: 1px solid var(--border-soft);
  border-radius: var(--radius-md, 8px);
  text-decoration: none;
  color: inherit;
  transition: padding-left .25s var(--ease), background .25s var(--ease);
}

.app-row:hover {
  padding-left: 24px;
  background: var(--bg-card);
}

/* Left (Index): Fixed width */
.app-row .num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 500;
  width: clamp(36px, 4vw, 48px);
  min-width: clamp(36px, 4vw, 48px);
  flex: 0 0 clamp(36px, 4vw, 48px);
  letter-spacing: 0.05em;
  align-self: center;
}

/* Center (Content): Flexible width */
.app-row .app-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-row .name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}

.app-row .desc {
  color: var(--text-muted);
  font-size: clamp(0.86rem, 1.2vw, 1.02rem);
  line-height: 1.5;
  margin: 0;
}

/* Right (Action): Fixed width */
.app-row .view {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.95vw, 0.78rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--text-muted);
  white-space: nowrap;
  width: clamp(80px, 10vw, 110px);
  min-width: clamp(80px, 10vw, 110px);
  flex: 0 0 clamp(80px, 10vw, 110px);
  text-align: right;
  transition: color .2s var(--ease), gap .2s var(--ease);
}

.app-row:hover .view {
  color: var(--text);
  gap: 12px;
}

/* Fallback grid if .app-content container is not present */
.app-row:not(:has(.app-content)) {
  display: grid;
  grid-template-columns: clamp(36px, 4vw, 48px) 1fr clamp(80px, 10vw, 110px);
  grid-template-areas:
    "index name action"
    "index desc action";
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: 8px;
  align-items: center;
}
.app-row:not(:has(.app-content)) .num { grid-area: index; align-self: center; }
.app-row:not(:has(.app-content)) .name { grid-area: name; }
.app-row:not(:has(.app-content)) .desc { grid-area: desc; }
.app-row:not(:has(.app-content)) .view { grid-area: action; justify-self: end; }

/* ---------- Studio statement section ---------- */
.studio-statement {
  padding-top: clamp(130px, 16vw, 190px);
  padding-bottom: clamp(110px, 13vw, 160px);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.studio-grid h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 22px;
}

.studio-grid h2 em {
  font-style: italic;
  color: var(--accent-strong);
}

.studio-grid p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 26px;
}

/* ---------- App detail block ---------- */
.app-detail {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 72px;
  align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid var(--border-soft);
}

.app-detail:last-of-type {
  border-bottom: none;
}

.app-detail.reverse {
  grid-template-columns: 1fr minmax(280px, 460px);
}

.app-detail.reverse .phone-stage {
  order: 2;
}

.app-detail.reverse .app-copy {
  order: 1;
  padding-left: clamp(28px, 6vw, 70px);
}

.app-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  margin: 0 0 18px;
}

.app-copy .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  line-height: 1.4;
}

.feature-list {
  margin: 0 0 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Phone mockup ---------- */
.phone-stage {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: absolute;
  width: 232px;
  height: 462px;
  border-radius: 34px;
  border: 8px solid var(--bg-raised);
  background: #0d0d10;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

html[data-theme="light"] .phone {
  background: #16161a;
}

.phone.back {
  transform: translate(-46px, 14px) rotate(-6deg);
  opacity: .7;
  filter: blur(.3px);
}

.phone.front {
  transform: translate(30px, -10px) rotate(4deg);
}

.phone-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
  z-index: 5;
  background: #0d0d10;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 14px;
  background: #050507;
  border-radius: 20px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-screen {
  padding: 22px 14px 18px;
  color: #eee;
  font-size: .62rem;
  height: 100%;
  position: relative;
  z-index: 1;
}

.phone-screen .ph-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 14px;
  color: #fff;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.phone-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #91a7ff);
  flex-shrink: 0;
}

.phone-bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin: 10px 0 16px;
}

.phone-bar i {
  display: block;
  height: 100%;
  width: 24%;
  background: var(--accent);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.phone-grid div {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(160deg, #3a3a40, #1b1b1f);
}



/* ---------- Google Play Store ---------- */
.store-hero {
  padding-top: 170px;
  padding-bottom: 50px;
}

.store-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 18px 0 0;
}

.play-dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.play-dev-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00D3FF, #00E676, #FFCE00, #FF3A44);
}

.play-dev-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.play-dev-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #364fc7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(92, 124, 250, 0.35);
}

.play-dev-meta h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.play-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: .7rem;
  background: color-mix(in srgb, #00E676 15%, var(--bg-card));
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.play-dev-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.play-dev-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0 70px;
}

.play-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  position: relative;
}

.play-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.play-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.play-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #fff;
  overflow: hidden;
}

.play-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.play-app-icon svg {
  width: 28px;
  height: 28px;
}

.play-app-info h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.play-app-cat {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-faint);
  letter-spacing: .05em;
}

.play-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: .8rem;
  color: #FFCE00;
  font-weight: 600;
}

.play-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

.play-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.play-tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s var(--ease);
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(92, 124, 250, 0.45);
}

.app-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.app-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: all .2s var(--ease);
}

.app-action-btn svg {
  width: 14px;
  height: 14px;
}

.app-action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-raised));
  transform: translateY(-1px);
}

.app-action-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.app-action-btn.primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

/* ----------  App Policy Layout ---------- */
.policy-hero-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding: 40px 0 20px;
}

.policy-hero-left .eyebrow {
  margin-bottom: 8px;
}

.policy-hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 12px 0 16px;
  color: var(--text);
}

.policy-hero-left p {
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

.policy-baseline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.policy-baseline-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--text);
}

.policy-baseline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-baseline-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.policy-baseline-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.policy-divider {
  border: 0;
  height: 1px;
  background: var(--border-soft);
  margin: 40px 0;
}

.policy-choose-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.policy-choose-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 400;
  margin: 6px 0 0;
}

.policy-choose-head p {
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0;
  max-width: 440px;
}

/* App Policy Picker Grid */
.policy-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.policy-app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s;
  user-select: none;
}

.policy-app-card:hover {
  background: var(--bg-raised);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.policy-app-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.policy-app-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.policy-app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.policy-app-card-icon svg {
  width: 22px;
  height: 22px;
}

.policy-app-card-meta {
  min-width: 0;
}

.policy-app-card-meta h4 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.policy-app-card-meta span {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text-faint);
  letter-spacing: .02em;
}

.policy-badge {
  font-family: var(--font-mono);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 500;
  letter-spacing: .03em;
  flex-shrink: 0;
}

.policy-badge.stable {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.policy-badge.beta {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.policy-badge.soon {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.28);
}

@media (max-width: 860px) {
  .policy-hero-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 20px;
  }

  .policy-choose-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- Policy Modal Popup (Centered & Mobile Responsive) ---------- */
.policy-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}

.policy-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.policy-modal-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92) translateY(14px);
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.policy-modal-backdrop.active .policy-modal-card {
  transform: scale(1) translateY(0);
}

.policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-raised);
  flex-shrink: 0;
}

.policy-modal-app-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.policy-modal-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.policy-modal-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.policy-modal-app-icon svg {
  width: 24px;
  height: 24px;
}

.policy-modal-app-meta h3 {
  margin: 0 0 2px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.policy-modal-app-meta span {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text-faint);
  letter-spacing: .04em;
}

.policy-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: all .2s var(--ease);
}

.policy-modal-close:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.policy-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.65;
}

.policy-modal-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-modal-body h4:first-child {
  margin-top: 0;
}

.policy-modal-body p {
  color: var(--text-muted);
  margin: 0 0 14px;
}

.policy-modal-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text-muted);
}

.policy-modal-body li {
  margin-bottom: 8px;
}

.policy-modal-body strong {
  color: var(--text);
}

.policy-modal-body code {
  font-family: var(--font-mono);
  font-size: .82rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

.policy-perm-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--accent) 15%, var(--bg-raised));
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent);
  margin-bottom: 4px;
}

.policy-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-raised);
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
}

/* Light Theme Enhancements for Modal */
html[data-theme="light"] .policy-modal-card {
  background: #ffffff;
  border-color: rgba(10, 10, 12, 0.15);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .policy-modal-header {
  background: #f8f7f4;
  border-bottom-color: rgba(10, 10, 12, 0.09);
}

html[data-theme="light"] .policy-modal-footer {
  background: #f8f7f4;
  border-top-color: rgba(10, 10, 12, 0.09);
}

html[data-theme="light"] .policy-modal-close {
  background: #ffffff;
  color: #16161a;
  border-color: rgba(10, 10, 12, 0.18);
}

html[data-theme="light"] .policy-modal-body {
  color: #16161a;
}

html[data-theme="light"] .policy-modal-body h4 {
  color: #111114;
}

html[data-theme="light"] .policy-modal-body p {
  color: #35353d;
}

html[data-theme="light"] .policy-modal-body ul,
html[data-theme="light"] .policy-modal-body li {
  color: #35353d;
}

html[data-theme="light"] .policy-modal-body strong {
  color: #0c0c0e;
}

html[data-theme="light"] .policy-modal-body code {
  background: #edf2ff;
  color: #364fc7;
  border-color: #d0ebff;
}

html[data-theme="light"] .policy-perm-tag {
  background: #edf2ff;
  color: #3b5bdb;
  border-color: #bac8ff;
}

/* Dark Theme Enhancements for Modal */
html[data-theme="dark"] .policy-modal-card {
  background: #121217;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

html[data-theme="dark"] .policy-modal-header {
  background: #17171e;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .policy-modal-footer {
  background: #17171e;
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .policy-modal-body p,
html[data-theme="dark"] .policy-modal-body ul,
html[data-theme="dark"] .policy-modal-body li {
  color: #a8a8b4;
}

html[data-theme="dark"] .policy-modal-body h4 {
  color: #f1f1f5;
}

html[data-theme="dark"] .policy-modal-body strong {
  color: #ffffff;
}

@media (max-width: 640px) {
  .policy-modal-backdrop {
    padding: 12px;
  }

  .policy-modal-card {
    max-height: 92vh;
    border-radius: var(--radius-md);
  }

  .policy-modal-header {
    padding: 14px 18px;
  }

  .policy-modal-app-icon {
    width: 40px;
    height: 40px;
  }

  .policy-modal-app-icon svg {
    width: 20px;
    height: 20px;
  }

  .policy-modal-app-meta h3 {
    font-size: 1.1rem;
  }

  .policy-modal-body {
    padding: 18px 20px;
    font-size: .9rem;
  }

  .policy-modal-footer {
    padding: 12px 18px;
  }
}

/* ---------- Support Overview 2x2 Grid ---------- */
.support-section {
  padding: 10px 0 40px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: all .22s var(--ease);
}

.support-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.support-card-content h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.support-card-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}

.support-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s var(--ease);
}

.support-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-raised));
  transform: translateY(-1px);
}

.support-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.support-btn.primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

html[data-theme="light"] .support-card {
  background: #ffffff;
}

html[data-theme="light"] .support-btn {
  background: #fbfbf9;
  border-color: rgba(10, 10, 12, 0.14);
}

html[data-theme="light"] .support-btn:hover {
  background: #edf2ff;
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- App Issue Trackers ---------- */
.trackers-section {
  padding: 30px 0 60px;
}

.trackers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.trackers-header-left {
  max-width: 540px;
}

.trackers-header-left h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--text);
  line-height: 1.12;
}

.trackers-header-right {
  max-width: 440px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
  padding-bottom: 4px;
}

.trackers-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 30px);
}

.trackers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tracker-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all .22s var(--ease);
  position: relative;
}

.tracker-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.tracker-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #14532d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform .2s var(--ease);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tracker-card:hover .tracker-icon-box {
  transform: scale(1.06);
}

.tracker-icon-box svg {
  width: 22px;
  height: 22px;
}

.tracker-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tracker-info h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}

.tracker-info span {
  display: block;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text-faint);
  letter-spacing: .02em;
}

html[data-theme="light"] .trackers-box {
  background: #ffffff;
}

html[data-theme="light"] .tracker-card {
  background: #fbfbf9;
  border-color: rgba(10, 10, 12, 0.1);
}

html[data-theme="light"] .tracker-card:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .tracker-icon-box {
  background: #dcfce7;
  color: #15803d;
}

@media (max-width: 1080px) {
  .trackers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .trackers-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trackers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .trackers-grid {
    grid-template-columns: 1fr;
  }
}


.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
  text-decoration: none;
  font-family: var(--font-body);
  transition: all .2s var(--ease);
  width: fit-content;
}

.play-btn:hover {
  border-color: var(--accent);
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.play-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.play-btn-sub {
  font-size: .6rem;
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aaa;
}

.play-btn-title {
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
}

.play-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 60px 0 30px;
}

.play-feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.play-feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 15%, var(--bg-raised));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.play-feat-info h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--text);
}

.play-feat-info p {
  margin: 0;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border);
}

.t-item {
  position: relative;
  padding-bottom: 56px;
}

.t-item:last-child {
  padding-bottom: 0;
}

.t-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.t-item .t-date {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
}

.t-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  margin: 10px 0 10px;
}

.t-item p {
  color: var(--text-muted);
  max-width: 560px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  margin-top: 64px;
}

.field {
  margin-bottom: 24px;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.field label .req {
  color: var(--accent);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
}

.field textarea {
  min-height: 150px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.form-note {
  font-size: .82rem;
  color: var(--text-faint);
  margin-top: 10px;
}

.form-status {
  font-size: .9rem;
  margin: 16px 0 0;
  min-height: 1.2em;
}

.form-status.success {
  color: #5fb488;
}

.form-status.error {
  color: var(--accent-strong);
}

.btn:disabled {
  opacity: .6;
  cursor: default;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-cards .label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.c-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--bg-card);
}

.c-card .ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.c-card .ic svg {
  width: 18px;
  height: 18px;
}

.c-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}

.c-card strong {
  font-weight: 600;
  font-size: .98rem;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 90px 0 40px;
  margin-top: 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-brand h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.01em;
  margin: 0 0 12px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 280px;
}

.footer-cols {
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}

.footer-col span.h {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  padding: 7px 0;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  color: var(--text-faint);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color .2s;
}

.footer-bottom-links a:hover {
  color: var(--text);
}

.footer-bottom-links a.active {
  color: var(--accent);
  font-weight: 500;
}

.footer-bottom-links .sep {
  color: var(--border);
  font-size: .7rem;
}

/* ---------- Legal & Doc Pages ---------- */
.doc-page {
  padding-top: 180px;
  padding-bottom: 120px;
}

.doc-hero {
  margin-bottom: 50px;
  max-width: 860px;
}

.doc-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin: 18px 0 16px;
}

.doc-hero h1 em {
  font-style: italic;
  color: var(--accent-strong);
}

.doc-hero {
  margin-bottom: 40px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-faint);
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent-strong);
  font-weight: 600;
}

.doc-quick-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 18px;
  margin-bottom: 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.doc-quick-nav::-webkit-scrollbar {
  display: none;
}

.doc-quick-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .05em;
  color: var(--text-muted);
  transition: all .2s var(--ease);
  flex-shrink: 0;
}

.doc-quick-pill:hover {
  color: var(--text);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-card));
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.doc-sidebar-title {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.doc-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-nav-list a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color .2s, transform .2s;
  line-height: 1.4;
}

.doc-nav-list a:hover {
  color: var(--text);
  transform: translateX(4px);
}

.doc-body {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 52px);
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow: var(--shadow);
}

.doc-section {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin: 0 0 16px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.doc-section h2 .sec-num {
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--accent);
}

.doc-section h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 24px 0 10px;
  color: var(--text);
}

.doc-section p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 16px;
  font-size: 1rem;
}

.doc-section ul,
.doc-section ol {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 20px;
  padding-left: 24px;
}

.doc-section ul {
  list-style: disc;
}

.doc-section ol {
  list-style: decimal;
}

.doc-section li {
  margin-bottom: 8px;
}

.doc-section strong {
  color: var(--text);
  font-weight: 600;
}

.doc-callout {
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-card));
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.doc-callout p {
  margin: 0;
  color: var(--text);
  font-size: .95rem;
}

/* ---------- Third Party SDK Cards ---------- */
.sdk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}

.sdk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color .2s, transform .2s;
}

.sdk-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.sdk-card h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.sdk-card p {
  margin: 0;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.sdk-card a {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.sdk-card a:hover {
  text-decoration: underline;
}

/* ---------- Deletion Box CTA ---------- */
.deletion-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--bg-card)), var(--bg-card));
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deletion-box h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.deletion-box p {
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.deletion-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-size: .88rem;
  font-weight: 600;
  transition: background .2s, transform .2s;
}

.deletion-btn:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.doc-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  text-align: left;
}

.doc-table th,
.doc-table td {
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.doc-table th {
  background: var(--bg-raised);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
}

.doc-table td {
  color: var(--text-muted);
}

.doc-table tr:hover td {
  background: var(--bg-card);
}

/* ---------- About Page Specifics ---------- */
.about-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s var(--ease), border-color .2s;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.about-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 12px;
}

.about-card p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
  margin: 0;
}

.game-play-banner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 15%, var(--bg-card)), var(--bg-raised));
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 54px);
  margin: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-play-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 400;
  margin: 0;
}

.game-play-banner p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 680px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .app-detail,
  .app-detail.reverse {
    grid-template-columns: 1fr;
  }

  .app-detail.reverse .phone-stage {
    order: 1;
  }

  .app-detail.reverse .app-copy {
    order: 2;
    padding-left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-cols {
    gap: 40px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .doc-sidebar {
    position: static;
    padding: 20px 22px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
  }

  .doc-sidebar-title {
    margin-bottom: 12px;
  }

  .doc-nav-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 16px;
  }

  .doc-nav-list a {
    padding: 6px 0;
    font-size: .85rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 12px;
    padding: 0 14px;
  }

  .capsule {
    padding: 10px 10px 10px 18px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 100px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero .eyebrow {
    font-size: .72rem;
    letter-spacing: .16em;
    margin-bottom: 2px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
    margin: 16px 0 14px;
    line-height: 1.05;
  }

  .hero p.sub {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0 0 32px;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: clamp(16px, 4.5vw, 22px);
    width: 100%;
    align-items: center;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 15px 14px;
    font-size: clamp(.68rem, 2.2vw, .74rem);
    letter-spacing: .09em;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    gap: 8px;
  }

  .featured-section {
    padding-top: clamp(60px, 10vw, 90px);
  }

  .app-rows {
    margin-bottom: 20px;
  }

  .app-row {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.8vw, 20px);
    padding: clamp(26px, 5vw, 38px) 12px;
    min-height: 84px;
  }

  .app-row:hover {
    padding-left: 14px;
  }

  .app-row .num {
    font-size: .84rem;
    width: clamp(28px, 4vw, 36px);
    min-width: clamp(28px, 4vw, 36px);
    flex: 0 0 clamp(28px, 4vw, 36px);
  }

  .app-row .app-content {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .app-row .name {
    font-size: clamp(1.2rem, 4.4vw, 1.55rem);
    line-height: 1.2;
    white-space: normal;
  }

  .app-row .desc {
    font-size: clamp(0.78rem, 2.6vw, 0.9rem);
    line-height: 1.45;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    color: var(--text-muted);
  }

  .app-row .view {
    font-size: .68rem;
    width: clamp(64px, 12vw, 76px);
    min-width: clamp(64px, 12vw, 76px);
    flex: 0 0 clamp(64px, 12vw, 76px);
    gap: 5px;
  }

  .app-row:not(:has(.app-content)) {
    grid-template-columns: clamp(28px, 4vw, 36px) 1fr clamp(64px, 12vw, 76px);
    column-gap: clamp(12px, 2.8vw, 20px);
    row-gap: 5px;
  }

  .studio-statement {
    padding-top: 90px;
    padding-bottom: 75px;
  }

  .phone-stage {
    height: 360px;
  }

  .phone {
    width: 180px;
    height: 358px;
  }

  .footer-top {
    flex-direction: column;
  }

  section {
    padding: 60px 0;
  }

  .doc-page {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .doc-body {
    padding: 24px 18px;
    border-radius: var(--radius-md);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .doc-section {
    margin-bottom: 36px;
    scroll-margin-top: 90px;
  }

  .doc-section h2 {
    font-size: 1.45rem;
    flex-wrap: wrap;
  }

  .doc-callout {
    padding: 14px 16px;
    margin: 18px 0;
  }

  .doc-table th,
  .doc-table td {
    padding: 10px 12px;
    font-size: .82rem;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  .studio-statement {
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .site-header {
    padding: 0 10px;
    top: 10px;
  }

  .capsule {
    padding: 8px 8px 8px 14px;
  }

  .brand {
    font-size: .92rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 100px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10.5vw, 3.4rem);
    margin: 18px 0 14px;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: clamp(14px, 4vw, 18px);
    align-items: center;
  }

  .hero-actions .btn {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 15px 10px;
    font-size: .67rem;
    letter-spacing: .07em;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    gap: 6px;
  }

  .hero-actions .btn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }

  .phone-stage {
    height: 320px;
  }

  .phone {
    width: 160px;
    height: 318px;
    border-width: 6px;
    border-radius: 26px;
  }

  .phone.back {
    transform: translate(-32px, 10px) rotate(-6deg);
  }

  .phone.front {
    transform: translate(20px, -8px) rotate(4deg);
  }

  .phone-screenshot {
    border-radius: 20px;
  }

  .field input,
  .field textarea {
    font-size: 16px;
    padding: 14px;
  }

  /* Prevents iOS auto-zoom */
  .c-card {
    padding: 14px 16px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ---------- App Screenshot Showcase Grid ---------- */
.apps-hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: 40px 0 24px;
}

.apps-hero-left .eyebrow {
  margin-bottom: 8px;
}

.apps-hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 400;
  margin: 12px 0 16px;
  color: var(--text);
  line-height: 1.08;
}

.apps-hero-left h1 em {
  font-style: italic;
  color: var(--accent-strong);
}

.apps-hero-left p {
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 580px;
}

.apps-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.apps-filter-pill {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s var(--ease);
}

.apps-filter-pill:hover {
  color: var(--text);
  border-color: var(--accent);
}

.apps-filter-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(92, 124, 250, 0.4);
}

.release-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.release-status-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 400;
  margin: 0 0 18px;
  color: var(--text);
}

.release-status-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.release-status-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.release-status-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent);
  text-decoration: none;
  transition: color .2s;
}

.release-status-link:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* Category Section Heads */
.apps-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.apps-cat-head-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 400;
  margin: 8px 0 0;
  color: var(--text);
}

.apps-cat-head p {
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0;
  max-width: 460px;
}

/* 2-Column Showcase Grid */
.apps-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.app-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  position: relative;
}

.app-showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Phone Screenshot Showcase Container */
.app-showcase-screen-box {
  background: #08080a;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  overflow: hidden;
  position: relative;
  user-select: none;
}

html[data-theme="light"] .app-showcase-screen-box {
  background: #e8e6e1;
  border-color: rgba(10, 10, 12, 0.08);
}

.app-phone-mini {
  width: 96px;
  height: 196px;
  border-radius: 16px;
  border: 3.5px solid #16161c;
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-shrink: 0;
  position: relative;
  transition: transform .32s var(--ease), box-shadow .32s, opacity .32s;
}

html[data-theme="light"] .app-phone-mini {
  border-color: #2c2c34;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.app-phone-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Phone Layout Angles */
.app-phone-mini.left {
  transform: scale(0.92) rotate(-3.5deg) translateX(6px);
  z-index: 1;
  opacity: 0.9;
}

.app-phone-mini.center {
  transform: scale(1) rotate(0deg);
  z-index: 2;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75);
}

.app-phone-mini.right {
  transform: scale(0.92) rotate(3.5deg) translateX(-6px);
  z-index: 1;
  opacity: 0.9;
}

.app-showcase-card:hover .app-phone-mini.left {
  transform: scale(0.96) rotate(-5deg) translateX(-2px);
  opacity: 1;
}

.app-showcase-card:hover .app-phone-mini.center {
  transform: scale(1.05) translateY(-4px);
}

.app-showcase-card:hover .app-phone-mini.right {
  transform: scale(0.96) rotate(5deg) translateX(2px);
  opacity: 1;
}

/* Showcase Metadata */
.app-showcase-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-showcase-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.app-showcase-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.app-showcase-icon svg {
  width: 24px;
  height: 24px;
}

.app-showcase-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-showcase-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.app-showcase-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.app-cat-pill {
  font-family: var(--font-mono);
  font-size: .68rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: .02em;
}

.app-showcase-desc {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.app-showcase-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.btn-view-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s var(--ease);
}

.btn-view-app:hover {
  background: #22c55e;
  color: #000;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

.app-secondary-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Light Mode Overrides for Showcase Cards */
html[data-theme="light"] .app-showcase-card {
  background: #ffffff;
}

html[data-theme="light"] .release-status-card {
  background: #ffffff;
}

html[data-theme="light"] .btn-view-app {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border-color: #16a34a;
}

html[data-theme="light"] .btn-view-app:hover {
  background: #16a34a;
  color: #fff;
}

@media (max-width: 860px) {
  .apps-hero-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 20px;
  }

  .apps-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .apps-cat-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .app-showcase-screen-box {
    height: 190px;
    padding: 10px;
    gap: 8px;
  }

  .app-phone-mini {
    width: 78px;
    height: 160px;
    border-radius: 12px;
    border-width: 2.5px;
  }

  .app-phone-mini img {
    border-radius: 9px;
  }
}

/* ---------- Dedicated App Policy Page Styles ---------- */
.app-policy-hero {
  padding: 40px 0 20px;
}

.app-policy-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  margin: 14px 0 8px;
  color: var(--text);
  line-height: 1.08;
}

.app-policy-date {
  font-family: var(--font-mono);
  font-size: .84rem;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.app-policy-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.app-policy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .03em;
  text-decoration: none;
  transition: all .2s var(--ease);
}

.app-policy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-raised);
}

.app-policy-btn.accent {
  border: 1.5px solid #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  font-weight: 600;
}

.app-policy-btn.accent:hover {
  background: #22c55e;
  color: #000;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
}

.app-policy-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.app-policy-summary-head-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 400;
  margin: 8px 0 0;
  color: var(--text);
}

.app-policy-summary-head p {
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

.app-policy-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-policy-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color .2s;
}

.app-policy-summary-card:hover {
  border-color: var(--accent);
}

.app-policy-summary-card h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.app-policy-summary-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.app-policy-body {
  max-width: 820px;
  padding: 10px 0 60px;
}

.app-policy-section {
  margin-bottom: 34px;
}

.app-policy-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.app-policy-section p {
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.7;
  margin: 0 0 12px;
}

.app-policy-section ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.7;
  list-style: disc;
}

.app-policy-section li {
  margin-bottom: 6px;
  font-size: .95rem;
}

.app-policy-section strong {
  color: var(--text);
}

.app-policy-section code {
  font-family: var(--font-mono);
  font-size: .84rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

html[data-theme="light"] .app-policy-summary-card {
  background: #ffffff;
}

html[data-theme="light"] .app-policy-btn {
  background: #ffffff;
}

@media (max-width: 860px) {
  .app-policy-summary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-policy-summary-head {
    flex-direction: column;
    gap: 12px;
  }
}

/* ---------- The Team Trigger & Simple Modal Popup ---------- */
.team-trigger-wrap {
  margin-top: 96px;
  margin-bottom: 24px;
  display: flex;
  justify-content: left;
}

.team-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.25s var(--ease);
}

.team-trigger-btn:hover {
  border-color: var(--accent);
  background: var(--bg-raised);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(92, 124, 250, 0.25);
}

.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.team-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.team-simple-card {
  width: min(520px, 94vw);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 22px 24px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-modal-overlay.is-open .team-simple-card {
  transform: scale(1) translateY(0);
}

.team-simple-title {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 18px 2px;
}

.team-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.team-simple-box {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  min-width: 0;
  transition: border-color 0.2s, background-color 0.2s;
}

.team-simple-box:hover {
  border-color: var(--accent);
}

.team-simple-label {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.team-simple-val {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.team-simple-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.team-simple-close:hover {
  color: #ff5c5c;
  border-color: rgba(255, 92, 92, 0.4);
}

@media (max-width: 480px) {
  .team-simple-card {
    padding: 20px 14px 18px;
    border-radius: 16px;
    width: min(440px, 94vw);
  }

  .team-simple-title {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .team-simple-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .team-simple-box {
    padding: 16px 8px;
    border-radius: 12px;
  }

  .team-simple-label {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .team-simple-val {
    font-size: 0.96rem;
  }

  .team-simple-close {
    top: 14px;
    right: 14px;
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Light Mode Overrides: Robo Popup, Mockup Dropdowns & Modals
   ========================================================================== */
html[data-theme="light"] .robo-popup {
  background: #ffffff !important;
  border: 1px solid rgba(10, 10, 12, 0.14) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 4px 18px rgba(76, 110, 245, 0.12) !important;
}

html[data-theme="light"] .robo-popup-header {
  background: #f8f9fa !important;
  border-bottom: 1px solid rgba(10, 10, 12, 0.08) !important;
}

html[data-theme="light"] .robo-popup-title h4 {
  color: #16161a !important;
}

html[data-theme="light"] .robo-close-btn {
  border: 1px solid rgba(10, 10, 12, 0.12) !important;
  color: #58585f !important;
  background: #f1f3f5 !important;
}

html[data-theme="light"] .robo-close-btn:hover {
  color: #16161a !important;
  border-color: #4c6ef5 !important;
  background: #e9ecef !important;
}

html[data-theme="light"] .robo-popup-body {
  background: #ffffff !important;
}

html[data-theme="light"] .robo-msg-bubble {
  background: #f1f3f5 !important;
  border: 1px solid rgba(10, 10, 12, 0.08) !important;
  color: #16161a !important;
}

html[data-theme="light"] .robo-action-link {
  background: #f8f9fa !important;
  border: 1px solid rgba(10, 10, 12, 0.1) !important;
  color: #16161a !important;
}

html[data-theme="light"] .robo-action-link:hover,
html[data-theme="light"] .robo-action-link:focus,
html[data-theme="light"] .robo-action-link:active {
  border-color: #4c6ef5 !important;
  background: #eef2ff !important;
  color: #364fc7 !important;
}

html[data-theme="light"] .robo-dropdown-btn {
  background: #f8f9fa !important;
  border: 1px solid rgba(10, 10, 12, 0.1) !important;
  color: #16161a !important;
}

html[data-theme="light"] .robo-dropdown-btn:hover {
  background: #eef2ff !important;
  border-color: #4c6ef5 !important;
  color: #364fc7 !important;
}

html[data-theme="light"] .robo-dropdown-btn.is-active {
  border-color: #4c6ef5 !important;
  background: #eef2ff !important;
  color: #364fc7 !important;
}

html[data-theme="light"] .robo-dropdown-menu {
  background: transparent !important;
}

html[data-theme="light"] .robo-sub-action-link {
  background: #ffffff !important;
  border: 1px solid rgba(10, 10, 12, 0.12) !important;
  color: #212529 !important;
  font-weight: 500 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .robo-sub-action-link:hover,
html[data-theme="light"] .robo-sub-action-link:focus,
html[data-theme="light"] .robo-sub-action-link:active {
  border-color: #4c6ef5 !important;
  background: #eef2ff !important;
  color: #1c7ed6 !important;
}

html[data-theme="light"] .mockup-modal-window {
  background: #ffffff !important;
  border: 1px solid rgba(10, 10, 12, 0.14) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="light"] .mockup-modal-header {
  background: #f8f9fa !important;
  border-bottom: 1px solid rgba(10, 10, 12, 0.08) !important;
}

html[data-theme="light"] .mockup-modal-title h3 {
  color: #16161a !important;
}

html[data-theme="light"] .mockup-modal-btn {
  background: #ffffff !important;
  border: 1px solid rgba(10, 10, 12, 0.12) !important;
  color: #495057 !important;
}

html[data-theme="light"] .mockup-modal-btn:hover {
  background: #eef2ff !important;
  color: #364fc7 !important;
  border-color: #4c6ef5 !important;
}

html[data-theme="light"] .team-simple-card {
  background: #ffffff !important;
  border: 1px solid rgba(10, 10, 12, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] .team-simple-title {
  color: #16161a !important;
}

html[data-theme="light"] .team-simple-box {
  background: #f8f9fa !important;
  border: 1px solid rgba(10, 10, 12, 0.08) !important;
}

html[data-theme="light"] .team-simple-val {
  color: #16161a !important;
}

html[data-theme="light"] .team-simple-label {
  color: #6c757d !important;
}

html[data-theme="light"] .team-simple-close {
  background: #f1f3f5 !important;
  border: 1px solid rgba(10, 10, 12, 0.1) !important;
  color: #58585f !important;
}

html[data-theme="light"] .team-simple-close:hover {
  color: #16161a !important;
  border-color: var(--accent) !important;
}