:root {
  --ink: #10110e;
  --ink-soft: #1b1d18;
  --paper: #f1eee5;
  --paper-bright: #fbf9f2;
  --acid: #d9ff43;
  --vermilion: #ff563f;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(16, 17, 14, 0.2);
  --muted-dark: #a9ab9f;
  --muted-light: #62645d;
  --display: "Arial Narrow", "Aptos Display", "Helvetica Neue", sans-serif;
  --body: Inter, "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  background: var(--acid);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 78px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(16, 17, 14, 0.9);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wordmark-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--paper);
  font-size: 10px;
  letter-spacing: -0.04em;
}

.primary-nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  color: var(--muted-dark);
  font-size: 13px;
}

.primary-nav a,
.site-footer a {
  transition: color 160ms ease;
}

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

.language-button {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.language-button span:first-child {
  color: var(--acid);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 78px));
  padding: clamp(70px, 10vh, 116px) clamp(20px, 4vw, 64px) 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}

.hero::after {
  position: absolute;
  right: -6vw;
  bottom: -15vw;
  width: 48vw;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 50% 50%, rgba(217, 255, 67, 0.2), transparent 64%);
  filter: blur(12px);
}

.hero-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}

.hero h1 {
  position: relative;
  z-index: 2;
  max-width: 1190px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(74px, 13.2vw, 206px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.77;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero-accent {
  margin-left: clamp(16px, 10vw, 160px);
  color: var(--acid);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
  text-transform: none;
}

.hero-lower {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(240px, 420px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(64px, 10vh, 120px);
  margin-left: clamp(0px, 21vw, 340px);
}

.hero-intro {
  margin: 0;
  color: #c5c7bd;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  width: min(330px, 100%);
  align-items: center;
  justify-content: space-between;
  padding: 19px 22px;
  border: 1px solid var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.hero-cta:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-orbit-one {
  top: 15%;
  right: 11%;
  width: clamp(240px, 31vw, 520px);
  aspect-ratio: 1;
}

.hero-orbit-two {
  top: 23%;
  right: 18%;
  width: clamp(140px, 18vw, 300px);
  aspect-ratio: 1;
}

.hero-seal {
  position: absolute;
  z-index: 2;
  top: 23%;
  right: 23%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  transform: rotate(8deg);
  border: 1px solid var(--vermilion);
  color: var(--vermilion);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--acid);
  color: var(--ink);
}

.proof-strip div {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 14px;
  padding: 20px clamp(20px, 3vw, 48px);
  border-right: 1px solid rgba(16, 17, 14, 0.3);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  font-family: var(--display);
  font-size: 37px;
  letter-spacing: -0.05em;
}

.proof-strip span {
  max-width: 120px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.collection {
  padding: clamp(80px, 10vw, 150px) clamp(20px, 4vw, 64px);
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: 70px;
}

.section-heading .eyebrow,
.standard-section .eyebrow {
  color: var(--muted-light);
}

.section-heading h2,
.standard-lead h2,
.closing-section h2 {
  max-width: 880px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 6.8vw, 108px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-transform: uppercase;
}

.section-heading > p {
  max-width: 520px;
  margin: 0 0 5px;
  color: var(--muted-light);
  font-size: 16px;
  line-height: 1.7;
}

.collection-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 34px;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.collection-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 142px;
  align-items: start;
  padding: 24px;
  border: 0;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.collection-button:hover {
  background: rgba(16, 17, 14, 0.055);
}

.collection-button.is-active {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-6px);
}

.collection-button:nth-child(3).is-active {
  background: var(--vermilion);
  color: var(--ink);
}

.collection-index,
.collection-count {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-button strong,
.collection-button small {
  display: block;
}

.collection-button strong {
  margin-bottom: 13px;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 34px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: uppercase;
}

.collection-button small {
  max-width: 36ch;
  color: currentColor;
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.7;
}

.collection-count {
  align-self: end;
  white-space: nowrap;
}

.collection-button:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: -5px;
}

.gallery-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  padding: 12px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
}

.search-field > span:first-child {
  font-size: 25px;
  line-height: 1;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.search-field input::placeholder {
  color: #787a72;
}

.filter-group {
  display: flex;
  gap: 6px;
}

.filter-button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: color 140ms ease, background 140ms ease, border 140ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(22px, 3vw, 44px) clamp(18px, 2vw, 32px);
}

.theme-card {
  grid-column: span 6;
  min-width: 0;
}

.theme-card:nth-child(4n + 1),
.theme-card:nth-child(4n + 4) {
  grid-column: span 7;
}

.theme-card:nth-child(4n + 2),
.theme-card:nth-child(4n + 3) {
  grid-column: span 5;
}

.theme-card[hidden] {
  display: none;
}

.card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9d9d2;
}

.card-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(16, 17, 14, 0.15);
  content: "";
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 180ms ease;
}

.theme-card:hover .card-visual img {
  transform: scale(1.018);
}

.card-mode-toggle {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(12, 13, 11, 0.7);
  backdrop-filter: blur(14px);
}

.card-mode-toggle button {
  width: 32px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: #bfc1b7;
  font-size: 13px;
}

.card-mode-toggle button[aria-pressed="true"] {
  background: var(--paper-bright);
  color: var(--ink);
}

.card-number,
.card-license {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  padding: 7px 9px;
  background: rgba(12, 13, 11, 0.74);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.card-number {
  left: 14px;
}

.card-license {
  right: 14px;
}

.card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding-top: 17px;
  border-top: 3px solid var(--ink);
}

.card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-meta span:first-child {
  color: #8a2e24;
}

.card-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.card-body p {
  max-width: 590px;
  margin: 10px 0 0;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.6;
}

.card-install {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  align-self: end;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 21px;
  transition: color 140ms ease, background 140ms ease;
}

.card-install:hover {
  background: var(--ink);
  color: var(--acid);
}

.empty-state {
  margin: 80px 0 0;
  padding: 60px;
  border: 1px dashed var(--line-light);
  color: var(--muted-light);
  text-align: center;
}

.standard-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(70px, 10vw, 170px);
  padding: clamp(90px, 11vw, 170px) clamp(20px, 4vw, 64px);
  background: var(--vermilion);
  color: var(--ink);
}

.standard-lead {
  align-self: start;
}

.standard-lead h2 {
  font-size: clamp(48px, 5.5vw, 88px);
}

.standard-lead > p:not(.eyebrow) {
  max-width: 620px;
  margin: 34px 0;
  font-size: 17px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.standard-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: standard;
}

.standard-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 38px 0;
  border-top: 1px solid rgba(16, 17, 14, 0.32);
}

.standard-steps li:last-child {
  border-bottom: 1px solid rgba(16, 17, 14, 0.32);
}

.standard-steps > li > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.standard-steps h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 31px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.standard-steps p {
  margin: 0;
  color: #3f211b;
  line-height: 1.65;
}

.compatibility-section {
  padding: clamp(90px, 11vw, 170px) clamp(20px, 4vw, 64px);
  background: var(--ink);
}

.compatibility-heading .eyebrow {
  color: var(--muted-dark);
}

.compatibility-heading > p {
  color: var(--muted-dark);
}

.compatibility-table {
  border-top: 1px solid var(--line-dark);
}

.compatibility-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 24px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--line-dark);
}

.compatibility-row strong {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
}

.compatibility-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c4c6bc;
}

.compatibility-header {
  min-height: 54px;
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compatibility-header span {
  color: var(--muted-dark);
}

.coverage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
}

.coverage-dot.partial {
  background: #ffd05d;
}

.coverage-dot.source {
  background: #8fa7ff;
}

.closing-section {
  display: grid;
  min-height: 560px;
  place-content: center;
  justify-items: center;
  padding: 90px 20px;
  background: var(--acid);
  color: var(--ink);
  text-align: center;
}

.closing-section p {
  margin: 0 0 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.closing-section h2 {
  max-width: 1050px;
}

.closing-section a {
  display: flex;
  min-width: 280px;
  justify-content: space-between;
  margin-top: 54px;
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 118px;
  gap: 30px;
  padding: 26px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 11px;
}

.footer-wordmark {
  color: var(--paper);
}

.site-footer > p {
  margin: 0;
  text-align: center;
}

.site-footer > div:last-child {
  display: flex;
  justify-self: end;
  gap: 24px;
}

.install-dialog {
  position: relative;
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.5);
}

.install-dialog[open] {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(440px, 1.2fr);
}

.install-dialog::backdrop {
  background: rgba(5, 6, 5, 0.82);
  backdrop-filter: blur(7px);
}

.install-dialog > form {
  display: contents;
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 15px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: var(--paper-bright);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.dialog-art {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--ink);
}

.dialog-art img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
}

.dialog-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5));
}

.dialog-art span {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 26px;
  padding: 8px 10px;
  background: var(--acid);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dialog-content {
  padding: clamp(38px, 5vw, 70px);
}

.dialog-content .eyebrow {
  color: var(--muted-light);
}

.dialog-content h2 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.dialog-content > p:not(.eyebrow):not(.trust-note) {
  margin: 0;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.65;
}

.dialog-options {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  margin-top: 32px;
}

.dialog-options fieldset,
.dialog-options label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.dialog-options legend,
.dialog-options label > span {
  margin-bottom: 8px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.segment-control,
.os-switch {
  display: flex;
}

.segment-control button,
.os-switch button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.segment-control button + button,
.os-switch button + button {
  border-left: 0;
}

.segment-control button.is-active,
.os-switch button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.dialog-options select {
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  background: var(--paper-bright);
  color: var(--ink);
}

.capability-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--vermilion);
  background: #eeeae0;
  color: #4d4f48;
  font-size: 12px;
  line-height: 1.55;
}

.command-panel {
  margin-top: 24px;
  padding: 18px;
  background: var(--ink);
  color: var(--paper);
}

.command-panel[hidden] {
  display: none;
}

.command-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.os-switch button {
  min-height: 30px;
  padding: 0 9px;
  border-color: var(--line-dark);
  color: var(--muted-dark);
  font-size: 10px;
}

.os-switch button.is-active {
  background: var(--acid);
  color: var(--ink);
}

.command-panel code {
  display: block;
  max-height: 106px;
  padding: 14px;
  overflow: auto;
  background: #22241e;
  color: #e5e7dc;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.copy-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid var(--line-dark);
  background: transparent;
  cursor: pointer;
  color: var(--acid);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-action {
  background: var(--ink);
  color: var(--paper);
}

.primary-action:hover {
  color: var(--acid);
}

.secondary-action:hover {
  background: #ece8dc;
}

.trust-note {
  margin: 19px 0 0;
  color: #73756d;
  font-size: 10px;
  line-height: 1.55;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100vw - 44px));
  padding: 14px 18px;
  transform: translateY(150%);
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-lower {
    margin-left: 0;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(16, 17, 14, 0.3);
  }

  .section-heading,
  .standard-section {
    grid-template-columns: 1fr;
  }

  .collection-picker {
    grid-template-columns: 1fr;
  }

  .collection-button {
    min-height: 112px;
  }

  .theme-card,
  .theme-card:nth-child(n) {
    grid-column: span 6;
  }

  .standard-section {
    gap: 64px;
  }

  .install-dialog[open] {
    grid-template-columns: 1fr;
  }

  .dialog-art {
    min-height: 280px;
    max-height: 320px;
  }

  .dialog-art img {
    min-height: 320px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > p {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 66px;
  }

  .wordmark > span:last-child {
    display: none;
  }

  .hero {
    padding-top: 65px;
  }

  .hero h1 {
    font-size: clamp(64px, 22vw, 108px);
    line-height: 0.82;
  }

  .hero-accent {
    margin: 10px 0 0;
  }

  .hero-lower {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .hero-orbit,
  .hero-seal {
    opacity: 0.5;
  }

  .proof-strip div {
    min-height: 88px;
    padding: 16px 20px;
  }

  .proof-strip strong {
    font-size: 29px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 45px;
  }

  .collection-button {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 20px 16px;
  }

  .collection-count {
    display: none;
  }

  .collection-button strong {
    font-size: 24px;
  }

  .gallery-controls {
    grid-template-columns: 1fr;
  }

  .filter-group {
    width: 100%;
    flex-wrap: wrap;
  }

  .filter-button {
    flex: 1 1 40%;
    padding: 0 8px;
  }

  .theme-card,
  .theme-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .card-body h3 {
    font-size: 29px;
  }

  .standard-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .standard-steps li {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .standard-steps > li > span {
    width: 42px;
    height: 42px;
  }

  .compatibility-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 18px 0;
  }

  .compatibility-row > :last-child {
    grid-column: 2;
  }

  .compatibility-header {
    display: none;
  }

  .closing-section {
    min-height: 480px;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .site-footer > div:last-child {
    gap: 14px;
  }

  .dialog-content {
    padding: 34px 22px;
  }

  .install-dialog {
    position: fixed;
    inset: 16px;
    width: auto;
    height: auto;
    max-height: none;
    margin: 0;
  }

  .dialog-options,
  .dialog-actions {
    grid-template-columns: 1fr;
  }

  .dialog-close {
    position: fixed;
    top: 24px;
    right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
