/* Still Safe LLC site styles. Shared by every page on stillsafecheckin.com. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-muted: #f3f3f5;
  --border: #e5e5e5;
  --border-strong: #d4d4d8;
  --text: #09090b;
  --muted: #52525b;
  --faint: #71717a;
  --accent: #09090b;
  --on-accent: #fafafa;
  --notice-bg: #fdf8ec;
  --notice-border: #f0dfb4;
  --notice-text: #5c4205;
  --danger: #b42318;
  --badge-bg: #09090b;
  --badge-border: #09090b;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --page: 1120px;
  --reading: 760px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1c1c1e;
    --surface-muted: #232326;
    --border: #2e2e32;
    --border-strong: #3f3f46;
    --text: #ededf2;
    --muted: #a1a1aa;
    --faint: #8e8e96;
    --accent: #fafafa;
    --on-accent: #09090b;
    --notice-bg: #2a2416;
    --notice-border: #4a3d1c;
    --notice-text: #f2d28b;
    --danger: #f97066;
    --badge-bg: #000000;
    --badge-border: #3f3f46;
  }
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
}

strong {
  font-weight: 600;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-200%);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.page-shell,
.footer-inner,
.site-footer:not(:has(.footer-inner)) {
  width: min(var(--page), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav,
.legal-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar,
.legal-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a,
.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.legal-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"],
.legal-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-muted);
}

@media (max-width: 560px) {
  .legal-nav-header .header-inner,
  .site-header:has(.legal-nav) .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0.25rem 0.5rem;
  }

  .legal-nav {
    margin-inline: -0.75rem;
  }

  .site-nav a {
    padding-inline: 0.6rem;
  }
}

/* Page layout */

.page-shell {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}

.page-shell.narrow {
  width: min(var(--reading), calc(100% - 2 * var(--gutter)));
}

.hero {
  max-width: var(--reading);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--faint);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

/* Cards and actions */

.summary,
.card {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.summary {
  margin-top: 2rem;
}

.summary p,
.card p {
  margin: 0;
}

.summary strong {
  display: block;
  margin-bottom: 0.15rem;
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.card ul {
  margin: 0;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.primary-link {
  background: var(--accent);
  color: var(--on-accent);
}

.primary-link:hover {
  opacity: 0.88;
  color: var(--on-accent);
}

.secondary-link {
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.secondary-link:hover {
  background: var(--surface-muted);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

.warning {
  color: var(--danger);
  font-weight: 600;
}

/* Long-form documents */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.toc {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.92rem;
}

.toc h2 {
  margin: 0 0 0.5rem;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--faint);
}

.toc a {
  display: inline-block;
  padding-block: 0.15rem;
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .content-grid {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 3.5rem;
  }

  .toc {
    position: sticky;
    top: 88px;
    padding: 0;
    border: 0;
    background: none;
  }
}

.legal-copy,
.prose {
  min-width: 0;
  max-width: 72ch;
}

.legal-copy section + section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.legal-copy h2,
.prose h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
}

.prose h2 {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

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

.legal-copy h3,
.prose h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.legal-copy p,
.prose p {
  margin: 0.7rem 0;
}

.legal-copy ul,
.legal-copy ol,
.prose ul,
.prose ol {
  display: grid;
  gap: 0.45rem;
  margin: 0.7rem 0;
  padding-left: 1.3rem;
}

.legal-copy li::marker,
.prose li::marker {
  color: var(--faint);
}

.data-table-wrap {
  overflow-x: auto;
  margin-block: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

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

th {
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

tr:last-child td {
  border-bottom: 0;
}

.notice {
  margin-block: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--notice-border);
  border-radius: var(--radius);
  background: var(--notice-bg);
  color: var(--notice-text);
}

.notice p {
  margin: 0.25rem 0 0;
}

.contact-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-card address {
  font-style: normal;
}

blockquote,
.quote {
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--border-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
  color: var(--text);
}

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

/* FAQ */

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.1rem 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}

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

.faq-list summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 1.5px solid var(--faint);
  border-bottom: 1.5px solid var(--faint);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

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

.faq-list summary h2 {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}

.faq-answer {
  max-width: 68ch;
  margin: 0;
  padding: 0 2rem 1.3rem 0;
  color: var(--muted);
}

/* Store badges */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 164px;
  min-height: 52px;
  padding: 0.45rem 1.1rem 0.45rem 0.9rem;
  border: 1px solid var(--badge-border);
  border-radius: var(--radius);
  background: var(--badge-bg);
  color: #ffffff;
  text-decoration: none;
}

.store-badge:hover {
  opacity: 0.88;
}

.store-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.store-badge-text {
  display: grid;
  line-height: 1.15;
}

.store-badge-top {
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.store-badge-bottom {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Home */

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

.row-list {
  border-top: 1px solid var(--border);
}

.row {
  display: grid;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.row h3 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.row p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

@media (min-width: 760px) {
  .row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    padding: 1.75rem 0;
  }

  .row p {
    padding-top: 0.35rem;
  }
}

.plan-note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2rem);
}

.home-hero .hero-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--border);
}

.home-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 6vw, 3.75rem);
}

.home-hero .store-badges {
  margin-top: 2rem;
}

.hero-media {
  justify-self: center;
  width: min(260px, 70vw);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--surface-muted);
  aspect-ratio: 886 / 1920;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 880px) {
  .home-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .hero-media {
    justify-self: end;
  }
}

.section {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  letter-spacing: -0.03em;
}

.gallery-controls {
  display: flex;
  gap: 0.5rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.icon-button:hover {
  background: var(--surface-muted);
}

.icon-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 1rem) / 4);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery li {
  scroll-snap-align: start;
}

.gallery img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-muted);
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
}

@media (max-width: 900px) {
  .gallery {
    grid-auto-columns: calc((100% - 2 * 1rem) / 3);
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-auto-columns: 62%;
  }
}

.feature-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .feature-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--bg);
}

.feature h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  color: var(--text);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

@media (min-width: 760px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.plan.featured {
  border: 2px solid var(--text);
  padding: calc(clamp(1.4rem, 3vw, 2rem) - 1px);
}

.plan h3 {
  margin: 0;
  font-size: 1.1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.plan-amount {
  font-size: 2.6rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-period {
  color: var(--muted);
}

.plan-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.93rem;
}

.plan-option span {
  display: block;
}

.plan-option .muted {
  font-size: 0.88rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.65rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 5px;
  margin: 0.5em 0 0 3px;
  border-left: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: rotate(-45deg);
}

.check-list li.lead {
  grid-template-columns: minmax(0, 1fr);
  color: var(--text);
}

.check-list li.lead::before {
  display: none;
}

.fine-print {
  max-width: 64ch;
  margin: 1.25rem 0 0;
  color: var(--faint);
  font-size: 0.85rem;
}

.closing {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
}

.closing .store-badges {
  justify-content: center;
}

/* Centered single-purpose pages */

.centered-page {
  display: grid;
  min-height: calc(100vh - 65px);
  place-items: center;
  padding: 3rem var(--gutter);
  text-align: center;
}

.centered-page .stack {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-width: 460px;
}

.centered-page .app-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.centered-page h1 {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
}

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

.centered-page .store-badges,
.centered-page .support-actions {
  justify-content: center;
  margin-top: 1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer:not(:has(.footer-inner)) {
  padding-block: 2rem 3rem;
}

.site-footer:not(:has(.footer-inner)) p {
  margin: 0.25rem 0;
}

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

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  }
}

.footer-brand p {
  max-width: 32ch;
  margin: 0.75rem 0 0;
}

.footer-links h2 {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-links ul {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* Motion and print */

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
  }

  .site-header,
  .toc,
  .skip-link,
  .site-footer {
    display: none;
  }

  .page-shell {
    display: block;
    width: auto;
    padding: 0;
  }

  .summary,
  .legal-copy {
    border: 0;
    padding-inline: 0;
  }

  .legal-copy section {
    break-inside: avoid;
  }
}

.gallery-section {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.gallery-head {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.prose .contact-card,
.prose .box {
  margin-top: 1.25rem;
}

.contact-card p {
  margin: 0.35rem 0;
}

@media (max-width: 879px) {
  .hero-media {
    width: min(220px, 60vw);
  }
}


/* Header actions */

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.88;
}

.menu {
  position: relative;
  display: none;
}

.menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

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

.menu summary svg {
  width: 22px;
  height: 22px;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  min-width: 220px;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
}

.menu-panel a:hover,
.menu-panel a[aria-current="page"] {
  background: var(--surface-muted);
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .menu {
    display: block;
  }
}

/* Home sections */

.section-head .lede {
  margin-top: 0.75rem;
}

.section-head.stacked {
  display: block;
}

.hero-kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--faint);
  font-size: 0.9rem;
}

.steps {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.steps li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 1px solid var(--text);
  color: var(--muted);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.steps strong {
  color: var(--text);
}

.after-note {
  margin: 2rem 0 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.split {
  display: grid;
  gap: 2rem 4rem;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.split h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  letter-spacing: -0.03em;
}

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

.moments {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.moments li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 550;
  letter-spacing: -0.015em;
}

.pull {
  max-width: 30ch;
  margin: 3rem 0 0;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.pillars {
  display: grid;
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pillars li {
  display: grid;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pillars .icon svg {
  width: 24px;
  height: 24px;
}

.faq-preview {
  display: grid;
  gap: 2rem 4rem;
}

@media (min-width: 880px) {
  .faq-preview {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

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

.cta-band {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  border-radius: 24px;
  background: var(--surface-muted);
  text-align: center;
}

.cta-band h2 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -0.035em;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.cta-band .store-badges {
  justify-content: center;
  margin-top: 0.75rem;
}

.cta-band .fine-print {
  margin-top: 0.75rem;
}

.pillars li {
  align-content: start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.pillars .icon {
  justify-self: start;
}

.faq-preview h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  letter-spacing: -0.03em;
}

.faq-preview .faq-list summary h3 {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}

.text-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}

#download.section {
  border-top: 0;
  padding-top: 0;
}
