/* Spendly — landing */
:root {
  --gutter: clamp(16px, 5vw, 72px);
}

/* ---------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem var(--gutter);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.nav.solid {
  background: var(--nav-glass);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav .theme-toggle {
  margin-left: -0.75rem;
}
.nav nav a {
  color: var(--slate);
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 500;
}
.nav nav a:hover {
  color: var(--graphite);
}
@media (max-width: 760px) {
  .nav nav {
    display: none;
  }
  .nav .theme-toggle {
    margin-left: auto;
  }
}

/* ---------- hero: a cobalt block, the name in our own type, a coin as its full stop,
   and the stores riding a checkout belt along the bottom */
.hero {
  --hero-bg: #2236d6;
  --hero-ink: #ffffff;
  --hero-soft: rgba(255, 255, 255, 0.72);
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6.5rem var(--gutter) calc(var(--belt) + 3.5rem);
  text-align: center;
  color: var(--hero-ink);
  overflow: hidden;
  --belt: clamp(96px, 13vh, 128px);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(150, 165, 255, 0.45), transparent 70%),
    radial-gradient(90% 70% at 50% 120%, rgba(10, 16, 90, 0.55), transparent 70%),
    var(--hero-bg);
}
/* a fine dotted grid, like a card terminal's screen */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 80%);
  mask: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 80%);
  pointer-events: none;
}
:root[data-theme-effective='dark'] .hero {
  --hero-bg: #1a28a8;
}
.hero > * {
  position: relative;
}

.hero-mark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  font-size: clamp(4.5rem, 17vw, 15.5rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: -0.075em;
  padding-bottom: 0.14em; /* room for the p and y descenders */
  animation: fade-up 0.8s var(--ease-out) both;
}
.hero-mark .word {
  padding-right: 0.04em;
}
@media (max-width: 600px) {
  .hero-mark {
    font-size: 21vw;
  }
}
/* the full stop is a coin that keeps flipping: ETH, USDT, SOL */
.flip {
  position: relative;
  flex: none;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.02em;
  perspective: 600px;
}
.flip img {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: contain;
  filter: drop-shadow(0 0.06em 0.08em rgba(5, 10, 60, 0.45));
  backface-visibility: hidden;
  /* hidden faces wait edge-on and fully transparent (no sliver showing) */
  opacity: 0;
  transform: rotateY(90deg);
  transition: transform 0.35s cubic-bezier(0.55, 0, 1, 0.45), opacity 0s linear 0.35s;
}
.flip img.on {
  opacity: 1;
  transform: rotateY(0deg);
  transition: transform 0.35s cubic-bezier(0, 0.55, 0.45, 1) 0.35s, opacity 0s linear 0.35s;
}
.hero-line {
  margin: 0.75rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}
.hero-sub {
  margin: 0.6rem 0 0;
  max-width: 32rem;
  color: var(--hero-soft);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  text-wrap: balance;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero .btn-primary {
  background: #ffffff;
  color: #1a1d21;
}
.hero .btn-primary:hover {
  background: #e3e6fb;
}
.hero .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero .btn-ghost:hover {
  border-color: #ffffff;
}
.hero :focus-visible {
  outline-color: #ffffff;
}
.hero-line,
.hero-sub,
.hero-cta {
  animation: fade-up 0.7s var(--ease-out) both;
}
.hero-line {
  animation-delay: 0.15s;
}
.hero-sub {
  animation-delay: 0.22s;
}
.hero-cta {
  animation-delay: 0.3s;
}

/* the checkout belt */
.belt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  height: var(--belt);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 14%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 30%),
    #15171b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 -18px 40px -20px rgba(0, 0, 0, 0.5);
}
.belt-track {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin: 0;
  padding: 0 1.125rem;
  list-style: none;
  /* the rubber's ribs move with the items */
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, 0.05) 46px 48px);
  animation: belt 32s linear infinite;
}
.belt:hover .belt-track {
  animation-play-state: paused;
}
.belt .item {
  flex: none;
  display: grid;
  place-items: center;
  width: calc(var(--belt) * 1.25);
  height: calc(var(--belt) * 0.56);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 18px -8px rgba(0, 0, 0, 0.7);
  rotate: -2deg;
}
.belt .item:nth-child(3n + 2) {
  rotate: 1.5deg;
}
/* official logos: one box, sized per logo so they look the same weight */
.belt .item img {
  max-width: 72%;
  max-height: 46%;
  object-fit: contain;
}
.belt .b-amazon img { max-height: 44%; }
.belt .b-nike img { max-height: 40%; }
.belt .b-adidas img { max-height: 58%; }
.belt .b-zalando img { max-width: 78%; max-height: 34%; }
.belt .b-ikea img { max-height: 50%; }
.belt .b-airbnb img { max-height: 40%; }
.belt .item.coin {
  width: calc(var(--belt) * 0.66);
  height: calc(var(--belt) * 0.66);
  background: none;
  box-shadow: none;
  rotate: none;
}
.belt .item.coin img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.6));
}
@keyframes belt {
  to {
    transform: translateX(-100%);
  }
}

/* nav over the cobalt block (before the page scrolls) */
.nav:not(.solid) .wordmark,
.nav:not(.solid) nav a,
.nav:not(.solid) .theme-toggle {
  color: #ffffff;
}
.nav:not(.solid) nav a {
  opacity: 0.8;
}
.nav:not(.solid) nav a:hover {
  opacity: 1;
}
.nav:not(.solid) .theme-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}
.nav:not(.solid) .btn-dark {
  background: #ffffff;
  color: #1a1d21;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .belt-track {
    animation: none;
  }
}

/* ---------- how it works: three steps, then the checkout replay */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(10rem, 22vw, 20rem) var(--gutter) 0;
}
.how-title {
  margin: 0 auto 3rem;
  text-align: center;
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 750;
  text-wrap: balance;
}

/* ---------- sections */
.stores,
.install,
.connect {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(10rem, 22vw, 20rem) var(--gutter) 0;
}
.section-head {
  margin-bottom: 3rem;
  text-align: center;
}
.section-head h2,
.connect h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 750;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--slate);
  max-width: 34rem;
}
@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* store matrix */
.matrix-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.matrix th,
.matrix td {
  padding: 0.85rem 0.6rem;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.matrix tr:last-child td,
.matrix tr:last-child th {
  border-bottom: 0;
}
.matrix thead th {
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
}
.matrix thead th .flag {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}
.matrix tbody th {
  text-align: left;
  padding-left: 1.25rem;
  white-space: nowrap;
}
.matrix tbody th img {
  height: 26px;
  width: 76px;
  object-fit: contain;
  object-position: left center;
  display: inline-block;
  vertical-align: middle;
}
.matrix a.dot,
.matrix span.none {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.matrix span.none {
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--line);
  vertical-align: middle;
}
.dot.auto,
.legend .dot.auto {
  background: var(--cobalt);
}
.dot.assisted,
.legend .dot.assisted {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--cobalt);
}
.matrix a.dot:hover {
  transform: scale(1.4);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin: 1rem 0 0;
  color: var(--slate);
  font-size: var(--t-sm);
}
.legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: -0.9rem;
  vertical-align: -1px;
}
.legend .dot + * {
  margin-left: 0;
}

/* install */
.install-steps {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.install-steps li {
  counter-increment: s;
  background: var(--paper);
  padding: 1.6rem 1.5rem 1.75rem;
}
.install-steps li::before {
  content: counter(s);
  display: block;
  margin-bottom: 2.5rem;
  color: var(--cobalt);
  font-weight: 700;
}
.install-steps h3 {
  margin: 0 0 0.4rem;
  font-size: var(--t-lg);
  letter-spacing: -0.02em;
}
.install-steps p {
  margin: 0 0 1.1rem;
  color: var(--slate);
  font-size: var(--t-sm);
}
.install-steps code {
  font-size: 0.92em;
  background: var(--porcelain);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.install-after {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--slate);
  font-size: var(--t-sm);
}
@media (max-width: 760px) {
  .install-steps {
    grid-template-columns: 1fr;
  }
}

/* connect */
.connect {
  padding-bottom: clamp(10rem, 22vw, 20rem);
  text-align: center;
}
.connect h2 {
  max-width: 18ch;
  margin: 0 auto 2.25rem;
}
.connect p {
  color: var(--slate);
  margin: 1.25rem 0 2rem;
}

/* ---------- footer */
.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem var(--gutter) 3rem;
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem 4rem;
}
.foot-tag {
  margin: 0.6rem 0 0;
  color: var(--slate);
  font-size: var(--t-sm);
}
.foot-links {
  display: flex;
  gap: 4rem;
}
.foot-links div {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.foot-links p {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: var(--t-sm);
}
.foot-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: var(--t-sm);
}
.foot-links a:hover {
  color: var(--graphite);
}
.foot-legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--mist);
  font-size: var(--t-xs);
}
@media (max-width: 760px) {
  .foot {
    grid-template-columns: 1fr;
  }
  .foot-links {
    gap: 2.5rem;
  }
}

.browser {
  /* someone else's web page: keeps a light palette, the window frame follows the theme */
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-lift);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.lights {
  display: flex;
  gap: 6px;
}
.lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 auto;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: var(--porcelain);
  color: var(--slate);
  font-size: var(--t-xs);
  min-width: min(340px, 60%);
  justify-content: center;
}
.browser-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #ffffff;
  color: #1a1d21;
}
:root[data-theme-effective='dark'] .browser-page {
  background: #e9eaec;
}
.shop {
  max-width: 520px;
}
.shop-title {
  margin: 0 0 1.25rem;
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.shop-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e3e5e8;
  font-size: var(--t-sm);
}
.shop-item small {
  display: block;
  color: #1e7f5c;
}
.shop-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 42%, #2a2e35 0 26%, transparent 27%), radial-gradient(circle at 50% 42%, transparent 0 34%, #2a2e35 35% 40%, transparent 41%), #eef0f2;
}
.shop-thumb.alt {
  background: linear-gradient(135deg, transparent 0 30%, #7d8bff 30% 70%, transparent 70%), #eef0f2;
  background-size: 60% 80%, auto;
  background-position: center;
  background-repeat: no-repeat;
}
.shop-sum {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.45rem;
  font-size: var(--t-sm);
}
.shop-sum div {
  display: flex;
  justify-content: space-between;
}
.shop-sum dt {
  color: #626873;
}
.shop-sum dd {
  margin: 0;
}
.shop-paid {
  color: #2b3fe0;
  font-weight: 600;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), opacity 0.4s;
}
.shop-paid dt {
  color: inherit;
}
.browser[data-step='done'] .shop-paid {
  max-height: 2rem;
  opacity: 1;
}
.shop-total {
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1px solid #1a1d21;
  font-weight: 700;
  font-size: var(--t-lg);
}
.shop-total dt {
  color: #1a1d21;
}
.shop-total [data-total] {
  display: inline-block;
}
.browser[data-step='done'] .shop-total [data-total] {
  animation: pop 0.5s var(--ease-out);
}
.shop-place {
  display: block;
  margin-top: 1.5rem;
  padding: 0.7rem;
  border-radius: 999px;
  background: #f3d36b;
  text-align: center;
  font-weight: 600;
  font-size: var(--t-sm);
  color: #1a1d21;
}
@keyframes pop {
  40% {
    transform: scale(1.12);
    color: #2b3fe0;
  }
}

/* the Spendly panel, as the extension draws it */
.panel {
  align-self: start;
  border-radius: 16px;
  background: #f6f7f8;
  box-shadow: 0 0 0 1px #dfe2e6, 0 24px 60px -24px rgba(26, 29, 33, 0.45);
  font-size: var(--t-sm);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #dfe2e6;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.panel-head i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url('/assets/logo-mark.svg') center / contain no-repeat;
}
.panel-head small {
  font-weight: 500;
  color: #626873;
  letter-spacing: 0;
}
.panel-body {
  padding: 14px;
  min-height: 176px;
  display: grid;
}
.pv {
  grid-area: 1 / 1;
  display: none;
  align-content: start;
}
.browser[data-step='idle'] .pv[data-v='idle'],
.browser[data-step='checking'] .pv[data-v='checking'],
.browser[data-step='plan'] .pv[data-v='plan'],
.browser[data-step='wallet'] .pv[data-v='wallet'],
.browser[data-step='paying'] .pv[data-v='paying'],
.browser[data-step='done'] .pv[data-v='done'] {
  display: grid;
  animation: rise 0.3s var(--ease-out);
}
.panel-q {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: var(--t-md);
}
.panel-q.ok {
  color: #1e7f5c;
}
.panel-sub {
  margin: 0;
  color: #626873;
}
.panel-amount {
  margin: 0 0 0.5rem;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.pl {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
}
.pl.cost {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #dfe2e6;
}
.pl.dim {
  color: #626873;
  font-size: 12px;
}
.panel-btn {
  margin-top: 12px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #2b3fe0;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.panel-btn:hover {
  background: #1f2fb0;
}
.panel-btn.ghost {
  background: transparent;
  color: #1a1d21;
  box-shadow: inset 0 0 0 1px #d3d7dc;
}
.browser[data-step='idle'] [data-demo='plan'] {
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge {
  0%,
  70%,
  100% {
    box-shadow: 0 0 0 0 rgba(43, 63, 224, 0.45);
  }
  85% {
    box-shadow: 0 0 0 8px rgba(43, 63, 224, 0);
  }
}
.bar {
  display: block;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 2px;
  background: #e3e5e8;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: #2b3fe0;
  border-radius: 2px;
  animation: slide 1s ease-in-out infinite;
}
@keyframes slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #9aa0a9;
  transition: color 0.3s;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #d3d7dc;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.ticks li.on {
  color: #1a1d21;
}
.ticks li.on::before {
  background: #1e7f5c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: none;
}

/* a generic wallet confirmation window */
.wallet-pop {
  position: absolute;
  top: 1rem;
  right: calc(clamp(1.25rem, 3vw, 2.5rem) + 340px);
  width: 270px;
  padding: 1rem;
  border-radius: 14px;
  background: #1a1d21;
  color: #fff;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
  font-size: var(--t-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0s 0.3s;
}
.browser[data-step='wallet'] .wallet-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.3s var(--ease-out);
}
.wp-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.wp-dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f3a34a, #e2761b);
}
.wp-site {
  margin: 0.8rem 0 0.9rem;
  color: #9aa1ab;
  font-size: var(--t-xs);
}
.wp-what {
  margin: 0;
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.wp-sub {
  margin: 0.2rem 0 1rem;
  color: #9aa1ab;
  font-size: var(--t-xs);
}
.wp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.wp-actions button {
  min-height: 38px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}
.wp-no {
  background: #2c3139;
  color: #fff;
}
.wp-yes {
  background: #6b7bff;
  color: #fff;
}
.browser[data-step='wallet'] .wp-yes {
  animation: nudge 2.4s ease-in-out infinite;
}
@media (max-width: 860px) {
  .browser-page {
    grid-template-columns: 1fr;
  }
  .panel {
    order: -1;
  }
  .wallet-pop {
    left: 50%;
    right: auto;
    top: 4.5rem;
    margin-left: -135px;
  }
}

/* ---------- faq */
.faq {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(10rem, 22vw, 20rem) var(--gutter) 0;
}
.faq h2 {
  margin: 0 0 3rem;
  text-align: center;
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 750;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: var(--t-lg);
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--graphite), var(--graphite)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) center / 1.5px 12px no-repeat;
  transition: transform 0.25s var(--ease-out);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  margin: -0.25rem 0 1.25rem;
  color: var(--slate);
  max-width: 40rem;
}
.faq-list details[open] p {
  animation: rise 0.3s var(--ease-out);
}
@media (max-width: 860px) {
  .faq {
    grid-template-columns: 1fr;
  }
}
