/* PRAiGO website responsive layer, version 4.
   Shared by the landing page and both legal pages so typography, spacing,
   navigation, focus treatment, and responsive behavior stay in sync. */

:root {
  --green-core: #1fb46a;
  --green-bright: #2bd37c;
  --green-deep: #0e7a48;
  --on-green: #06351f;
  --coral: #ff6b4a;
  --coral-ink: #b43b24;
  --honey: #ffb23e;
  --gold: #ffc53a;
  --berry: #ff5c8a;
  --paper: #fff7f0;
  --surface-1: #ffffff;
  --surface-2: #fdf0e7;
  --surface-3: #f7e7da;
  --border-subtle: #efe0d4;
  --border-strong: #e3cdbc;
  --ink-1: #2a211c;
  --ink-2: #72645b;
  --ink-3: #9b8e84;
  --bg: var(--paper);
  --surface: var(--surface-1);
  --surface-raised: var(--surface-2);
  --surface-sunken: var(--surface-3);
  --border: var(--border-subtle);
  --border-emphasis: var(--border-strong);
  --text-primary: var(--ink-1);
  --text-secondary: var(--ink-2);
  --text-disabled: var(--ink-3);
  --primary: var(--green-core);
  --primary-pressed: var(--green-deep);
  --on-primary: var(--on-green);
  --on-primary-pressed: #ffffff;
  --placeholder: #75675e;
  --wm-dot: var(--gold);
  --focus-ring: color-mix(in srgb, var(--green-core) 58%, transparent);
  --shadow-sm: 0 2px 8px rgba(42, 33, 28, 0.06), 0 10px 28px rgba(42, 33, 28, 0.07);
  --shadow-card: 0 2px 8px rgba(42, 33, 28, 0.06), 0 18px 44px rgba(42, 33, 28, 0.09);
  --shadow-pop: 0 26px 74px rgba(42, 33, 28, 0.17);
  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-wide: 76rem;
  --content-reading: 47rem;
  --radius-sm: 0.85rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --header-height: 4.6rem;
  color-scheme: light dark;
}

[data-theme="dark"] {
  --green-core: #2bd37c;
  --green-bright: #45e494;
  --green-deep: #25bd6f;
  --coral: #ff7e5c;
  --coral-ink: #ff9f89;
  --honey: #ffc163;
  --gold: #ffd45e;
  --berry: #ff769d;
  --paper: #17120f;
  --surface-1: #241d18;
  --surface-2: #2d241e;
  --surface-3: #382c24;
  --border-subtle: #40342c;
  --border-strong: #57463a;
  --ink-1: #fbf2ea;
  --ink-2: #c0afa1;
  --ink-3: #948376;
  --on-primary: #06351f;
  --on-primary-pressed: #06351f;
  --placeholder: #b6a69a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.22), 0 12px 30px rgba(0, 0, 0, 0.22);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.26), 0 20px 48px rgba(0, 0, 0, 0.3);
  --shadow-pop: 0 28px 76px rgba(0, 0, 0, 0.48);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green-core: #2bd37c;
    --green-bright: #45e494;
    --green-deep: #25bd6f;
    --coral: #ff7e5c;
    --coral-ink: #ff9f89;
    --honey: #ffc163;
    --gold: #ffd45e;
    --berry: #ff769d;
    --paper: #17120f;
    --surface-1: #241d18;
    --surface-2: #2d241e;
    --surface-3: #382c24;
    --border-subtle: #40342c;
    --border-strong: #57463a;
    --ink-1: #fbf2ea;
    --ink-2: #c0afa1;
    --ink-3: #948376;
    --on-primary: #06351f;
    --on-primary-pressed: #06351f;
    --placeholder: #b6a69a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.22), 0 12px 30px rgba(0, 0, 0, 0.22);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.26), 0 20px 48px rgba(0, 0, 0, 0.3);
    --shadow-pop: 0 28px 76px rgba(0, 0, 0, 0.48);
  }
}

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

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 8% 4%, color-mix(in srgb, var(--honey) 12%, transparent), transparent 25rem),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--green-core) 9%, transparent), transparent 28rem),
    var(--bg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

::selection {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--gold) 48%, transparent);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--on-primary);
  background: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

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

.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;
}

.wrap {
  width: min(100%, var(--content-wide));
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.75rem);
}

.wm {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 7.6rem;
  min-height: 2.75rem;
  line-height: 1;
  text-decoration: none;
}

.wm-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 680 / 155;
  overflow: hidden;
}

.wm-art > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150.588235%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.wm-art::after {
  position: absolute;
  top: 1.9355%;
  left: 55.7353%;
  width: 6.0294%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--wm-dot);
  content: "";
  opacity: 0;
}

[data-theme="dark"] .wm-art > img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .wm-art::after {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wm-art > img {
    filter: brightness(0) invert(1);
  }

  :root:not([data-theme="light"]) .wm-art::after {
    opacity: 1;
  }
}

.dot {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.07em;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: baseline;
}

/* Shared navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 87%, transparent);
  box-shadow: 0 1px 0 rgba(42, 33, 28, 0.02);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-block: 0.65rem;
  gap: clamp(0.85rem, 2vw, 1.75rem);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2rem);
  margin-left: auto;
}

.nav > .nav-link {
  margin-left: auto;
}

.primary-nav a,
.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-block: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a::after,
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0.42rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.18s ease;
}

.primary-nav a:hover,
.nav-link:hover {
  color: var(--text-primary);
}

.primary-nav a:hover::after,
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cta {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border: 1px solid color-mix(in srgb, var(--primary) 70%, transparent);
  border-radius: 999px;
  color: var(--on-primary);
  background: var(--primary);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--green-core) 28%, transparent);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.18s ease, box-shadow 0.18s ease;
}

.cta:hover {
  color: var(--on-primary-pressed);
  background: var(--primary-pressed);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--green-core) 36%, transparent);
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(0) scale(0.98);
}

.cta[disabled] {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.cta-short {
  display: none;
}

/* Landing page */
.home-page main {
  overflow: clip;
}

.hero {
  position: relative;
  padding: clamp(3.6rem, 7vw, 6.3rem) 0 clamp(3.2rem, 6vw, 5.4rem);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 4vw 5% auto;
  z-index: -1;
  width: clamp(7rem, 12vw, 11rem);
  aspect-ratio: 1;
  border: 1.5px dashed color-mix(in srgb, var(--coral) 38%, transparent);
  border-radius: 50%;
  content: "";
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--green-core) 32%, transparent);
  border-radius: 999px;
  color: var(--green-deep);
  background: color-mix(in srgb, var(--green-core) 12%, transparent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.2;
}

.kicker::before,
.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--green-bright) 13%, transparent);
  content: "";
}

[data-theme="dark"] .kicker,
[data-theme="dark"] .eyebrow {
  color: var(--green-bright);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kicker,
  :root:not([data-theme="light"]) .eyebrow {
    color: var(--green-bright);
  }
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.hero h1 {
  max-width: 8.7em;
  margin: 0 0 1.25rem;
  font-size: clamp(3.2rem, 6.3vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.hero p.lede {
  max-width: 37rem;
  margin: 0 0 2rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.72;
}

.hero p.lede strong {
  color: var(--text-primary);
}

.hero-shot {
  position: relative;
  width: 100%;
  max-width: 22rem;
  justify-self: center;
  padding: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--border-emphasis) 82%, transparent);
  border-radius: 2rem;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow: var(--shadow-pop);
  transform: rotate(2deg);
}

.hero-shot::before {
  inset: -11%;
  opacity: 0.28;
  border-radius: 46% 54% 52% 48% / 54% 44% 56% 46%;
}

.hero-shot img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: none;
  transform: none;
}

.hero-shot:hover img {
  transform: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin: 1.25rem 0 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.trust-row li::before {
  width: 0.38rem;
  height: 0.38rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-core);
  content: "";
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding: 0.85rem 0;
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-raised) 84%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ticker-track {
  display: grid;
  width: min(100%, var(--content-wide));
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.75rem);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  animation: none;
  transform: none;
}

.chip {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  padding: 0.5rem 1rem;
  color: #241b16;
  box-shadow: 0 3px 10px rgba(42, 33, 28, 0.08);
  font-size: 0.78rem;
  white-space: normal;
  text-align: center;
}

.home-page section:not(.hero) {
  padding-block: clamp(4.2rem, 8vw, 7rem);
  scroll-margin-top: var(--header-height);
}

.sec-kicker {
  margin-bottom: 0.9rem;
  color: var(--coral-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page h2 {
  max-width: 18em;
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4.5vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.sec-sub {
  max-width: 39rem;
  margin: 0 0 clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.journey {
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.journey::before {
  top: 3.05rem;
  border-color: color-mix(in srgb, var(--border-strong) 84%, transparent);
}

.step {
  min-height: 15rem;
  padding: 1.65rem 1.45rem 1.55rem;
  border-color: color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-sm);
}

.step::after {
  position: absolute;
  top: 0;
  right: 1.2rem;
  left: 1.2rem;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--gold);
  content: "";
}

.step:nth-child(2)::after {
  background: var(--coral);
}

.step:nth-child(2)::before,
.step:nth-child(4)::before {
  color: #30140e;
}

.step:nth-child(3)::after {
  background: var(--green-core);
}

.step:nth-child(3)::before {
  color: var(--on-green);
}

.step:nth-child(4)::after {
  background: var(--berry);
}

.step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.step p {
  line-height: 1.65;
}

.gallery-wrap {
  width: min(100%, 90rem);
  margin-inline: auto;
  padding: 2.25rem clamp(1.15rem, 3vw, 2.5rem) 3rem;
  gap: clamp(1rem, 2vw, 1.7rem);
  justify-content: center;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}

.shot {
  min-width: 0;
  max-width: 14.5rem;
  flex: 1 1 0;
}

.shot img {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
}

.shot figcaption {
  max-width: 15rem;
  margin: 1.1rem auto 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.stories {
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.story {
  min-height: 18rem;
  padding: 1.75rem 1.55rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-sm);
}

.story p {
  line-height: 1.7;
}

.story .when,
.stories-note {
  color: var(--text-secondary);
}

.mission {
  border-block: 1px solid var(--border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-raised) 92%, transparent), color-mix(in srgb, var(--surface) 70%, transparent));
}

.mission .wrap {
  gap: clamp(3rem, 7vw, 6rem);
}

.mission h2 .accent {
  color: var(--green-deep);
}

.honest {
  gap: 1.1rem;
}

.honest li {
  min-width: 0;
  line-height: 1.62;
}

.honest li > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.honest .tick svg {
  stroke: var(--on-green);
}

.mini-cards {
  gap: 1rem;
}

.mini {
  padding: 1.45rem 1.5rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-sm);
}

.mini:nth-child(2) {
  transform: translateX(1.4rem);
}

.final {
  background:
    radial-gradient(circle at 50% 115%, color-mix(in srgb, var(--green-core) 15%, transparent), transparent 30rem);
}

.final .wrap {
  max-width: 59rem;
}

.store-badge {
  min-height: 3.3rem;
}

/* Content remains readable even if observers or fast scrolling do not fire. */
.rv,
.rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: hero-enter 0.7s both cubic-bezier(0.22, 0.9, 0.36, 1);
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 0.12s;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 0.18s;
  }

  .hero-copy > :nth-child(5),
  .hero-copy > :nth-child(6) {
    animation-delay: 0.24s;
  }

  .hero-shot {
    animation: hero-shot-enter 0.9s 0.16s both cubic-bezier(0.22, 0.9, 0.36, 1);
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }
  }

  @keyframes hero-shot-enter {
    from {
      opacity: 0;
      transform: translateY(1.5rem) rotate(5deg) scale(0.97);
    }
  }
}

/* Shared footer */
.site-footer {
  padding: 2.8rem 0 3.2rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--surface-raised) 52%, transparent);
  font-size: 0.84rem;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto;
  align-items: end;
  gap: 1.5rem 3rem;
}

.footer-tagline {
  margin: 0.55rem 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem clamp(1.1rem, 2.5vw, 2rem);
}

.site-footer a:not(.wm) {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

/* Legal pages */
.legal-page {
  background:
    radial-gradient(circle at 94% 3%, color-mix(in srgb, var(--green-core) 11%, transparent), transparent 23rem),
    radial-gradient(circle at 4% 24%, color-mix(in srgb, var(--honey) 11%, transparent), transparent 22rem),
    var(--bg);
}

.legal-main {
  min-height: calc(100vh - var(--header-height));
}

.legal-hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6.4rem) 0 clamp(3.3rem, 6vw, 5.2rem);
  overflow: clip;
  border-bottom: 1px solid var(--border);
}

.legal-hero::before,
.legal-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.legal-hero::before {
  top: -7rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  background: color-mix(in srgb, var(--honey) 27%, transparent);
}

.legal-hero::after {
  bottom: -8rem;
  left: -6rem;
  width: 16rem;
  height: 16rem;
  background: color-mix(in srgb, var(--coral) 18%, transparent);
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 55rem;
}

.back-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  color: var(--text-primary);
}

.legal-hero h1 {
  max-width: 12em;
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 1;
}

.legal-intro {
  max-width: 45rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.75;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.7rem;
}

.legal-meta span {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  font-size: 0.74rem;
  font-weight: 800;
}

.legal-meta span::before {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-core);
  content: "";
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 13.5rem) minmax(0, var(--content-reading));
  justify-content: center;
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.legal-toc > p {
  margin: 0 0 0.8rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-toc nav {
  display: grid;
  gap: 0.18rem;
}

.legal-toc a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-left: 2px solid transparent;
  border-radius: 0 0.65rem 0.65rem 0;
  color: var(--text-secondary);
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  border-left-color: var(--green-core);
  color: var(--text-primary);
  background: color-mix(in srgb, var(--green-core) 9%, transparent);
}

.legal-article {
  min-width: 0;
  padding: clamp(1.45rem, 4vw, 3.2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-card);
  overflow-wrap: anywhere;
}

.legal-article > section {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.legal-article > section + section {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  padding-top: clamp(2.6rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}

.legal-article h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

.legal-article h3 {
  margin: 1.6rem 0 0.65rem;
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.legal-article p {
  margin: 0.9rem 0 0;
  color: var(--text-secondary);
  line-height: 1.78;
}

.legal-article p:first-child {
  margin-top: 0;
}

.legal-article strong,
.legal-article b {
  color: var(--text-primary);
}

.legal-article ul,
.legal-article ol {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1.35rem;
  color: var(--text-secondary);
}

.legal-article li {
  padding-left: 0.25rem;
  line-height: 1.72;
}

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

.plain-list li {
  position: relative;
  padding-left: 1.5rem;
}

.plain-list li::before {
  position: absolute;
  top: 0.63rem;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid var(--green-core);
  border-radius: 50%;
  content: "";
}

.callout {
  margin-top: 1.35rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--green-core) 30%, var(--border));
  border-left: 4px solid var(--green-core);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--green-core) 8%, var(--surface));
}

.callout.warning {
  border-color: color-mix(in srgb, var(--coral) 36%, var(--border));
  border-left-color: var(--coral);
  background: color-mix(in srgb, var(--coral) 8%, var(--surface));
}

.callout p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.table-scroll {
  width: 100%;
  margin-top: 1.4rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  scrollbar-width: thin;
}

.legal-article table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  font-size: 0.82rem;
}

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

.legal-article th {
  color: var(--text-primary);
  background: var(--surface-raised);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.legal-article td {
  color: var(--text-secondary);
  line-height: 1.55;
}

.legal-article tbody tr:last-child td {
  border-bottom: 0;
}

.legal-article .processor-cards {
  display: none;
}

.account-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: account-step;
}

.account-path li {
  position: relative;
  min-width: 0;
  min-height: 7.5rem;
  padding: 2.9rem 0.9rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background: var(--surface-raised);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
  counter-increment: account-step;
}

.account-path li::before {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 50%;
  color: var(--on-primary);
  background: var(--green-core);
  content: counter(account-step);
  font-size: 0.72rem;
  font-weight: 800;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.data-card {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}

.data-card h3 {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
  overflow-wrap: anywhere;
}

.data-card h3::before {
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-core);
  content: "";
}

.data-card.kept h3::before {
  background: var(--honey);
}

.data-card p {
  margin: 0;
  font-size: 0.9rem;
}

.support-card {
  min-width: 0;
  margin-top: 1.25rem;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid color-mix(in srgb, var(--green-core) 34%, var(--border));
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--green-core) 15%, transparent), transparent 12rem),
    var(--surface-raised);
}

.support-card p {
  margin-top: 0;
}

.support-email {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  min-height: 2.75rem;
  margin-top: 0.85rem;
  color: var(--green-deep);
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-article a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

[data-theme="dark"] .support-email {
  color: var(--green-bright);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .support-email {
    color: var(--green-bright);
  }
}

/* Responsive layout */
@media (max-width: 68rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.7fr);
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 6.8vw, 4.6rem);
  }

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

  .journey::before {
    display: none;
  }

  .shot {
    max-width: 13rem;
  }

  .primary-nav {
    gap: 1.15rem;
  }
}

@media (max-width: 57.5rem) {
  .primary-nav {
    display: none;
  }

  .nav .cta {
    margin-left: auto;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero h1 {
    max-width: 9em;
  }

  .hero-shot {
    max-width: 19rem;
  }

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

  .journey::before {
    display: none;
  }

  .step {
    min-height: 0;
  }

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

  .story {
    min-height: 0;
  }

  .story:last-child {
    grid-column: 1 / -1;
  }

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

  .mission .wrap {
    grid-template-columns: 1fr;
  }

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

  .mini:nth-child(2) {
    transform: none;
  }

  .gallery-wrap {
    justify-content: flex-start;
  }

  .shot {
    max-width: none;
    flex: 0 0 min(15rem, 48vw);
  }

  .legal-layout {
    grid-template-columns: minmax(0, var(--content-reading));
  }

  .legal-toc {
    position: static;
    min-width: 0;
  }

  .legal-toc nav {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .legal-toc a {
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    white-space: nowrap;
  }

  .legal-toc a:hover,
  .legal-toc a:focus-visible {
    border-color: color-mix(in srgb, var(--green-core) 40%, var(--border));
  }
}

@media (max-width: 43.75rem) {
  :root {
    --header-height: 4.25rem;
  }

  .wrap {
    padding-inline: clamp(1rem, 5vw, 1.4rem);
  }

  .nav {
    gap: 0.75rem;
  }

  .nav .cta {
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 2.9rem 0 4rem;
  }

  .hero::after {
    display: none;
  }

  .hero .wrap {
    gap: 3rem;
  }

  .kicker {
    max-width: 100%;
    margin-bottom: 1.15rem;
    font-size: 0.72rem;
  }

  .hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.75rem, 14vw, 4rem);
    line-height: 0.98;
  }

  .hero p.lede {
    margin-bottom: 1.7rem;
    font-size: 0.97rem;
    line-height: 1.68;
  }

  .hero-shot {
    width: min(100%, 18rem);
  }

  .trust-row {
    gap: 0.55rem 0.9rem;
  }

  .home-page section:not(.hero) {
    padding-block: 4.2rem;
  }

  .home-page h2 {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  .journey {
    grid-template-columns: 1fr;
  }

  .stories {
    grid-template-columns: 1fr;
  }

  .story:last-child {
    grid-column: auto;
  }

  .step {
    display: grid;
    grid-template-columns: 2.35rem minmax(0, 1fr);
    grid-template-areas:
      "number title"
      "number body";
    column-gap: 0.9rem;
    padding: 1.35rem;
  }

  .step::before {
    grid-area: number;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
  }

  .step h3 {
    grid-area: title;
  }

  .step p {
    grid-area: body;
  }

  .gallery-wrap {
    padding: 1.4rem 1.5rem 2.6rem;
    scroll-padding-inline: 1.5rem;
  }

  .shot {
    max-width: 100%;
    flex-basis: min(17.5rem, 100%);
    scroll-snap-align: start;
  }

  .shot:nth-child(odd) img,
  .shot:nth-child(even) img {
    transform: none;
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }

  .site-footer .wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-block: 3rem 3.4rem;
  }

  .legal-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .legal-layout {
    gap: 1.5rem;
    padding-block: 2.4rem 3.5rem;
  }

  .legal-toc nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 0.2rem 0.7rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 1.35rem), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 1.35rem), transparent 100%);
  }

  .legal-toc a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .legal-article {
    padding: 1.35rem;
    border-radius: var(--radius-md);
  }

  .legal-article > section + section {
    margin-top: 2.6rem;
    padding-top: 2.6rem;
  }

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

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

  .table-scroll {
    display: none;
  }

  .legal-article .processor-cards {
    display: grid;
    gap: 0.75rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
  }

  .processor-cards > li {
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-raised);
  }

  .processor-cards dl {
    margin: 0;
  }

  .processor-cards dl > div {
    display: grid;
    grid-template-columns: minmax(5.8rem, 0.38fr) minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .processor-cards dl > div:last-child {
    border-bottom: 0;
  }

  .processor-cards dt {
    color: var(--text-primary);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.025em;
  }

  .processor-cards dd {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.55;
  }

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

  .ticker-track .chip:nth-child(n + 7) {
    display: none;
  }
}

@media (max-width: 30rem) {
  .wrap {
    padding-inline: 5vw;
  }

  .nav .cta {
    padding-inline: 0.75rem;
  }

  .legal-page .nav-link {
    display: none;
  }

  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .wm {
    width: 6.75rem;
  }

  .hero h1 {
    font-size: clamp(38px, 14vw, 3.45rem);
  }

  .home-page h2 {
    font-size: clamp(28px, 10vw, 2.8rem);
  }

  .legal-hero h1 {
    font-size: clamp(36px, 12vw, 3.5rem);
  }

  .legal-meta {
    display: grid;
  }

  .legal-meta span {
    width: fit-content;
  }

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

  .ticker-track .chip:nth-child(n + 5) {
    display: none;
  }

  .account-path li {
    display: grid;
    min-height: 0;
    padding: 5vw;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
  }

  .account-path li::before {
    position: static;
    transform: none;
  }

  .legal-article,
  .data-card,
  .support-card {
    padding: 5vw;
  }

  .processor-cards dl > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 22rem) {
  .ticker-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "number"
      "title"
      "body";
    gap: 0.65rem;
    padding: 5vw;
  }

  .step::before {
    width: min(2.35rem, 12vw);
    height: min(2.35rem, 12vw);
    font-size: clamp(14px, 4.5vw, 1.05rem);
  }

  .step h3 {
    margin-bottom: 0;
  }

  .home-page .ptree-node h3 {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-page .ptree-node .ico {
    width: min(1.75rem, 11vw);
    height: min(1.75rem, 11vw);
    font-size: clamp(13px, 4.5vw, 0.9rem);
  }
}

@media (hover: none) {
  .cta:hover,
  .step:hover,
  .shot:hover img,
  .store-badge:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .legal-toc,
  .back-link {
    display: none;
  }

  body,
  .legal-page {
    color: #211b17;
    background: #ffffff;
  }

  .legal-hero {
    padding: 0 0 1.5rem;
  }

  .legal-layout {
    display: block;
    padding: 1.5rem 0;
  }

  .legal-article {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
/* Correct-site refinements -------------------------------------------------
   The production website contains a few sections that are newer than the
   shared polish layer. Keep those sections fluid without relying on clipped
   overflow or fragile min-content sizing. */
.home-page .hero .wrap,
.home-page .hero-copy,
.home-page .hero-copy > *,
.home-page .ptree-flow,
.home-page .ptree-node {
  min-width: 0;
}

.home-page .mission .wrap {
  grid-template-columns: minmax(0, 45rem);
  justify-content: start;
}

.home-page .mission .wrap > div {
  position: relative;
  z-index: 1;
}

.home-page .adds-panel .mini-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .adds-panel .mini:nth-child(2) {
  transform: none;
}

.home-page .hosting {
  border-block: 1px solid var(--border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-raised) 94%, transparent), color-mix(in srgb, var(--surface) 70%, transparent));
}

.home-page .ptree-node {
  border-color: color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: var(--shadow-sm);
}

.home-page .ptree-node h3 {
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.home-page .ptree-node .ico {
  color: #2a211c;
}

.home-page .ptree-node p {
  line-height: 1.65;
}

.home-page .gallery-wrap:focus-visible,
.table-scroll:focus-visible {
  outline-offset: -4px;
}

.back-link {
  display: flex;
  width: fit-content;
}

@media (max-width: 64rem) {
  .home-page .ptree-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 1rem;
  }

  .home-page .ptree-quick,
  .home-page .ptree-full,
  .home-page .ptree-share,
  .home-page .ptree-checkin,
  .home-page .ptree-finish {
    grid-area: auto;
    align-self: stretch;
  }

  .home-page .ptree-finish {
    grid-column: 1 / -1;
  }

  .home-page .ptree-flow::before,
  .home-page .tj {
    display: none;
  }
}

@media (max-width: 43.75rem) {
  .home-page .adds-panel .mini-cards,
  .home-page .ptree-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .ptree-finish {
    grid-column: auto;
  }

  .home-page .ptree-node {
    padding: 1.15rem;
  }
}

@media (max-width: 22rem) {
  .home-page .ptree-node {
    padding: 5vw;
  }
}

@media (min-width: 48rem) and (max-height: 31rem) and (orientation: landscape) {
  .home-page .hero {
    padding-block: 2.25rem 3rem;
  }

  .home-page .hero .wrap {
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.65fr);
    gap: clamp(24px, 4vw, 2rem);
  }

  .home-page .hero h1 {
    font-size: clamp(38px, 7vw, 3.4rem);
  }

  .home-page .hero p.lede {
    margin-bottom: 1.25rem;
    font-size: clamp(15px, 1.8vw, 1rem);
    line-height: 1.55;
  }

  .home-page .hero-shot {
    width: min(22vw, 12.5rem);
  }

}
