/*
 * MezaTill website. The same design as the MezaTill web app: Poppins, the brand palette of the
 * product specification (section 33), white cards on a soft canvas, and the app's navy dark mode,
 * which follows the visitor's own setting. Phone first: larger screens add to it.
 */

:root {
  --brand-50: #fce4ec;
  --brand-100: #f8bbd0;
  --brand-300: #f06292;
  --brand-500: #d81b60;
  --brand-600: #c2185b;
  --brand-700: #ad1457;
  --ink: #2b2f33;
  --heading: #1f2327;
  --muted: #6b737b;
  --line: #e7ebee;
  --accent: #00c2a8;
  --accent-dark: #008f7c;
  --canvas: #f8fafb;
  --surface: #ffffff;
  --night: #1b2430;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.05);
  --shadow-lg: 0 24px 48px -16px rgb(27 36 48 / 0.18), 0 6px 16px -8px rgb(27 36 48 / 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --wide: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --brand-50: #33131f;
    --brand-100: #4a1a2e;
    --brand-600: #f06292;
    --brand-700: #f48fb1;
    --ink: #e8ecf1;
    --heading: #f4f6f9;
    --muted: #93a0ae;
    --line: #283241;
    --canvas: #0e141b;
    --surface: #172029;
    --night: #121922;
    --accent-dark: #00a892;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 24px 48px -16px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --brand-50: #33131f;
  --brand-100: #4a1a2e;
  --brand-600: #f06292;
  --brand-700: #f48fb1;
  --ink: #e8ecf1;
  --heading: #f4f6f9;
  --muted: #93a0ae;
  --line: #283241;
  --canvas: #0e141b;
  --surface: #172029;
  --night: #121922;
  --accent-dark: #00a892;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 24px 48px -16px rgb(0 0 0 / 0.6);
  color-scheme: dark;
}

/* Base */

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: var(--brand-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--brand-500);
  color: #fff;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }
}

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

.center {
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary {
  background: var(--brand-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-700);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn-primary:hover {
    background: #ad1457;
  }
}

:root[data-theme='dark'] .btn-primary:hover {
  background: #ad1457;
}

.btn-outline {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand-300);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.875rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}

.header > .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo svg {
  width: 34px;
  height: 34px;
}

.logo b {
  font-weight: inherit;
}

.logo span {
  color: var(--brand-500);
}

.nav {
  display: none;
  margin-left: 24px;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--brand-600);
  text-decoration: none;
}

.header-actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

/* Light or dark: follows the visitor's setting until they press the button, then keeps their choice */

.theme-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.theme-button:hover {
  border-color: var(--brand-300);
  color: var(--brand-600);
}

.theme-button + .menu-button {
  margin-left: 0;
}

.theme-button svg {
  width: 20px;
  height: 20px;
}

.theme-button .icon-sun {
  display: none;
}

:root[data-theme='dark'] .theme-button .icon-moon {
  display: none;
}

:root[data-theme='dark'] .theme-button .icon-sun {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-button .icon-moon {
    display: none;
  }

  :root:not([data-theme='light']) .theme-button .icon-sun {
    display: block;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
  padding: 12px 0 16px;
}

.mobile-menu nav a {
  padding: 12px 4px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
}

.mobile-menu nav a[aria-current='page'] {
  color: var(--brand-600);
}

.mobile-menu .actions {
  display: grid;
  gap: 10px;
  padding-bottom: 20px;
}

@media (min-width: 960px) {
  .nav,
  .header-actions {
    display: flex;
  }

  .theme-button {
    width: 40px;
    height: 40px;
    margin-left: 0;
  }

  .menu-button,
  .mobile-menu,
  .mobile-menu.open {
    display: none;
  }
}

/* Sections */

.section {
  padding: 64px 0;
}

@media (min-width: 960px) {
  .section {
    padding: 96px 0;
  }
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Hero */

.hero {
  overflow: hidden;
  padding: 48px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 span {
  color: var(--brand-500);
}

.hero .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .ctas .btn {
  flex: 1 1 200px;
}

.hero .note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
}

.ticks {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
}

.ticks svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--accent-dark);
}

@media (min-width: 960px) {
  .hero {
    padding: 72px 0 96px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
  }

  .hero .ctas .btn {
    flex: 0 0 auto;
  }
}

/* A screenshot in a browser frame, and the phone beside it. */

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.shot-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.shot img {
  width: 100%;
}

.showcase {
  position: relative;
}

.phone {
  position: absolute;
  right: -8px;
  bottom: -28px;
  width: 30%;
  max-width: 190px;
  overflow: hidden;
  border: 6px solid var(--night);
  border-radius: 26px;
  background: var(--night);
  /* the thin ring keeps the phone's edge visible on the dark background */
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
}

.phone img {
  border-radius: 20px;
}

/* A phone on its own, standing in a feature row instead of beside a browser frame. */
.phone.phone-solo {
  position: static;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-width: 8px;
  border-radius: 34px;
}

.phone-solo img {
  border-radius: 26px;
}

/* Cards */

.grid {
  display: grid;
  gap: 16px;
}

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

@media (min-width: 960px) {
  .grid {
    gap: 20px;
  }

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

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.section-alt .card {
  background: var(--canvas);
}

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

.card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

a.card {
  display: block;
  color: inherit;
  transition:
    border-color 0.15s,
    transform 0.15s;
}

a.card:hover {
  border-color: var(--brand-300);
  text-decoration: none;
  transform: translateY(-2px);
}

.card .more {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand-600);
  font-size: 0.9rem;
  font-weight: 600;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
}

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

.icon-accent {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-dark);
}

/* Steps */

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  list-style: none;
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.steps li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  font-weight: 700;
}

.steps h3 {
  margin-top: 14px;
}

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

/* A feature told beside its picture, alternating sides on wide screens. */

.feature-row {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-row p {
  margin-top: 12px;
  color: var(--muted);
}

.feature-row .ticks {
  margin-top: 18px;
}

@media (min-width: 960px) {
  .feature-row {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    padding: 56px 0;
  }

  .feature-row.flip > :first-child {
    order: 2;
  }
}

/* A band of figures or a call to act. */

.band {
  border-radius: 24px;
  background: var(--night);
  color: #e8ecf1;
  padding: 40px 24px;
  text-align: center;
}

.band h2 {
  color: #fff;
}

.band p {
  max-width: 600px;
  margin: 14px auto 0;
  color: #b7c0cb;
}

.band .ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.band .btn-outline {
  border-color: rgb(255 255 255 / 0.18);
  background: transparent;
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .band {
    border: 1px solid var(--line);
    background: var(--surface);
  }
}

:root[data-theme='dark'] .band {
  border: 1px solid var(--line);
  background: var(--surface);
}

@media (min-width: 960px) {
  .band {
    padding: 64px 48px;
  }
}

/* Pricing */

.switches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.segment {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.segment button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.segment button[aria-pressed='true'] {
  background: var(--brand-500);
  color: #fff;
}

.segment .save {
  margin-left: 6px;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* A display rule would otherwise beat the hidden attribute, showing what should be hidden. */
[hidden] {
  display: none !important;
}

.currency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.currency select {
  min-height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.plans {
  display: grid;
  gap: 16px;
}

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

@media (min-width: 1100px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.plan.popular {
  border: 2px solid var(--brand-500);
  box-shadow: var(--shadow-lg);
}

.plan .badge {
  position: absolute;
  top: -13px;
  left: 22px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.plan h3 {
  font-size: 1.25rem;
}

.plan .describe {
  min-height: 3.2em;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan .price {
  margin-top: 18px;
  color: var(--heading);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.plan .per {
  min-height: 1.5em;
  color: var(--muted);
  font-size: 0.82rem;
}

.plan .btn {
  margin-top: 18px;
  width: 100%;
}

.plan .limits {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.875rem;
}

.plan .limits li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.plan .limits b {
  color: var(--heading);
  font-weight: 600;
}

.plan .includes {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  list-style: none;
  font-size: 0.875rem;
}

.plan .includes li {
  display: flex;
  gap: 8px;
}

.plan .includes li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}

.plan .includes li.no {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent);
}

.plan .includes li.no::before {
  background: var(--line);
}

.plan .compare-link {
  margin-top: 16px;
  color: var(--brand-600);
  font-size: 0.875rem;
  font-weight: 600;
}

/* What every plan has, above the comparison */

.every-plan {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.every-plan h2 {
  font-size: 1.15rem;
}

.every-plan p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.every-plan .includes {
  display: grid;
  gap: 8px 24px;
  margin-top: 16px;
  list-style: none;
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .every-plan .includes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.every-plan .includes li {
  display: flex;
  gap: 8px;
}

.every-plan .includes li::before,
.compare .yes {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}

/* Every feature against every plan */

.compare-head {
  margin-top: 48px;
}

.compare-head h2 {
  font-size: 1.5rem;
}

.compare-head p {
  margin-top: 4px;
  color: var(--muted);
}

.compare-box {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare th,
.compare td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compare th[scope='row'],
.compare thead th:first-child {
  width: 36%;
  text-align: left;
  font-weight: 500;
}

/* On a phone the table scrolls sideways; the feature names stay in place. */
.compare th[scope='row'] {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
}

.compare thead th:first-child {
  left: 0;
  z-index: 2;
}

.compare thead th {
  position: sticky;
  top: 0;
  background: var(--surface);
  color: var(--heading);
  font-weight: 700;
}

.compare tr.group th {
  padding-top: 18px;
  background: var(--canvas);
  color: var(--heading);
  font-weight: 700;
  text-align: left;
}

.compare td {
  color: var(--heading);
}

.compare .yes {
  margin-top: 0;
  vertical-align: middle;
}

.compare .no {
  display: inline-block;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--muted);
  vertical-align: middle;
  opacity: 0.6;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-status {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Questions */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: '+';
  flex-shrink: 0;
  color: var(--brand-500);
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
}

/* A page's own heading, under the header. */

.page-head {
  padding: 48px 0 8px;
  text-align: center;
}

.page-head p {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

@media (min-width: 960px) {
  .page-head {
    padding: 72px 0 16px;
  }
}

/* Long text: help, privacy, terms. */

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 1.45rem;
}

.prose h3 {
  margin: 24px 0 8px;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.toc {
  display: grid;
  gap: 8px;
  margin: 0 0 32px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  list-style: none;
}

/* Contact */

.contact-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list b {
  display: block;
  color: var(--heading);
}

/* Breadcrumbs, for business type pages. */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  list-style: none;
}

.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  opacity: 0.6;
}

/* Footer */

.footer {
  margin-top: 64px;
  background: var(--night);
  color: #b7c0cb;
  font-size: 0.9rem;
}

.footer .wrap {
  padding-top: 48px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer .logo {
  color: #fff;
}

.footer p {
  margin-top: 12px;
  max-width: 320px;
}

.footer h4 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer a {
  color: #b7c0cb;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.82rem;
}

/* Small helpers */

.stack-lg > * + * {
  margin-top: 64px;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 0.8rem;
  font-weight: 600;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 18px;
  border-radius: 12px;
  background: var(--night);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.3;
}

.store-badge:hover {
  text-decoration: none;
}

.store-badge b {
  display: block;
  font-size: 1.05rem;
}

.store-badge svg {
  width: 26px;
  height: 26px;
}

.store-badge.soon {
  opacity: 0.7;
}

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