/* owelyapp.com: one stylesheet for every page. Brand tokens from assets/brand/tokens.json. */

:root {
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --ink: #1e1b4b;
  --coin: #fbbf24;
  --paper: #ffffff;
  --mist: #f5f5fa;
  --on-indigo-muted: #e0e7ff;

  --bg: var(--paper);
  --bg-alt: var(--mist);
  --surface: var(--paper);
  --text: var(--ink);
  --text-2: #3f3c66;
  --text-3: #55527a;
  --border: rgba(30, 27, 75, 0.1);
  --border-strong: rgba(30, 27, 75, 0.18);
  --link: var(--indigo);
  --link-hover: var(--indigo-dark);
  --accent-soft: #eef0ff;
  --coin-soft: #fff6dc;
  --pos: #047857;
  --neg: #be123c;
  --mark-left: var(--indigo);
  --focus: #4f46e5;
  --shadow-sm: 0 1px 2px rgba(30, 27, 75, 0.06);
  --shadow: 0 1px 2px rgba(30, 27, 75, 0.05), 0 10px 30px -12px rgba(30, 27, 75, 0.16);
  --shadow-lg: 0 40px 80px -30px rgba(30, 27, 75, 0.45);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1140px;
  --gutter: 20px;
  --radius: 20px;
  --radius-sm: 12px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12102b;
    --bg-alt: #19163c;
    --surface: #1e1b4b;
    --text: #f5f5fa;
    --text-2: #c9c7ea;
    --text-3: #a9a6d2;
    --border: rgba(224, 231, 255, 0.1);
    --border-strong: rgba(224, 231, 255, 0.18);
    --link: #c7d2fe;
    --link-hover: #ffffff;
    --accent-soft: rgba(129, 140, 248, 0.16);
    --coin-soft: rgba(251, 191, 36, 0.14);
    --pos: #34d399;
    --neg: #fb7185;
    --mark-left: #ffffff;
    --focus: #fbbf24;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  }
}

/* Base */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--link-hover);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 1.55rem + 4.2vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h3 {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--indigo);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Brand lockup */

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}

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

.lockup .mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.045em;
  line-height: 0.9;
  padding-bottom: 3px;
}

.mark-left {
  fill: var(--mark-left);
}

/* Header */

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

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

.site-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

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

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--indigo-dark);
  color: #fff;
}

.btn-quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-quiet:hover {
  background: var(--bg-alt);
  color: var(--text);
}

/* Store buttons */

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

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  min-height: 56px;
  padding: 8px 18px 8px 14px;
  border-radius: 14px;
  background: #0b0a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

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

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

.store-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.store-big {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Sections */

.section {
  padding: clamp(64px, 5rem + 2vw, 112px) 0;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (prefers-color-scheme: dark) {
  .eyebrow {
    color: var(--coin);
  }
}

.lead {
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 7vw, 112px);
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(79, 70, 229, 0.12), transparent 70%),
    radial-gradient(45% 50% at 85% 100%, rgba(251, 191, 36, 0.14), transparent 70%),
    var(--bg);
}

@media (prefers-color-scheme: dark) {
  .hero {
    background:
      radial-gradient(60% 60% at 100% 0%, rgba(79, 70, 229, 0.38), transparent 70%),
      var(--bg);
  }
}

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

@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
  }
}

.hero h1 .hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.26em;
  border-radius: 0.1em;
  background: var(--coin);
  z-index: -1;
}

@media (prefers-color-scheme: dark) {
  .hero h1 .hl::after {
    opacity: 0.9;
  }

  .phone {
    box-shadow: var(--shadow-lg), 0 0 0 1.5px rgba(224, 231, 255, 0.16), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
  }
}

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

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

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checks svg {
  width: 18px;
  height: 18px;
  color: var(--indigo);
  flex: none;
}

@media (prefers-color-scheme: dark) {
  .checks svg {
    color: var(--coin);
  }
}

/* Phone mockup */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 320 / 660;
  padding: 11px;
  border-radius: 52px;
  background: #0b0a1a;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}

.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: #f5f5fa;
  color: #1e1b4b;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}

.island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 20px;
  background: #0b0a1a;
  z-index: 2;
}

.sb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 46px;
  padding: 6px 26px 0 30px;
  font-size: 13px;
  font-weight: 600;
}

.sb-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.sb-icons i {
  display: block;
  background: #1e1b4b;
  border-radius: 2px;
}

.sb-icons .sig {
  width: 16px;
  height: 9px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.sb-icons .bat {
  width: 22px;
  height: 10px;
  border-radius: 3px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 18px 10px;
}

.app-back {
  font-size: 13px;
  font-weight: 500;
  color: #4f46e5;
}

.app-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 0 18px;
}

.avatars {
  display: flex;
}

.avatars span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #f5f5fa;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.balance-card {
  margin: 12px 14px 0;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: #4f46e5;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.balance-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.bc-label {
  font-size: 12px;
  font-weight: 500;
  color: #e0e7ff;
}

.bc-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.bc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11.5px;
  color: #e0e7ff;
}

.bc-btn {
  position: relative;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fbbf24;
  color: #1e1b4b;
  font-size: 12px;
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 4px;
  margin: 14px 14px 6px;
  padding: 4px;
  border-radius: 12px;
  background: #ebebf4;
  font-size: 11.5px;
  font-weight: 600;
  color: #55527a;
}

.tabs span {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 9px;
}

.tabs .on {
  background: #fff;
  color: #1e1b4b;
  box-shadow: 0 1px 2px rgba(30, 27, 75, 0.12);
}

.rows {
  margin: 4px 14px 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(30, 27, 75, 0.06);
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}

.row + .row {
  border-top: 1px solid rgba(30, 27, 75, 0.07);
}

.row-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: none;
}

.row-ic svg {
  width: 18px;
  height: 18px;
}

.row-main {
  flex: 1;
  min-width: 0;
}

.row-t {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-s {
  font-size: 11.5px;
  color: #55527a;
}

.row-r {
  text-align: right;
  font-size: 11px;
  color: #55527a;
  line-height: 1.3;
}

.row-r b {
  display: block;
  font-size: 13px;
}

.pos {
  color: #047857;
}

.neg {
  color: #be123c;
}

.fab {
  position: absolute;
  right: 18px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 10px 20px -6px rgba(79, 70, 229, 0.6);
}

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

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-2);
  white-space: nowrap;
}

.float b {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.float .dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  flex: none;
  background: var(--coin);
  color: var(--ink);
}

.float .dot svg {
  width: 16px;
  height: 16px;
}

.float-a {
  right: 0;
  top: 14.5%;
}

.float-b {
  left: 0;
  bottom: 4.5%;
}

.float-b .dot {
  background: var(--indigo);
  color: #fff;
}

@media (max-width: 1099px) {
  .float {
    display: none;
  }
}

/* Feature grid */

.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

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

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

.card p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--indigo);
}

.icon-tile.coin {
  background: var(--coin-soft);
  color: #a16207;
}

@media (prefers-color-scheme: dark) {
  .icon-tile {
    color: #c7d2fe;
  }

  .icon-tile.coin {
    color: var(--coin);
  }
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.also {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.also li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}

/* Steps */

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

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

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

.step-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--coin);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

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

.steps p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* Split types */

.splits {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.split {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.split h3 {
  font-size: 1.1rem;
}

.split p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}

.split dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
  font-size: 14px;
}

.split dt {
  color: var(--text-3);
}

.split dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.note {
  margin-top: 24px;
  color: var(--text-3);
  font-size: 15px;
  text-align: center;
}

/* Use-case cards */

.uses {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.use {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.use:hover {
  color: var(--text);
  border-color: var(--indigo);
  transform: translateY(-2px);
}

.use p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
  flex: 1;
}

.use .more {
  margin-top: 18px;
  color: var(--link);
  font-weight: 600;
  font-size: 15px;
}

/* FAQ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  color: var(--indigo);
  transition: transform 0.2s ease;
}

@media (prefers-color-scheme: dark) {
  .faq summary::after {
    color: var(--coin);
  }
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .answer {
  padding: 0 4px 24px;
  color: var(--text-2);
  max-width: 700px;
}

/* Call to action band */

.cta {
  padding: clamp(56px, 6vw, 88px) 0;
}

.cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 32px;
  background: var(--indigo);
  color: #fff;
}

.cta-box::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: #4338ca;
}

@media (min-width: 860px) {
  .cta-box {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  margin-top: 12px;
  color: var(--on-indigo-muted);
  font-size: 1.1rem;
}

.cta-box .stores {
  position: relative;
}

.cta-box .store {
  background: var(--ink);
}

.cta-box .store:hover {
  background: #0b0a1a;
}

.cta-box :focus-visible {
  outline-color: var(--coin);
}

/* Article pages */

.crumbs {
  padding-top: 28px;
  font-size: 14px;
  color: var(--text-3);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--border-strong);
}

.crumbs a {
  color: var(--text-3);
}

.article-head {
  padding: 28px 0 8px;
  max-width: 780px;
}

.article-head h1 {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
}

.prose {
  max-width: 720px;
  padding-bottom: 24px;
}

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

.prose h2 {
  margin-top: 52px;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  letter-spacing: -0.03em;
}

.prose h3 {
  margin-top: 32px;
}

.prose p,
.prose li {
  color: var(--text-2);
}

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

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 8px;
}

.example {
  margin-top: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}

.example table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.example caption {
  padding: 14px 18px 10px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.example th,
.example td {
  padding: 10px 18px;
  text-align: left;
  border-top: 1px solid var(--border);
}

.example th {
  color: var(--text-3);
  font-weight: 500;
}

.example td.num,
.example th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.example tfoot td {
  font-weight: 600;
  color: var(--text);
}

.prose table.legal {
  width: 100%;
  border-collapse: collapse;
}

.prose table.legal th,
.prose table.legal td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.prose table.legal th {
  color: var(--text);
}

.updated {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 15px;
}

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

.related a {
  font-weight: 600;
}

/* Footer */

.site-footer {
  padding: 64px 0 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  font-size: 15px;
}

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

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  color: var(--text-2);
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.site-footer ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer ul a {
  color: var(--text-2);
  text-decoration: none;
}

.site-footer ul a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
}

/* Invite and error pages */

.solo {
  min-height: calc(100vh - 69px);
  min-height: calc(100svh - 69px);
  display: grid;
  place-items: center;
  padding: 40px 0 64px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(79, 70, 229, 0.12), transparent 70%),
    var(--bg);
}

.solo-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.solo-card h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 2.6rem);
  line-height: 1.05;
}

.solo-card .lead {
  margin-top: 12px;
}

.solo-card .stores {
  justify-content: center;
  margin-top: 24px;
}

.group-img {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 22px;
  object-fit: cover;
}

.invite-meta {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 15px;
}

.code-box {
  margin-top: 26px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  text-align: left;
}

.code-box p {
  color: var(--text-2);
  font-size: 14.5px;
}

.code-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.code-row code {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.open-app {
  width: 100%;
  margin-top: 26px;
  min-height: 52px;
  font-size: 16px;
}

.spinner {
  width: 56px;
  height: 56px;
  margin: 8px auto 18px;
  animation: spin 1.1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.big-404 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--indigo);
}

@media (prefers-color-scheme: dark) {
  .big-404 {
    color: var(--coin);
  }
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .spinner {
    animation-duration: 2.4s;
  }

  .store,
  .use,
  .btn,
  .faq summary::after {
    transition: none;
  }

  .store:hover,
  .use:hover {
    transform: none;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }

  .store {
    flex: 1 1 100%;
  }
}

/* ---------- comparison pages ---------- */

.prose.prose-wide {
  max-width: 880px;
}

.checked {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 15px;
}

.toc {
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}

.toc h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2 220px;
}

.compare-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

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

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.4;
}

.compare caption {
  padding: 14px 16px 10px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.compare th,
.compare td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--border);
}

.compare thead th {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.compare tbody th {
  color: var(--text-3);
  font-weight: 500;
}

/* The row labels stay visible while the table scrolls sideways on a phone. */
.compare th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 120px;
  background: var(--surface);
}

.compare .ours {
  background: var(--accent-soft);
}

.compare thead .ours {
  color: var(--link);
}

.na {
  color: var(--text-3);
  font-style: italic;
}

.table-note {
  font-size: 14px;
  color: var(--text-3);
}

.app-entry {
  margin-top: 28px;
  padding: 22px 22px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.app-entry > * + * {
  margin-top: 12px;
}

.app-entry h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--indigo);
  color: #ffffff;
  font-size: 15px;
  font-family: var(--font-body);
}

#owely {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px var(--indigo), var(--shadow);
}

.best-for {
  color: var(--text-2);
}

.proscons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.proscons h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

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

.proscons li + li {
  margin-top: 4px;
}

.pros li::marker {
  color: var(--pos);
}

.cons li::marker {
  color: var(--neg);
}

.price {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.sources-inline {
  font-size: 13px;
  color: var(--text-3);
}

.sources {
  padding-left: 20px;
  font-size: 15px;
}

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

.picks {
  padding-left: 20px;
}

.picks li + li {
  margin-top: 8px;
}
