/* MacDefier Showcase — Aligned with SpeakSend Brick Studio Design System + Native MDTheme #007AFF */

:root {
  --bg: #f4efe5;
  --bg-deep: #ebe3d4;
  --surface: #fffefb;
  --surface-warm: #faf6ee;
  --ink: #1d1b17;
  --ink-soft: #4a4339;
  --ink-muted: #786f61;
  --blue: #007aff;
  --blue-lip: #0051b3;
  --blue-tint: #eef5ff;
  --orange: #c44b25;
  --orange-lip: #8b2f12;
  --orange-tint: #fdf1ec;
  --navy: #1c3254;
  --navy-lip: #101e34;
  --navy-tint: #edf2f8;
  --green: #248a3d;
  --green-tint: rgba(52, 199, 89, 0.14);
  --amber: #b25e00;
  --amber-tint: rgba(255, 149, 0, 0.14);
  --border: rgba(110, 94, 74, 0.20);
  --border-strong: rgba(110, 94, 74, 0.34);
  --shadow-brick: 0 6px 0 rgba(104, 88, 68, 0.15), 0 20px 44px rgba(38, 31, 20, 0.08);
  --shadow-window: 0 28px 70px rgba(24, 20, 14, 0.14), 0 4px 16px rgba(24, 20, 14, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, monospace;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 14px 14px, rgba(145, 126, 98, 0.13) 2.3px, transparent 2.7px);
  background-size: 32px 32px;
  color: var(--ink);
  line-height: 1.62;
  overflow-x: clip;
  max-width: 100%;
}

main, section, .container { min-width: 0; max-width: 100%; }
code { overflow-wrap: anywhere; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.16; text-wrap: balance; }
p { text-wrap: pretty; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* TOP BRAND ROW */
.top-brand {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 32px;
}
.brand-mark { display: inline-flex; align-items: center; gap: 15px; }
.brand-mark img {
  width: 58px; height: 58px; border-radius: 15px;
  box-shadow: 0 8px 20px rgba(28, 34, 48, 0.16);
}
.brand-mark__text { display: flex; flex-direction: column; gap: 2px; }
.brand-mark__text strong { font-size: 25px; font-weight: 900; letter-spacing: -0.025em; color: var(--ink); }
.brand-mark__text span { font-size: 13px; color: var(--ink-muted); font-weight: 600; }




/* HERO */
.hero { padding: 48px 0 56px; }
.hero__intro { text-align: center; max-width: 820px; margin-inline: auto; }
.hero__intro h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; color: var(--ink); }
.hero__intro h1 span { color: var(--blue); }
.hero__sub { margin: 20px auto 0; max-width: 680px; font-size: 17px; color: var(--ink-soft); }

.hero__cta { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }






.hero__meta { font-size: 13.5px; color: var(--ink-muted); font-weight: 600; }

/* HERO SHOWCASE: AUTHENTIC 7-TAB WORKBENCH + MENUBAR POPOVER */
.hero__showcase { margin-top: 44px; }
.md-hero-stage { position: relative; max-width: 1080px; margin-inline: auto; padding-right: 112px; }

.md-win {
  background: #f7f8fb; border-radius: 18px; border: 1px solid rgba(29, 29, 31, 0.12);
  box-shadow: var(--shadow-window); overflow: hidden;
}
.md-win__titlebar {
  height: 40px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between;
  background: #f7f8fb;
}
.md-win__tb-left { display: flex; align-items: center; gap: 14px; }
.macos-lights { display: inline-flex; gap: 7px; }
.macos-lights i { display: block; width: 11px; height: 11px; border-radius: 50%; }
.macos-lights .is-red { background: #ff5f57; }
.macos-lights .is-amber { background: #febc2e; }
.macos-lights .is-green { background: #28c840; }
.md-win__name { font-size: 13.5px; font-weight: 700; color: #1d1d1f; }
.md-win__pill {
  font-size: 11.5px; font-weight: 600; color: #6b7280; background: #eceef4;
  padding: 3px 10px; border-radius: 999px;
}

.md-glass-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 3px;
  width: fit-content; max-width: calc(100% - 32px); margin: 2px auto 12px;
  padding: 4px; background: #eef0f5; border-radius: 999px;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}
.md-tab {
  border: none; background: transparent; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 500; color: #4a4a52; padding: 6px 14px; border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease;
}
.md-tab:hover { background: rgba(0, 0, 0, 0.05); }
.md-tab.is-active {
  background: #ffffff; color: #18181b; font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.md-win__body {
  padding: 6px 24px 22px; display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.md-diag-head { display: flex; align-items: center; justify-content: space-between; }
.md-hello { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px; }
.md-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #007aff, #5ac8fa);
  color: #fff; font-style: normal; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.md-diag-title { font-size: 21px; font-weight: 800; color: #18181b; }

.md-card {
  background: #ffffff; border-radius: 13px; border: 0.5px solid rgba(0, 0, 0, 0.08);
  padding: 13px 16px; display: flex; flex-direction: column; gap: 10px;
}
.md-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #6b7280; }
.md-finding {
  display: flex; align-items: flex-start; gap: 11px; padding-top: 9px;
  border-top: 0.5px solid rgba(60, 60, 67, 0.12);
}
.md-finding__icon {
  width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.md-finding__icon.is-warn { background: var(--amber-tint); color: var(--amber); }
.md-finding__icon.is-info { background: var(--blue-tint); color: var(--blue); }
.md-finding__copy { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.md-finding__copy strong { font-size: 13.5px; color: #18181b; }
.md-finding__copy span { font-size: 12px; color: #52525b; }
.md-finding__act { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.md-finding__act b { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.md-finding__act b.is-amber { color: var(--amber); }
.md-finding__act b.is-blue { color: var(--blue); }
.md-finding__act span {
  font-size: 11.5px; font-weight: 600; color: var(--blue); background: var(--blue-tint);
  padding: 3px 9px; border-radius: 6px;
}

.md-live-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #eef0f5;
  border-radius: 11px; padding: 10px 0;
}
.md-live-strip > div {
  padding: 0 16px; display: flex; flex-direction: column; gap: 2px;
  border-right: 0.5px solid rgba(60, 60, 67, 0.16);
}
.md-live-strip > div:last-child { border-right: none; }
.md-live-strip span { font-size: 11px; color: #6b7280; font-weight: 600; }
.md-live-strip strong { font-size: 16px; font-weight: 700; color: #18181b; font-variant-numeric: tabular-nums; }

.md-pet-dock {
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; margin-top: 2px;
}
.md-pet-bubble {
  background: #ffffff; border: 0.75px solid rgba(0, 0, 0, 0.10); border-radius: 12px;
  padding: 9px 13px; max-width: 310px; font-size: 12px; color: #1d1d1f;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.md-pet-bubble strong { color: var(--blue); }
.md-pet-real { width: 58px; height: auto; flex: none; filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.14)); }

/* MenuBar Popover */
.md-menubar-pop {
  position: absolute; right: 0; top: -18px; width: 268px; z-index: 5;
  background: rgba(247, 248, 251, 0.96); backdrop-filter: blur(16px);
  border-radius: 14px; border: 0.75px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.20); padding: 11px;
  display: flex; flex-direction: column; gap: 8px;
}
.md-mb__chips { display: flex; gap: 5px; flex-wrap: wrap; }
.md-mb__chips span {
  font-size: 10.5px; font-weight: 600; background: #e5e7eb; color: #374151;
  padding: 2px 7px; border-radius: 5px;
}
.md-mb__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.md-mb__cell {
  background: #ffffff; border-radius: 9px; border: 0.5px solid rgba(0, 0, 0, 0.07);
  padding: 8px 10px; display: flex; flex-direction: column; gap: 3px;
}
.md-mb__top { display: flex; justify-content: space-between; font-size: 10.5px; color: #6b7280; font-weight: 600; }
.md-mb__top i { font-style: normal; }
.md-mb__top i.is-green { color: var(--green); }
.md-mb__cell strong { font-size: 16px; font-weight: 700; color: #18181b; font-variant-numeric: tabular-nums; }
.md-mb__cell small { font-size: 10.5px; color: #6b7280; }
.md-core-bars { display: flex; align-items: flex-end; gap: 2.5px; height: 15px; margin-top: 2px; }
.md-core-bars i { flex: 1; background: #34c759; border-radius: 1.5px; display: block; }

/* BADGES */
.md-badge {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.md-badge--blue { background: var(--blue-tint); color: var(--blue); }
.md-badge--green { background: var(--green-tint); color: var(--green); }
.md-badge--amber { background: var(--amber-tint); color: var(--amber); }
.md-badge--gray { background: #eef0f5; color: #52525b; }

/* THREE LEGO BRICKS */
.trio-section { padding: 36px 0 68px; }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trio-brick {
  background: var(--surface); border-radius: 20px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-brick); overflow: hidden;
}
.stud-bar {
  display: flex; gap: 14px; justify-content: center; padding: 9px 16px;
}
.stud-bar span {
  width: 24px; height: 9px; border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.28);
}
.stud-bar--blue { background: var(--blue); }
.stud-bar--navy { background: var(--navy); }
.stud-bar--orange { background: var(--orange); }
.trio-brick__inner { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.trio-num { font-size: 12px; font-weight: 800; color: var(--ink-muted); letter-spacing: 0.04em; }
.trio-brick__inner h2 { font-size: 22px; font-weight: 900; color: var(--ink); }
.trio-brick__inner p { font-size: 14.5px; color: var(--ink-soft); }

/* SPOTLIGHT SECTIONS */
.spot-section { padding: 56px 0; }
.spot-grid { display: grid; grid-template-columns: 0.92fr 1.18fr; gap: 40px; align-items: center; }
.brick-tag {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; margin-bottom: 14px;
}
.brick-tag--blue { background: var(--blue-tint); color: var(--blue); }
.brick-tag--navy { background: var(--navy-tint); color: var(--navy); }
.brick-tag--dark-blue { background: rgba(10, 132, 255, 0.22); color: #64d2ff; }
.spot-copy h2 { font-size: clamp(28px, 3.3vw, 38px); font-weight: 900; color: var(--ink); }
.spot-copy p { margin-top: 16px; font-size: 16px; color: var(--ink-soft); }

.scene-pills { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; }



.macos-card {
  background: #ffffff; border-radius: 16px; border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: var(--shadow-window); overflow: hidden;
}
.macos-card__bar {
  height: 40px; padding: 0 16px; background: #f7f8fb; border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  display: flex; align-items: center; gap: 12px;
}
.macos-card__app { font-size: 12.5px; font-weight: 700; color: #18181b; }
.macos-card__badge {
  margin-left: auto; font-size: 11px; font-weight: 700; color: var(--green);
  background: var(--green-tint); padding: 2px 9px; border-radius: 999px;
}
.macos-card__content { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.macos-card__content[hidden] { display: none; }

.cleanup-list { display: flex; flex-direction: column; gap: 8px; }
.cleanup-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  background: #f7f8fb; border: 0.5px solid rgba(0, 0, 0, 0.06); cursor: pointer;
}
.cleanup-item.is-protected { background: #fafafa; opacity: 0.85; cursor: default; }
.cleanup-chk { width: 17px; height: 17px; accent-color: var(--blue); cursor: pointer; flex: none; }
.prot-dash {
  width: 17px; height: 17px; border-radius: 4px; background: #e5e7eb; color: #6b7280;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none;
}
.cleanup-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cleanup-item__info strong { font-size: 13px; color: #18181b; }
.cleanup-item__info code {
  font-family: var(--mono); font-size: 11px; color: #6b7280;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cleanup-size { font-size: 13px; font-weight: 700; color: #18181b; font-variant-numeric: tabular-nums; flex: none; }
.cleanup-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 10px; border-top: 0.5px solid rgba(0, 0, 0, 0.08); font-size: 12.5px; color: #4b5563;
}
.cleanup-btn {
  background: var(--blue); color: #ffffff; font-size: 12.5px; font-weight: 700;
  padding: 6px 14px; border-radius: 8px; white-space: nowrap;
}

.replay-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--blue-tint); padding: 11px 14px; border-radius: 10px;
}
.replay-banner strong { display: block; font-size: 13.5px; color: #18181b; }
.replay-banner span { font-size: 12px; color: #4b5563; }
.replay-scrub { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #4b5563; }
.replay-btns { display: flex; gap: 6px; }
.replay-pt {
  border: 1px solid rgba(0, 0, 0, 0.12); background: #f7f8fb; color: #374151;
  border-radius: 999px; padding: 5px 11px; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.replay-pt.is-active { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.replay-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.replay-metrics > div { background: #f7f8fb; border-radius: 9px; padding: 10px; }
.replay-metrics span { display: block; font-size: 11px; color: #6b7280; }
.replay-metrics strong { font-size: 15px; color: #18181b; font-variant-numeric: tabular-nums; }
.replay-snapshot {
  background: #f0fdf4; border: 0.5px solid rgba(36, 138, 61, 0.25); border-radius: 10px;
  padding: 11px 14px; display: flex; flex-direction: column; gap: 3px;
}
.replay-snapshot strong { font-size: 13px; color: #166534; }
.replay-snapshot span { font-size: 12px; color: #15803d; }

/* WIDE WORKBENCH (TREEMAP + UNINSTALL) */
.center-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.center-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; color: var(--ink); }
.center-head p { margin-top: 14px; font-size: 16.5px; color: var(--ink-soft); }
.center-head--dark h2 { color: #f8fafc; }
.center-head--dark p { color: #a1a1aa; }

.md-workbench {
  background: #ffffff; border-radius: 18px; border: 1px solid rgba(0, 0, 0, 0.11);
  box-shadow: var(--shadow-window); overflow: hidden;
}
.md-wb__bar {
  padding: 12px 18px; background: #f7f8fb; border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.md-wb__left { display: flex; align-items: center; gap: 14px; }
.md-wb__left strong { font-family: var(--mono); font-size: 13px; color: #18181b; }
.md-wb__seg { display: inline-flex; background: #e5e7eb; padding: 3px; border-radius: 999px; gap: 2px; }
.md-wb__seg-btn {
  border: none; background: transparent; padding: 5px 14px; border-radius: 999px;
  font-family: inherit; font-size: 12.5px; font-weight: 700; color: #4b5563; cursor: pointer;
}
.md-wb__seg-btn.is-active { background: #ffffff; color: #18181b; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10); }

.md-wb__pane { padding: 18px; }
.treemap-wrap { display: grid; grid-template-columns: 1.45fr 0.95fr; gap: 18px; align-items: stretch; }
.treemap-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
  background: #e5e7eb; padding: 6px; border-radius: 12px; min-height: 290px;
}
.tm-col { display: flex; flex-direction: column; gap: 8px; }
.tm-row { display: flex; gap: 8px; flex: 1; }
.tm-cell {
  border: 2px solid transparent; border-radius: 9px; padding: 14px; color: #ffffff; text-align: left;
  font-family: inherit; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.tm-cell:hover { transform: scale(0.99); }
.tm-cell.is-selected { border-color: #ffffff; box-shadow: 0 0 0 2px #18181b; }
.tm-cell strong { font-size: 14px; font-weight: 800; }
.tm-cell span { font-size: 12px; opacity: 0.92; font-variant-numeric: tabular-nums; }
.tm-cell.is-blue { background: linear-gradient(145deg, #007aff, #005ecb); }
.tm-cell.is-green { background: linear-gradient(145deg, #34c759, #248a3d); flex: 1.25; }
.tm-cell.is-amber { background: linear-gradient(145deg, #ff9500, #d97706); flex: 1.15; }
.tm-cell.is-purple { background: linear-gradient(145deg, #af52de, #8944ab); flex: 0.95; }

.tm-inspector {
  background: #f7f8fb; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.tm-inspector h3 { font-size: 19px; font-weight: 800; color: #18181b; }
.tm-inspector p { font-size: 12.5px; color: #4b5563; }
.tm-inspector code { font-family: var(--mono); font-size: 11.5px; color: #18181b; }
.tm-inspector ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.tm-inspector li {
  display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px;
  background: #ffffff; border-radius: 8px; font-size: 12.5px;
}
.tm-inspector li b { font-variant-numeric: tabular-nums; color: #18181b; }
.tm-tip { font-size: 12px; color: #6b7280; margin-top: auto; }

.uninstall-preview { display: flex; flex-direction: column; gap: 14px; }
.up-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.up-head h3 { font-size: 18px; font-weight: 800; }
.up-head p { font-size: 13px; color: #6b7280; margin-top: 2px; }
.up-layers { display: flex; flex-direction: column; gap: 9px; }
.up-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  background: #f7f8fb; border-radius: 11px;
}
.up-row > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.up-row strong { font-size: 13px; color: #18181b; font-family: var(--mono); }
.up-row small { font-size: 12px; color: #6b7280; }
.up-row > b { font-size: 13px; color: #18181b; white-space: nowrap; }

/* DARK STAGE */
.dark-stage {
  margin-top: 32px; padding: 78px 0 88px; background: #0c0e14; color: #f8fafc;
}
.dark-window {
  background: #202023; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.52); overflow: hidden;
}
.dark-window__bar {
  padding: 13px 18px; border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.dark-window__left { display: flex; align-items: center; gap: 14px; }
.dark-window__left strong { font-size: 13.5px; color: #f8fafc; }
.ai-mode-switch { display: inline-flex; background: #363639; padding: 3px; border-radius: 999px; gap: 2px; }
.ai-mode-btn {
  border: none; background: transparent; color: #a1a1aa; padding: 5px 14px; border-radius: 999px;
  font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.ai-mode-btn.is-active { background: #0a84ff; color: #ffffff; }

.dark-window__body {
  padding: 20px; display: grid; grid-template-columns: 1.15fr 0.95fr; gap: 18px;
}
.dark-mon-col { display: flex; flex-direction: column; gap: 14px; }
.dark-mon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dark-card {
  background: #2c2c2e; border-radius: 12px; border: 0.5px solid rgba(255, 255, 255, 0.12);
  padding: 13px; display: flex; flex-direction: column; gap: 5px;
}
.dark-card span { font-size: 11.5px; color: #a1a1aa; font-weight: 600; }
.dark-card strong { font-size: 22px; color: #ffffff; font-variant-numeric: tabular-nums; }
.dark-card small { font-size: 11.5px; color: #a1a1aa; }
.dark-card small.is-green { color: #30d158; }

.dark-boundary-card {
  background: #2c2c2e; border-radius: 12px; border: 0.5px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
}
.dark-boundary-card > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.dark-boundary-card span { color: #a1a1aa; }
.dark-boundary-card strong { color: #f8fafc; text-align: right; }
.dark-boundary-card strong.is-green { color: #30d158; }

.dark-chat-col {
  background: #2c2c2e; border-radius: 13px; border: 0.5px solid rgba(255, 255, 255, 0.14);
  overflow: hidden; display: flex; flex-direction: column;
}
.dark-chat__head {
  padding: 11px 14px; border-bottom: 0.5px solid rgba(255, 255, 255, 0.10);
  display: flex; align-items: center; gap: 8px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; }
.dark-chat__head strong { font-size: 13px; color: #ffffff; }
.dark-chat__head small { margin-left: auto; font-size: 11px; color: #a1a1aa; }
.dark-chat__msgs { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { padding: 10px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.55; }
.chat-msg.is-user { align-self: flex-end; background: #0a84ff; color: #ffffff; max-width: 85%; }
.chat-msg.is-ai { align-self: flex-start; background: #363639; color: #f4f4f5; }
.chat-msg.is-ai small { display: block; margin-top: 6px; color: #a1a1aa; font-size: 11.5px; }
.chat-actions { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.chat-actions span {
  background: rgba(10, 132, 255, 0.22); color: #64d2ff; border: 0.5px solid rgba(100, 210, 255, 0.30);
  border-radius: 7px; padding: 4px 10px; font-size: 11.5px; font-weight: 700;
}

/* TRUST & CLOSING */
.trust-section { padding: 72px 0 36px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-brick {
  background: var(--surface); border-radius: 18px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-brick); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.trust-brick h3 { font-size: 20px; font-weight: 900; color: var(--ink); }
.trust-brick p { font-size: 14.5px; color: var(--ink-soft); }

.closing-section { padding: 44px 0 78px; }
.maker-strip {
  display: flex; align-items: center; gap: 32px; background: var(--surface-warm);
  border: 1.5px solid var(--border); border-radius: 22px; padding: 28px 34px;
  box-shadow: var(--shadow-brick); margin-bottom: 34px;
}
.maker-strip img { width: 110px; height: auto; flex: none; }
.maker-strip blockquote { display: flex; flex-direction: column; gap: 10px; }
.maker-strip p { font-size: 16.5px; color: var(--ink); font-weight: 500; }
.maker-strip footer { font-size: 13.5px; color: var(--ink-muted); font-weight: 700; }

.download-brick {
  background: var(--surface); border: 2px solid var(--border-strong); border-radius: 24px;
  box-shadow: var(--shadow-brick); padding: 44px 28px; text-align: center;
}
.download-brick__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.download-brick__brand img { width: 64px; height: 64px; border-radius: 15px; }
.early-pill {
  background: var(--blue-tint); color: var(--blue); font-size: 12.5px; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
}
.download-brick h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin-bottom: 24px; }
.download-brick__note { margin-top: 14px; font-size: 13.5px; color: var(--ink-muted); font-weight: 600; }

/* FOOTER */
.simple-footer { border-top: 1px solid var(--border); padding: 24px 0 36px; }
.simple-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.simple-footer__left { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-muted); }
.simple-footer__left img { border-radius: 6px; }
.simple-footer a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 14px; }

/* REVEAL & REDUCED MOTION */
.js-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .md-hero-stage { padding-right: 0; }
  .md-menubar-pop { position: static; width: 100%; margin-top: 14px; }
  .trio-grid, .spot-grid, .treemap-wrap, .dark-window__body, .trust-grid { grid-template-columns: 1fr; }
  .md-live-strip, .replay-metrics, .dark-mon-grid { grid-template-columns: repeat(2, 1fr); }
  .maker-strip { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .top-brand { gap: 10px; padding-top: 20px; }
  .brand-mark { gap: 10px; min-width: 0; }
  .brand-mark img { width: 44px; height: 44px; border-radius: 11px; }
  .brand-mark__text strong { font-size: 20px; }
  .brand-mark__text span { font-size: 11.5px; }

  .hero { padding: 32px 0 40px; }
  .hero__intro h1 { font-size: clamp(24px, 7.5vw, 29px); }
  .spot-copy h2, .center-head h2 { font-size: clamp(24px, 6.4vw, 28px); }
  .hero__sub { font-size: 14.5px; }
  .hero__sub br { display: none; }
  .hero__intro, .hero__showcase, .trio-grid > *, .spot-grid > *, .treemap-wrap > *, .dark-window__body > *, .trust-grid > * { min-width: 0; }
  .cleanup-item, .replay-banner, .dark-boundary-card > div { flex-wrap: wrap; }
  .md-hero-stage { max-width: 100%; overflow: hidden; }
  .md-win, .macos-card, .md-workbench, .dark-window { max-width: 100%; width: 100%; }
  .md-card, .md-finding__copy, .up-row > div, .dark-boundary-card > div { min-width: 0; }
  .up-row { flex-wrap: wrap; }
  .up-row strong { overflow-wrap: anywhere; }
  .md-glass-tabs {
    width: calc(100% - 24px); flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scrollbar-width: none;
  }
  .md-tab { padding: 5px 11px; font-size: 12px; flex: none; }
  .md-win__body { padding: 6px 14px 16px; }
  .md-finding { flex-wrap: wrap; }
  .md-finding__act { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; padding-left: 31px; }
  .md-pet-dock { flex-direction: column; align-items: flex-end; }
  .md-live-strip, .replay-metrics, .dark-mon-grid, .treemap-grid { grid-template-columns: 1fr; }
}
