/* ============================================================
   SnapAudio — snapaudioapp.com
   ============================================================ */

:root {
  --ink: #0a0a0b;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --edge: #26262b;
  --edge-soft: #1d1d21;

  --text: #f4f4f6;
  --muted: #9a9aa4;
  --dim: #6e6e78;

  --snap: #2bd98a;
  --snap-deep: #12b36a;

  --display: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --wrap: 1120px;
  --page-min: 375px;
  --r: 16px;
}

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

@view-transition {
  navigation: auto;
}

.siteheader {
  view-transition-name: siteheader;
}

.footer {
  view-transition-name: sitefooter;
}

@keyframes vt-in {
  from {
    opacity: 0;
  }
}

::view-transition-old(root) {
  animation: none;
}

::view-transition-new(root) {
  animation: vt-in .24s ease both;
}

@supports not (view-transition-name: none) {
  @keyframes content-in {
    from {
      opacity: 0;
    }
  }

  main {
    animation: content-in .35s ease-out both;
  }
}

@media (prefers-reduced-motion: reduce) {

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }

  main {
    animation: none;
  }
}

/* Scroll reveal: .reveal / .reveal-in are attached by app.js, which also
   strips them (and the will-change promotion) once the transition ends. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-in {
    transition: none;
  }
}

body.doc {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.doc .page {
  flex: 1 0 auto;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: auto;
}

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

body {
  margin: 0;
  min-width: var(--page-min);
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.3;
  letter-spacing: -.015em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--snap);
  text-decoration-color: rgba(43, 217, 138, .4);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--snap);
}

:focus-visible {
  outline: 2px solid var(--snap);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 999;
  background: var(--snap);
  color: #04120b;
  padding: 8px 14px;
  border-radius: 8px;
  font: 600 14px var(--ui);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.eyebrow {
  font: 500 11px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 14px;
}

.eyebrow--accent {
  color: var(--snap-deep);
}

.eyebrow--accent b {
  color: inherit;
  font-weight: 600;
  letter-spacing: .12em;
}

/* ============================================================
   Header
   ============================================================ */

.siteheader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, .78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--edge-soft);
}

.siteheader__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font: 600 17px var(--display);
  letter-spacing: -.02em;
}

.brand__mark {
  width: 25px;
  height: 25px;
  display: block;
  fill: currentColor;
}

.sitenav {
  display: flex;
  gap: 24px;
  margin-right: auto;
  font-size: .94rem;
}

.sitenav a {
  color: var(--muted);
  text-decoration: none;
}

.sitenav a:hover {
  color: var(--text);
}

.sitenav a[aria-current] {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 15px;
  border-radius: 9px;
  background: none;
  color: var(--text);
  border: 1px solid var(--edge);
  font: 600 .88rem var(--ui);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .16s ease;
}

.header-cta:hover {
  border-color: var(--text);
}

.cta-arrow {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  position: relative;
  top: 1px;
  fill: currentColor;
  stroke: none;
  opacity: .4;
  transition: opacity .16s ease;
}

.header-cta:hover .cta-arrow {
  opacity: .85;
}

.navtoggle {
  display: none;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: none;
  color: var(--text);
  border: 1px solid var(--edge);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color .16s ease;
}

.navtoggle:hover {
  border-color: var(--text);
}

.navtoggle__bars {
  position: relative;
  width: 16px;
  height: 1.5px;
}

.navtoggle__bars,
.navtoggle__bars::before,
.navtoggle__bars::after {
  display: block;
  background: currentColor;
  border-radius: 1px;
  transition: transform .18s ease, opacity .18s ease;
}

.navtoggle__bars::before,
.navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
}

.navtoggle__bars::before {
  top: -5px;
}

.navtoggle__bars::after {
  top: 5px;
}

.navtoggle[aria-expanded="true"] .navtoggle__bars {
  background: transparent;
}

.navtoggle[aria-expanded="true"] .navtoggle__bars::before {
  transform: translateY(5px) rotate(45deg);
}

.navtoggle[aria-expanded="true"] .navtoggle__bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {

  .navtoggle__bars,
  .navtoggle__bars::before,
  .navtoggle__bars::after {
    transition: none;
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 84px 24px 56px;
  text-align: left;
  position: relative;
}

.herobg {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 940px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 100%);
  mask-image: linear-gradient(#000 62%, transparent 100%);
}

/* grain kills the banding a wide gradient shows on 8-bit panels */
.herobg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}


.hero__sub {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero__cta {
  margin: 38px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero__price {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.hero__price strong {
  color: var(--text);
  font-weight: 600;
}

/* Apple's badge artwork, used as shipped — brand guidelines forbid restyling it. */
.appstore {
  display: inline-block;
  line-height: 0;
  position: relative;
}

.appstore img {
  display: block;
  height: 48px;
  width: auto;
}

.cta-note {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--text);
  font: 500 14px var(--ui);
  padding: 6px 14px;
  border-radius: 8px;
}

.cta-note[hidden] {
  display: none;
}

.trust {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 26px;
  font: 400 13.5px var(--ui);
  color: var(--dim);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--snap-deep);
  flex: 0 0 5px;
}

/* ============================================================
   Screenshot slots
   ============================================================ */

.showcase {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 110px;
}

.shot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed #33333a;
  border-radius: var(--r);
  background:
    linear-gradient(rgba(43, 217, 138, .03), transparent 60%),
    repeating-linear-gradient(45deg, #121214 0 12px, #141417 12px 24px);
  color: var(--dim);
  text-align: center;
  padding: 24px;
}

.shot--hero {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
}

.shot--filled {
  /* 1512×982: the export frame both hero layers share */
  aspect-ratio: 1512 / 982;
  padding: 0;
  border: 1px solid var(--edge-soft);
  background: none;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.hero-shot__bg,
.hero-shot__fg {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================
   Sections
   ============================================================ */

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 110px;
}

.section__head {
  max-width: 660px;
  margin-bottom: 40px;
}

.section__head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section__head--bare {
  max-width: 780px;
  margin-bottom: 26px;
}

.section__lede {
  margin: 0 0 16px;
  max-width: 62ch;
  color: var(--muted);
  text-wrap: pretty;
}

.section__head p,
.hero__sub,
h1,
h2 {
  text-wrap: balance;
}

/* ============================================================
   Scenarios
   ============================================================ */

.scenes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.scene {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r);
  padding: 26px 24px 0;
}

.scene h3 {
  margin-bottom: 10px;
}

.scene>p {
  color: var(--muted);
  font-size: .96rem;
}

.scene em {
  font-style: normal;
  color: var(--text);
}

.scene__do {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: auto -24px 0;
  padding: 14px 24px;
  border-top: 1px solid var(--edge-soft);
  color: var(--dim) !important;
  font-size: .88rem;
}

.scene__do--setting::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--snap-deep);
  flex: 0 0 7px;
}

.scene__do--setting em {
  font-style: normal;
  color: var(--muted);
}

.key--sm {
  gap: 0;
  padding: 6px 8px;
  font-size: 12.5px;
  border-radius: 7px;
}

.key--sm span {
  min-width: 11px;
}

@media (max-width: 700px) {
  .scenes {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Bento
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento__cell {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r);
  padding: 26px 24px;
  overflow: hidden;
}

.bento__cell--wide {
  grid-column: span 2;
}

.bento__cell h3 {
  margin-bottom: 9px;
}

.bento__cell p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.bento__art {
  margin-top: auto;
  padding-top: 22px;
}

.bento__art img {
  display: block;
  margin: 0;
  max-width: 100%;
  height: auto;
}

.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.key {
  display: inline-flex;
  gap: 1px;
  align-items: center;
  padding: 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--edge);
  border-radius: 8px;
  color: var(--dim);
  font: 500 14px/1 var(--ui);
}

.key span {
  min-width: 13px;
  text-align: center;
}

.key__last {
  color: var(--text);
  font-weight: 600;
}

.actions {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

/* Qualified with `p` so it outweighs `.bento__cell p`. */
p.actions__title {
  margin: auto 0 9px;
  padding-top: 22px;
  font-size: .87rem;
  color: var(--dim);
}

.actions__title+.actions {
  margin-top: 0;
}

.actions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: .93rem;
  color: var(--muted);
  border-top: 1px solid var(--edge);
}

kbd {
  font: 500 11px/1 var(--ui);
  color: var(--muted);
  border: 1px solid #35353c;
  border-radius: 5px;
  padding: 3px 6px;
  white-space: nowrap;
}

.actions__unset {
  font-size: .87rem;
  color: var(--dim);
  white-space: nowrap;
}

/* ============================================================
   Indicator gallery
   ============================================================ */

.indicators__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px 40px;
  margin-bottom: 34px;
}

.indicators__head>div:first-child {
  max-width: 560px;
}

.indicators__sub {
  margin: 14px 0 0;
  color: var(--muted);
  text-wrap: balance;
}

.vol {
  min-width: 260px;
  flex: 1;
}

.vol__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vol__value {
  font: 500 14px var(--mono);
  color: var(--muted);
  min-width: 46px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vol input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 20px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.vol input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(to right,
      var(--muted) var(--pct, 62%), var(--edge) var(--pct, 62%));
}

.vol input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.vol input[type="range"]::-moz-range-track {
  height: 5px;
  border: 0;
  border-radius: 3px;
  background: var(--edge);
}

.vol input[type="range"]::-moz-range-progress {
  height: 5px;
  border-radius: 3px;
  background: var(--muted);
}

.vol input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.vol__label {
  margin: 0 0 8px;
  font: 500 11.5px var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dim);
}

.indgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.indcard {
  background: var(--surface);
  border: 1px solid var(--edge-soft);
  border-radius: 12px;
  padding: 16px 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.indcard__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 100%;
  color: var(--text);
}

.indcard__glyph svg {
  max-width: 100%;
}

.indcard__name {
  font: 500 12.5px var(--ui);
  color: var(--muted);
}

/* ============================================================
   "What it doesn't do"
   ============================================================ */

.claims {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 48px;
  border-top: 1px solid var(--edge-soft);
}

.claim {
  padding: 26px 0;
  border-bottom: 1px solid var(--edge-soft);
}

.claim h3 {
  position: relative;
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 1.04rem;
}

.claim h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--snap-deep);
}

.claim p {
  margin: 0 0 0 18px;
  color: var(--muted);
  font-size: .95rem;
  max-width: 46ch;
}

@media (max-width: 700px) {
  .claims {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================================
   The same task, two ways
   ============================================================ */

.tasks {
  border-top: 1px solid var(--edge-soft);
}

.tasks__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--edge-soft);
}

.tasks__tab {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--edge-soft);
  background: transparent;
  font: 500 .95rem var(--ui);
  color: var(--dim);
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.tasks__tab-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.tasks__tab:hover {
  color: var(--text);
  border-color: var(--edge);
}

.tasks__tab[aria-selected="true"] {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--edge);
}

.tasks__tab:focus-visible {
  outline: 2px solid var(--snap);
  outline-offset: 2px;
}

/* The grid is applied by JS; without it the panels stay in normal flow and
   plain [hidden] leaves the first one visible instead of stacking all three. */
.tasks--ready .tasks__stack {
  display: grid;
}

.tasks--ready .task {
  grid-area: 1 / 1;
}

.tasks--ready .task[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.task {
  padding: 30px 0 0;
}

.task__situation {
  margin: 0 0 22px;
  max-width: 68ch;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}

.task__ways {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.task__ways::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--edge-soft);
}

.way__label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  font: 500 11.5px var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text);
}

.way__label span {
  letter-spacing: .04em;
  color: var(--text);
  border: 1px solid var(--dim);
  border-radius: 20px;
  padding: 3px 8px;
}

.way--snap {
  padding-left: 4px;
}

.way--snap .way__label {
  color: var(--snap-deep);
}

.way--snap .way__label span {
  color: var(--snap);
  border-color: rgba(43, 217, 138, .35);
}

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

.steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 6px 30px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 11px var(--ui);
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--edge);
}

.way--snap .steps li {
  color: var(--text);
}

.way--snap .steps li::before {
  color: var(--snap);
  border-color: rgba(43, 217, 138, .4);
}

.way__answer {
  margin: 0 0 10px;
  font: 600 1.2rem var(--display);
  letter-spacing: -.02em;
  color: var(--text);
}

.way__note {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: .87rem;
  max-width: 46ch;
}

.way__answer+.way__note {
  margin-top: 0;
}

.way__menubar {
  margin: 18px 0 0;
  padding: 0;
  width: fit-content;
  max-width: 100%;
}

.way__menubar img {
  display: block;
  width: 290px;
  max-width: 100%;
  height: auto;
}

.way__pickrow {
  margin: 18px 0 0;
  padding: 0;
  width: fit-content;
  max-width: 100%;
}

.way__pickrow img {
  display: block;
  width: 308px;
  max-width: 100%;
  height: auto;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  border-top: 1px solid var(--edge-soft);
}

.faq details {
  border-bottom: 1px solid var(--edge-soft);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  position: relative;
  font: 500 1.06rem/1.4 var(--display);
  letter-spacing: -.015em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* + that rotates 45° into × when open (two pseudo-elements sharing one centre) */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 1.8px;
  margin-top: -.9px;
  background: var(--dim);
  border-radius: 1px;
  transition: transform .2s ease, background-color .2s ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

/* .is-open is the JS-timed open state; details[open]:not(.disclosure) is the
   no-JS fallback (JS adds .disclosure and drives the timing itself). */
.faq details.is-open summary::before,
.faq details[open]:not(.disclosure) summary::before {
  transform: rotate(45deg);
}

.faq details.is-open summary::after,
.faq details[open]:not(.disclosure) summary::after {
  transform: rotate(135deg);
}

.faq details.is-open summary::before,
.faq details.is-open summary::after,
.faq details[open]:not(.disclosure) summary::before,
.faq details[open]:not(.disclosure) summary::after {
  background: var(--snap);
}

.faq details.is-open summary,
.faq details[open]:not(.disclosure) summary {
  color: var(--snap);
}

.faq p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 62ch;
  font-size: .97rem;
}

.faq ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
  max-width: 62ch;
  font-size: .97rem;
  line-height: 1.3;
}

.faq li+li {
  margin-top: .4em;
}

.faq p+ul {
  margin-top: -12px;
}

/* ============================================================
   Closing + footer
   ============================================================ */

.closing {
  text-align: center;
  padding: 96px 24px 104px;
  border-top: 1px solid var(--edge-soft);
  background: radial-gradient(closest-side at 50% 0%, rgba(43, 217, 138, .11), transparent 70%);
}

.closing__icon {
  border-radius: 20px;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px -10px #000000;
}

.closing h2 {
  margin-bottom: 30px;
}

.closing__price {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: .92rem;
}

.footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 24px 54px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  border-top: 1px solid var(--edge-soft);
  font-size: .88rem;
  color: var(--dim);
}

.footer__brand {
  margin: 0;
  font: 600 15px var(--display);
  color: var(--text);
  letter-spacing: -.02em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-right: auto;
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--snap);
}

.footer__legal {
  margin: 0;
}

/* ============================================================
   Text pages: privacy, support, releases
   ============================================================ */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.page h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.page h2 {
  font-size: 1.32rem;
  margin: 46px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--edge-soft);
}

.page h3 {
  margin: 28px 0 8px;
  font-size: 1.02rem;
  color: var(--text);
}

.page p {
  color: var(--muted);
}

.page__lede {
  font-size: 1.14rem;
  color: var(--text) !important;
}

.page__list {
  margin: 0 0 1em;
  padding-left: 1.1em;
  color: var(--muted);
}

.page__list li {
  margin-bottom: .45em;
}

.qa {
  border-top: 1px solid var(--edge-soft);
  margin-top: 2px;
}

.qa details {
  border-bottom: 1px solid var(--edge-soft);
}

.qa details:last-child {
  border-bottom: 0;
}

.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 40px 16px 0;
  position: relative;
  font: 500 1.02rem/1.4 var(--display);
  letter-spacing: -.015em;
  color: var(--text);
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::before,
.qa summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 11px;
  height: 1.8px;
  margin-top: -.9px;
  background: var(--dim);
  border-radius: 1px;
  transition: transform .2s ease, background-color .2s ease;
}

.qa summary::after {
  transform: rotate(90deg);
}

/* same open-state split as .faq above */
.qa details.is-open summary::before,
.qa details[open]:not(.disclosure) summary::before {
  transform: rotate(45deg);
}

.qa details.is-open summary::after,
.qa details[open]:not(.disclosure) summary::after {
  transform: rotate(135deg);
}

.qa details.is-open summary::before,
.qa details.is-open summary::after,
.qa details[open]:not(.disclosure) summary::before,
.qa details[open]:not(.disclosure) summary::after {
  background: var(--snap);
}

.qa details.is-open summary,
.qa details[open]:not(.disclosure) summary {
  color: var(--snap);
}

.qa p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 62ch;
  font-size: .97rem;
}

.qa p+p {
  margin-top: -6px;
}

/* JS moves each answer into .disclosure__body so its height can transition. */
.disclosure__body {
  overflow: hidden;
  transition: height .24s ease;
}

@media (prefers-reduced-motion: reduce) {
  .disclosure__body {
    transition: none;
  }

  .faq summary::before,
  .faq summary::after,
  .qa summary::before,
  .qa summary::after {
    transition: none;
  }
}

.release {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding-top: 34px;
}

.release+.release {
  margin-top: 40px;
  border-top: 1px solid var(--edge-soft);
}

.release__meta {
  position: sticky;
  top: 84px;
  align-self: start;
}

.release__version {
  margin: 0;
  font: 600 1.05rem var(--mono);
  color: var(--snap);
  letter-spacing: -.01em;
}

.release__date {
  margin: 2px 0 0;
  font-size: .86rem;
  color: var(--dim);
}

.release__body h2 {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  font-size: 1.32rem;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__cell--wide {
    grid-column: span 2;
  }

  .indgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .siteheader__in {
    gap: 12px;
  }

  .brand {
    margin-right: auto;
  }

  .header-cta {
    padding: 6px 11px;
  }

  .navtoggle {
    display: inline-flex;
  }

  .sitenav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 2px 24px 10px;
    font-size: 1rem;
    background: var(--ink);
    border-bottom: 1px solid var(--edge);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }

  .sitenav[data-open] {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .sitenav a {
    padding: 12px 2px;
    border-top: 1px solid var(--edge-soft);
  }

  .sitenav a:first-child {
    border-top: 0;
  }

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

  .bento__cell--wide {
    grid-column: span 1;
  }

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

  .hero {
    padding-top: 56px;
  }

  .herobg {
    height: 680px;
  }

  .closing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .section,
  .showcase,
  .hero {
    padding-bottom: 80px;
  }

  .task__ways {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .task__ways::before {
    display: none;
  }

  .way--snap {
    padding-left: 0;
    border-top: 1px solid var(--edge-soft);
    padding-top: 24px;
  }

  .release {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .release__meta {
    position: static;
    display: flex;
    gap: 12px;
    align-items: baseline;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .sitenav {
    transition: none;
  }
}