:root {
  --landing-primary: var(--color-primary, #570000);
  --landing-primary-hover: #780707;
  --landing-ink: var(--color-tertiary, #1d2736);
  --landing-muted: var(--color-on-surface-variant, #5a413d);
  --landing-border: rgba(87, 0, 0, 0.14);
  --landing-soft: #f8f9fa;
}

* {
  box-sizing: border-box;
}

body.landing-page {
  margin: 0;
  color: var(--landing-ink);
  background: #ffffff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: default;
}

.landing-page a,
.landing-page button {
  cursor: pointer;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(29, 39, 54, 0.85);
  /* Uses var(--landing-ink) base */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.landing-nav__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.65rem;
  transition: color 200ms ease;
}

.landing-brand:hover {
  color: var(--landing-primary-hover);
}

.landing-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--landing-primary), var(--landing-ink));
  font-size: 1.35rem;
  font-weight: 800;
}

.landing-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.landing-nav__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 200ms ease;
}

.landing-nav__links a:hover {
  color: #780707;
}

.landing-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: 160ms ease;
}

.landing-btn--primary {
  color: #ffffff;
  background: var(--landing-primary);
  box-shadow: 0 18px 34px rgba(87, 0, 0, 0.22);
}

.landing-btn--primary:hover {
  color: #ffffff;
  background: var(--landing-primary-hover);
  transform: translateY(-1px);
}

.landing-btn--outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.landing-btn--outline:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.landing-hero {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.78), rgba(8, 17, 31, 0.48), rgba(8, 17, 31, 0.16)),
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #253348 0%, #6e7c88 45%, #e8eef0 100%);
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.16) 42% 58%, transparent 58%),
    radial-gradient(circle at 24% 68%, rgba(255, 255, 255, 0.13), transparent 22%);
}

.landing-hero__inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.landing-kicker::before {
  content: "";
  width: 38px;
  height: 2px;
  background: #ffffff;
}

.landing-hero h1 {
  max-width: 760px;
  color: #ffffff;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 0;
}

.landing-hero p {
  max-width: 640px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.landing-section {
  padding: 92px 0;
}

.landing-section--soft {
  background: var(--landing-soft);
}

.landing-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.landing-section__eyebrow {
  color: var(--landing-primary);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.landing-section__title {
  max-width: 820px;
  margin: 12px 0 18px;
  color: var(--landing-ink);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.landing-section__lead {
  max-width: 780px;
  color: var(--landing-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.landing-grid {
  display: grid;
  gap: 22px;
}

.landing-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--landing-border);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(29, 39, 54, 0.06);
}

.landing-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--landing-primary);
  background: rgba(87, 0, 0, 0.08);
  margin-bottom: 22px;
}

.landing-card h3 {
  margin: 0 0 12px;
  color: var(--landing-ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.landing-card p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.7;
}

.landing-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.landing-visual {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(29, 39, 54, 0.94), rgba(87, 0, 0, 0.82)),
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.24), transparent 32%);
  box-shadow: 0 28px 80px rgba(29, 39, 54, 0.22);
}

.landing-visual::before,
.landing-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(40px);
}

.landing-visual::before {
  width: 240px;
  height: 240px;
  right: -54px;
  top: -50px;
}

.landing-visual::after {
  width: 240px;
  height: 240px;
  left: -54px;
  bottom: -50px;
}

.landing-visual__panel {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 46px;
  padding: 24px;
  border-radius: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
}

.landing-visual__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.landing-visual__row:first-child {
  border-top: 0;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 800;
}

.landing-modules {
  margin-top: 42px;
}

.landing-module {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--landing-border);
}

.landing-module:first-child {
  border-top: 0;
}

.landing-module__number {
  color: var(--landing-primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.landing-module h3 {
  margin: 0 0 8px;
  font-weight: 800;
}

.landing-module p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.7;
}

.landing-cta {
  padding: 76px;
  border-radius: 34px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(87, 0, 0, 0.96), rgba(29, 39, 54, 0.96)),
    radial-gradient(circle at right top, rgba(255, 255, 255, 0.2), transparent 30%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.landing-cta h2 {
  max-width: 650px;
  margin: 0 0 12px;
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

.landing-cta p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.landing-footer {
  width: 100%;
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--landing-ink);
}

.landing-footer__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.landing-footer__logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.landing-footer__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.landing-footer__contact {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-footer__legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.landing-footer__link:hover,
.landing-footer__link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.landing-footer__link--static {
  cursor: default;
}

.landing-footer__link--static:hover,
.landing-footer__link--static:focus {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.landing-footer__link .material-symbols-outlined {
  font-size: 16px;
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(29, 39, 54, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.legal-nav__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-main {
  background: var(--landing-soft);
}

.legal-hero {
  padding: 82px 0 54px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(29, 39, 54, 0.97), rgba(87, 0, 0, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.legal-hero h1 {
  max-width: 900px;
  margin: 12px 0 18px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.75;
}

.legal-updated {
  display: inline-flex;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-section {
  padding: 56px 0 76px;
}

.legal-document {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--landing-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 72px rgba(29, 39, 54, 0.08);
}

.legal-block {
  padding: 28px 0;
  border-top: 1px solid var(--landing-border);
}

.legal-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-block:last-child {
  padding-bottom: 0;
}

.legal-block h2 {
  margin: 0 0 12px;
  color: var(--landing-ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.legal-block p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.8;
}

.legal-block a {
  color: var(--landing-primary);
  font-weight: 700;
  text-decoration: none;
}

.legal-block a:hover,
.legal-block a:focus {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .landing-nav__links {
    display: none;
  }

  .landing-grid--3,
  .landing-grid--2,
  .landing-split {
    grid-template-columns: 1fr;
  }

  .landing-cta {
    padding: 44px;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .landing-footer__nav {
    justify-content: flex-start;
  }

  .legal-nav__inner {
    width: min(100%, calc(100% - 40px));
  }
}

@media (max-width: 640px) {
  .landing-nav__inner {
    min-height: 72px;
  }

  .landing-brand {
    font-size: 1.25rem;
  }

  .landing-nav__actions .landing-btn--outline {
    display: none;
  }

  .landing-hero {
    min-height: 560px;
  }

  .landing-section {
    padding: 64px 0;
  }

  .landing-card,
  .landing-cta {
    border-radius: 24px;
  }

  .landing-footer__inner {
    padding: 0 20px;
  }

  .landing-footer__contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-right: 0;
    border-right: 0;
  }

  .landing-footer__legal {
    flex-wrap: wrap;
    gap: 10px 24px;
  }

  .legal-nav__inner {
    min-height: 72px;
  }

  .legal-nav__actions .landing-btn--outline {
    display: none;
  }

  .legal-hero {
    padding: 58px 0 40px;
  }

  .legal-document {
    width: min(100%, calc(100% - 32px));
    padding: 28px;
    border-radius: 14px;
  }
}
