/* AirTypes /download.
   Loads after the homepage system (landing/home/home.css): same tokens, Kanit, steel gradient,
   hairline rows, amber only on the download pill and the selected file. */

/* ---------- Header ---------- */
.dx-head { padding-top: 116px; padding-bottom: 0; display: grid; gap: 24px; }
@media (min-width: 768px) { .dx-head { padding-top: 140px; padding-bottom: 0; } }
.dx-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.dx-crumbs a { color: var(--ink-2); transition: color .2s; }
.dx-crumbs a:hover { color: var(--ink); }
.dx-title { font-size: clamp(3.4rem, 15vw, 220px); }

/* Platform switch: the three platform names at display size, like the homepage's download list. */
.dx-tabs {
  display: grid; margin-top: 32px; scroll-margin-top: 96px;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .dx-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dx-tab {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font: inherit; color: inherit; background: none; border-left: 0; border-right: 0; border-top: 0;
  cursor: pointer; text-align: left;
}
@media (min-width: 900px) {
  .dx-tab { padding: 28px 28px 28px 0; border-bottom: 0; }
  .dx-tab + .dx-tab { padding-left: 28px; border-left: 1px solid var(--line); }
}
.dx-tab-name {
  font-weight: 900; font-size: clamp(2.6rem, 5vw, 5.25rem); line-height: .86; letter-spacing: -.018em;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-text-stroke: 1.5px rgba(187, 204, 215, .45);
  padding-bottom: .04em;
  transition: transform .5s var(--ease-out), -webkit-text-stroke-color .25s;
}
.dx-tab:hover .dx-tab-name { -webkit-text-stroke-color: rgba(187, 204, 215, .8); }
.dx-tab.is-on .dx-tab-name {
  background: linear-gradient(180deg, var(--steel-a), var(--steel-b));
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0;
}
/* The platform's mark before its name: outlined-dim like the name, steel when picked. */
.dx-tab-lead { display: inline-flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); min-width: 0; }
.dx-tab-ico { flex: none; width: clamp(30px, 3.4vw, 52px); height: clamp(30px, 3.4vw, 52px); color: rgba(187, 204, 215, .4); transition: color .25s; }
.dx-tab:hover .dx-tab-ico { color: rgba(187, 204, 215, .75); }
.dx-tab.is-on .dx-tab-ico { color: var(--steel-b); }
.dx-tab { align-items: center; }

/* Under the tabs: Dictate in the browser and the Chrome extension, each with its mark. */
.dx-also { display: grid; gap: 14px; margin-top: 28px; padding: 0; list-style: none; }
@media (min-width: 900px) { .dx-also { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.dx-also li { display: flex; gap: 14px; align-items: flex-start; font-weight: 300; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.dx-also strong { display: block; font-weight: 500; color: var(--ink); }
.dx-also-ico { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--ink); }
.dx-also-soon { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.dx-tab-meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.dx-tab.is-on .dx-tab-meta { color: var(--amber); }
.dx-tab--soon.is-on .dx-tab-meta { color: var(--ink-2); }

/* ---------- Panels ---------- */
.dx-body { padding-top: 0; }
.dx-panel[hidden], .dx-guide[hidden], .dx-get .pill[hidden] { display: none; }
.dx-step { display: grid; gap: 14px; padding: 40px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .dx-step { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 56px 0; } }
.dx-k { padding-top: .5em; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--ink-3); }
.dx-v { min-width: 0; max-width: 900px; }
.dx-h { font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 24px; }

/* File choice: hairline rows, amber dot on the selected one. */
.dx-files { border-top: 1px solid var(--line); }
.dx-file {
  display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
  width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
@media (min-width: 640px) { .dx-file { grid-template-columns: 18px 170px minmax(0, 1fr) auto; } }
.dx-file-dot {
  width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  align-self: center; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.dx-file.is-on .dx-file-dot { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 12px rgba(255, 178, 36, .55); }
.dx-file-name { font-weight: 500; font-size: 1.25rem; letter-spacing: -.005em; }
.dx-file-detail { grid-column: 2 / -1; font-weight: 300; color: var(--ink-2); }
@media (min-width: 640px) { .dx-file-detail { grid-column: auto; } }
.dx-file-size { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
@media (min-width: 640px) { .dx-file-size { grid-column: auto; grid-row: auto; } }
.dx-file:hover .dx-file-name { color: #fff; }

.dx-get { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.dx-req { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--ink-3); }
.dx-note { margin-top: 16px; font-weight: 300; color: var(--ink-2); line-height: 1.55; }
.dx-note strong { font-weight: 500; color: var(--ink); }

/* Install steps */
.dx-tested { margin-bottom: 18px; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.dx-list { list-style: none; counter-reset: dx; border-top: 1px solid var(--line); }
.dx-list > li {
  counter-increment: dx; position: relative;
  padding: 22px 0 22px 48px; border-bottom: 1px solid var(--line);
}
.dx-list > li::before {
  content: counter(dx, decimal-leading-zero); position: absolute; left: 0; top: 24px;
  font-family: var(--mono); font-size: .78rem; color: var(--ink-3);
}
.dx-li-t { font-weight: 500; font-size: 1.15rem; line-height: 1.35; }
.dx-li-d { margin-top: 8px; max-width: 62ch; font-weight: 300; line-height: 1.6; color: var(--ink-2); }
.dx-li-d strong { font-weight: 500; color: var(--ink); }
.dx-wide { margin-top: 0; margin-bottom: 24px; }
.dx-v kbd, .dx-v code {
  font-family: var(--mono); font-size: .82em; padding: 2px 7px; border-radius: 6px;
  background: rgba(215, 226, 234, .08); border: 1px solid var(--line); color: var(--ink);
}
.dx-a {
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong);
  background: none; border: 0; font: inherit; padding: 0; cursor: pointer;
}
.dx-a:hover { text-decoration-color: var(--ink); }

/* Terminal command with copy */
.dx-cmd {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; max-width: 640px;
  padding: 10px 10px 10px 16px; border-radius: 14px;
  background: #121214; border: 1px solid var(--line);
}
.dx-cmd code {
  flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  font-family: var(--mono); font-size: .85rem; color: var(--ink);
  background: none; border: 0; padding: 0;
}
.dx-cmd code::-webkit-scrollbar { display: none; }
.dx-copy {
  flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: none; color: var(--ink-2);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.dx-copy:hover { color: var(--ink); border-color: var(--ink); }
.dx-copy.is-done { color: var(--amber); border-color: var(--amber); }

.dx-more { margin-top: 22px; }
.dx-more summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.dx-more summary::-webkit-details-marker { display: none; }
.dx-more summary::after { content: "+"; font-size: 1rem; line-height: 1; transition: transform .25s var(--ease-out); }
.dx-more[open] summary::after { transform: rotate(45deg); }
.dx-more summary:hover { color: var(--ink); }

/* "This is expected" note above a step that looks like an error. Hairlines only: amber stays for CTAs. */
.dx-callout { margin-bottom: 22px; padding: 20px 22px; border: 1px solid var(--line-strong); border-radius: 20px; background: rgba(215, 226, 234, .03); }
.dx-callout-t { font-weight: 500; font-size: 1.15rem; line-height: 1.35; }

/* Problem and fix rows */
.dx-fixes { border-top: 1px solid var(--line); }
.dx-fix { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.dx-fix summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0;
  cursor: pointer; list-style: none; font-weight: 400; font-size: 1.05rem; line-height: 1.35;
}
.dx-fix summary::-webkit-details-marker { display: none; }
.dx-fix summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 1.1rem; color: var(--ink-2); transition: transform .25s var(--ease-out); }
.dx-fix[open] summary::after { transform: rotate(45deg); }
.dx-fix summary:hover { color: #fff; }
.dx-fix > .dx-li-d:first-of-type { margin-top: 0; }
.dx-fix > :last-child { margin-bottom: 20px; }
.dx-fix .dx-cmd { margin-top: 10px; }
.dx-sub { margin: 10px 0 0 1.2em; list-style: decimal; font-weight: 300; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.dx-sub li { margin: 4px 0; }
.dx-sub strong { font-weight: 500; color: var(--ink); }
.dx-guide .dx-cmd + .dx-cmd { margin-top: 8px; }

/* Windows waitlist */
.dx-wait { display: flex; flex-wrap: wrap; gap: 12px; max-width: 640px; }
.dx-input {
  flex: 1 1 240px; min-height: 52px; padding: 0 20px; border-radius: 999px;
  background: #121214; border: 1px solid var(--line-strong); color: var(--ink);
  font: inherit; font-size: 1rem;
}
.dx-input::placeholder { color: var(--ink-3); }
.dx-input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 36, .18); }
.dx-wait .pill:disabled { opacity: .6; cursor: default; }
.dx-msg { margin-top: 14px; font-weight: 300; color: var(--ink); }
.dx-msg.is-error { color: #F2555A; }

/* ---------- Help ---------- */
.dx-help { display: grid; gap: 28px; }
@media (min-width: 1024px) { .dx-help { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: end; } }
.dx-help-title {
  font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 11vw, 160px); line-height: .88; letter-spacing: -.02em;
  padding-bottom: .12em;
}
.dx-help-body { display: grid; gap: 28px; }
.dx-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

@media (prefers-reduced-motion: reduce) {
  .dx-tab-name, .dx-more summary::after { transition: none; }
}
