/* ============================================================
   2026 website redesign

   This final cascade layer supports the editorial landing page,
   the authentic in-app media tour, and the shared support/legal
   pages. It intentionally uses only local assets and system fonts.
   ============================================================ */

:root {
  color-scheme: light;
  --brand: #2d7d6f;
  --brand-hover: #24695e;
  --brand-deep: #174f47;
  --brand-ink: #123f39;
  --mint-050: #f3fbf9;
  --mint-100: #e3f4f0;
  --mint-200: #cce9e3;
  --mint-300: #a9d9cf;
  --canvas: #f7faf9;
  --canvas-deep: #eef5f3;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --ink: #172623;
  --ink-soft: #3f5550;
  --ink-faint: #61746f;
  --line: #d7e4e0;
  --line-strong: #b9cec8;
  --success: #2f7643;
  --warning: #8a5a12;
  --shadow-soft: 0 1px 2px rgba(23, 38, 35, 0.05),
    0 12px 34px rgba(23, 38, 35, 0.08);
  --shadow-lifted: 0 18px 54px rgba(23, 38, 35, 0.14);
  --header-height: 5rem;
  --container: 76rem;
  --container-wide: 92rem;
  --container-prose: 48rem;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(4.5rem, 9vw, 8.5rem);
  --radius-sm: 0.75rem;
  --radius-md: 1.125rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.5rem;
  --radius-pill: 999px;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-signature: "Snell Roundhand", "Segoe Script", "Apple Chancery",
    "Brush Script MT", cursive;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --brand: #8fd0c4;
    --brand-hover: #afe0d7;
    --brand-deep: #c9eee7;
    --brand-ink: #ddf7f2;
    --mint-050: #14211f;
    --mint-100: #19302c;
    --mint-200: #21423d;
    --mint-300: #35635b;
    --canvas: #0f1715;
    --canvas-deep: #131f1c;
    --surface: #192421;
    --surface-soft: rgba(25, 36, 33, 0.86);
    --ink: #e8f0ee;
    --ink-soft: #bed0cb;
    --ink-faint: #93a9a3;
    --line: #2c3d39;
    --line-strong: #435b55;
    --success: #8fd69a;
    --warning: #f0c477;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.18),
      0 14px 38px rgba(0, 0, 0, 0.26);
    --shadow-lifted: 0 20px 60px rgba(0, 0, 0, 0.38);
  }
}

/* Base and accessibility */

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  background: var(--canvas);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(45, 125, 111, 0.08), transparent 28rem),
    var(--canvas);
  font-family: var(--font-system);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

main {
  display: block;
  min-height: 50vh;
}

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

::selection {
  color: #ffffff;
  background: #24695e;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  min-width: 2.75rem;
  min-height: 2.75rem;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

:where(a, button, summary, [tabindex]):focus-visible {
  border-radius: 0.45rem;
  outline: 0.2rem solid var(--brand);
  outline-offset: 0.22rem;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin: 0 0 1.25rem;
  font-size: clamp(3rem, 7.4vw, 6.75rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 4.6vw, 4.75rem);
}

h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p {
  margin: 0 0 1.25rem;
}

ul,
ol {
  margin-top: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.container {
  width: min(
    calc(100% - var(--page-gutter) - var(--page-gutter)),
    var(--container)
  );
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

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

.section {
  padding-block: var(--section-space);
}

.section-heading {
  max-width: 62rem;
}

.section-heading h2 {
  max-width: 15ch;
}

.section-lede {
  max-width: 44rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--mint-300);
  border-radius: var(--radius-pill);
  color: var(--brand-deep);
  background: var(--mint-100);
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 2px solid var(--brand);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-weight: 720;
  transform: translateY(-180%);
}

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

/* Header and navigation */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
}

.site-header .header-inner,
.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 1.25rem;
}

.brand-link {
  display: inline-flex;
  min-height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.65rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-link:hover {
  color: var(--ink);
}

.brand-link .brand-mark,
.brand-link .logo-mark,
.brand-mark,
.logo-mark {
  width: auto;
  height: 2.45rem;
  max-width: 10.75rem;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  width: auto;
  height: 2.9rem;
  margin-left: auto;
  padding: 0.55rem 0.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--surface);
  font-size: 1rem;
  font-weight: 710;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle::before,
.nav-toggle::after {
  content: none;
}

.nav-toggle-lines {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 0.75rem;
  flex: 0 0 auto;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: translateY(-50%);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  border-color: transparent;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: translateY(-50%);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: translateY(-50%) rotate(90deg);
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.25;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
  background: var(--mint-100);
}

.lang-switch {
  display: inline-flex;
  min-height: 2.75rem;
  margin-left: 0;
  overflow: visible;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.lang-switch a,
.lang-switch span {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 740;
  line-height: 1;
  text-decoration: none;
}

.lang-switch .active,
.lang-switch [aria-current="page"] {
  color: var(--brand-deep);
  background: var(--mint-100);
}

/* Hero */

.hero {
  position: relative;
  min-height: min(56rem, calc(100svh - var(--header-height)));
  padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(4.5rem, 9vw, 8rem);
  overflow: visible;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: clamp(1rem, 5vw, 5rem);
  right: max(-12rem, -10vw);
  width: min(54vw, 52rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 125, 111, 0.13), transparent 67%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(23rem, 0.78fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7.5rem);
}

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

.hero-copy .eyebrow {
  margin-bottom: 1.4rem;
}

.hero-copy .tagline,
.hero-copy > p:not(.eyebrow):not(.hero-privacy-note) {
  max-width: 37rem;
  color: var(--ink-soft);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.55;
}

.signature {
  display: block;
  margin-top: 0.4em;
  color: var(--brand);
  font-family: var(--font-signature);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.cta-row {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.store-pill {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: #2d7d6f;
  box-shadow: 0 8px 24px rgba(45, 125, 111, 0.2);
  font-size: 1.125rem;
  font-weight: 740;
  line-height: 1.35;
  text-decoration: none;
}

.store-pill[aria-disabled="true"],
.store-pill:not(a):not(button) {
  cursor: default;
}

.hero-privacy-note {
  display: flex;
  max-width: 37rem;
  margin: 1.15rem 0 0;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-faint);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero-privacy-note::before {
  width: 0.72rem;
  height: 0.72rem;
  margin-top: 0.42rem;
  flex: 0 0 auto;
  border: 2px solid var(--brand);
  border-radius: 50%;
  content: "";
}

.hero-media {
  position: relative;
  width: min(100%, 34rem);
  margin: 0;
  justify-self: end;
  transform: scale(var(--scroll-zoom, 1));
  transform-origin: center;
  transition: transform 120ms linear;
}

.video-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--mint-100);
  box-shadow: var(--shadow-lifted);
  isolation: isolate;
}

.video-shell::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.video-shell video,
.hero-media video,
[data-hero-video] {
  width: 100%;
  max-height: min(70svh, 46rem);
  aspect-ratio: 9 / 16;
  border-radius: inherit;
  background: var(--mint-100);
  object-fit: contain;
}

.video-toggle {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(16, 31, 28, 0.78);
  box-shadow: 0 6px 18px rgba(16, 31, 28, 0.24);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.video-toggle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 0.46rem solid transparent;
  border-bottom: 0.46rem solid transparent;
  border-left: 0.72rem solid currentColor;
  content: "";
  transform: translate(-38%, -50%);
}

.video-toggle > span[aria-hidden="true"] {
  display: none;
}

.video-toggle.is-playing::before {
  width: 0.72rem;
  height: 0.9rem;
  border: 0;
  background:
    linear-gradient(
      to right,
      currentColor 0 0.24rem,
      transparent 0.24rem 0.48rem,
      currentColor 0.48rem 0.72rem
    );
  transform: translate(-50%, -50%);
}

.hero-media figcaption {
  max-width: 28rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.5;
  text-align: center;
}

/* Editorial statement between hero and product tour */

.statement {
  padding-block: clamp(3.75rem, 8vw, 7rem);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(45, 125, 111, 0.11), transparent 56%),
    var(--canvas-deep);
}

.statement .container,
.statement-inner {
  max-width: 66rem;
}

.statement h2 {
  max-width: 25ch;
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  font-weight: 690;
  letter-spacing: -0.04em;
  line-height: 1.14;
  text-wrap: balance;
}

.statement .eyebrow {
  max-width: none;
  margin: 0 0 1.25rem;
  color: var(--brand-deep);
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.statement .statement-inner > p:last-child {
  max-width: 48rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.62;
}

/* Authentic in-app screenshot story */

.tour-story,
[data-horizontal-story] {
  position: relative;
  padding-block: var(--section-space);
  overflow: visible;
}

.tour-intro {
  display: block;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.tour-intro > * {
  max-width: 62rem;
}

.tour-intro .section-lede {
  justify-self: end;
}

.tour-pin,
[data-tour-pin] {
  width: min(
    calc(100% - var(--page-gutter) - var(--page-gutter)),
    var(--container-wide)
  );
  margin-inline: auto;
}

.tour-toolbar {
  display: flex;
  min-height: 3rem;
  margin-bottom: 1.15rem;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.tour-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.tour-button {
  position: relative;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-size: 0;
  cursor: pointer;
}

.tour-button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.tour-button:first-child::before,
.tour-button[data-tour-previous]::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

.tour-button:last-child::before,
.tour-button[data-tour-next]::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

.tour-button:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--mint-100);
}

.tour-button:disabled {
  opacity: 0.38;
  cursor: default;
}

.tour-status {
  min-width: 4.4rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  font-weight: 710;
  text-align: center;
}

.tour-viewport,
[data-tour-viewport] {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tour-viewport::-webkit-scrollbar,
[data-tour-viewport]::-webkit-scrollbar {
  height: 0.55rem;
}

.tour-viewport::-webkit-scrollbar-track,
[data-tour-viewport]::-webkit-scrollbar-track {
  background: transparent;
}

.tour-viewport::-webkit-scrollbar-thumb,
[data-tour-viewport]::-webkit-scrollbar-thumb {
  border-radius: var(--radius-pill);
  background: var(--line-strong);
}

.tour-track,
[data-tour-track] {
  display: flex;
  width: max-content;
  margin: 0;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: 0.25rem 0 1.5rem;
  list-style: none;
  will-change: transform;
}

.tour-card,
[data-tour-card] {
  display: grid;
  width: min(84vw, 69rem);
  min-height: clamp(34rem, 68svh, 48rem);
  flex: 0 0 auto;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(20rem, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 6%, rgba(45, 125, 111, 0.12), transparent 26rem),
    var(--surface);
  box-shadow: var(--shadow-soft);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.tour-copy {
  max-width: 31rem;
}

.tour-number {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--brand);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.tour-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1.7vw, 1.3rem);
  line-height: 1.62;
}

.tour-media {
  display: flex;
  min-width: 0;
  min-height: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  transform: scale(var(--scroll-zoom, 1));
  transform-origin: center;
  transition: transform 120ms linear;
}

.tour-media picture {
  display: contents;
}

.tour-media img,
.tour-card > img,
[data-tour-card] > img {
  width: auto;
  max-width: 100%;
  height: min(61svh, 40rem);
  border: 1px solid rgba(23, 38, 35, 0.16);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: #f8faf9;
  box-shadow: 0 18px 44px rgba(23, 38, 35, 0.18);
  object-fit: contain;
}

.tour-story.is-pinned,
[data-horizontal-story].is-pinned {
  padding-block: 0;
}

.tour-story.is-pinned .tour-pin,
[data-horizontal-story].is-pinned [data-tour-pin] {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: flex;
  height: calc(100svh - var(--header-height) - 2rem);
  min-height: 40rem;
  flex-direction: column;
  justify-content: center;
}

.tour-story.is-pinned .tour-viewport,
[data-horizontal-story].is-pinned [data-tour-viewport] {
  overflow: hidden;
}

.tour-story.is-pinned .tour-track,
[data-horizontal-story].is-pinned [data-tour-track] {
  padding-bottom: 0.25rem;
}

.no-js .tour-controls,
.no-js .video-toggle {
  display: none;
}

/* Principles / privacy */

.principle-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

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

.principle-card,
.card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 38, 35, 0.03);
}

.principle-card::before {
  display: block;
  width: 2.75rem;
  height: 0.35rem;
  margin-bottom: 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand);
  content: "";
}

.principle-card p,
.card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.principle-number {
  margin: 0 0 0.75rem !important;
  color: var(--brand) !important;
  font-size: 1rem !important;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.section-links {
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.section-links a,
.text-link {
  min-height: 2.75rem;
  font-weight: 720;
}

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

.privacy-band {
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--mint-300);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(45, 125, 111, 0.18), transparent 25rem),
    var(--mint-100);
}

.privacy-band h2,
.privacy-band p,
.privacy-band li {
  color: var(--brand-ink);
}

.privacy-band p {
  max-width: 45rem;
}

.privacy-band ul {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 2rem;
  list-style: none;
}

.privacy-band li {
  position: relative;
  min-height: 2.75rem;
  padding-left: 1.8rem;
  font-size: 1.125rem;
}

.privacy-band li::before {
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.privacy-band .band-links {
  margin: 2rem 0 0;
}

.privacy-band a {
  color: var(--brand-deep);
  font-weight: 720;
}

/* Plans */

.plans {
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.plan {
  position: relative;
  display: flex;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.plan.highlight {
  border: 2px solid var(--brand);
  background:
    linear-gradient(180deg, var(--mint-050), var(--surface) 38%),
    var(--surface);
  box-shadow: var(--shadow-lifted);
}

.plan-name {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 780;
}

.plan-label {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--mint-300);
  border-radius: var(--radius-pill);
  color: var(--brand-deep);
  background: var(--mint-100);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.4;
}

.plan-price {
  margin: 0 0 0.25rem;
  color: var(--brand-deep);
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  font-weight: 790;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.plan-price span {
  color: var(--ink-soft);
  font-size: 1.125rem;
  font-weight: 620;
  letter-spacing: 0;
}

.plan-sub {
  min-height: 3.25rem;
  margin: 0 0 1.25rem;
  color: var(--ink-faint);
  font-size: 1.125rem;
}

.check-list,
.plan ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
  list-style: none;
}

.check-list li,
.plan li {
  position: relative;
  padding: 0 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.52;
}

.check-list li::before,
.plan li::before {
  position: absolute;
  top: 0.27rem;
  left: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  color: var(--brand-deep);
  background: var(--mint-100);
  content: "✓";
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15rem;
  text-align: center;
}

.plan li svg {
  display: none;
}

.plan-note {
  max-width: 54rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* Closing statement */

.closing {
  padding: var(--section-space) 0;
}

.closing-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 6.5rem);
  border-radius: var(--radius-xl);
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.16), transparent 21rem),
    #245f55;
}

.closing-inner::after {
  position: absolute;
  right: -3rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  content: "";
}

.closing h2,
.closing p {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  color: #ffffff;
}

.closing p {
  max-width: 40rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
}

.closing .signature {
  color: #d7f4ee;
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.closing .store-pill {
  margin-top: 1.75rem;
  border-color: rgba(255, 255, 255, 0.72);
  color: #174f47;
  background: #ffffff;
  box-shadow: none;
}

/* Support, FAQ, and legal pages */

.secondary-page,
.legal-page {
  background:
    radial-gradient(circle at 92% 2%, rgba(45, 125, 111, 0.09), transparent 28rem),
    var(--canvas);
}

.secondary-page main,
.legal-page main {
  min-height: calc(100svh - var(--header-height) - 20rem);
}

.secondary-page .section:first-child {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.secondary-page h1 {
  max-width: 16ch;
  font-size: clamp(2.75rem, 6vw, 5.2rem);
}

.support-section {
  padding-block: clamp(2rem, 4vw, 3.5rem) var(--section-space);
}

.support-contact-title {
  margin: clamp(3rem, 6vw, 5rem) 0 0.75rem;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.faq {
  display: grid;
  max-width: 52rem;
  gap: 0.85rem;
}

.support-section .faq {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.faq details {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.faq summary {
  display: flex;
  min-height: 4rem;
  padding: 1rem 1.25rem;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 720;
  list-style: none;
}

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

.faq summary::after {
  width: 0.65rem;
  height: 0.65rem;
  margin-left: auto;
  flex: 0 0 auto;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  content: "";
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.faq details[open] summary {
  color: var(--brand-deep);
}

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

.faq-body,
.faq .faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-soft);
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.contact-card {
  max-width: 40rem;
  margin-top: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--mint-300);
  border-radius: var(--radius-lg);
  background: var(--mint-100);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.prose {
  width: min(
    calc(100% - var(--page-gutter) - var(--page-gutter)),
    var(--container-prose)
  );
  max-width: none;
}

.prose.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.prose h1 {
  max-width: 15ch;
  font-size: clamp(2.75rem, 6vw, 5.2rem);
}

.prose h2 {
  margin: 2.6rem 0 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.prose h3 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

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

.prose a {
  overflow-wrap: anywhere;
  font-weight: 650;
}

.draft-banner {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid #c9984d;
  border-radius: var(--radius-md);
  color: var(--ink);
  background: rgba(239, 190, 103, 0.15);
  font-weight: 680;
}

/* Footer */

.site-footer {
  margin-top: 0;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--canvas-deep);
  font-size: 1.125rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1.1fr) minmax(15rem, 0.9fr);
  align-items: start;
  gap: 2.5rem;
}

.footer-brand {
  display: grid;
  max-width: 38rem;
  gap: 0.5rem;
}

.footer-brand .brand-link {
  width: fit-content;
  margin-bottom: 0.35rem;
}

.footer-brand p,
.footer-meta p,
.legal-note,
.legal-disclaimer {
  margin: 0;
  color: var(--ink-soft);
}

.footer-grid > .legal-note,
.footer-grid > .legal-disclaimer {
  grid-column: 1 / -1;
}

.footer-meta {
  display: grid;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  justify-content: flex-end;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink-soft);
  font-weight: 650;
}

.footer-language {
  display: flex;
  margin-top: 1rem;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.legal-note,
.legal-disclaimer {
  max-width: 74rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.no-cookies {
  display: inline-flex;
  width: fit-content;
  min-height: 2.4rem;
  margin-top: 1rem;
  padding: 0.35rem 0.85rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--mint-300);
  border-radius: var(--radius-pill);
  color: var(--brand-deep);
  background: var(--mint-100);
  font-size: 1.125rem;
  font-weight: 680;
}

/* Progressive reveal: content is visible without JavaScript. */

html.js.motion-ok [data-reveal],
html.js.motion-ok .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.js.motion-ok [data-reveal].is-visible,
html.js.motion-ok .reveal.is-visible,
html.js.motion-ok .reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Tablet and compact desktop */

@media (max-width: 63.99rem) {
  :root {
    --section-space: clamp(4rem, 9vw, 6.5rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.66fr);
    gap: clamp(2.5rem, 6vw, 4.5rem);
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7.7vw, 5.2rem);
  }

  .tour-card,
  [data-tour-card] {
    width: min(88vw, 58rem);
    min-height: 36rem;
    grid-template-columns: minmax(15rem, 0.8fr) minmax(18rem, 1fr);
  }

  .tour-media img,
  .tour-card > img,
  [data-tour-card] > img {
    height: min(58svh, 34rem);
  }

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

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

  .plan:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Navigation switches before links become cramped. */

@media (max-width: 51.99rem) {
  :root {
    --header-height: 4.5rem;
  }

  .site-header .header-inner,
  .header-inner {
    min-height: var(--header-height);
  }

  .brand-mark,
  .logo-mark {
    height: 2.15rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - var(--header-height) - 1.5rem);
    margin: 0;
    padding: 0.75rem;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-lifted);
  }

  .site-nav.is-open {
    display: flex;
  }

  .no-js .nav-toggle {
    display: none;
  }

  .no-js .site-header .header-inner,
  .no-js .header-inner {
    flex-wrap: wrap;
    padding-block: 0.65rem;
  }

  .no-js .site-nav {
    position: static;
    display: flex;
    width: 100%;
    max-height: none;
    padding: 0.5rem 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 0.9rem;
  }

  .lang-switch {
    align-self: flex-start;
  }

  .lang-switch a,
  .lang-switch span {
    width: auto;
  }

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

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

  .hero-media {
    width: min(100%, 29rem);
    justify-self: center;
  }

  .video-shell video,
  .hero-media video,
  [data-hero-video] {
    max-height: 42rem;
  }

  .tour-intro {
    grid-template-columns: 1fr;
  }

  .tour-intro .section-lede {
    justify-self: start;
  }

  .tour-card,
  [data-tour-card] {
    width: min(86vw, 42rem);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tour-copy {
    max-width: none;
  }

  .tour-media img,
  .tour-card > img,
  [data-tour-card] > img {
    height: min(58svh, 38rem);
  }

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

  .footer-links,
  .footer-language {
    justify-content: flex-start;
  }
}

/* Phones, including the requested 375 px viewport */

@media (max-width: 39.99rem) {
  :root {
    --page-gutter: clamp(1rem, 5vw, 1.35rem);
    --section-space: 4.25rem;
  }

  body {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  h1 {
    font-size: clamp(2.8rem, 14.5vw, 4.15rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .hero {
    padding-top: 3.25rem;
    padding-bottom: 4.5rem;
  }

  .hero::before {
    top: 45%;
    right: -12rem;
    width: 33rem;
  }

  .hero-grid {
    gap: 3rem;
  }

  .hero-copy .tagline,
  .hero-copy > p:not(.eyebrow):not(.hero-privacy-note) {
    font-size: 1.18rem;
  }

  .store-pill {
    width: 100%;
  }

  .hero-media {
    width: min(100%, 25rem);
  }

  .video-shell video,
  .hero-media video,
  [data-hero-video] {
    max-height: 39rem;
  }

  .statement p {
    font-size: clamp(1.9rem, 9.2vw, 2.8rem);
  }

  .tour-toolbar {
    justify-content: space-between;
  }

  .tour-card,
  [data-tour-card] {
    width: calc(
      100vw - var(--page-gutter) - var(--page-gutter) - 0.5rem
    );
    padding: 1.35rem;
    border-radius: 1.5rem;
    scroll-snap-align: start;
  }

  .tour-copy h3 {
    font-size: 2rem;
  }

  .tour-media img,
  .tour-card > img,
  [data-tour-card] > img {
    height: auto;
    max-height: 34rem;
    border-radius: 1.2rem;
  }

  .principle-grid,
  .card-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .plan:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .plan-sub {
    min-height: 0;
  }

  .privacy-band {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .privacy-band ul {
    grid-template-columns: 1fr;
  }

  .closing-inner {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .faq summary {
    padding-inline: 1rem;
  }

  .faq-body,
  .faq .faq-body {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0;
  }
}

/* Wide screens: retain comfortable reading widths while using the canvas. */

@media (min-width: 90rem) {
  :root {
    --container: 82rem;
    --container-wide: 104rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(28rem, 0.67fr);
  }

  .hero-media {
    width: min(100%, 36rem);
  }

  .tour-card,
  [data-tour-card] {
    width: min(76vw, 78rem);
  }
}

@media (min-width: 120rem) {
  :root {
    --container-wide: 112rem;
    --page-gutter: 5rem;
  }

  .hero {
    min-height: 57rem;
  }

  .tour-card,
  [data-tour-card] {
    width: min(70vw, 82rem);
  }
}

/* Motion safety: transform-based motion is opt-in and removable. */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  html.js [data-reveal],
  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media,
  .tour-media {
    transform: none !important;
  }

  .tour-story,
  [data-horizontal-story],
  .tour-story.is-pinned,
  [data-horizontal-story].is-pinned {
    height: auto !important;
    padding-block: var(--section-space);
  }

  .tour-story.is-pinned .tour-pin,
  [data-horizontal-story].is-pinned [data-tour-pin] {
    position: static;
    display: block;
    height: auto;
    min-height: 0;
  }

  .tour-viewport,
  [data-tour-viewport],
  .tour-story.is-pinned .tour-viewport,
  [data-horizontal-story].is-pinned [data-tour-viewport] {
    overflow: visible;
  }

  .tour-track,
  [data-tour-track] {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none !important;
  }

  .tour-card,
  [data-tour-card] {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .tour-controls {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 51.99rem) {
  .tour-track,
  [data-tour-track] {
    grid-template-columns: 1fr;
  }
}

/* Mirrors the media query for the runtime state exposed by site.js. */

html.reduced-motion {
  scroll-behavior: auto;
}

html.reduced-motion [data-reveal],
html.reduced-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

html.reduced-motion .hero-media,
html.reduced-motion .tour-media {
  transform: none !important;
  transition: none;
}

html.reduced-motion .tour-story,
html.reduced-motion [data-horizontal-story] {
  height: auto !important;
  padding-block: var(--section-space);
}

html.reduced-motion .tour-pin,
html.reduced-motion [data-tour-pin] {
  position: static !important;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

html.reduced-motion .tour-viewport,
html.reduced-motion [data-tour-viewport] {
  overflow: visible !important;
}

html.reduced-motion .tour-track,
html.reduced-motion [data-tour-track] {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  transform: none !important;
}

html.reduced-motion .tour-card,
html.reduced-motion [data-tour-card] {
  width: 100%;
  min-height: 0;
  grid-template-columns: 1fr;
}

html.reduced-motion .tour-controls {
  display: none;
}

@media (max-width: 51.99rem) {
  html.reduced-motion .tour-track,
  html.reduced-motion [data-tour-track] {
    grid-template-columns: 1fr;
  }
}

@media (forced-colors: active) {
  .video-toggle,
  .store-pill {
    border: 2px solid ButtonText;
  }

  .principle-card::before,
  .privacy-band li::before {
    background: CanvasText;
  }
}

@media print {
  .site-header,
  .video-toggle,
  .tour-controls,
  .site-footer {
    display: none !important;
  }

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

  main,
  .section,
  .prose.section {
    padding: 0;
  }

  a {
    color: #000000;
  }
}
