:root {
  --surface: #151718;
  --panel: #1f2223;
  --panel-alt: #1e2121;
  --edge: #444947;
  --text: #f2ecdc;
  --muted: #9a9f97;
  --outer: #191c1c;
  --ink: #0a0c0d;
  --blue: #63b8ee;
  --green: #80d6a6;
  --gold: #ecbb5a;
  --coral: #eb6f5c;
  --product-accent: var(--green);
  --product-accent-2: var(--gold);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(31, 34, 35, 0.28), rgba(21, 23, 24, 0) 280px),
    var(--outer);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

body.waft-freeze {
  --product-accent: var(--green);
  --product-accent-2: var(--gold);
}

body.waft-slip {
  --product-accent: var(--blue);
  --product-accent-2: var(--gold);
}

body.waft-chew {
  --product-accent: var(--green);
  --product-accent-2: var(--coral);
}

a {
  color: inherit;
}

code {
  padding: 0 0.22em;
  border-radius: 4px;
  background: rgba(10, 12, 13, 0.42);
  color: rgba(242, 236, 220, 0.94);
  font-size: 0.94em;
}

.site-page {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: auto;
  padding: 22px 14px;
  background: var(--surface);
  border-right: 1px solid rgba(73, 79, 75, 0.86);
  box-shadow: 12px 0 32px rgba(0, 0, 0, 0.24);
}

.rail-title {
  display: block;
  margin: 0 0 18px;
  padding: 0 7px;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.rail a:not(.rail-title) {
  display: block;
  margin: 0 0 6px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: rgba(154, 159, 151, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.rail a:hover,
.rail a:focus-visible {
  color: var(--text);
  background: color-mix(in srgb, var(--product-accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--product-accent) 42%, transparent);
  outline: none;
}

.site,
.manual {
  width: min(1120px, calc(100vw - 184px));
  margin: 0 auto;
  padding: 22px 24px 56px;
}

.hero,
.panel,
.plugin-header {
  background:
    linear-gradient(180deg, rgba(242, 236, 220, 0.018), rgba(0, 0, 0, 0)),
    var(--panel);
  border: 1px solid rgba(68, 73, 71, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 172px;
  padding: 18px;
  scroll-margin-top: 16px;
}

.hero-copy {
  min-width: 0;
}

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

.eyebrow {
  margin-bottom: 4px;
  color: var(--product-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.02;
}

.tagline {
  max-width: 62ch;
  margin: 0;
  color: rgba(242, 236, 220, 0.86);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(242, 236, 220, 0.10);
  border-radius: 5px;
  background: rgba(31, 34, 35, 0.78);
  color: rgba(242, 236, 220, 0.92);
  box-shadow: inset 0 1px 0 rgba(242, 236, 220, 0.04);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.button.green {
  color: var(--text);
  border-color: color-mix(in srgb, var(--product-accent) 48%, transparent);
  background: color-mix(in srgb, var(--product-accent) 16%, transparent);
}

.button.warn {
  border-color: rgba(235, 111, 92, 0.46);
  background: rgba(235, 111, 92, 0.13);
}

.plugin-header {
  display: flex;
  align-items: center;
  min-height: 76px;
  margin-bottom: 14px;
  padding: 14px 16px;
}

.plugin-header h1 {
  margin: 0;
  font-size: 30px;
}

.manual-shot {
  margin: 16px 0 18px;
}

.manual-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--ink);
  border: 1px solid color-mix(in srgb, var(--product-accent) 34%, transparent);
  border-radius: var(--radius);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(242, 236, 220, 0.05);
}

.manual-shot figcaption {
  width: 100%;
  margin: 8px 0 0;
  padding: 0 2px;
  color: rgba(242, 236, 220, 0.76);
  font-size: 12.5px;
  line-height: 1.42;
}

.manual-shot figcaption strong {
  color: var(--product-accent-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.manual-shot--hero {
  margin: 14px 0 16px;
}

.manual-shot--hero img {
  border-color: color-mix(in srgb, var(--product-accent-2) 50%, transparent);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.34),
    0 0 0 1px color-mix(in srgb, var(--product-accent-2) 14%, transparent);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  gap: 14px;
  margin: 16px 0 18px;
}

.shot-grid .manual-shot {
  margin: 0;
}

.panel {
  margin-top: 14px;
  padding: 18px;
  scroll-margin-top: 16px;
}

.intro-panel {
  border-color: color-mix(in srgb, var(--product-accent) 28%, transparent);
}

.summary-grid,
.contact-grid,
.download-grid,
.feature-grid {
  display: grid;
  gap: 14px;
}

.summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-grid,
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mini-card,
.download-card {
  padding: 14px;
  border: 1px solid rgba(242, 236, 220, 0.07);
  border-radius: 7px;
  background: rgba(21, 23, 24, 0.42);
}

.download-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.download-card .button {
  flex: 0 0 auto;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(242, 236, 220, 0.07);
}

.number {
  color: var(--product-accent-2);
  font-size: 12px;
  font-weight: 800;
}

h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-head h2 {
  margin-bottom: 0;
}

h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

p {
  max-width: 82ch;
  margin-bottom: 12px;
  color: rgba(242, 236, 220, 0.88);
}

.plain-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(242, 236, 220, 0.88);
}

.plain-list li {
  margin: 5px 0;
}

table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  background: rgba(21, 23, 24, 0.34);
  border: 1px solid rgba(242, 236, 220, 0.06);
  border-radius: 7px;
  overflow: hidden;
}

th,
td {
  padding: 9px 11px;
  border-bottom: 1px solid rgba(242, 236, 220, 0.06);
  vertical-align: top;
}

th {
  background: rgba(10, 12, 13, 0.34);
  color: rgba(154, 159, 151, 0.96);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

td {
  color: rgba(242, 236, 220, 0.87);
  font-size: 13px;
}

td:first-child {
  width: 25%;
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.control-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(96px, 1fr));
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
  background: var(--panel-alt);
  border: 1px solid rgba(73, 79, 75, 0.72);
  border-radius: var(--radius);
}

.control-map .control {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--product-accent) 30%, rgba(242, 236, 220, 0.08));
  background: color-mix(in srgb, var(--product-accent) 6%, rgba(21, 23, 24, 0.58));
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--product-accent-2) 28%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--product-accent-2) 6%, transparent);
  color: rgba(242, 236, 220, 0.88);
  font-size: 13px;
}

.collapsible-panel {
  padding-bottom: 8px;
}

.collapsible-panel[open] {
  padding-bottom: 18px;
}

.collapsible-panel > summary.section-head {
  cursor: pointer;
  list-style: none;
}

.collapsible-panel > summary.section-head::-webkit-details-marker {
  display: none;
}

.collapse-label {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 4px;
  border: solid rgba(154, 159, 151, 0.94);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  transition: transform 140ms ease, border-color 140ms ease;
}

.collapsible-panel[open] .collapse-label {
  transform: rotate(45deg);
}

.collapsible-panel > summary.section-head:hover .collapse-label,
.collapsible-panel > summary.section-head:focus-visible .collapse-label {
  border-color: var(--product-accent);
}

.collapsible-panel > summary.section-head:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--product-accent) 70%, transparent);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 840px) {
  .site-page {
    display: block;
  }

  .rail {
    position: static;
    height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(73, 79, 75, 0.86);
  }

  .rail a:not(.rail-title) {
    display: inline-flex;
    margin-right: 5px;
  }

  .site,
  .manual {
    width: 100%;
    padding: 16px;
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions {
    justify-content: flex-start;
    margin-left: 0;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    flex-direction: column;
  }

  .control-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .control-map,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  th,
  td {
    display: block;
    width: 100%;
  }

  td:first-child {
    width: 100%;
    padding-bottom: 2px;
  }
}
