:root {
  --ink: #1d1d26;
  --ink-2: #2d2b36;
  --muted: #797486;
  --line: #ebe8ee;
  --paper: #fcfcfd;
  --card: #ffffff;
  --sun: #7c63ff;
  --sun-2: #9e73ff;
  --sun-soft: #f1ecff;
  --night: #101018;
  --night-2: #17171f;
  --night-line: #2a2833;
  --night-muted: #a7a2b3;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(29, 29, 38, 0.04), 0 8px 24px rgba(29, 29, 38, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(29, 29, 38, 0.35);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 253, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo__mark {
  height: 28px;
  width: auto;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: rgba(29, 29, 38, 0.05);
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav .nav__cta {
  background: var(--ink);
  color: #fff;
  margin-left: 8px;
}

.nav .nav__cta:hover {
  background: var(--sun);
  color: #fff;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
}

.btn--sun {
  background: var(--sun);
  color: #fff;
}

.btn--sun:hover {
  background: #6a50f0;
}

.btn--ghost {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.store:hover {
  transform: translateY(-1px);
  background: #000;
}

.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store small {
  font-size: 0.7rem;
  opacity: 0.75;
}

.store strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.store.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.on-dark .store {
  background: #fff;
  color: var(--ink);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Typography helpers */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sun);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
}

.section {
  padding: 120px 0;
}

.section--tight {
  padding: 80px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-top: 14px;
  max-width: 14ch;
}

.section-head p {
  max-width: 420px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--sun);
}

/* Home hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 115, 255, 0.28), rgba(255, 138, 61, 0.1) 45%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  margin: 20px 0 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--sun);
}

.hero .lead {
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero__facts div {
  display: flex;
  flex-direction: column;
}

.hero__facts strong {
  font-family: var(--display);
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__facts span {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero__stage {
  position: relative;
  height: 600px;
}

.hero__stage .phone {
  width: 220px;
}

.phone {
  position: absolute;
  width: 250px;
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  padding: 8px;
  background: #0d0b09;
  box-shadow: var(--shadow-lg);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.hero__stage .phone:nth-child(1) {
  left: 6%;
  top: 90px;
  transform: rotate(-7deg);
}

.hero__stage .phone:nth-child(2) {
  left: 50%;
  top: 20px;
  margin-left: -110px;
  z-index: 2;
}

.hero__stage .phone:nth-child(3) {
  right: 6%;
  top: 90px;
  transform: rotate(7deg);
}

/* App marquee */

.icons-band {
  position: relative;
  padding: 8px 0 24px;
}

.icons-band__label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px;
}

.icons-band__label strong {
  color: var(--ink);
  font-weight: 600;
}

.icons-band__viewport {
  position: relative;
}

/* Native horizontal scroller; site.js advances scrollLeft so it also works where CSS marquees fail (mobile Safari). */
.icons-band__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.icons-band__scroller::-webkit-scrollbar {
  display: none;
}

/* Edge fades as overlays, since mask-image renders blank in mobile Safari. */
.icons-band__viewport::before,
.icons-band__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  z-index: 1;
  pointer-events: none;
}

.icons-band__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(252, 252, 253, 0));
}

.icons-band__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(252, 252, 253, 0));
}

.icons-band__track {
  display: flex;
  width: max-content;
}

.icons-band__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: 16px;
  padding: 10px 22px 10px 10px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(29, 29, 38, 0.04), 0 6px 18px -8px rgba(124, 99, 255, 0.18);
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.icons-band__item:hover {
  transform: translateY(-3px);
  border-color: #d9d3e6;
  box-shadow: 0 12px 28px -10px rgba(124, 99, 255, 0.35);
}

.icons-band__item img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(29, 29, 38, 0.06);
}

.icons-band__item span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.icons-band__item strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}

.icons-band__item small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Spotlight */

.spotlight {
  background: var(--night);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.spotlight__copy {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.spotlight__app {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spotlight__app img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.spotlight__app span {
  color: var(--night-muted);
  font-size: 0.9rem;
}

.spotlight h3 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.spotlight p {
  color: var(--night-muted);
  font-size: 1.08rem;
  max-width: 440px;
}

.spotlight__shots {
  position: relative;
  background: radial-gradient(circle at 50% 60%, rgba(124, 99, 255, 0.4), transparent 60%);
}

.spotlight__shots .phone {
  width: 220px;
  background: #000;
}

.spotlight__shots .phone:nth-child(1) {
  left: 12%;
  top: 70px;
  transform: rotate(-6deg);
}

.spotlight__shots .phone:nth-child(2) {
  right: 12%;
  top: 110px;
  transform: rotate(6deg);
}

/* App grid */

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

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d9d3e6;
}

.app-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(29, 29, 38, 0.06);
}

.app-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.app-card:hover .app-card__arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.app-card__category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sun);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.app-card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.app-card p {
  color: var(--muted);
  font-size: 0.97rem;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1eff4;
  color: var(--ink-2);
}

.tag--sun {
  background: var(--sun-soft);
  color: #6a4fe0;
}

/* Values */

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

.value {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.value__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sun-soft);
  color: var(--sun);
  margin-bottom: 22px;
}

.value__icon svg {
  width: 24px;
  height: 24px;
}

.value h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

/* CTA band */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #7c63ff 0%, #9e73ff 60%, #b485ff 100%);
  color: #fff;
  padding: 72px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.14);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16ch;
}

.cta p {
  margin-top: 14px;
  opacity: 0.9;
  max-width: 460px;
}

.cta .btn {
  position: relative;
  z-index: 1;
  flex: none;
}

/* Footer */

.footer {
  background: var(--night);
  color: #fff;
  padding: 80px 0 36px;
  margin-top: 120px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer .logo__mark {
  height: 34px;
}

.footer__about p {
  color: var(--night-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--night-muted);
  margin: 0 0 16px;
  font-weight: 600;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer ul a {
  text-decoration: none;
  color: #e6e3ee;
  font-size: 0.95rem;
}

.footer ul a:hover {
  color: var(--sun-2);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--night-line);
  color: var(--night-muted);
  font-size: 0.9rem;
}

.footer__bottom a {
  text-decoration: none;
}

.footer__bottom a:hover {
  color: #fff;
}

/* App page */

.app-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
}

.app-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 115, 255, 0.24), rgba(255, 138, 61, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

.crumbs {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
}

.app-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.app-hero__icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 12px 30px -10px rgba(29, 29, 38, 0.35), 0 0 0 1px rgba(29, 29, 38, 0.06);
  margin-bottom: 28px;
}

.app-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  margin: 14px 0 20px;
}

.app-hero .lead {
  max-width: 560px;
}

.app-hero .tags {
  margin-top: 24px;
}

.app-hero .stores {
  margin-top: 32px;
}

.app-hero__legal {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.app-hero__legal a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-2);
  margin-right: 18px;
}

.app-hero__legal a:hover {
  color: var(--sun);
}

.app-hero__device {
  position: relative;
  height: 600px;
}

.app-hero__device .phone {
  left: 50%;
  top: 0;
  width: 280px;
  margin-left: -140px;
}

.app-hero__device .phone.is-tablet {
  width: 420px;
  margin-left: -210px;
  aspect-ratio: 3 / 4;
  top: 60px;
  border-radius: 32px;
}

.app-hero__device .phone.is-tablet img {
  border-radius: 24px;
}

.app-hero__device .phone.is-landscape {
  width: 520px;
  margin-left: -260px;
  aspect-ratio: 16 / 10;
  top: 140px;
  border-radius: 20px;
}

.app-hero__device .phone.is-landscape img {
  border-radius: 12px;
}

/* Screenshot rail */

.rail-wrap {
  position: relative;
}

.rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  --rail-gutter: max(20px, calc((100vw - var(--container)) / 2));
  padding: 8px var(--rail-gutter) 28px;
  scroll-padding-inline: var(--rail-gutter);
  scrollbar-width: thin;
}

.shot {
  flex: none;
  width: 260px;
  scroll-snap-align: start;
}

.shot.is-landscape {
  width: 540px;
}

.shot.is-tablet {
  width: 380px;
}

.shot__frame {
  border-radius: 28px;
  overflow: hidden;
  background: #f1eff4;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.shot.is-landscape .shot__frame {
  border-radius: 16px;
}

.shot__frame img {
  width: 100%;
  height: auto;
}

.shot h3 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-top: 18px;
}

.shot p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 6px;
}

.rail-controls {
  display: flex;
  gap: 8px;
}

.rail-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}

.rail-btn:hover {
  border-color: var(--ink);
}

/* About + features */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.about-grid h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 14px;
}

.prose p {
  font-size: 1.12rem;
  color: var(--ink-2);
}

.prose p + p {
  margin-top: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.feature {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature__num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--sun);
  font-size: 0.95rem;
}

.feature h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}

.feature p {
  color: var(--muted);
  font-size: 0.97rem;
}

.detail-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.detail {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.detail h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.detail p,
.detail li {
  color: var(--muted);
}

.detail ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

.download {
  background: var(--night);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.download img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.download h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.download p {
  color: var(--night-muted);
  margin-top: 10px;
  max-width: 520px;
}

.more-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Page head (apps, about, contact, legal) */

.page-head {
  position: relative;
  overflow: hidden;
  padding: 88px 0 56px;
}

.page-head::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: 900px;
  height: 600px;
  margin-left: -450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 115, 255, 0.22), rgba(255, 138, 61, 0.06) 50%, transparent 70%);
  pointer-events: none;
}

.page-head__inner {
  position: relative;
}

.page-head__inner h1 {
  max-width: 18ch;
}

.page-head--center .page-head__inner {
  text-align: center;
}

.page-head--center .page-head__inner h1 {
  margin-inline: auto;
}

.page-head h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  margin: 18px 0 20px;
}

.page-head .lead {
  max-width: 620px;
}

.page-head--center .lead {
  margin-inline: auto;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}

.filter:hover {
  border-color: var(--ink);
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* About */

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin: 18px 0 22px;
}

.about-hero .prose {
  margin-top: 20px;
}

.about-hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: #fff;
  overflow: hidden;
}

.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--night-line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #b9a6ff, #9e73ff 60%, #ff8a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--night-muted);
}

/* Contact */

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: clamp(1.15rem, 3vw, 2.4rem);
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}

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

.contact-card .btn {
  justify-self: end;
}

.contact-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Legal */

.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.legal__toc h2 {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px 10px;
  font-weight: 600;
}

.legal__toc a {
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.35;
}

.legal__toc a:hover {
  background: var(--sun-soft);
  color: var(--sun);
}

.legal__body {
  max-width: 760px;
}

.legal__body section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.legal__body section:first-child {
  padding-top: 0;
}

.legal__body h2 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.legal__body p,
.legal__body li {
  color: var(--ink-2);
  font-size: 1.02rem;
}

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

.legal__body ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.legal__body li + li {
  margin-top: 6px;
}

.legal__body a {
  color: var(--sun);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.legal-meta .tag a {
  text-decoration: none;
}

@media (max-width: 1024px) {
  .about-hero,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card .btn {
    justify-self: start;
  }

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

  .legal__toc {
    position: static;
    max-height: none;
  }

  .contact-topics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-head {
    padding: 56px 0 32px;
  }

  .contact-card {
    padding: 32px 24px;
  }

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

  .stat {
    padding: 28px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--night-line);
  }

  .stat:last-child {
    border-bottom: 0;
  }
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

}

/* Responsive */

@media (max-width: 1024px) {
  .hero__grid,
  .app-hero__grid,
  .spotlight,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero__stage {
    height: 560px;
  }

  .app-hero__device {
    height: 560px;
  }

  .spotlight__shots {
    height: 520px;
  }

  .app-grid,
  .more-apps,
  .values,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .download {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 80px 0;
  }

  .header__inner {
    height: 60px;
  }

  .logo__mark {
    height: 22px;
  }

  .nav a {
    padding: 7px 10px;
    font-size: 0.9rem;
  }

  .nav .nav__cta {
    margin-left: 4px;
    padding: 7px 14px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero__stage {
    height: 440px;
  }

  .icons-band {
    padding-top: 32px;
  }

  .icons-band__label {
    padding-inline: 20px;
  }

  .icons-band__item {
    gap: 10px;
    margin-right: 10px;
    padding: 8px 16px 8px 8px;
    border-radius: 16px;
  }

  .icons-band__item img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .icons-band__item strong {
    font-size: 0.9rem;
  }

  .hero__stage .phone {
    width: 180px;
  }

  .hero__stage .phone:nth-child(1) {
    left: -2%;
    top: 90px;
  }

  .hero__stage .phone:nth-child(2) {
    margin-left: -90px;
  }

  .hero__stage .phone:nth-child(3) {
    right: -2%;
    top: 90px;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .app-grid,
  .more-apps,
  .values,
  .features,
  .detail-sections {
    grid-template-columns: 1fr;
  }

  .spotlight__copy,
  .cta,
  .download {
    padding: 44px 28px;
  }

  .spotlight__shots {
    height: 440px;
  }

  .spotlight__shots .phone {
    width: 170px;
  }

  .cta {
    flex-direction: column;
    align-items: start;
  }

  .app-hero__device {
    height: 500px;
  }

  .app-hero__device .phone {
    width: 230px;
    margin-left: -115px;
  }

  .app-hero__device .phone.is-tablet {
    width: 320px;
    margin-left: -160px;
  }

  .app-hero__device .phone.is-landscape {
    width: 100%;
    left: 0;
    margin-left: 0;
    top: 80px;
  }

  .app-hero__device:has(.is-landscape) {
    height: 280px;
  }

  .shot {
    width: 220px;
  }

  .shot.is-landscape {
    width: 320px;
  }

  .shot.is-tablet {
    width: 280px;
  }

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