:root {
  color-scheme: light dark;

  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1120px;

  --bg: #e3f2f0;
  --ink: #062a2e;
  --ink-soft: #1c4146;
  --link: #08606a;
  --focus: #08505a;
  --hairline: rgba(6, 42, 46, 0.14);

  --glass: rgba(255, 255, 255, 0.56);
  --glass-hover: rgba(255, 255, 255, 0.72);
  --glass-solid: #eef8f7;
  --glass-inner: rgba(255, 255, 255, 0.5);
  --sheen: rgba(255, 255, 255, 0.45);
  --edge-hi: rgba(255, 255, 255, 0.95);
  --edge-lo: rgba(255, 255, 255, 0.28);
  --rim-in: rgba(255, 255, 255, 0.9);
  --rim-in-low: rgba(255, 255, 255, 0.35);
  --shadow: 0 28px 50px -28px rgba(6, 70, 76, 0.45), 0 3px 10px rgba(6, 70, 76, 0.08);

  --primary-a: #0e7c80;
  --primary-b: #09636a;
  --on-primary: #ffffff;

  --blob-a: rgba(104, 182, 181, 0.85);
  --blob-b: rgba(168, 228, 203, 0.85);
  --blob-c: rgba(170, 203, 247, 0.8);
  --blob-d: rgba(214, 198, 247, 0.7);
  --blob-e: rgba(255, 214, 190, 0.7);
  --aurora-1: rgba(150, 230, 210, 0.5);
  --aurora-2: rgba(170, 190, 250, 0.42);

  --screen: rgba(255, 255, 255, 0.4);
  --screen-line: rgba(6, 42, 46, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #031419;
    --ink: #e8f6f5;
    --ink-soft: #cbe3e2;
    --link: #8fe3dc;
    --focus: #9dede6;
    --hairline: rgba(255, 255, 255, 0.14);

    --glass: rgba(7, 30, 36, 0.58);
    --glass-hover: rgba(24, 66, 72, 0.7);
    --glass-solid: #0f2b30;
    --glass-inner: rgba(255, 255, 255, 0.07);
    --sheen: rgba(255, 255, 255, 0.09);
    --edge-hi: rgba(255, 255, 255, 0.55);
    --edge-lo: rgba(255, 255, 255, 0.08);
    --rim-in: rgba(255, 255, 255, 0.22);
    --rim-in-low: rgba(255, 255, 255, 0.08);
    --shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.65), 0 3px 10px rgba(0, 0, 0, 0.3);

    --primary-a: #8fe3dc;
    --primary-b: #62c9c3;
    --on-primary: #02262a;

    --blob-a: rgba(14, 104, 106, 0.95);
    --blob-b: rgba(14, 92, 70, 0.8);
    --blob-c: rgba(30, 62, 128, 0.8);
    --blob-d: rgba(62, 40, 112, 0.7);
    --blob-e: rgba(70, 40, 44, 0.45);
    --aurora-1: rgba(30, 140, 110, 0.28);
    --aurora-2: rgba(60, 90, 190, 0.26);

    --screen: rgba(255, 255, 255, 0.06);
    --screen-line: rgba(255, 255, 255, 0.4);
  }
}

@media (prefers-contrast: more) {
  :root {
    --glass: rgba(255, 255, 255, 0.82);
    --glass-inner: rgba(255, 255, 255, 0.8);
    --hairline: rgba(6, 42, 46, 0.45);
  }
}

@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root {
    --glass: rgba(10, 36, 41, 0.9);
    --glass-inner: rgba(10, 36, 41, 0.9);
    --hairline: rgba(255, 255, 255, 0.45);
  }
}

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

html {
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  position: relative;
  z-index: 0;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

body::before {
  background:
    radial-gradient(44% 40% at 18% 28%, var(--blob-a) 0%, transparent 70%),
    radial-gradient(34% 30% at 80% 16%, var(--blob-c) 0%, transparent 70%),
    radial-gradient(40% 36% at 72% 74%, var(--blob-b) 0%, transparent 70%),
    radial-gradient(30% 28% at 16% 80%, var(--blob-d) 0%, transparent 70%),
    radial-gradient(24% 22% at 52% 48%, var(--blob-e) 0%, transparent 70%);
  animation: drift-a 52s ease-in-out infinite alternate;
}

body::after {
  background: linear-gradient(118deg, transparent 22%, var(--aurora-1) 42%, var(--aurora-2) 58%, transparent 76%);
  animation: drift-b 74s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from {
    transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1);
  }
  to {
    transform: translate3d(3%, 3%, 0) rotate(9deg) scale(1.08);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(4%, 0, 0) rotate(-4deg) scale(1.05);
  }
  to {
    transform: translate3d(-4%, 3%, 0) rotate(5deg) scale(1);
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

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

[tabindex="-1"]:focus {
  outline: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 1.2rem + 4.8vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* Glass */

.glass {
  position: relative;
  background:
    radial-gradient(130% 90% at 0% 0%, var(--sheen), transparent 55%),
    var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
  box-shadow:
    inset 0 1px 1px var(--rim-in),
    inset 0 -1px 1px var(--rim-in-low),
    inset 0 0 24px var(--rim-in-low),
    var(--shadow);
  border-radius: 28px;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.25px;
  pointer-events: none;
  background: linear-gradient(140deg, var(--edge-hi), var(--edge-lo) 28%, var(--edge-lo) 62%, var(--edge-hi));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.glass-inner {
  position: relative;
  background: var(--glass-inner);
  box-shadow:
    inset 0 1px 1px var(--rim-in),
    inset 0 -1px 1px var(--rim-in-low);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: var(--glass-solid);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--glass-solid);
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-block: 12px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 8px;
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 6px 6px 6px 12px;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 22.4%;
  box-shadow: 0 0 0 1px var(--rim-in-low), 0 4px 10px -4px rgba(0, 40, 45, 0.5);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin: 0;
  margin-inline-start: auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nav-links a:hover {
  background: var(--glass-hover);
}

.nav-links a[aria-current="page"] {
  background: var(--glass-hover);
  box-shadow: inset 0 1px 1px var(--rim-in);
}

.nav-links .wide-only {
  display: none;
}

@media (min-width: 640px) {
  .nav-links a {
    padding: 0 16px;
    font-size: 1rem;
  }

  .nav-links .wide-only {
    display: block;
  }
}

/* Buttons and pills */

.btn,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.btn {
  position: relative;
  background:
    radial-gradient(120% 120% at 0% 0%, var(--sheen), transparent 60%),
    var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 1px var(--rim-in),
    inset 0 -1px 1px var(--rim-in-low),
    0 10px 22px -12px rgba(6, 70, 76, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  background-color: var(--glass-hover);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary-a), var(--primary-b));
  color: var(--on-primary);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 1px rgba(0, 0, 0, 0.12),
    0 12px 24px -12px rgba(6, 90, 96, 0.7);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--primary-a), var(--primary-b));
  filter: brightness(1.06);
}

.pill {
  background:
    radial-gradient(120% 120% at 0% 0%, var(--sheen), transparent 60%),
    var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 1px var(--rim-in),
    inset 0 -1px 1px var(--rim-in-low),
    0 10px 22px -14px rgba(6, 70, 76, 0.4);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (prefers-reduced-transparency: reduce) {
  .btn,
  .pill {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--glass-solid);
  }
}

/* Layout helpers */

main {
  flex: 1 0 auto;
}

.section {
  padding-block: clamp(32px, 6vw, 72px);
  scroll-margin-top: 80px;
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lede {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.5;
}

/* Hero */

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: clamp(24px, 6vw, 72px) clamp(32px, 6vw, 72px);
}

.hero-copy .lede {
  max-width: 36rem;
  margin-top: 22px;
}

.hero-copy .cta-row {
  margin-top: 32px;
}

.hero-visual {
  order: -1;
}

.icon-plate {
  width: 112px;
  padding: 8%;
  border-radius: 27%;
}

.icon-plate img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22.37%;
  box-shadow: 0 12px 28px -12px rgba(0, 40, 45, 0.6);
}

.hero-phone,
.chip {
  display: none;
}

.chip {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}

.chip svg.glyph {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

@media (min-width: 640px) {
  .hero {
    padding-block-start: clamp(32px, 6vw, 72px);
  }

  .hero-visual {
    order: 0;
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 440 / 540;
    margin-inline: auto;
  }

  .hero-visual .hero-phone {
    display: block;
    position: absolute;
    right: 3%;
    top: 0;
    width: 56%;
    transform: rotate(5deg);
  }

  .hero-phone .phone-screen {
    align-content: start;
    padding-top: 22%;
  }

  .icon-plate {
    position: absolute;
    left: 0;
    bottom: 7%;
    width: 50%;
    transform: rotate(-5deg);
  }

  .chip {
    display: inline-flex;
    position: absolute;
  }

  .chip-1 {
    left: 0;
    top: 8%;
  }

  .chip-2 {
    right: 0;
    top: 60%;
  }

  .chip-3 {
    left: 1%;
    top: 22%;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .chip {
    animation: bob 7s ease-in-out infinite alternate;
  }

  .chip-2 {
    animation-duration: 8.5s;
    animation-delay: -3s;
  }

  .chip-3 {
    animation-duration: 6.5s;
    animation-delay: -5s;
  }

  .icon-plate {
    animation: bob 9s ease-in-out infinite alternate;
    animation-delay: -2s;
  }
}

@keyframes bob {
  from {
    translate: 0 -6px;
  }
  to {
    translate: 0 6px;
  }
}

/* Phone frame placeholders */

.phone {
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 9 / 19.5;
  margin: 0;
  padding: 9px;
  border-radius: 40px;
}

.phone-screen {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px 16px;
  border: 1.5px dashed var(--screen-line);
  border-radius: 32px;
  background: var(--screen);
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 30%;
  height: 18px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.85;
  translate: -50% 0;
}

/* Cards and grids */

.card {
  padding: 28px;
}

.card h3 {
  margin-top: 20px;
}

.card p {
  margin-top: 10px;
  color: var(--ink-soft);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card {
    transition: transform 0.25s ease;
  }

  .card:hover {
    transform: translateY(-3px);
  }
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--t1), var(--t2));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -7px 12px rgba(0, 0, 0, 0.14),
    0 10px 20px -10px rgba(10, 70, 80, 0.6);
}

.tile svg {
  width: 26px;
  height: 26px;
}

svg.glyph {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.t1 { --t1: #4fb3b0; --t2: #1d7f86; }
.t2 { --t1: #ffa07a; --t2: #ee6a43; }
.t3 { --t1: #6fbdfa; --t2: #3a82e4; }
.t4 { --t1: #86d493; --t2: #3fa867; }
.t5 { --t1: #a898f2; --t2: #6a5ad6; }
.t6 { --t1: #44c0cc; --t2: #1b8aa8; }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary-a), var(--primary-b));
  color: var(--on-primary);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    0 10px 20px -10px rgba(6, 90, 96, 0.7);
}

/* Privacy */

.panel {
  display: grid;
  gap: 32px;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 36px;
}

.panel .lede {
  margin-top: 18px;
}

.panel .btn {
  margin-top: 28px;
}

@media (min-width: 860px) {
  .panel-privacy {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 56px;
  }
}

.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 18px;
  border-radius: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.check-dot {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #86d493, #3fa867);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.check-dot svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

/* Platforms */

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform h3 {
  font-size: 1.5rem;
}

.platform p {
  margin-top: 8px;
}

/* Closing call to action */

.closing {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(32px, 6vw, 64px) var(--gutter);
  text-align: center;
  border-radius: 36px;
}

.closing p {
  max-width: 34rem;
  color: var(--ink-soft);
}

/* Page heads for support and press */

.page-head {
  max-width: 46rem;
  padding-block: clamp(24px, 6vw, 64px) clamp(16px, 3vw, 32px);
}

.page-head .lede {
  margin-top: 20px;
}

.stack {
  display: grid;
  gap: 20px;
}

.stack > h2 {
  margin-top: clamp(16px, 3vw, 32px);
}

.prose {
  padding: clamp(22px, 4vw, 36px);
}

.prose p {
  max-width: 42rem;
  margin: 0;
  color: var(--ink);
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 24px;
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 16px 64px 16px 22px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-72%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: translateY(-28%) rotate(-135deg);
}

.faq .answer {
  padding: 0 22px 22px;
}

.faq .answer p {
  max-width: 42rem;
  color: var(--ink);
}

.contact-card {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
}

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

.email {
  overflow-wrap: anywhere;
}

/* Press */

.facts {
  margin: 0;
  padding: clamp(8px, 2vw, 16px) clamp(22px, 4vw, 36px);
}

.facts > div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}

.facts > div:first-child {
  border-top: 0;
}

.facts dt {
  color: var(--ink-soft);
  font-weight: 700;
}

.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .facts > div {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 24px;
  }
}

.icon-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
}

.icon-card .icon-plate {
  position: static;
  width: 144px;
  transform: none;
  animation: none;
}

.icon-card p {
  color: var(--ink-soft);
}

.icon-card .btn {
  margin-top: 18px;
}

@media (min-width: 640px) {
  .icon-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 36px;
  }
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px;
  justify-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shots .phone {
  width: min(100%, 240px);
}

/* Footer */

.site-footer {
  flex: none;
  padding-block: clamp(32px, 6vw, 64px) 24px;
}

.footer-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px 22px;
  border-radius: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  background: var(--glass-hover);
}

.copy {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 479px) {
  .footer-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links a {
    padding: 0 10px;
  }
}

/* Legal pages */

.page-head .effective {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal {
  max-width: 52rem;
  margin-bottom: clamp(16px, 4vw, 40px);
  padding: clamp(22px, 4vw, 44px);
  line-height: 1.6;
}

.legal > h2 {
  margin: 2.4rem 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.25;
  scroll-margin-top: 96px;
}

.legal > h2:first-child {
  margin-top: 0;
}

.legal p {
  margin: 0.85rem 0;
}

.legal ul,
.legal ol {
  margin: 0.85rem 0;
  padding-left: 1.35rem;
}

.legal li {
  margin: 0.5rem 0;
}

.legal li::marker {
  color: var(--link);
  font-weight: 700;
}

.legal .card {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--glass-inner);
}

.legal .card:hover {
  transform: none;
}

.legal .card > p:only-child {
  margin: 0;
  color: var(--ink);
}

.legal ol.see {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: see;
}

.legal ol.see > li {
  position: relative;
  margin: 0;
  padding: 1rem 1.2rem 1rem 3.4rem;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--glass-inner);
  counter-increment: see;
}

.legal ol.see > li::before {
  content: counter(see);
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--primary-a);
  color: var(--on-primary);
  font-size: 0.875rem;
  font-weight: 700;
}

.legal-foot {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Invite fallback page */

.pair {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding-block: 24px;
}

.pair-card {
  width: min(100%, 26rem);
  padding: clamp(24px, 6vw, 36px);
  text-align: center;
}

.pair-card img {
  margin: 0 auto 16px;
  border-radius: 22.37%;
}

.pair-card h1 {
  font-size: 1.5rem;
}

.pair-card p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.pair-card ol {
  margin: 20px 0 0;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: left;
}

.pair [hidden] {
  display: none !important;
}

.pair-code {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--glass-inner);
  color: var(--ink) !important;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  -webkit-user-select: all;
  user-select: all;
}

.pair-expired {
  color: #b3261e !important;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .pair-expired {
    color: #ffb4ab !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
