/* Components */

/* ---- Wordmark ---- */
.wordmark {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.wordmark__icon {
  position: relative;
  flex-shrink: 0;
  font-size: 1.8em;
  line-height: 1;
  margin-block: -0.3em;  /* keep nav height tight */
}

.wordmark__icon::after {
  content: '';
  position: absolute;
  top: 58%;
  left: 50%;
  width: 0.12em;
  height: 0.12em;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ---- Logo (standalone hero "o" + dot) ---- */
.logo {
  position: relative;
  display: inline-block;
  font-family: var(--font);
  font-weight: 400;
  font-size: 10rem;
  line-height: 1;
  color: var(--text);
  user-select: none;
  -webkit-user-select: none;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.logo__dot {
  position: absolute;
  width: 0.055em;
  height: 0.055em;
  background: currentColor;
  border-radius: 50%;
  top: 58%;    /* fallback; JS overrides with exact font-metric value */
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* ---- Hero Logo (lockup easter egg) ---- */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  cursor: pointer;
}

.hero-logo .logo {
  margin: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

.hero-logo__text {
  font-family: var(--font);
  font-weight: 400;
  font-size: 10rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease;
}

/* Left text ("ips") reveals right-to-left via RTL direction */
.hero-logo__left {
  direction: rtl;
}

.hero-logo.lockup-visible .hero-logo__text {
  opacity: 1;
}

.hero-logo.lockup-visible .hero-logo__left {
  max-width: 2em;
}

.hero-logo.lockup-visible .hero-logo__right {
  max-width: 2.5em;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: var(--text-small);
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border: 1.5px solid var(--text);
}

.btn--primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-strong);
}

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

.btn[data-tooltip] { position: relative; }

.btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.3rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}

.btn[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Nav Link ---- */
.nav-link {
  font-size: var(--text-small);
  font-weight: 450;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}

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

/* ---- Theme Toggle ---- */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--surface);
}

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

/* Sun icon hidden in dark, shown in light */
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
[data-theme="light"] .theme-toggle__sun { display: block; }
[data-theme="light"] .theme-toggle__moon { display: none; }

/* ---- Hamburger ---- */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  z-index: 102;
  padding: 4px 0;
}

@media (min-width: 768px) {
  .hamburger { display: none; }
}

.hamburger__line {
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: all var(--dur) var(--ease);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.hamburger.active .hamburger__line:nth-child(2) { opacity: 0; }

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ---- Hero ---- */
.hero__headline {
  font-size: var(--text-hero);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.hero__sub {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ---- Section Headings ---- */
.section__label {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.section__heading {
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.section__body {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

.section__body--centered {
  margin-inline: auto;
}

/* ---- Feature Section ---- */
.feature__label {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.feature__heading {
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.feature__body {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Phone Mockup ---- */
.phone {
  width: 260px;
  height: 530px;
  background: var(--phone-bg);
  border-radius: 40px;
  padding: 7px;
  flex-shrink: 0;
  margin-inline: auto;
  box-shadow:
    inset 0 0 0 1px var(--phone-border),
    0 30px 80px -20px rgba(0, 0, 0, 0.5);
  transition: box-shadow var(--dur) var(--ease);
}

[data-theme="light"] .phone {
  box-shadow:
    inset 0 0 0 1px var(--phone-border),
    0 30px 80px -20px rgba(0, 0, 0, 0.25);
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: var(--phone-screen);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone__dynamic-island {
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  margin: 10px auto 0;
  position: relative;
  z-index: 1;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 24px 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.phone__status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.phone__status-icons span {
  display: block;
}

/* Signal bars */
.phone__signal {
  display: flex;
  gap: 1px;
  align-items: flex-end;
  height: 10px;
}

.phone__signal span {
  width: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.5px;
}

.phone__signal span:nth-child(1) { height: 3px; }
.phone__signal span:nth-child(2) { height: 5px; }
.phone__signal span:nth-child(3) { height: 7px; }
.phone__signal span:nth-child(4) { height: 10px; }

/* Battery */
.phone__battery {
  width: 22px;
  height: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 2.5px;
  position: relative;
}

.phone__battery::before {
  content: '';
  position: absolute;
  right: -4px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 1px 1px 0;
}

.phone__battery::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
}

.phone__content {
  flex: 1;
  padding: 4px 16px;
  overflow: hidden;
  text-align: left;
}

/* Legacy phone tab bar — kept for fallback, replaced by .mock-tabbar via JS */
.phone__tab-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone__tab-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.phone__tab-icon--active {
  background: rgba(255, 255, 255, 0.25);
}

/* ---- Desktop Mockup ---- */
.desktop {
  width: 560px;
  height: 380px;
  background: var(--desktop-bg);
  border-radius: 12px;
  padding: 0;
  flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1px var(--desktop-border),
    0 30px 80px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

[data-theme="light"] .desktop {
  box-shadow:
    inset 0 0 0 1px var(--desktop-border),
    0 30px 80px -20px rgba(0, 0, 0, 0.18);
}

.desktop__titlebar {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  background: var(--desktop-titlebar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.desktop__titlebar-dots {
  display: flex;
  gap: 5px;
}

.desktop__titlebar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--desktop-titlebar-btn);
}

.desktop__titlebar-dot--close { background: #ff5f57; }
.desktop__titlebar-dot--minimize { background: #febc2e; }
.desktop__titlebar-dot--maximize { background: #28c840; }

.desktop__titlebar-title {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 44px; /* offset for dots width so title is truly centered */
}

.desktop__screen {
  flex: 1;
  background: var(--desktop-screen);
  display: flex;
  overflow: hidden;
}

/* ---- Unified Sidebar ---- */
.mock-sidebar {
  width: 140px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  overflow: hidden;
}

.mock-sidebar__nav {
  padding: 8px 6px 4px;
}

.mock-sidebar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  margin-bottom: 1px;
  transition: background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-sidebar__item:hover {
  background: var(--mock-hover-bg);
  color: rgba(255, 255, 255, 0.7);
}

.mock-sidebar__item--active {
  background: var(--mock-active-bg);
  color: var(--mock-active-text);
}

.mock-sidebar__item--active:hover {
  background: var(--mock-active-bg);
  color: var(--mock-active-text);
}

.mock-sidebar__item svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.mock-sidebar__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 8px;
}

.mock-sidebar__drawer {
  flex: 1;
  padding: 4px 6px;
  overflow: hidden;
}

.mock-sidebar__section {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mock-section-label);
  padding: 6px 8px 2px;
}

.mock-sidebar__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  margin-bottom: 1px;
  transition: background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-sidebar__link:hover {
  background: var(--mock-hover-bg);
  color: rgba(255, 255, 255, 0.65);
}

.mock-sidebar__link svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.mock-sidebar__link--nested {
  padding-left: 16px;
}

.mock-sidebar__link--add {
  color: rgba(255, 255, 255, 0.25);
}

.mock-sidebar__braindump {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.mock-sidebar__braindump svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* ---- Unified Phone Tab Bar ---- */
.mock-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-tabbar__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--dur-fast);
}

.mock-tabbar__tab--active {
  color: var(--accent);
}

.mock-tabbar__tab svg {
  width: 16px;
  height: 16px;
}

.mock-tabbar__tab span {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---- Interactive Tab System ---- */
.mock-tabs {
  display: flex;
  gap: 4px;
  padding: 0 0 6px;
}

.mock-tabs__tab {
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.mock-tabs__tab:hover {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
}

.mock-tabs__tab--active {
  background: var(--accent-dim);
  color: var(--mock-active-text);
  border-color: transparent;
}

.mock-tabs__tab--active:hover {
  background: var(--accent-dim);
  color: var(--mock-active-text);
}

.mock-panel {
  display: none;
}

.mock-panel--active {
  display: block;
}

/* ---- Mock Content Area ---- */
.mock-content {
  flex: 1;
  padding: 10px;
  overflow: hidden;
}

.mock-content__header {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.mock-content__subheader {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

/* View switcher badge (for Projects) */
.mock-view-badge {
  display: inline-block;
  padding: 1px 5px;
  font-size: 8px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(40, 200, 64, 0.15);
  color: rgba(40, 200, 64, 0.8);
}

/* ---- Mock Row (generic task/item row) ---- */
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 10px;
}

.mock-row__title {
  flex: 1;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 450;
}

.mock-row__meta {
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
}

.mock-row__type {
  display: inline-block;
  padding: 1px 5px;
  font-size: 8px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mock-row__type--pm {
  background: rgba(40, 200, 64, 0.15);
  color: rgba(40, 200, 64, 0.8);
}

.mock-row__type--cm {
  background: rgba(255, 149, 0, 0.15);
  color: rgba(255, 149, 0, 0.8);
}

/* Chip row (filter chips) */
.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 4px 0;
}

.mock-chip {
  padding: 2px 6px;
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
}

.mock-chip--active {
  background: var(--accent-dim);
  color: var(--mock-active-text);
  border-color: transparent;
}

/* Stat cards row */
.mock-stat-cards {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.mock-stat-card {
  flex: 1;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  text-align: center;
}

.mock-stat-card__value {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mock-stat-card__label {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

/* Desktop kanban board */
.mock-kanban {
  display: flex;
  gap: 8px;
  padding: 0;
  overflow: hidden;
}

.mock-kanban__col {
  flex: 1;
  min-width: 0;
}

.mock-kanban__col-header {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-kanban__card {
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 450;
}

.mock-kanban__card-meta {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2px;
}

/* Desktop strategy picker grid */
.mock-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-content: start;
}

.mock-strategy-grid__header {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}

.mock-strategy-tile {
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  text-align: center;
}

.mock-strategy-tile__icon {
  font-size: 16px;
  margin-bottom: 2px;
}

.mock-strategy-tile__name {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.mock-strategy-tile--active {
  border-color: rgba(124, 58, 237, 0.3);
  background: var(--accent-dim);
}

/* Desktop settings panel */
.mock-settings {
  overflow: hidden;
}

.mock-settings__header {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.mock-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 10px;
}

.mock-setting-row__label {
  color: rgba(255, 255, 255, 0.5);
}

.mock-setting-row__value {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.mock-setting-row__value--on {
  color: rgba(40, 200, 64, 0.8);
}

.mock-setting-row__value--zero {
  color: rgba(255, 255, 255, 0.4);
}

/* Desktop file browser */
.mock-files {
  display: flex;
  overflow: hidden;
}

.mock-file-tree {
  width: 100px;
  padding: 8px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-file-tree__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  margin-bottom: 1px;
}

.mock-file-tree__item--active {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

.mock-file-preview {
  flex: 1;
  padding: 8px;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 9px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.mock-file-preview__key { color: rgba(255, 255, 255, 0.3); }
.mock-file-preview__value { color: rgba(255, 255, 255, 0.7); }
.mock-file-preview__heading { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

/* Main panel (switchable content area for interactive sidebar) */
.mock-main-panel {
  display: none;
  flex: 1;
  overflow: hidden;
}

.mock-main-panel--active {
  display: flex;
  flex-direction: column;
}

/* Dashboard grid */
.mock-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0;
}

.mock-dashboard__card {
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.mock-dashboard__card-title {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
}

.mock-dashboard__card-value {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mock-dashboard__card-sub {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
}

/* Phone: Chore checklist */
.mock-chore-header {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0 2px;
}

.mock-chore-subheader {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.mock-chore-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}

.mock-chore-progress__fill {
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  width: 33%;
}

.mock-chore-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-chore-step__num {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}

.mock-chore-step__num--done {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.mock-chore-step__num--active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.mock-chore-step__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 450;
}

.mock-chore-step__text--done {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
}

/* Phone: Waypoint timeline */
.mock-waypoint-list {
  padding: 4px 0;
}

.mock-waypoint {
  display: flex;
  gap: 10px;
  padding: 0 0 0 0;
  min-height: 48px;
}

.mock-waypoint__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
}

.mock-waypoint__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  margin-top: 4px;
}

.mock-waypoint__dot--done {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.mock-waypoint__dot--active {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

.mock-waypoint__line {
  flex: 1;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.08);
  margin: 3px 0;
}

.mock-waypoint__line--done {
  background: rgba(255, 255, 255, 0.2);
}

.mock-waypoint__content {
  flex: 1;
  padding-bottom: 12px;
}

.mock-waypoint__title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.mock-waypoint__title--done {
  color: rgba(255, 255, 255, 0.35);
}

.mock-waypoint__title--active {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.mock-waypoint__meta {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2px;
}

.mock-waypoint__badge {
  display: inline-block;
  padding: 1px 5px;
  font-size: 8px;
  font-weight: 500;
  border-radius: 4px;
  margin-top: 3px;
}

.mock-waypoint__badge--done {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
}

.mock-waypoint__badge--active {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.mock-waypoint__badge--upcoming {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.25);
}

/* Phone: Vault list (cross-platform) */
.mock-vault-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-vault-row__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  flex-shrink: 0;
}

.mock-vault-row__name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.mock-vault-row__count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
}

.mock-vault-row__arrow {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

.mock-vault-sync {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---- Calendar Grid ---- */
.mock-calendar {
  margin-top: 4px;
}

.mock-calendar__header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.mock-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.mock-calendar__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  position: relative;
}

.mock-calendar__day--empty {
  color: transparent;
}

.mock-calendar__day--today {
  background: var(--accent-dim);
  color: var(--mock-active-text);
  font-weight: 600;
}

.mock-calendar__day--has-event::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Export Popup Overlay ---- */
.mock-export-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 260px;
  background: rgba(30, 30, 34, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 2;
  overflow: hidden;
}

.mock-export-popup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mock-export-popup__close {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
  cursor: default;
}

.mock-export-popup__content {
  padding: 8px 10px;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 8px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.mock-export-popup__footer {
  display: flex;
  justify-content: flex-end;
  padding: 6px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-export-popup__btn {
  display: inline-block;
  padding: 3px 10px;
  font-size: 9px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.mock-settings--dimmed {
  opacity: 0.3;
}

/* ---- Brain Dump Capture ---- */
.mock-braindump-capture {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 8px;
}

.mock-braindump-input {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
}

.mock-braindump-actions {
  display: flex;
  gap: 4px;
}

.mock-braindump-capture--mobile {
  padding: 14px;
  margin-bottom: 12px;
}

.mock-braindump-capture--mobile .mock-braindump-input {
  font-size: 14px;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ---- App Bar — Tasks variant ---- */
.mock-app-bar--tasks {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 10px;
}

.mock-app-bar__menu {
  flex-shrink: 0;
}

.mock-app-bar--tasks .mock-app-bar__title {
  flex: 1;
}

.mock-app-bar__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* ---- Section Header ---- */
.mock-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-section-header__label {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mock-section-header__chevron {
  flex-shrink: 0;
}

/* ---- Flag indicators ---- */
.mock-flag {
  display: inline-block;
  width: 8px;
  height: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
}

.mock-flag--red { background: #ef4444; }
.mock-flag--orange { background: #f97316; }
.mock-flag--yellow { background: #eab308; }

/* ---- FAB ---- */
.mock-fab {
  position: absolute;
  bottom: 50px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
  /* Optical centering — "+" glyph sits slightly high in Jost */
  padding-top: 1px;
  padding-left: 0.5px;
}

/* Phone content needs positioning context for FAB */
.phone__content {
  position: relative;
}

/* Hide desktop on mobile */
@media (max-width: 767px) {
  .desktop { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .desktop {
    width: 460px;
    height: 310px;
  }

  .desktop__titlebar { height: 24px; }
  .desktop__titlebar-dot { width: 7px; height: 7px; }
  .desktop__titlebar-title { font-size: 9px; }
  .mock-sidebar { width: 110px; }
  .mock-sidebar__item { font-size: 9px; padding: 3px 6px; }
  .mock-sidebar__link { font-size: 8px; }
  .mock-sidebar__section { font-size: 7px; }
}

/* ---- Phone Screen Content Styles ---- */
.mock-header {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  padding: 8px 0 12px;
}

.mock-task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  margin-top: 1px;
}

.mock-checkbox--done {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  position: relative;
}

.mock-checkbox--done::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 3px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.mock-task-text {
  flex: 1;
}

.mock-task-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

/* ---- Enhanced Mockup Styles ---- */

/* App bar */
.mock-app-bar {
  padding: 4px 0 10px;
}

.mock-app-bar__greeting {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.mock-app-bar__title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

/* Task cards (Material 3 style) */
.mock-task-card {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 6px;
}

.mock-task-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

.mock-task-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.mock-badge {
  display: inline-block;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 500;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.mock-badge--strategy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Energy indicator dots */
.mock-energy {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mock-energy--high { background: rgba(255, 255, 255, 0.6); }
.mock-energy--low { background: rgba(255, 255, 255, 0.2); }

/* Strategy card (bottom) */
.mock-strategy-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-top: 10px;
}

.mock-strategy-card__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  flex-shrink: 0;
}

.mock-strategy-card__label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-strategy-card__name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mock-strategy-card__desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}

/* Encryption lock (animated) */
.mock-lock-container {
  text-align: center;
  padding: 12px 0 16px;
}

.mock-lock-icon {
  width: 44px;
  height: 56px;
  margin: 0 auto 10px;
  position: relative;
}

.mock-lock-icon__shackle {
  width: 24px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: bottom right;
}

.mock-lock-icon__body {
  width: 36px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mock-lock-icon__keyhole {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.mock-lock-icon__keyhole::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
}

.mock-lock-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.mock-lock-sublabel {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

.mock-stat {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.mock-stat-label { color: rgba(255, 255, 255, 0.4); }
.mock-stat-value { color: rgba(255, 255, 255, 0.8); font-weight: 500; }
.mock-stat-value--zero { color: rgba(255, 255, 255, 0.5); }

/* Markdown screen */
.mock-code {
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.mock-code-key { color: rgba(255, 255, 255, 0.3); }
.mock-code-value { color: rgba(255, 255, 255, 0.7); }
.mock-code-heading { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

.mock-cursor {
  display: inline-block;
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.6);
  vertical-align: text-bottom;
  margin-left: 1px;
}

/* ---- Waitlist Form ---- */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 400px;
  margin-inline: auto;
}

.waitlist-form__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: var(--text-small);
  outline: none;
  transition: border-color var(--dur-fast);
}

.waitlist-form__input::placeholder { color: var(--text-tertiary); }
.waitlist-form__input:focus { border-color: var(--text-secondary); }

.waitlist-form__success {
  text-align: center;
  font-size: var(--text-body);
  color: var(--text);
  padding: var(--space-lg);
  font-weight: 500;
}

/* ---- Scroll Indicator ---- */
.scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Focus States ---- */
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---- Product Reveal (myAtlas brand) ---- */
.product-reveal {
  padding-block: var(--space-section);
}

.product-reveal__logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.product-reveal__icon {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 24px rgba(124, 58, 237, 0.35));
}

[data-theme="light"] .product-reveal__icon {
  filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.2));
}

.product-reveal__name {
  font-family: var(--font);
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.product-reveal__name-my {
  font-weight: 400;
}

.product-reveal__name-atlas {
  font-weight: 600;
}

.product-reveal__tagline {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-md);
}

.product-reveal__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-size: var(--text-small);
  font-weight: 500;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  margin-inline: auto;
}

.product-reveal__cta:hover {
  opacity: 0.8;
  transform: translateY(2px);
}

/* Center the CTA within the narrow container */
.product-reveal .container--narrow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 767px) {
  .product-reveal__icon {
    width: 96px;
    height: 96px;
  }

  .product-reveal__name {
    font-size: var(--text-h2);
  }
}

/* ---- Responsive tweaks ---- */
@media (max-width: 767px) {
  .logo {
    font-size: 7rem;
  }

  .hero-logo__text {
    font-size: 7rem;
  }

  .section--hero {
    overflow: hidden;
  }

  .hero-logo.visible {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .hero-logo.visible.lockup-visible {
    transform: scale(0.543);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .phone {
    width: 240px;
    height: 480px;
    border-radius: 34px;
  }

  .phone__screen { border-radius: 28px; }
  .phone__dynamic-island { width: 72px; height: 20px; }

  .phone__content {
    padding: 4px 8px;
    gap: 2px;
  }

  .mock-task-card {
    padding: 4px 4px;
    gap: 4px;
    margin-bottom: 4px;
  }

  .mock-app-bar {
    padding: 2px 0 6px;
  }

  .mock-strategy-card {
    margin-top: 6px;
    padding: 8px 10px;
  }

  .mock-tabbar {
    padding: 6px 8px 14px;
  }

  .waitlist-form { max-width: 100%; }
}

@media (min-width: 768px) {
  .waitlist-form {
    flex-direction: row;
  }
}

/* ---- Beta Badge ---- */
.badge--beta {
  display: inline-block;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent);
  border-radius: var(--radius-pill);
  vertical-align: middle;
  margin-left: 6px;
}

/* ---- Braindump Capture Full ---- */
.mock-braindump-capture--full {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  min-height: 160px;
}

.mock-braindump-capture--full .mock-braindump-input {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ---- Ipso One Tier Cards ---- */
.ipso-one__tiers {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.ipso-one__tier {
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 200px;
  max-width: 260px;
}

.ipso-one__tier--accent {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.05);
}

.ipso-one__tier-name { font-weight: 600; font-size: var(--text-small); text-transform: uppercase; letter-spacing: 0.05em; }
.ipso-one__tier-price { font-size: var(--text-h2); font-weight: 700; margin: var(--space-xs) 0; }
.ipso-one__tier-desc { font-size: var(--text-small); color: var(--text-secondary); }
