@import "./brand.css";

:root {
  color-scheme: light;
  --ink: var(--cmd-color-ink);
  --muted: var(--cmd-color-muted);
  --line: var(--cmd-color-line);
  --paper: var(--cmd-color-release-bg);
  --panel: var(--cmd-color-surface-strong);
  --accent: var(--cmd-color-button);
  --accent-strong: var(--cmd-color-button-strong);
  --rose: #c34271;
  --blue: #2c5d9f;
  font-family: var(--cmd-font-sans);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-shell--minimal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 76px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0 32px;
}

.brand-wordmark,
.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-wordmark {
  font-weight: 700;
  text-decoration: none;
}

.brand-wordmark__icon {
  border-radius: 8px;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.marketing-main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 54px 0 72px;
}

.marketing-stage {
  max-width: 760px;
}

.product-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 164px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.product-mark img,
.download-icon {
  border-radius: 18px;
}

.marketing-page--bar .product-symbol {
  filter:
    saturate(1.04)
    contrast(1.05)
    drop-shadow(0 24px 58px rgba(80, 91, 116, 0.2));
}

.marketing-stage__eyebrow,
.download-kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

.marketing-stage h1,
.download-hero h1,
.legal-heading h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.marketing-stage__subtitle,
.download-subtitle {
  max-width: 650px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.marketing-actions,
.download-actions,
.release-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  padding: 0 18px;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.button--secondary {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink);
  background: var(--panel);
}

.marketing-stage__footnote {
  color: var(--muted);
  font-size: 14px;
}

.download-main,
.legal-main,
.release-page-main {
  padding: 48px 0 72px;
}

.download-hero,
.release-page-heading,
.legal-heading {
  margin-bottom: 28px;
}

.download-section {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.download-section h2 {
  font-size: 24px;
}

.download-facts {
  display: grid;
  gap: 16px;
  margin: 0;
}

.download-facts div {
  display: grid;
  grid-template-columns: minmax(92px, 140px) minmax(0, 1fr);
  gap: 18px;
}

.download-facts dt {
  color: var(--muted);
  font-weight: 700;
}

.download-facts dd {
  margin: 0;
  min-width: 0;
}

code {
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: #edf2f3;
  color: #173536;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  padding: 2px 5px;
}

.release-notes {
  color: var(--muted);
  line-height: 1.6;
}

.release-notes h2,
.release-notes h3,
.release-notes h4 {
  color: var(--ink);
}

.release-page-title {
  max-width: 760px;
  font-size: 56px;
  line-height: 1.02;
}

.legal-main {
  max-width: 760px;
}

.legal-main p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100vw - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-header {
    padding: 18px 0;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .marketing-main {
    align-items: start;
    padding: 32px 0 58px;
  }

  .marketing-stage h1,
  .download-hero h1,
  .legal-heading h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .marketing-stage__subtitle,
  .download-subtitle {
    font-size: 18px;
  }

  .product-mark {
    width: 118px;
    height: 118px;
  }

  .product-mark img {
    width: 92px;
    height: 92px;
  }

  .download-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
:root {
  color-scheme: light;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --ink: #181b23;
  --text: #323846;
  --muted: #5c6574;
  --soft: #8992a1;
  --line: rgba(33, 39, 55, 0.12);
  --line-strong: rgba(33, 39, 55, 0.2);
  --button: #202432;
  --button-strong: #151923;
  --focus: rgba(88, 99, 122, 0.28);
  --shadow: 0 24px 70px rgba(104, 116, 143, 0.14);
  --shadow-strong: 0 30px 90px rgba(92, 104, 130, 0.22);
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.download-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(255, 255, 255, 0.82), transparent 38%),
    radial-gradient(ellipse at 18% 18%, rgba(198, 205, 226, 0.42), transparent 34%),
    radial-gradient(ellipse at 72% 70%, rgba(212, 224, 249, 0.28), transparent 36%),
    linear-gradient(180deg, #f8f9fc 0%, #f5f7fb 48%, #f1f4f8 100%);
  color: var(--ink);
  font-family: var(--font-sans);
}

body.marketing-page {
  min-height: 100vh;
  overflow-x: hidden;
}

body.marketing-page::after,
body.download-page::after {
  content: "";
  position: fixed;
  inset: auto 0 -24vh;
  z-index: 0;
  height: 48vh;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(158, 177, 210, 0.16), transparent 64%);
  filter: blur(18px);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 76px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: rgba(92, 101, 116, 0.72);
  font-size: 13px;
  padding: 24px 0 32px;
}

.brand-wordmark,
.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-wordmark {
  color: rgba(56, 64, 78, 0.86);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-wordmark__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  filter: saturate(1.04) contrast(1.04);
}

.site-nav a,
.site-footer a {
  color: rgba(72, 82, 98, 0.76);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.download-main,
.legal-main,
.release-page-main {
  padding: 58px 0 80px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--button);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, opacity 180ms ease;
}

.button--primary,
.button:not(.button--secondary):not(.button--subtle) {
  border-color: rgba(32, 36, 50, 0.94);
  background: var(--button);
  color: #fff;
  box-shadow: 0 14px 34px rgba(32, 36, 50, 0.18);
}

.button--primary:hover,
.button:not(.button--secondary):not(.button--subtle):hover {
  background: var(--button-strong);
}

.button--secondary,
.button--subtle {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--button);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-1px);
}

.marketing-main {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 168px);
  padding: clamp(42px, 6vw, 88px) 0 72px;
}

.product-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  min-height: min(720px, calc(100vh - 190px));
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  z-index: -2;
  border-radius: 52px;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(255, 255, 255, 0.92), transparent 48%),
    radial-gradient(ellipse at 48% 84%, rgba(188, 204, 232, 0.2), transparent 58%);
  filter: blur(2px);
}

.product-hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.product-hero--mail {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.product-hero--mail .product-hero__copy {
  justify-items: center;
  max-width: 760px;
}

.product-hero--voice,
.product-hero--bar {
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  text-align: left;
}

.product-hero--voice .product-hero__copy,
.product-hero--bar .product-hero__copy {
  max-width: 640px;
}

.product-symbol {
  width: 82px;
  height: 82px;
  margin-bottom: 2px;
  border-radius: 18px;
  opacity: 0.92;
  filter:
    saturate(1.04)
    contrast(1.04)
    drop-shadow(0 24px 54px rgba(104, 116, 143, 0.22));
}

.marketing-stage__eyebrow {
  margin: 0;
  color: rgba(92, 101, 116, 0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: 0;
}

.product-hero--voice h1,
.product-hero--bar h1 {
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.02;
}

.marketing-stage__subtitle {
  max-width: 610px;
  margin: 0;
  color: rgba(50, 56, 70, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.marketing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 0;
}

.product-hero--mail .marketing-actions {
  justify-content: center;
}

.marketing-stage__footnote {
  margin: 0;
  color: rgba(92, 101, 116, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.product-artifact {
  position: relative;
  width: min(100%, 620px);
  min-height: 430px;
}

.product-artifact::before {
  content: "";
  position: absolute;
  inset: auto 8% 7%;
  z-index: -1;
  height: 110px;
  border-radius: 50%;
  background: rgba(92, 108, 138, 0.18);
  filter: blur(34px);
}

.mail-artifact {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  min-height: 392px;
  margin-top: -28px;
  opacity: 0.72;
  filter: blur(0.2px);
  pointer-events: none;
}

.mail-artifact__glow {
  position: absolute;
  inset: 0 8% 2%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(255, 255, 255, 0.92), transparent 58%),
    radial-gradient(ellipse at 50% 68%, rgba(188, 204, 232, 0.34), transparent 68%);
  filter: blur(18px);
}

.mail-pane,
.mail-composer,
.mail-command-palette {
  position: absolute;
  border: 1px solid rgba(33, 39, 55, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 34px 90px rgba(92, 104, 130, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(22px) saturate(1.04);
}

.mail-pane--inbox {
  left: 4%;
  top: 54px;
  z-index: 2;
  display: grid;
  gap: 9px;
  width: 310px;
  padding: 14px;
  transform: rotate(-3deg);
}

.mail-pane--thread {
  right: 2%;
  top: 18px;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 13px;
  width: 370px;
  min-height: 236px;
  padding: 26px;
  opacity: 0.72;
  transform: rotate(2deg);
}

.mail-pane__toolbar {
  display: flex;
  gap: 6px;
  padding: 0 0 4px 2px;
}

.mail-pane__toolbar span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(92, 101, 116, 0.26);
}

.mail-triage-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid rgba(33, 39, 55, 0.07);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.42);
}

.mail-triage-row.is-active {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(104, 116, 143, 0.11);
}

.mail-triage-row__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(32, 36, 50, 0.52);
}

.mail-triage-row strong,
.mail-command-palette strong,
.mail-composer strong,
.bar-command-row strong,
.bar-command-input strong,
.voice-hud-pill strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
}

.mail-triage-row em,
.bar-command-row em {
  display: block;
  margin-top: 3px;
  color: rgba(92, 101, 116, 0.72);
  font-size: 12px;
  font-style: normal;
  line-height: 1.2;
}

.mail-triage-row kbd,
.mail-command-palette kbd,
.mail-shortcuts kbd,
.bar-command-input kbd {
  border: 1px solid rgba(33, 39, 55, 0.08);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(92, 101, 116, 0.78);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.mail-thread-title,
.mail-thread-line {
  border-radius: 999px;
  background: rgba(89, 99, 118, 0.14);
}

.mail-thread-title {
  width: 58%;
  height: 18px;
  background: rgba(24, 27, 35, 0.16);
}

.mail-thread-line {
  width: 72%;
  height: 12px;
}

.mail-thread-line--wide {
  width: 88%;
}

.mail-thread-line--short {
  width: 44%;
}

.mail-composer {
  right: 9%;
  bottom: 56px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 340px;
  min-height: 66px;
  padding: 0 16px 0 20px;
}

.mail-composer span,
.voice-transcript-preview p {
  color: rgba(50, 56, 70, 0.78);
  font-size: 14px;
}

.mail-composer strong {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(32, 36, 50, 0.92);
  color: #fff;
}

.mail-command-palette {
  left: 21%;
  bottom: 12px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 390px;
  min-height: 58px;
  padding: 0 14px;
  background: rgba(24, 27, 35, 0.88);
  color: #fff;
  box-shadow: 0 28px 80px rgba(24, 27, 35, 0.18);
}

.mail-command-palette span {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.mail-command-palette strong {
  color: rgba(255, 255, 255, 0.94);
}

.mail-command-palette kbd {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.mail-shortcuts {
  position: absolute;
  right: 24%;
  bottom: 0;
  display: flex;
  gap: 6px;
  opacity: 0.78;
}

.voice-hud-artifact {
  align-self: center;
  min-height: 460px;
}

.voice-hud-pill {
  position: absolute;
  right: 4%;
  bottom: 84px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 15px;
  width: min(520px, 94%);
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0 24px;
  background:
    linear-gradient(180deg, rgba(34, 36, 38, 0.98), rgba(15, 16, 17, 0.98));
  box-shadow:
    0 32px 94px rgba(24, 27, 35, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.voice-hud-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6a5f;
  box-shadow: 0 0 0 6px rgba(255, 106, 95, 0.12);
}

.voice-hud-pill strong {
  color: rgba(255, 255, 255, 0.86);
}

.voice-waveform {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
}

.voice-waveform span {
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(160, 184, 255, 0.98), rgba(255, 219, 190, 0.84));
}

.voice-waveform span:nth-child(1) { height: 18px; }
.voice-waveform span:nth-child(2) { height: 30px; }
.voice-waveform span:nth-child(3) { height: 42px; }
.voice-waveform span:nth-child(4) { height: 26px; }
.voice-waveform span:nth-child(5) { height: 34px; }
.voice-waveform span:nth-child(6) { height: 20px; }

.voice-shortcut-capsule,
.bar-shortcut-capsule {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(33, 39, 55, 0.09);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(50, 56, 70, 0.82);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 18px 44px rgba(104, 116, 143, 0.12);
  backdrop-filter: blur(16px);
}

.voice-shortcut-capsule {
  right: 11%;
  top: 56px;
}

.voice-transcript-preview {
  position: absolute;
  right: 18%;
  top: 132px;
  display: grid;
  gap: 8px;
  width: min(370px, 74%);
  border: 1px solid rgba(33, 39, 55, 0.1);
  border-radius: 20px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 26px 74px rgba(104, 116, 143, 0.14);
  backdrop-filter: blur(18px);
}

.voice-transcript-preview span {
  color: rgba(92, 101, 116, 0.74);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 740;
  text-transform: uppercase;
}

.voice-flow {
  position: absolute;
  right: 18%;
  bottom: 26px;
  display: flex;
  gap: 8px;
}

.voice-flow span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(92, 101, 116, 0.78);
  font-size: 12px;
  font-weight: 680;
}

.bar-command-artifact {
  min-height: 460px;
}

.bar-command-shell {
  position: absolute;
  right: 2%;
  top: 44px;
  display: grid;
  gap: 9px;
  width: min(560px, 96%);
  border: 1px solid rgba(33, 39, 55, 0.1);
  border-radius: 28px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    0 42px 110px rgba(72, 84, 108, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(28px) saturate(1.08);
}

.bar-command-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(33, 39, 55, 0.08);
  border-radius: 20px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.72);
}

.bar-command-input span {
  color: rgba(92, 101, 116, 0.8);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 750;
}

.bar-command-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.42);
}

.bar-command-row.is-active {
  border-color: rgba(33, 39, 55, 0.09);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(104, 116, 143, 0.1);
}

.bar-command-glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(24, 27, 35, 0.92);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 760;
}

.bar-shortcut-capsule {
  right: 8%;
  bottom: 54px;
}

.download-experience {
  overflow: hidden;
}

.install-bridge {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: center;
  margin: 54px auto 96px;
  padding: clamp(42px, 5vw, 62px);
  border: 1px solid rgba(33, 39, 55, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 28px 90px rgba(92, 104, 130, 0.15);
  backdrop-filter: blur(16px);
}

.install-bridge__copy {
  display: grid;
  gap: 16px;
  max-width: 460px;
}

.download-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(104, 116, 143, 0.16);
  filter: saturate(1.04) contrast(1.04);
}

.install-bridge h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 4.8vw, 58px);
  font-weight: 680;
  line-height: 1;
  letter-spacing: 0;
}

.install-bridge h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 680;
  line-height: 1.16;
}

.install-bridge__lede {
  max-width: 440px;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.5;
}

.install-bridge__label {
  margin: 0;
  color: rgba(70, 79, 96, 0.82);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.download-actions,
.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.download-actions {
  margin-top: 4px;
}

.download-actions__link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.download-actions__link:hover {
  color: var(--ink);
}

.download-started {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.download-started[hidden] {
  display: none;
}

.install-steps {
  display: grid;
  gap: 9px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.install-steps__number {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(33, 39, 55, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(92, 101, 116, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
}

.install-bridge__secondary,
.install-bridge__next {
  margin: 0;
  color: rgba(92, 101, 116, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.install-bridge__next {
  color: rgba(70, 79, 96, 0.86);
}

.install-bridge__scene {
  position: relative;
  min-height: 470px;
}

.install-browser,
.install-window {
  border: 1px solid rgba(33, 39, 55, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(92, 104, 130, 0.17);
  backdrop-filter: blur(14px);
}

.install-browser {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 560px);
  min-height: 220px;
  overflow: hidden;
}

.install-browser::after {
  content: "";
  position: absolute;
  inset: 88px auto auto 36px;
  width: min(52%, 310px);
  height: 86px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(242, 245, 249, 0.96), rgba(230, 235, 243, 0.96)) 0 0 / 100% 26px no-repeat,
    linear-gradient(180deg, rgba(239, 243, 249, 0.88), rgba(230, 236, 244, 0.88)) 0 48px / 82% 24px no-repeat;
  opacity: 0.92;
}

.install-browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(33, 39, 55, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.install-browser__address {
  min-width: 0;
  flex: 1;
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(237, 241, 247, 0.88);
  color: rgba(70, 79, 96, 0.82);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.install-browser__download-icon {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(33, 39, 55, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.install-browser__download-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  width: 2px;
  height: 13px;
  border-radius: 2px;
  background: var(--ink);
}

.install-browser__download-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

.install-download-chip {
  position: absolute;
  top: 84px;
  right: 34px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(78%, 390px);
  padding: 14px 18px;
  border: 1px solid rgba(33, 39, 55, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 44px rgba(92, 104, 130, 0.2);
}

.install-download-chip span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.install-download-chip__disk {
  position: relative;
  width: 34px;
  height: 36px;
  flex: none;
  border: 1px solid rgba(33, 39, 55, 0.14);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(225, 232, 239, 0.95), rgba(174, 186, 200, 0.95));
}

.install-download-chip__disk::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  height: 5px;
  border-radius: 5px;
  background: rgba(80, 89, 105, 0.34);
}

.install-window {
  position: absolute;
  right: 44px;
  bottom: 0;
  z-index: 3;
  width: min(88%, 520px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-strong);
}

.install-window__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(33, 39, 55, 0.1);
  background: linear-gradient(180deg, rgba(245, 246, 248, 0.98), rgba(230, 233, 238, 0.98));
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.window-dot--red {
  background: #ff5f57;
}

.window-dot--yellow {
  background: #febc2e;
}

.window-dot--green {
  background: #28c840;
}

.install-window__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(24, 27, 35, 0.82);
  font-size: 13px;
  font-weight: 650;
}

.install-window__body {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) minmax(60px, 0.4fr) minmax(120px, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 270px;
  padding: 42px 48px 44px;
}

.install-app,
.install-folder {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: rgba(24, 27, 35, 0.86);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.install-app img {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(92, 104, 130, 0.24);
  filter: saturate(1.08) contrast(1.08);
}

.install-folder__icon {
  position: relative;
  width: 92px;
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4fc6f3 0%, #13a7df 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 14px 30px rgba(44, 121, 176, 0.24);
}

.install-folder__icon::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 9px;
  width: 34px;
  height: 16px;
  border-radius: 7px 7px 0 0;
  background: #66d2f7;
}

.install-folder__icon::after {
  content: "A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.66);
  font-size: 32px;
  font-weight: 700;
}

.install-drag-line {
  position: relative;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(92, 101, 116, 0.08), rgba(92, 101, 116, 0.66), rgba(92, 101, 116, 0.12));
}

.install-drag-line::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(70, 79, 96, 0.78);
  border-right: 2px solid rgba(70, 79, 96, 0.78);
  transform: translateY(-50%) rotate(45deg);
}

.install-cursor {
  position: absolute;
  right: -8px;
  top: 14px;
  width: 18px;
  height: 24px;
  background: rgba(255, 255, 255, 0.98);
  clip-path: polygon(0 0, 0 100%, 32% 76%, 46% 100%, 62% 92%, 48% 69%, 78% 69%);
  filter: drop-shadow(0 2px 1px rgba(24, 27, 35, 0.55)) drop-shadow(0 10px 18px rgba(92, 104, 130, 0.24));
  transform: rotate(-15deg);
}

.install-download-chip,
.install-window {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
}

.install-window {
  transform: translateY(22px) scale(0.982);
}

.download-experience.is-download-started .install-download-chip,
.download-experience.is-download-started .install-window {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.download-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.download-section h1,
.download-section h2,
.release-page-title {
  color: var(--ink);
  font-size: 34px;
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: 0;
}

.download-section p,
.release-notes p,
.release-notes li {
  max-width: 780px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.download-facts {
  display: grid;
  gap: 16px;
  margin: 0;
}

.download-facts div {
  display: grid;
  grid-template-columns: minmax(92px, 140px) minmax(0, 1fr);
  gap: 18px;
}

.download-facts dt {
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
}

.download-facts dd {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

code {
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: rgba(237, 242, 243, 0.9);
  color: #173536;
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 5px;
}

@media (prefers-reduced-motion: no-preference) {
  .button:active {
    transform: translateY(0) scale(0.985);
  }

  [data-download-before],
  .download-started,
  .install-download-chip,
  .install-window {
    transition:
      opacity 360ms var(--motion-ease),
      transform 420ms var(--motion-ease),
      filter 420ms var(--motion-ease);
  }

  .download-started,
  .install-download-chip,
  .install-window {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  .install-window {
    transform: translateY(22px) scale(0.982);
  }

  .download-experience.is-download-started .download-started,
  .download-experience.is-download-started .install-download-chip,
  .download-experience.is-download-started .install-window {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .download-experience.is-download-started [data-download-before] {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .download-experience.is-download-started .install-browser__download-icon {
    animation: download-pulse 900ms var(--motion-ease) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-experience.is-download-started [data-download-before] {
    display: none;
  }
}

@keyframes download-pulse {
  0% {
    transform: scale(1);
  }

  42% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .product-hero--voice,
  .product-hero--bar {
    grid-template-columns: 1fr;
  }

  .product-hero--voice .product-hero__copy,
  .product-hero--bar .product-hero__copy {
    max-width: 720px;
  }

  .product-artifact {
    justify-self: center;
  }

  .install-bridge {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  .install-bridge__copy {
    max-width: 620px;
  }

  .install-bridge__scene {
    min-height: 500px;
  }

  .install-browser {
    left: 0;
    right: auto;
    width: 100%;
  }

  .install-window {
    right: 18px;
    width: min(92%, 520px);
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100vw - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-header {
    padding: 18px 0;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .download-main,
  .legal-main,
  .release-page-main {
    padding: 32px 0 58px;
  }

  .marketing-main {
    min-height: auto;
    padding: 32px 0 58px;
  }

  .product-hero {
    gap: 28px;
    min-height: auto;
  }

  .product-hero h1 {
    font-size: 42px;
  }

  .marketing-stage__subtitle {
    font-size: 17px;
  }

  .product-symbol {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .product-artifact {
    min-height: 350px;
  }

  .mail-artifact {
    position: relative;
    top: auto;
    left: auto;
    min-height: 360px;
    margin-top: 0;
    transform: none;
  }

  .mail-pane--inbox {
    left: 0;
    width: min(78%, 300px);
  }

  .mail-pane--thread {
    right: 0;
    width: min(76%, 340px);
  }

  .mail-composer {
    right: 0;
    bottom: 58px;
    width: min(86%, 330px);
  }

  .mail-command-palette {
    left: 2%;
    width: 92%;
  }

  .voice-hud-pill {
    right: 0;
    grid-template-columns: auto minmax(108px, 1fr);
    width: 100%;
  }

  .voice-hud-pill strong {
    display: none;
  }

  .voice-shortcut-capsule {
    right: 4%;
  }

  .voice-transcript-preview {
    right: 5%;
    width: 86%;
  }

  .voice-flow {
    right: 4%;
  }

  .bar-command-shell {
    right: 0;
    width: 100%;
  }

  .install-bridge {
    margin: 24px auto 52px;
    padding: 24px;
  }

  .install-bridge h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .install-bridge__lede {
    font-size: 18px;
  }

  .install-bridge__scene {
    min-height: 430px;
  }

  .install-window {
    right: 0;
    width: 100%;
  }

  .install-window__body {
    gap: 12px;
    min-height: 240px;
    padding: 36px 22px 34px;
  }

  .install-folder__icon {
    width: 76px;
    height: 58px;
  }

  .download-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 460px) {
  .product-hero h1 {
    font-size: 38px;
  }

  .marketing-actions,
  .marketing-actions .button {
    width: 100%;
  }

  .product-artifact {
    min-height: 318px;
  }

  .mail-artifact {
    min-height: 330px;
  }

  .mail-pane--thread {
    opacity: 0.48;
  }

  .mail-triage-row:nth-of-type(4),
  .mail-shortcuts {
    display: none;
  }

  .mail-command-palette {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 54px;
  }

  .mail-command-palette kbd {
    display: none;
  }

  .voice-flow {
    flex-wrap: wrap;
  }

  .bar-command-input {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bar-command-input kbd {
    display: none;
  }

  .bar-command-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}
