/* trackReg site: the main app's light palette and type, in plain CSS. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: oklch(0.98 0 0);
  --foreground: oklch(0.15 0 0);
  --card: oklch(1 0 0);
  --muted: oklch(0.94 0 0);
  --muted-foreground: oklch(0.45 0 0);
  --border: oklch(0.88 0 0);
  --primary: oklch(0.68 0.22 55);
  --primary-foreground: oklch(0.98 0 0);
  /* The orange you read: --primary is only ~2.9:1 on the light base. */
  --signal-display: oklch(0.65 0.21 55);
  --signal-text: oklch(0.53 0.17 47);
  --dark: oklch(0.17 0 0);
  --dark-muted: oklch(0.72 0 0);
  --radius: 0.5rem;
  --container: 72rem;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--foreground);
  color: var(--background);
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.signal {
  color: var(--signal-display);
}

/* Buttons. The outline variant's hover is the orange fill, as in the app. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 120ms ease,
    color 120ms ease,
    border-color 120ms ease;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.9rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.08);
}

.btn-primary:hover {
  background: color-mix(in oklch, var(--primary) 90%, black);
}

.btn-outline {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.btn .arrow {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.text-link {
  color: var(--signal-text);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration: underline;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 3.75rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 1.75rem;
  width: auto;
  font-family: inherit;
}

.logo-bars {
  fill: var(--primary);
}

.logo-track {
  fill: var(--muted-foreground);
}

.logo-reg {
  fill: var(--foreground);
}

.site-nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.site-nav a {
  padding: 0.4rem 0.7rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted-foreground);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

.site-nav a[aria-current='page']:hover {
  color: var(--primary-foreground);
}

@media (max-width: 40rem) {
  .header-row {
    gap: 0.75rem;
  }

  .header-cta {
    display: none;
  }

  .site-nav a {
    padding: 0.4rem 0.5rem;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in oklch, var(--muted) 40%, var(--background));
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem;
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 20rem;
  color: var(--muted-foreground);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer h2 {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  width: fit-content;
}

.site-footer nav a:hover {
  color: var(--foreground);
}

.site-footer nav a[aria-current='page'] {
  color: var(--foreground);
}

.footer-base {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  color: var(--muted-foreground);
}

/* Sections */

.section {
  padding-block: 4.5rem;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-dark {
  background: var(--dark);
  color: oklch(0.97 0 0);
  border-top: 0 !important;
}

.section-dark .lede,
.section-dark .muted {
  color: var(--dark-muted);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lede {
  margin-top: 0.85rem;
  color: var(--muted-foreground);
  font-size: 1.075rem;
}

.muted {
  color: var(--muted-foreground);
}

.small {
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 4rem 4.5rem;
  border-bottom: 1px solid var(--border);
}

/* A timing sheet's ruled lines, faded out behind the headline. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(to bottom, var(--border) 1px, transparent 1px) 0 0 / 100% 36px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 30% 30%, transparent 30%, black 100%);
  mask-image: radial-gradient(ellipse 75% 55% at 30% 30%, transparent 30%, black 100%);
}

/* A warm light behind the screenshot. */
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -20rem;
  top: 10%;
  width: 70rem;
  height: 40rem;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--primary) 18%, transparent), transparent);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: 22rem minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero .lede {
  margin-top: 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero .actions {
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 64rem) {
  .hero .actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.hero-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* A screenshot in a plain browser window. */

.browser {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  overflow: hidden;
  box-shadow:
    0 1px 2px oklch(0 0 0 / 0.05),
    0 24px 48px -16px oklch(0 0 0 / 0.18);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.25rem;
  padding: 0 0.85rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--muted) 70%, var(--card));
}

.browser-dots {
  display: flex;
  gap: 0.4rem;
}

.browser-dots span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--border);
}

.browser-url {
  flex: 1;
  max-width: 26rem;
  margin-inline: auto;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.72rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* How it works */

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--card);
  padding: 1.5rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.step .detail {
  margin-top: 0.15rem;
  color: var(--signal-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.step p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.925rem;
}

.icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  background: color-mix(in oklch, var(--primary) 14%, var(--card));
  color: var(--signal-text);
}

.icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* Feature showcase rows */

.showcase {
  display: grid;
  gap: 4rem;
}

.feature-row {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .feature-row {
    grid-template-columns: 20rem minmax(0, 1fr);
    gap: 3.5rem;
  }

  .feature-row.flip {
    grid-template-columns: minmax(0, 1fr) 20rem;
  }

  .feature-row.flip .feature-copy {
    order: 2;
  }
}

.feature-copy h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.feature-copy p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.95rem;
  height: 0.95rem;
  background: var(--signal-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.section-dark .ticks li::before {
  background: var(--primary);
}

/* Disciplines */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chips li {
  padding: 0.45rem 0.95rem;
  border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.925rem;
}

/* Checklist (features) */

.checklist {
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .checklist {
    grid-template-columns: repeat(3, 1fr);
  }
}

.checklist h3 {
  font-size: 1rem;
  font-weight: 700;
}

.checklist .ticks {
  margin-top: 0.85rem;
}

.checklist .ticks li {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

/* Pricing */

.plans {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 56rem) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan {
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--signal-text);
}

.plan-price {
  margin-top: 0.75rem;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price small {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted-foreground);
}

.plan-sub {
  margin-top: 0.6rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.plan .ticks {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.plan .ticks li {
  font-size: 0.9rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.rate-table th,
.rate-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.rate-table th {
  font-weight: 600;
  width: 40%;
}

.rate-table tr:last-child th,
.rate-table tr:last-child td {
  border-bottom: 0;
}

.callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: color-mix(in oklch, var(--primary) 10%, var(--card));
  border: 1px solid color-mix(in oklch, var(--primary) 35%, var(--border));
  font-weight: 500;
}

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  padding: 1rem 1.25rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

.terms-list {
  max-width: 48rem;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted-foreground);
}

/* Final call to action */

.cta {
  text-align: center;
}

.cta .section-head {
  margin-inline: auto;
}

.cta .actions {
  justify-content: center;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-grid .card h2 {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-grid .card p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.925rem;
}

.contact-grid .card .value {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--foreground);
  font-size: 1rem;
}

/* Legal pages */

.page-head {
  padding-block: 3.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-head .lede {
  max-width: 44rem;
}

.prose {
  max-width: 46rem;
  padding-block: 2.5rem 5rem;
}

.prose h2 {
  margin-top: 2.75rem;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose a {
  color: var(--signal-text);
  font-weight: 500;
  text-underline-offset: 3px;
}

.prose strong {
  font-weight: 650;
}

.toc {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

.toc ol {
  margin: 0.5rem 0 0;
  columns: 2 14rem;
  column-gap: 2rem;
  font-size: 0.925rem;
}

.toc li {
  break-inside: avoid;
}

.effective {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* SMS opt-in depiction */

.optin-demo {
  margin-top: 1.25rem;
  max-width: 34rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 0 8px 24px -12px oklch(0 0 0 / 0.15);
}

.optin-demo .optin-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.85rem;
}

.optin-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.optin-row input {
  margin-top: 0.3rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  flex: none;
}

.optin-row label {
  font-weight: 600;
  font-size: 0.95rem;
}

.optin-row .optin-text {
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.85rem;
  line-height: 1.5;
}

.samples {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.samples li {
  max-width: 30rem;
  padding: 0.75rem 1rem;
  border-radius: 1.1rem 1.1rem 1.1rem 0.3rem;
  background: var(--muted);
  font-size: 0.925rem;
  line-height: 1.5;
  margin: 0 !important;
}

/* 404 */

.not-found {
  padding-block: 6rem;
  text-align: center;
}

.not-found h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.not-found .actions {
  justify-content: center;
}

/* Utilities (no inline styles, so the CSP can forbid them) */

figure {
  margin: 0;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.h2-display {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.spaced {
  margin-top: 1.5rem;
}

.center {
  display: flex;
  justify-content: center;
}

.table-card {
  padding: 0;
  overflow-x: auto;
}

.prose-inline {
  padding-block: 0;
}

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

/* Two even columns: copy, then a picture. */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

/*
 * An iPhone drawn in CSS, as the main app draws it: a dark bezel, a status bar with the Dynamic
 * Island over the top of the screen, and the home indicator over its bottom. The captures have the
 * status bar cropped off, so the frame draws it in the app's own top color (iOS grouped gray).
 * Everything scales with the frame's width (cqw), so it keeps an iPhone's proportions at any size.
 */

.iphone {
  container-type: inline-size;
  width: 100%;
  max-width: 18rem;
  margin-inline: auto;
}

.iphone-bezel {
  padding: 7px;
  border-radius: calc(13.5cqw + 7px);
  background: oklch(0.15 0 0);
  box-shadow:
    0 0 0 1px oklch(0.45 0 0 / 0.5),
    0 30px 70px -28px oklch(0 0 0 / 0.45);
}

.iphone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 13.5cqw;
  background: #f2f2f7;
}

.iphone-status {
  position: relative;
  width: 100%;
  aspect-ratio: 393 / 54;
  background: #f2f2f7;
  color: oklch(0.15 0 0);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* iOS centers the time in the space left of the island, and the icons in the space right of it. */
.iphone-time {
  position: absolute;
  left: 0;
  top: 56%;
  width: 34%;
  padding-left: 4%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 4.3cqw;
  letter-spacing: -0.01em;
}

.iphone-island {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 32%;
  aspect-ratio: 126 / 37;
  transform: translateX(-50%);
  border-radius: 999px;
  background: oklch(0.15 0 0);
}

.iphone-icons {
  position: absolute;
  right: 0;
  top: 56%;
  width: 34%;
  padding-right: 4%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4cqw;
}

/* The glyphs at their size in points on a 393-point-wide iPhone: 1cqw is 3.93 points. */
.iphone-icons svg {
  height: auto;
  fill: currentColor;
}

.icon-cell {
  width: 4.33cqw;
}

.icon-wifi {
  width: 3.9cqw;
}

.icon-battery {
  width: 6.95cqw;
}

.iphone-home {
  position: absolute;
  bottom: 1.8cqw;
  left: 50%;
  width: 34%;
  height: 1.3cqw;
  transform: translateX(-50%);
  border-radius: 999px;
  background: oklch(0.15 0 0 / 0.8);
}

/* One phone, on the dark band, with the orange light behind it. */
.phone-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  padding-block: 1rem;
}

.phone-stage::before {
  content: '';
  position: absolute;
  inset: -10% -20%;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--primary) 30%, transparent), transparent);
}

.section-dark .iphone-bezel {
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 0.16),
    0 40px 80px -24px oklch(0 0 0 / 0.7);
}

/* Two phones side by side, the second set lower. */
.phones {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 3vw, 2rem);
  padding-bottom: 3rem;
}

.phones::before {
  content: '';
  position: absolute;
  inset: 5% 0;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--primary) 16%, transparent), transparent);
}

.phones .iphone {
  max-width: 16rem;
  margin: 0;
}

.phones .iphone + .iphone {
  margin-top: 3rem;
}

/* The glow behind a phone spills past the band; the band clips it so the page never scrolls sideways. */
.section-dark {
  overflow: hidden;
}

@media (max-width: 40rem) {
  .phone-stage .iphone {
    max-width: 15rem;
  }
}
