:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: auto;
}

body.landing-page-body,
body.legal-page-body {
  margin: 0;
  min-width: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.landing-page-body {
  --radius: 8px;
  --app-card-radius: 14px;
  --landing-media-radius: var(--app-card-radius);
  --bg: var(--landing-bg);
  --surface: var(--landing-surface);
  --surface-strong: var(--landing-soft);
  --ink: var(--landing-ink);
  --muted: var(--landing-muted);
  --line: var(--landing-line);
  --shadow: var(--landing-card-shadow);
  --accent: #2d8c89;
  --accent-ink: #ffffff;
  --accent-soft: #d4efec;
}

html[data-landing-theme="dark"] body.landing-page-body,
body.landing-page-body[data-landing-theme="dark"] {
  --accent: #6db7b8;
  --accent-ink: #102124;
  --accent-soft: #263f42;
}

body.legal-page-body {
  --radius: 8px;
  --bg: #071213;
  --surface: #101d20;
  --surface-strong: #102829;
  --ink: #edf8f7;
  --muted: #9eb8bb;
  --line: rgba(173, 231, 226, 0.16);
  --accent: #6db7b8;
  --accent-ink: #102124;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  background: var(--bg);
  color: var(--ink);
  color-scheme: dark;
}

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

button {
  cursor: pointer;
  text-align: center;
}

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

body.landing-page-body a,
body.legal-page-body a {
  text-decoration: none;
}

body.landing-page-body .primary-button,
body.landing-page-body .secondary-button,
body.legal-page-body .primary-button,
body.legal-page-body .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
}

body.legal-page-body .primary-button {
  padding: 0 16px;
  background: var(--accent);
  color: var(--accent-ink);
}

body.legal-page-body .secondary-button {
  padding: 0 14px;
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--ink);
}

body.landing-page-body .eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.legal-page-body a:focus-visible,
body.legal-page-body button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent);
  outline-offset: 3px;
}
.landing-page-body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
}

.landing-header {
  width: 100%;
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0;
}

.landing-brand,
.landing-nav,
.landing-actions,
.landing-footer-links {
  display: flex;
  align-items: center;
}

.landing-brand {
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.landing-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.landing-brand-mark img {
  display: block;
  width: 28px;
  height: 28px;
}

.landing-nav,
.landing-actions {
  gap: 10px;
}

.landing-nav a:not(.primary-button),
.landing-footer a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.landing-nav a:not(.primary-button):hover,
.landing-footer a:hover {
  color: var(--accent);
}

.landing-main {
  display: grid;
  gap: 26px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 44px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 28px;
  min-height: min(620px, calc(100dvh - 96px));
}

.landing-hero-copy {
  display: grid;
  gap: 18px;
}

.landing-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.02;
}

.landing-hero-text {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.landing-section {
  display: grid;
  gap: 18px;
  padding: 28px 0;
}

.landing-section-head {
  display: grid;
  gap: 6px;
  max-width: 760px;
}

.landing-section h2,
.landing-card h3 {
  margin: 0;
}

.landing-section-text {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-card-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.landing-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.landing-cta-section {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 30px;
  color: var(--muted);
  font-weight: 800;
}

.landing-footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 980px) and (min-width: 761px) {
  .landing-header-inner,
  .landing-main,
  .landing-footer {
    width: min(100% - 28px, 860px);
  }

  .landing-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .landing-actions .primary-button,
  .landing-actions .secondary-button {
    min-height: 44px;
  }

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

@media (max-width: 760px) {
  .landing-header-inner,
  .landing-footer {
    width: min(100% - 24px, 520px);
  }

  .landing-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .landing-main {
    width: min(100% - 24px, 520px);
    padding-top: 14px;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .landing-hero h1 {
    font-size: 42px;
  }

  .landing-hero-text,
  .landing-section-text {
    font-size: 18px;
  }

  .landing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-actions .primary-button,
  .landing-actions .secondary-button {
    width: 100%;
    min-height: 44px;
  }

  .landing-card-grid,
  .landing-card-grid-compact,
  .landing-cta-section {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-footer-links {
    gap: 10px 14px;
    justify-content: flex-start;
  }

  .landing-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }
}

@media (max-width: 430px) {
  .landing-nav .primary-button {
    display: inline-flex;
    flex: 1 1 100%;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
}

.landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  width: 100vw;
  min-height: min(620px, calc(100dvh - 150px));
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 72px max(18px, calc((100vw - 1120px) / 2)) 82px;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 13, 15, 0.64);
}

.landing-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface);
}

.landing-hero-media picture,
.landing-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-media-frame picture,
.landing-media-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: inherit;
}

.landing-hero-media img {
  object-fit: cover;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.landing-hero h1,
.landing-hero-text {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.landing-media-grid,
.landing-video-grid {
  display: grid;
  gap: 14px;
}

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

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

.landing-media-card,
.landing-video-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.landing-media-card-large {
  grid-row: span 2;
}

.landing-media-frame,
.landing-video-frame {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--landing-media-radius);
  background: var(--surface-strong);
}

.landing-media-frame {
  width: fit-content;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.landing-media-card-large .landing-media-frame {
  aspect-ratio: auto;
}

.landing-media-frame img,
.landing-video-frame video {
  border-radius: inherit;
  object-fit: initial;
}

.landing-media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-content: center;
  gap: 6px;
  padding: 18px;
  background: var(--surface-strong);
  color: var(--muted);
  text-align: center;
}

.landing-media-fallback strong {
  color: var(--ink);
}

[data-landing-media-frame].is-missing .landing-media-fallback {
  display: grid;
}

[data-landing-media-frame].is-missing picture,
[data-landing-media-frame].is-missing img,
[data-landing-media-frame].is-missing video {
  visibility: hidden;
}

.landing-media-card figcaption {
  display: grid;
  gap: 4px;
}

.landing-media-card figcaption strong,
.landing-video-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.landing-media-card figcaption span,
.landing-video-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.landing-video-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: var(--landing-media-radius);
}

.landing-video-frame video {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .landing-hero {
    min-height: min(600px, calc(100dvh - 140px));
    padding-right: 18px;
    padding-left: 18px;
  }

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

@media (max-width: 760px) {
  .landing-hero {
    min-height: min(560px, calc(100dvh - 118px));
    padding: 58px 12px 62px;
  }

  .landing-media-grid,
  .landing-video-grid {
    grid-template-columns: 1fr;
  }

  .landing-media-card-large {
    grid-row: auto;
  }

  .landing-media-frame,
  .landing-media-card-large .landing-media-frame {
    aspect-ratio: auto;
    max-height: none;
  }
}

.landing-page-body {
  --landing-bg: #f6fbfa;
  --landing-surface: rgba(255, 255, 255, 0.9);
  --landing-surface-solid: #ffffff;
  --landing-soft: #eaf7f5;
  --landing-ink: #172326;
  --landing-muted: #637579;
  --landing-line: rgba(32, 76, 78, 0.16);
  --landing-shadow: 0 30px 90px rgba(31, 70, 74, 0.14);
  --landing-card-shadow: 0 18px 54px rgba(38, 78, 80, 0.09);
  --landing-card-hover-shadow: 0 24px 64px rgba(38, 78, 80, 0.13);
  --landing-compact-card-shadow: 0 14px 40px rgba(38, 78, 80, 0.08);
  --landing-media-shadow: 0 34px 100px rgba(31, 70, 74, 0.18), 0 18px 56px rgba(45, 140, 137, 0.1);
  --landing-media-glow:
    0 0 0 1px rgba(255, 255, 255, 0.64),
    0 20px 58px rgba(31, 70, 74, 0.11),
    0 0 42px rgba(45, 140, 137, 0.13),
    0 0 74px rgba(255, 255, 255, 0.24);
  --landing-header-bg: rgba(250, 254, 253, 0.78);
  --landing-header-border: rgba(32, 76, 78, 0.14);
  --landing-header-shadow: 0 14px 36px rgba(31, 70, 74, 0.08);
  --landing-soft-card: rgba(255, 255, 255, 0.82);
  --landing-feature-card: rgba(255, 255, 255, 0.78);
  --landing-feature-active: color-mix(in srgb, var(--accent-soft) 32%, #ffffff);
  --landing-frame-gradient-start: rgba(255, 255, 255, 0.96);
  --landing-frame-gradient-end: rgba(246, 252, 251, 0.9);
  --landing-page-bg:
    radial-gradient(circle at 14% -8%, rgba(45, 140, 137, 0.12), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(255, 244, 226, 0.7), transparent 32%),
    linear-gradient(180deg, #fbfefd 0%, var(--landing-bg) 48%, #eef8f6 100%);
  --landing-hero-scrim:
    linear-gradient(90deg, rgba(248, 253, 252, 0.96) 0%, rgba(248, 253, 252, 0.84) 43%, rgba(248, 253, 252, 0.2) 100%),
    linear-gradient(180deg, rgba(248, 253, 252, 0.2), rgba(248, 253, 252, 0.72));
  --landing-hero-scrim-mobile:
    linear-gradient(180deg, rgba(248, 253, 252, 0.98) 0%, rgba(248, 253, 252, 0.86) 52%, rgba(248, 253, 252, 0.46) 100%),
    linear-gradient(90deg, rgba(248, 253, 252, 0.7), rgba(248, 253, 252, 0.7));
  --landing-reveal-light: #f6fbfa;
  --landing-reveal-dark: #071213;
  min-height: 100dvh;
  overflow-x: visible;
  overflow-y: visible;
  background: var(--landing-page-bg);
  color: var(--landing-ink);
  color-scheme: light;
  transition: background-color 220ms ease, color 220ms ease;
}

body.landing-page-body {
  overflow-x: visible;
  overflow-y: visible;
}

html[data-landing-theme="dark"] .landing-page-body,
.landing-page-body[data-landing-theme="dark"] {
  --landing-bg: #061012;
  --landing-surface: rgba(13, 28, 30, 0.9);
  --landing-surface-solid: #0d1c1f;
  --landing-soft: #122a2d;
  --landing-ink: #edf8f7;
  --landing-muted: #a8c3c5;
  --landing-line: rgba(173, 231, 226, 0.18);
  --landing-shadow: 0 34px 100px rgba(0, 0, 0, 0.52);
  --landing-card-shadow: 0 20px 62px rgba(0, 0, 0, 0.34);
  --landing-card-hover-shadow: 0 26px 74px rgba(0, 0, 0, 0.44), 0 0 36px rgba(109, 183, 184, 0.08);
  --landing-compact-card-shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
  --landing-media-shadow: 0 38px 116px rgba(0, 0, 0, 0.56), 0 0 62px rgba(109, 183, 184, 0.13);
  --landing-media-glow:
    0 0 0 1px rgba(173, 231, 226, 0.18),
    0 26px 78px rgba(0, 0, 0, 0.38),
    0 0 52px rgba(109, 183, 184, 0.2),
    0 0 104px rgba(109, 183, 184, 0.11);
  --landing-header-bg: rgba(5, 15, 16, 0.76);
  --landing-header-border: rgba(173, 231, 226, 0.16);
  --landing-header-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  --landing-soft-card: rgba(17, 35, 38, 0.9);
  --landing-feature-card: rgba(17, 35, 38, 0.86);
  --landing-feature-active: color-mix(in srgb, var(--accent) 18%, var(--landing-surface-solid));
  --landing-frame-gradient-start: rgba(19, 42, 45, 0.98);
  --landing-frame-gradient-end: rgba(8, 22, 24, 0.96);
  --landing-page-bg:
    radial-gradient(circle at 16% -8%, rgba(51, 196, 190, 0.18), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(109, 183, 184, 0.1), transparent 30%),
    linear-gradient(180deg, #081719 0%, var(--landing-bg) 52%, #040b0c 100%);
  --landing-hero-scrim:
    linear-gradient(90deg, rgba(7, 18, 19, 0.96) 0%, rgba(7, 18, 19, 0.82) 45%, rgba(7, 18, 19, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 18, 19, 0.14), rgba(7, 18, 19, 0.76));
  --landing-hero-scrim-mobile:
    linear-gradient(180deg, rgba(7, 18, 19, 0.98) 0%, rgba(7, 18, 19, 0.86) 54%, rgba(7, 18, 19, 0.54) 100%),
    linear-gradient(90deg, rgba(7, 18, 19, 0.68), rgba(7, 18, 19, 0.68));
  color-scheme: dark;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  margin: 0;
  padding: env(safe-area-inset-top) 0 0;
  border-bottom: 1px solid var(--landing-header-border);
  background: var(--landing-header-bg);
  box-shadow: var(--landing-header-shadow);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.landing-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1240px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 0;
}

.landing-header::before {
  content: none;
}

.landing-brand {
  color: var(--landing-ink);
  font-size: 22px;
}

.landing-brand-mark {
  width: 46px;
  height: 46px;
  border-color: var(--landing-line);
  border-radius: 12px;
  background: var(--landing-surface-solid);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--landing-ink) 8%, transparent);
}

.landing-nav {
  justify-content: center;
  gap: 22px;
}

.landing-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.landing-theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: var(--landing-surface-solid);
  color: var(--landing-ink);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--landing-ink) 7%, transparent);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.landing-theme-toggle-track {
  position: relative;
  width: 34px;
  height: 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--landing-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--landing-soft) 76%, var(--landing-surface-solid));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--landing-line) 58%, transparent);
}

.landing-theme-toggle-thumb {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--accent) 38%, transparent);
  transform: translateY(-50%);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background 160ms ease;
}

.landing-theme-toggle[data-state="dark"] .landing-theme-toggle-thumb {
  transform: translate(14px, -50%);
  background: color-mix(in srgb, var(--accent) 78%, #ffffff);
}

.landing-theme-toggle-label {
  min-width: 58px;
  text-align: left;
}

.landing-theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .landing-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 34%, var(--landing-line));
    background: color-mix(in srgb, var(--landing-surface-solid) 56%, var(--landing-surface));
    box-shadow: var(--landing-card-hover-shadow);
  }

  .landing-theme-toggle:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent) 42%, var(--landing-line));
    box-shadow: 0 16px 42px color-mix(in srgb, var(--landing-ink) 9%, transparent);
  }
}

.landing-nav a:not(.primary-button),
.landing-footer a {
  color: var(--landing-muted);
}

.landing-nav a:not(.primary-button):hover,
.landing-footer a:hover {
  color: var(--accent);
}

.landing-page-body a:focus-visible,
.landing-page-body button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent);
  outline-offset: 3px;
}

.landing-page-body .primary-button,
.landing-page-body .secondary-button {
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}

.landing-page-body .primary-button {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 22%, transparent);
}

.landing-page-body .secondary-button {
  border-color: var(--landing-line);
  background: var(--landing-surface-solid);
  color: var(--landing-ink);
}

.landing-main {
  gap: 0;
  width: min(1360px, calc(100% - 56px));
  padding: 0 0 64px;
}

.landing-main > .landing-section:not(.landing-hero) {
  width: min(1240px, 100%);
  justify-self: center;
}

.landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  justify-items: stretch;
  justify-self: center;
  gap: clamp(38px, 5vw, 76px);
  width: min(1360px, calc(100vw - 56px));
  min-height: min(760px, calc(100dvh - 82px));
  margin: 0 auto 16px;
  overflow: visible;
  padding: clamp(34px, 3.6vw, 44px) 0 clamp(38px, 4vw, 50px);
  border-bottom: 0;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  background: none;
}

.landing-hero-backdrop {
  position: absolute;
  top: -10px;
  right: calc(50% - 50vw);
  left: calc(50% - 50vw);
  z-index: 0;
  height: min(760px, 70dvh);
  overflow: hidden;
  opacity: 0.16;
  pointer-events: none;
}

.landing-hero-backdrop picture,
.landing-hero-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-hero-backdrop img {
  object-fit: cover;
  object-position: center top;
  filter: blur(16px) saturate(0.9) contrast(1.04);
  transform: scale(1.06);
}

html[data-landing-theme="dark"] .landing-hero-backdrop,
.landing-page-body[data-landing-theme="dark"] .landing-hero-backdrop {
  opacity: 0.24;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  width: min(520px, 100%);
  max-width: none;
  gap: 18px;
  text-align: left;
}

@media (min-width: 1180px) {
  .landing-hero-copy {
    margin-left: 60px;
  }
}

.landing-hero h1 {
  max-width: 520px;
  color: var(--landing-ink);
  font-size: clamp(48px, 4.25vw, 70px);
  line-height: 1;
  text-shadow: none;
}

.landing-hero-text {
  max-width: 500px;
  color: var(--landing-muted);
  font-size: clamp(18px, 1.32vw, 21px);
  text-shadow: none;
  text-align: left;
}

.landing-hero .landing-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 4px;
}

.landing-hero .primary-button,
.landing-hero .secondary-button {
  min-height: 48px;
  padding-inline: 22px;
}

.landing-hero-note {
  max-width: 480px;
  margin: -4px 0 0;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
}

.landing-hero-media {
  position: relative;
  z-index: 2;
  justify-self: end;
  overflow: hidden;
  width: min(100%, 840px, calc(100dvh - 196px));
  max-width: 840px;
  padding: 0;
  border: 0;
  border-radius: var(--landing-media-radius);
  background: transparent;
  box-shadow: none;
}

.landing-hero-media picture,
.landing-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-hero-media img {
  border-radius: inherit;
  object-fit: initial;
  object-position: top center;
  filter: saturate(0.99) contrast(1.01);
}

.landing-section {
  gap: 24px;
  padding: 78px 0;
  scroll-margin-top: 96px;
}

.landing-section + .landing-section {
  border-top: 1px solid var(--landing-line);
}

.landing-section-head {
  gap: 10px;
  max-width: 820px;
}

.landing-section h2 {
  color: var(--landing-ink);
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.04;
}

.landing-section-text {
  max-width: 760px;
  color: var(--landing-muted);
  font-size: 18px;
  line-height: 1.62;
}

.landing-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-problem-section {
  padding: 58px 0 68px;
}

.landing-problem-grid .landing-card {
  min-height: 96px;
}

.landing-problem-card {
  display: grid;
  gap: 16px;
  min-height: 132px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 52%),
    var(--landing-surface);
}

.landing-problem-card::before {
  display: none;
}

.landing-problem-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--landing-line));
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent),
    var(--landing-soft-card);
  color: color-mix(in srgb, var(--accent) 82%, var(--landing-ink));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 10%, transparent);
}

.landing-problem-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-card,
.landing-media-card,
.landing-video-card {
  border-color: color-mix(in srgb, var(--accent) 10%, var(--landing-line));
  border-radius: 8px;
  background: var(--landing-surface);
  box-shadow: var(--landing-card-shadow);
}

.landing-card {
  position: relative;
  min-height: 112px;
  align-content: start;
  gap: 12px;
  padding: 20px;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.landing-card::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 62%, var(--landing-line));
}

.landing-card h3 {
  color: var(--landing-ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.24;
}

.landing-split-section {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: 58px;
}

.landing-split-section-reverse .landing-section-copy {
  order: 2;
}

.landing-split-section-reverse .landing-section-media {
  order: 1;
}

.landing-section-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.landing-section-media {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.landing-product-section {
  gap: 64px;
  padding: 96px 0;
}

.landing-product-copy {
  gap: 20px;
}

.landing-benefit-grid,
.landing-metric-grid {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.landing-benefit-grid {
  grid-template-columns: 1fr;
}

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

.landing-benefit-grid .landing-card,
.landing-metric-grid .landing-card {
  min-height: 92px;
  padding: 18px 20px;
  background: var(--landing-soft-card);
  box-shadow: var(--landing-compact-card-shadow);
}

.landing-benefit-grid .landing-card::before,
.landing-metric-grid .landing-card::before {
  display: none;
}

.landing-benefit-grid .landing-card {
  border-left: 3px solid color-mix(in srgb, var(--accent) 68%, var(--landing-line));
}

.landing-metric-grid .landing-card {
  border-top: 3px solid color-mix(in srgb, var(--accent) 58%, var(--landing-line));
}

.landing-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.landing-feature-list .landing-card {
  min-height: 92px;
}

.landing-page-body [data-landing-media-frame] {
  box-sizing: border-box;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--landing-line));
  border-radius: var(--landing-media-radius);
  background: transparent;
  box-shadow: var(--landing-media-glow);
}

.landing-page-body [data-landing-media-frame] picture,
.landing-page-body [data-landing-media-frame] img,
.landing-page-body [data-landing-media-frame] video {
  display: block;
  border-radius: inherit;
}

.landing-media-frame {
  position: relative;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  height: auto;
}

.landing-media-frame picture,
.landing-media-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
}

.landing-video-frame {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: inherit;
}

.landing-video-frame video {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: initial;
}

.landing-page-body picture[data-landing-picture] img {
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
}

.landing-page-body picture[data-landing-picture].is-theme-switching img {
  opacity: 0.28;
  transform: scale(0.997);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

html.landing-theme-transitioning::view-transition-new(root) {
  z-index: 2;
}

html.landing-theme-transitioning::view-transition-old(root) {
  z-index: 1;
}

.landing-theme-reveal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  clip-path: circle(0 at var(--landing-theme-origin-x, 50vw) var(--landing-theme-origin-y, 0));
  transition: clip-path 680ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease;
}

.landing-theme-reveal.is-light {
  background: var(--landing-reveal-light);
}

.landing-theme-reveal.is-dark {
  background: var(--landing-reveal-dark);
}

.landing-theme-reveal.is-expanding {
  clip-path: circle(var(--landing-theme-reveal-radius, 150vmax) at var(--landing-theme-origin-x, 50vw) var(--landing-theme-origin-y, 0));
}

.landing-theme-reveal.is-fading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .landing-theme-toggle,
  .landing-theme-toggle-thumb,
  .landing-card,
  .landing-calendar-feature-card,
  .landing-calendar-demo-video,
  .landing-page-body picture[data-landing-picture] img,
  .landing-theme-reveal {
    transition: none;
  }

  .landing-card:hover,
  .landing-calendar-feature-card:hover {
    transform: none;
  }
}

.landing-product-media-frame {
  display: inline-flex;
  overflow: hidden;
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 520px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  padding: 0;
}

.landing-product-media-frame picture,
.landing-product-media-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  border-radius: inherit;
  object-fit: initial;
  object-position: top center;
}

#students .landing-section-media {
  justify-items: center;
}

#students .landing-students-media-frame {
  width: fit-content;
  max-width: min(100%, 380px);
  margin-inline: auto;
}

#students .landing-students-media-frame picture,
#students .landing-students-media-frame img {
  width: auto;
  max-width: 100%;
}

.landing-product-demo-card {
  overflow: hidden;
  justify-self: center;
  width: min(100%, 700px);
  padding: 0;
  border-radius: var(--landing-media-radius);
}

.landing-product-video-frame {
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.landing-mobile-payment-preview {
  display: none;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: var(--landing-surface);
  box-shadow: var(--landing-card-shadow);
}

.landing-mobile-payment-preview h3,
.landing-mobile-payment-preview p {
  margin: 0;
}

.landing-mobile-payment-preview h3 {
  color: var(--landing-ink);
  font-size: 20px;
  line-height: 1.2;
}

.landing-mobile-payment-preview p {
  margin-top: 6px;
  color: var(--landing-muted);
  font-weight: 750;
  line-height: 1.48;
}

.landing-mobile-payment-preview .landing-media-frame {
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 300px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}

.landing-calendar-demo-section {
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.72fr);
  align-items: center;
  gap: clamp(34px, 4vw, 54px);
  padding: 110px 0;
}

.landing-main > .landing-section.landing-calendar-demo-section {
  width: min(1360px, 100%);
}

.landing-calendar-demo-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.landing-calendar-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.landing-calendar-feature-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: var(--landing-feature-card);
  color: var(--landing-ink);
  text-align: left;
  box-shadow: var(--landing-compact-card-shadow);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.landing-calendar-feature-card::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.landing-calendar-feature-card span {
  color: var(--landing-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.landing-calendar-feature-card strong {
  color: var(--landing-muted);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.48;
}

.landing-calendar-feature-card.is-active,
.landing-calendar-feature-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--landing-line));
  background: var(--landing-feature-active);
  box-shadow: 0 18px 48px rgba(36, 120, 122, 0.14);
}

.landing-calendar-feature-card.is-active::before {
  background: var(--accent);
}

.landing-calendar-feature-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .landing-calendar-feature-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 36%, var(--landing-line));
    box-shadow: 0 18px 48px rgba(36, 120, 122, 0.12);
  }
}

.landing-calendar-demo-panel {
  min-width: 0;
}

.landing-calendar-demo-card {
  justify-self: center;
  overflow: hidden;
  width: min(100%, 940px);
  padding: 0;
  border-radius: var(--landing-media-radius);
}

.landing-calendar-demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px 12px;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 850;
}

.landing-calendar-demo-topbar strong {
  color: var(--accent);
}

.landing-calendar-demo-video-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: inherit;
  background: transparent;
}

.landing-calendar-demo-video-frame video {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
  max-height: none;
  border-radius: inherit;
  object-fit: initial;
}

.landing-calendar-demo-video {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease;
}

.landing-calendar-demo-video.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.landing-calendar-mobile-scenarios {
  display: none;
}

.landing-calendar-mobile-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: var(--landing-surface);
  box-shadow: var(--landing-card-shadow);
}

.landing-calendar-mobile-card h3,
.landing-calendar-mobile-card p {
  margin: 0;
}

.landing-calendar-mobile-card h3 {
  color: var(--landing-ink);
  font-size: 20px;
  line-height: 1.2;
}

.landing-calendar-mobile-card p {
  margin-top: 6px;
  color: var(--landing-muted);
  font-weight: 750;
  line-height: 1.48;
}

.landing-calendar-mobile-card .landing-media-frame {
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 300px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}

.landing-mobile-media {
  display: none;
}

.landing-media-fallback {
  background: var(--landing-soft);
  color: var(--landing-muted);
}

.landing-media-fallback strong {
  color: var(--landing-ink);
}

.landing-mobile-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.landing-mobile-preview-grid .landing-media-frame {
  aspect-ratio: auto;
  max-height: none;
}

.landing-mobile-section {
  padding: 90px 0;
}

.landing-phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.landing-phone-card {
  display: grid;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.landing-phone-frame {
  position: relative;
  display: inline-flex;
  justify-self: center;
  overflow: hidden;
  width: fit-content;
  max-width: min(100%, 312px);
  height: auto;
  aspect-ratio: auto;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--landing-media-radius);
  background: transparent;
  box-shadow: none;
}

.landing-hero-media,
.landing-product-media-frame,
.landing-product-demo-card,
.landing-calendar-demo-card,
.landing-calendar-mobile-card .landing-media-frame,
.landing-mobile-payment-preview .landing-media-frame,
.landing-phone-frame {
  box-shadow: var(--landing-media-glow);
}

.landing-phone-frame picture,
.landing-phone-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  border-radius: inherit;
}

.landing-phone-frame img {
  object-fit: initial;
  border-radius: inherit;
}

.landing-phone-card figcaption {
  color: var(--landing-muted);
  font-weight: 900;
  text-align: center;
}

.landing-media-card {
  padding: 12px;
}

.landing-media-card figcaption {
  color: var(--landing-muted);
  font-weight: 900;
}

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

.landing-card-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.landing-cta-section {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: 92px;
  padding-bottom: 96px;
}

.landing-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 48px));
  padding: 28px 0 34px;
  border-top: 1px solid var(--landing-line);
}

.landing-footer-brand {
  display: grid;
  gap: 6px;
  max-width: 360px;
}

.landing-footer-brand span {
  color: var(--landing-ink);
  font-weight: 950;
}

.landing-footer-brand p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .landing-header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
  }

  .landing-nav {
    display: none;
  }

  .landing-header-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .landing-problem-grid,
  .landing-card-grid,
  .landing-card-grid-compact,
  .landing-phone-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-split-section,
  .landing-calendar-demo-section {
    grid-template-columns: 1fr;
  }

  .landing-split-section-reverse .landing-section-copy,
  .landing-split-section-reverse .landing-section-media {
    order: initial;
  }
}

@media (max-width: 760px) {
  .landing-header-inner,
  .landing-main,
  .landing-footer {
    width: min(100% - 24px, 520px);
  }

  .landing-header::before {
    content: none;
  }

  .landing-nav {
    display: none;
  }

  .landing-nav::-webkit-scrollbar {
    display: none;
  }

  .landing-nav a {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .landing-header-actions {
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    gap: 8px;
  }

  .landing-header-actions .primary-button,
  .landing-header-actions .secondary-button,
  .landing-theme-toggle {
    flex: 0 1 auto;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
    gap: 22px;
    min-height: 0;
    margin-bottom: 10px;
    padding: 34px 12px 44px;
  }

  .landing-hero::before {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--landing-bg) 98%, transparent) 0%, color-mix(in srgb, var(--landing-bg) 84%, transparent) 46%, var(--landing-bg) 100%),
      linear-gradient(90deg, color-mix(in srgb, var(--landing-bg) 90%, transparent), color-mix(in srgb, var(--landing-bg) 58%, transparent), color-mix(in srgb, var(--landing-bg) 90%, transparent));
  }

  .landing-hero-backdrop {
    inset: 8px -80px auto;
    height: 340px;
    opacity: 0.18;
  }

  .landing-hero-media img {
    object-position: top center;
  }

  .landing-hero h1 {
    font-size: clamp(31px, 8.4vw, 38px);
    line-height: 1.02;
  }

  .landing-hero .eyebrow,
  .landing-hero-note {
    display: none;
  }

  .landing-hero-copy {
    justify-items: center;
    width: 100%;
    max-width: 520px;
    gap: 14px;
    text-align: center;
  }

  .landing-hero-text {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.48;
    text-align: center;
  }

  .landing-hero .landing-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    width: 100%;
    max-width: 320px;
    gap: 8px;
  }

  .landing-hero .primary-button,
  .landing-hero .secondary-button {
    width: auto;
    min-width: 0;
    padding-inline: 14px;
  }

  .landing-hero-note {
    margin-top: -2px;
  }

  .landing-hero-media {
    justify-self: center;
    width: clamp(172px, 48vw, 216px);
    max-width: 216px;
    padding: 0;
  }

  .landing-section {
    padding: 52px 0;
  }

  .landing-section h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .landing-problem-grid,
  .landing-card-grid,
  .landing-card-grid-compact,
  .landing-feature-list,
  .landing-mobile-preview-grid,
  .landing-phone-gallery,
  .landing-metric-grid,
  .landing-cta-section {
    grid-template-columns: 1fr;
  }

  .landing-desktop-media {
    display: none;
  }

  .landing-desktop-features {
    display: none;
  }

  .landing-mobile-media {
    display: grid;
  }

  .landing-product-section {
    gap: 24px;
    padding: 60px 0;
  }

  .landing-benefit-grid,
  .landing-metric-grid {
    margin-top: 4px;
  }

  .landing-product-media-frame {
    justify-self: center;
    width: fit-content;
    max-width: min(100%, 320px);
    max-height: none;
    padding: 0;
  }

  .landing-product-media-frame img {
    max-width: 100%;
    max-height: none;
  }

  .landing-calendar-demo-section {
    gap: 24px;
    padding: 64px 0;
  }

  .landing-calendar-mobile-scenarios {
    display: grid;
    gap: 16px;
  }

  .landing-media-frame,
  .landing-media-card-large .landing-media-frame {
    width: fit-content;
    max-width: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .landing-video-frame {
    aspect-ratio: auto;
  }

  .landing-cta-section {
    gap: 20px;
    align-items: stretch;
  }

  .landing-cta-section .landing-actions,
  .landing-cta-section .primary-button {
    width: 100%;
  }

  .landing-footer {
    display: grid;
    gap: 18px;
    padding-bottom: 40px;
  }

  .landing-footer-links {
    display: grid;
    justify-content: stretch;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .landing-theme-toggle-label {
    display: none;
  }

  .landing-header-actions .secondary-button {
    flex: 0 0 auto;
  }

  .landing-header-actions .primary-button {
    min-width: 0;
    padding-inline: 12px;
  }
}

.legal-page-body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
}

.legal-page {
  display: grid;
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}

.legal-page-shell {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-page-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-page-header {
  display: grid;
  gap: 10px;
}

.legal-page-brand {
  display: inline-grid;
  grid-template-columns: 26px auto;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--muted);
  font-weight: 900;
}

.legal-page-brand img {
  display: block;
  width: 26px;
  height: 26px;
}

.legal-page h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.05;
}

.legal-page h2 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.2;
}

.legal-page p,
.legal-page li {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.legal-page-note {
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--ink);
  font-weight: 800;
}

.legal-page-section {
  display: grid;
  gap: 10px;
}

.legal-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.landing-page-body img[data-landing-image]:not([src]) {
  visibility: hidden;
}

.legal-page a {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 760px) {
  .landing-header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    width: min(100% - 24px, 520px);
    min-height: 70px;
    padding: 8px 0;
  }

  .landing-header::before {
    content: none;
  }

  .landing-nav {
    display: none;
  }

  .landing-header-actions {
    grid-column: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: auto;
    min-width: 0;
    gap: 8px;
  }

  body.landing-page-body .landing-header-actions .secondary-button {
    display: none;
  }

  .landing-theme-toggle {
    flex: 0 0 44px;
    min-width: 44px;
  }

  .landing-header-actions .primary-button {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-inline: 10px;
    font-size: 14px;
  }

  .landing-hero {
    min-height: 0;
    padding-top: 22px;
  }

  .landing-card,
  .landing-calendar-feature-card {
    min-height: 0;
  }

  .landing-problem-grid .landing-card,
  .landing-card-grid-compact .landing-card,
  .landing-feature-list .landing-card {
    min-height: 76px;
    padding: 14px;
  }

  .landing-benefit-grid .landing-card,
  .landing-metric-grid .landing-card {
    min-height: 0;
    padding: 12px 14px;
  }

  .landing-calendar-mobile-card,
  .landing-mobile-payment-preview {
    padding: 12px;
  }

  .landing-phone-card {
    padding: 0;
  }

  .landing-calendar-mobile-card .landing-media-frame,
  .landing-mobile-payment-preview .landing-media-frame {
    width: fit-content;
    max-width: min(100%, 260px);
    max-height: none;
    aspect-ratio: auto;
  }

  .landing-product-media-frame {
    width: fit-content;
    max-width: min(100%, 300px);
    max-height: none;
    padding: 0;
  }

  .landing-product-media-frame img {
    max-width: 100%;
    max-height: none;
  }

  .landing-mobile-preview-grid .landing-media-frame,
  .landing-phone-frame {
    max-height: none;
  }
}

@media (max-width: 520px) {
  .landing-header-actions {
    display: flex;
  }

  .landing-theme-toggle {
    padding: 0;
  }

  .landing-calendar-mobile-card .landing-media-frame,
  .landing-mobile-payment-preview .landing-media-frame {
    width: fit-content;
    max-width: min(100%, 244px);
    max-height: none;
    aspect-ratio: auto;
  }

  .landing-phone-frame {
    width: min(100%, 260px);
    max-height: none;
  }
}

@media (max-width: 430px) {
  .landing-brand > span:last-child {
    display: none;
  }
}
