:root {
  --landing-canvas: var(--color-bg-cream-brand, #fdf6ed);
  --landing-surface: #fffdf8;
  --manifesto-paper: #ffffff;
  --landing-ink: var(--color-primary-blue, #112a34);
  --landing-muted: #5d6b70;
  --landing-line: #dfd7cb;
  --landing-coral: var(--color-primary-red, #f5432f);
  --landing-coral-dark: #b5281b;
  --landing-header-height: 72px;
  --manifesto-max: 1280px;
  --manifesto-copy: 740px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.manifesto-page {
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

body.manifesto-page {
  margin: 0;
  background: var(--landing-canvas);
  color: var(--landing-ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
}

.manifesto-page :where(a, button):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--landing-coral) 64%, transparent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 500;
  padding: 9px 12px;
  border-radius: 5px;
  background: var(--landing-ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--landing-header-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--landing-canvas) 82%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 180ms ease, border-color 180ms ease;
}

.landing-header.is-scrolled {
  border-color: color-mix(in srgb, var(--landing-line) 82%, transparent);
  background: color-mix(in srgb, var(--landing-surface) 92%, transparent);
}

.landing-header__inner {
  width: min(100%, var(--manifesto-max));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.landing-brand img {
  display: block;
  width: auto;
  height: 31px;
}

.landing-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.landing-link--booking {
  border: 1px solid var(--landing-coral);
  background: var(--landing-coral);
  color: #fff;
}

.landing-link--booking:hover {
  border-color: var(--landing-coral-dark);
  background: var(--landing-coral-dark);
  transform: translateY(-1px);
}

.landing-link--login {
  border: 1px solid var(--landing-coral);
  background: color-mix(in srgb, var(--landing-coral) 8%, var(--landing-surface));
  color: var(--landing-ink);
}

.landing-link--login:hover {
  background: color-mix(in srgb, var(--landing-coral) 15%, var(--landing-surface));
}

.manifesto-section-number {
  margin: 0 0 18px;
  color: var(--landing-coral);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.manifesto-letter-stage {
  position: relative;
  isolation: isolate;
  padding: clamp(70px, 10vw, 150px) clamp(18px, 4vw, 56px);
  background-color: var(--landing-canvas);
  background-image:
    radial-gradient(circle at 12% 4%, rgba(245, 67, 47, 0.045), transparent 25rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 20%);
}

.manifesto-letter {
  position: relative;
  width: min(100%, 1050px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) clamp(26px, 8vw, 112px) clamp(60px, 9vw, 120px);
  border: 1px solid rgba(17, 42, 52, 0.14);
  clip-path: polygon(0.3% 0.08%, 99.76% 0, 100% 99.35%, 99.55% 100%, 0.15% 99.82%, 0 0.7%);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(17, 42, 52, 0.025) calc(100% - 1px)),
    repeating-linear-gradient(0deg, rgba(17, 42, 52, 0.012) 0, rgba(17, 42, 52, 0.012) 1px, transparent 1px, transparent 9px),
    linear-gradient(103deg, rgba(255, 255, 255, 0.48), transparent 34%),
    var(--manifesto-paper);
  box-shadow: inset 0 0 46px rgba(17, 42, 52, 0.018);
  filter:
    drop-shadow(0 2px 0 rgba(17, 42, 52, 0.07))
    drop-shadow(0 30px 46px rgba(17, 42, 52, 0.105));
  transform: rotate(-0.14deg);
  transform-origin: 50% 3%;
}

.manifesto-letter__body {
  max-width: var(--manifesto-copy);
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.78;
}

.manifesto-letter__body > p {
  margin: 0 0 1.55em;
}

.manifesto-salutation {
  color: var(--landing-coral);
  font-size: 1.08em;
}

.manifesto-letter__lead {
  max-width: 19ch;
  margin: 0 0 0.85em;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.manifesto-letter__body strong {
  color: var(--landing-ink);
  font-weight: 700;
}

.manifesto-margin-note {
  position: relative;
  margin: clamp(58px, 9vw, 100px) 0;
  padding: 26px 0 24px clamp(22px, 4vw, 44px);
  border-block: 1px solid var(--landing-line);
  color: var(--landing-ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(1.55rem, 3.6vw, 2.8rem);
  font-style: normal;
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.manifesto-margin-note::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 4px;
  background: var(--landing-coral);
}

.manifesto-comparison {
  margin: clamp(90px, 13vw, 150px) calc(clamp(26px, 8vw, 112px) * -1) 0;
  padding: clamp(62px, 8vw, 96px) clamp(26px, 8vw, 112px) 0;
  border-top: 1px solid var(--landing-ink);
  font-family: Inter, "Segoe UI", sans-serif;
}

.manifesto-comparison > header {
  max-width: 680px;
  margin-bottom: 48px;
}

.manifesto-comparison h2 {
  margin: 0;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  font-weight: 610;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.manifesto-table-wrap {
  overflow-x: auto;
}

.manifesto-comparison table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.manifesto-comparison th,
.manifesto-comparison td {
  padding: 24px 20px;
  border-top: 1px solid var(--landing-line);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
  line-height: 1.55;
}

.manifesto-comparison thead th {
  padding-top: 14px;
  padding-bottom: 16px;
  border-top: 0;
  color: var(--landing-muted);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manifesto-comparison th:first-child {
  width: 24%;
  padding-left: 0;
}

.manifesto-comparison thead th:last-child,
.manifesto-comparison td:last-child {
  background: color-mix(in srgb, var(--landing-coral) 5%, var(--landing-surface));
}

.manifesto-comparison tbody th {
  color: var(--landing-ink);
  font-weight: 740;
}

.manifesto-comparison td {
  color: var(--landing-muted);
}

.manifesto-comparison td:last-child {
  color: var(--landing-ink);
  font-weight: 610;
}

.manifesto-comparison sup,
.manifesto-footnotes sup {
  color: var(--landing-coral);
  font-weight: 760;
}

.manifesto-footnotes {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  color: var(--landing-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.manifesto-footnotes p {
  margin: 0;
}

.manifesto-closing {
  margin-top: clamp(86px, 12vw, 140px);
  padding-top: 32px;
  border-top: 1px solid var(--landing-line);
}

.manifesto-closing > p {
  max-width: 30ch;
  margin: 0;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 480;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.manifesto-closing > p strong {
  display: block;
  margin-top: 18px;
  font-weight: 650;
}

.manifesto-signature {
  display: grid;
  justify-items: end;
  gap: 8px;
  margin-top: clamp(70px, 10vw, 110px);
  color: var(--landing-muted);
  font-size: 0.96rem;
  font-style: italic;
  text-align: right;
}

.manifesto-signature img {
  width: 146px;
  height: auto;
}

.manifesto-footer {
  padding: 28px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--landing-line);
  background: var(--landing-canvas);
}

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

.manifesto-footer p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.82rem;
}

.manifesto-footer__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.manifesto-footer__links a {
  color: var(--landing-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.manifesto-footer__links a:hover,
.manifesto-footer__links a[aria-current="page"] {
  color: var(--landing-ink);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .manifesto-letter {
    padding-inline: clamp(40px, 9vw, 80px);
  }

  .manifesto-comparison {
    margin-inline: calc(clamp(40px, 9vw, 80px) * -1);
    padding-inline: clamp(40px, 9vw, 80px);
  }
}

@media (max-width: 680px) {
  .manifesto-letter-stage {
    padding-inline: 10px;
  }

  .manifesto-letter {
    padding: 34px 28px 72px 34px;
    clip-path: polygon(0.25% 0.04%, 99.75% 0, 100% 99.55%, 99.55% 100%, 0.12% 99.86%, 0 0.5%);
    box-shadow: inset 0 0 30px rgba(17, 42, 52, 0.016);
    filter:
      drop-shadow(0 1px 0 rgba(17, 42, 52, 0.07))
      drop-shadow(0 20px 30px rgba(17, 42, 52, 0.09));
    transform: rotate(-0.08deg);
  }

  .manifesto-letter__body {
    font-size: 1.06rem;
    line-height: 1.72;
  }

  .manifesto-letter__lead {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .manifesto-comparison {
    margin-inline: -28px;
    padding-inline: 28px;
  }

  .manifesto-comparison h2 {
    font-size: 2.65rem;
  }

  .manifesto-table-wrap {
    overflow: visible;
  }

  .manifesto-comparison table,
  .manifesto-comparison thead,
  .manifesto-comparison tbody,
  .manifesto-comparison tr,
  .manifesto-comparison th,
  .manifesto-comparison td {
    display: block;
    width: 100%;
  }

  .manifesto-comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .manifesto-comparison tbody tr {
    padding: 26px 0;
    border-top: 1px solid var(--landing-line);
  }

  .manifesto-comparison tbody th,
  .manifesto-comparison tbody td {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .manifesto-comparison tbody th {
    margin-bottom: 18px;
    font-size: 1.02rem;
  }

  .manifesto-comparison tbody td {
    padding-left: 106px;
    position: relative;
    font-size: 0.84rem;
  }

  .manifesto-comparison tbody td + td {
    margin-top: 14px;
  }

  .manifesto-comparison tbody td::before {
    content: attr(data-label);
    position: absolute;
    top: 0.1em;
    left: 0;
    width: 94px;
    color: var(--landing-muted);
    font-size: 0.59rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .manifesto-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-link {
    transition: none;
  }

  .manifesto-footer__links a {
    transition: none;
  }
}
