:root {
  --landing-bg: #f5f2eb;
  --landing-surface: rgba(255, 255, 255, 0.84);
  --landing-surface-strong: #ffffff;
  --landing-surface-soft: #f8f6f1;
  --landing-text: #141414;
  --landing-text-muted: #5f636b;
  --landing-text-soft: #757b84;
  --landing-border: rgba(20, 20, 20, 0.08);
  --landing-border-strong: rgba(20, 20, 20, 0.12);
  --landing-dark: #121212;
  --landing-dark-soft: #1d1d1d;
  --landing-accent: #ff8a00;
  --landing-accent-strong: #eb6d00;
  --landing-accent-soft: rgba(255, 138, 0, 0.12);
  --landing-shadow-sm: 0 10px 24px rgba(17, 17, 17, 0.06);
  --landing-shadow-md: 0 18px 40px rgba(17, 17, 17, 0.08);
  --landing-shadow-lg: 0 28px 64px rgba(17, 17, 17, 0.12);
  --landing-radius-sm: 12px;
  --landing-radius-md: 18px;
  --landing-radius-lg: 24px;
  --landing-radius-xl: 32px;
  --landing-shell: min(1180px, calc(100vw - 32px));
  --landing-header-height: 80px;
  --landing-transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body.is-landing {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f4ee 0%, var(--landing-bg) 42%, #f2efe8 100%);
  color: var(--landing-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.is-landing.landing-menu-open {
  overflow: hidden;
}

body.is-landing.is-modal-open {
  overflow: hidden;
}

body.is-landing a {
  color: inherit;
  text-decoration: none;
}

body.is-landing button,
body.is-landing input,
body.is-landing textarea {
  font: inherit;
}

body.is-landing img {
  display: block;
  max-width: 100%;
}

.icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.icon-svg--sm {
  width: 1rem;
  height: 1rem;
}

.landing-shell {
  width: var(--landing-shell);
  margin: 0 auto;
}

.landing-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 12px;
}

.landing-header.is-scrolled .landing-header__bar {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(20, 20, 20, 0.08);
  box-shadow: 0 20px 36px rgba(17, 17, 17, 0.08);
}

.landing-header__bar {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  min-height: var(--landing-header-height);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  transition: background var(--landing-transition), border-color var(--landing-transition), box-shadow var(--landing-transition), transform var(--landing-transition);
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.landing-logo__vl {
  color: var(--landing-text);
}

.landing-logo__price {
  color: var(--landing-accent);
}

.landing-nav,
.landing-header__actions {
  display: none;
}

.landing-nav__indicator {
  display: none;
}

.landing-menu-toggle {
  width: 44px;
  height: 44px;
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--landing-text);
  cursor: pointer;
  transition: transform var(--landing-transition), border-color var(--landing-transition), background var(--landing-transition);
}

.landing-menu-toggle:hover {
  border-color: var(--landing-accent);
  transform: translateY(-1px);
}

.landing-menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--landing-transition), opacity var(--landing-transition);
}

body.landing-menu-open .landing-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.landing-menu-open .landing-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.landing-menu-open .landing-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.landing-menu-open .landing-nav {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  padding-top: 8px;
}

body.landing-menu-open .landing-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--landing-text-muted);
  background: rgba(20, 20, 20, 0.03);
}

body.landing-menu-open .landing-nav a:hover {
  color: var(--landing-text);
  background: rgba(20, 20, 20, 0.06);
}

body.landing-menu-open .landing-header__actions {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--landing-transition), border-color var(--landing-transition), background var(--landing-transition), box-shadow var(--landing-transition), color var(--landing-transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-strong) 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(235, 109, 0, 0.22);
}

a.btn-primary,
button.btn-primary,
.btn-primary span,
.btn-primary .icon-svg {
  color: #ffffff !important;
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(235, 109, 0, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--landing-border);
  color: var(--landing-text);
}

.btn-outline {
  background: transparent;
  border-color: var(--landing-border-strong);
  color: var(--landing-text);
}

.btn-outline:hover {
  border-color: rgba(255, 138, 0, 0.35);
  color: var(--landing-accent-strong);
  background: rgba(255, 255, 255, 0.7);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-full {
  width: 100%;
}

.btn-large {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 17px;
}

.landing-hero {
  position: relative;
  padding: 108px 0 72px;
}

.landing-hero__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.55;
  animation: landing-float 18s ease-in-out infinite;
}

.landing-orb--one {
  top: 6%;
  left: -4%;
  width: 220px;
  height: 220px;
  background: rgba(255, 138, 0, 0.16);
}

.landing-orb--two {
  top: 14%;
  right: -8%;
  width: 260px;
  height: 260px;
  background: rgba(0, 0, 0, 0.07);
  animation-delay: -6s;
}

.landing-orb--three {
  bottom: 18%;
  left: 36%;
  width: 180px;
  height: 180px;
  background: rgba(255, 138, 0, 0.09);
  animation-delay: -10s;
}

.landing-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.landing-hero__layout {
  position: relative;
  display: grid;
  gap: 28px;
}

.landing-kicker,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 138, 0, 0.16);
  color: var(--landing-accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-tag {
  background: rgba(255, 138, 0, 0.08);
}

.section-tag--compact {
  padding: 6px 10px;
  font-size: 0.72rem;
}

.section-tag--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.landing-hero__copy h1,
.section-heading h2,
.workflow-copy h2,
.faq-copy h2,
.contact-copy h2 {
  margin: 18px 0 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(2.2rem, 9vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.landing-hero__lead,
.section-heading p,
.workflow-copy p,
.faq-copy p,
.contact-copy p {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--landing-text-muted);
  font-size: 1rem;
}

.landing-hero__cta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.landing-hero__list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.landing-hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--landing-text-muted);
}

.list-check {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-strong) 100%);
  color: #ffffff;
}

.landing-hero__visual {
  position: relative;
}

.preview-window {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--landing-shadow-lg);
  backdrop-filter: blur(22px);
}

.preview-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(20, 20, 20, 0.04);
  border-radius: inherit;
  pointer-events: none;
}

.preview-window__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(20, 20, 20, 0.05);
}

.preview-window__dots {
  display: inline-flex;
  gap: 8px;
}

.preview-window__dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.18);
}

.preview-window__dots span:nth-child(1) {
  background: #ff6a59;
}

.preview-window__dots span:nth-child(2) {
  background: #f2c95b;
}

.preview-window__dots span:nth-child(3) {
  background: #4dc58c;
}

.preview-window__title {
  font-size: 0.82rem;
  color: var(--landing-text-soft);
}

.preview-window__body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.preview-form-card,
.preview-summary-card,
.preview-metric-card,
.workflow-panel__surface,
.summary-card,
.feature-card,
.module-card,
.pricing-card,
.contact-card,
.faq-item {
  background: var(--landing-surface);
  border: 1px solid rgba(20, 20, 20, 0.06);
  box-shadow: var(--landing-shadow-sm);
}

.preview-form-card,
.preview-summary-card {
  padding: 16px;
  border-radius: 20px;
}

.preview-form-card__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.preview-form-card__row + .preview-form-card__row {
  margin-top: 12px;
}

.preview-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--landing-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-form-card strong,
.preview-metric-card strong,
.workflow-info-card strong,
.summary-card strong,
.pricing-card__price strong {
  color: var(--landing-text);
}

.preview-form-card__chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.soft-chip,
.status-pill,
.pricing-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.soft-chip,
.pricing-card__pill {
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-strong) 100%);
  color: #ffffff;
}

.preview-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.preview-metric-card,
.workflow-info-card {
  padding: 16px;
  border-radius: 18px;
}

.preview-summary-card {
  display: grid;
  gap: 14px;
}

.preview-summary-card p,
.workflow-panel__status p {
  margin: 0;
  color: var(--landing-text-muted);
}

.preview-summary-card__total {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(255, 255, 255, 0.85));
}

.preview-summary-card__total span,
.summary-card__label,
.contact-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--landing-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-summary-card__total strong {
  font-size: 1.25rem;
}

.floating-note {
  display: none;
}

.floating-note__icon,
.summary-card__icon,
.module-card__icon,
.pricing-card__icon,
.contact-card__icon,
.faq-item__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-strong) 100%);
  color: #ffffff;
}

.floating-note__icon .icon-svg,
.summary-card__icon .icon-svg,
.module-card__icon .icon-svg,
.pricing-card__icon .icon-svg,
.contact-card__icon .icon-svg,
.faq-item__icon .icon-svg {
  width: 1.35rem;
  height: 1.35rem;
}

.landing-summary-strip {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.summary-card {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 18px;
  border-radius: 20px;
}

.summary-card__icon {
  margin-bottom: 16px;
}

.summary-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.05rem;
}

.summary-card p,
.feature-card p,
.module-card p,
.pricing-card p,
.landing-footer__brand p,
.landing-footer__links a {
  margin: 10px 0 0;
  color: var(--landing-text-muted);
}

.landing-section {
  position: relative;
  padding: 72px 0;
}

.landing-section--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.26);
  border-block: 1px solid rgba(20, 20, 20, 0.05);
}

.section-heading {
  max-width: 760px;
}

.feature-grid,
.module-grid,
.pricing-grid,
.contact-cards {
  display: grid;
  gap: 16px;
}

.feature-grid,
.pricing-grid {
  margin-top: 28px;
}

.feature-card,
.module-card,
.pricing-card,
.contact-card {
  padding: 22px;
  border-radius: 24px;
  transition: transform var(--landing-transition), box-shadow var(--landing-transition), border-color var(--landing-transition), background var(--landing-transition);
}

.feature-card:hover,
.module-card:hover,
.pricing-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--landing-shadow-md);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-strong) 100%);
  color: #ffffff;
  font-size: 1.2rem;
}

.feature-card h3,
.module-card h3,
.pricing-card h3,
.faq-item__title,
.contact-card a,
.workflow-copy strong {
  font-family: "Manrope", "Inter", sans-serif;
}

.feature-card h3,
.module-card h3,
.pricing-card h3 {
  margin: 18px 0 0;
  font-size: 1.26rem;
  line-height: 1.1;
}

.workflow-layout,
.faq-layout,
.contact-section__layout {
  display: grid;
  gap: 28px;
}

.workflow-steps {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.workflow-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.workflow-steps__index,
.module-card__index {
  color: var(--landing-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workflow-copy strong {
  display: block;
  font-size: 1.04rem;
}

.workflow-copy .workflow-steps p {
  margin: 6px 0 0;
}

.workflow-panel__surface {
  padding: 20px;
  border-radius: 28px;
}

.workflow-panel__topline {
  display: grid;
  gap: 12px;
}

.workflow-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.workflow-panel__status {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.03);
}

.status-pill {
  width: fit-content;
  background: rgba(20, 20, 20, 0.06);
  color: var(--landing-text);
}

.workflow-panel__actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.workflow-panel__actions .btn[disabled] {
  opacity: 1;
  cursor: default;
}

.module-grid {
  margin-top: 26px;
}

.module-card {
  position: relative;
  overflow: hidden;
}

.module-card__icon {
  margin-bottom: 14px;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--landing-accent), rgba(255, 138, 0, 0));
}

.pricing-card {
  display: grid;
  gap: 14px;
}

.pricing-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-card__price span,
.pricing-card__price small {
  color: var(--landing-text-soft);
}

.pricing-card__price strong {
  font-size: 2.2rem;
  letter-spacing: -0.05em;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--landing-text-muted);
}

.pricing-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.42rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--landing-accent);
}

.pricing-card--featured {
  background: linear-gradient(180deg, rgba(255, 138, 0, 0.09), rgba(255, 255, 255, 0.92));
  border-color: rgba(255, 138, 0, 0.18);
}

.pricing-card__pill--featured {
  background: var(--landing-dark);
  color: #ffffff;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--landing-text-soft);
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.faq-item__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--landing-text);
  text-align: left;
  cursor: pointer;
}

.faq-item__title {
  font-size: 1rem;
  font-weight: 800;
}

.faq-item__chevron {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.04);
  color: var(--landing-text-soft);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), background var(--landing-transition), color var(--landing-transition);
}

.faq-item__panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.faq-item__panel-inner {
  padding: 0 20px 20px;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-strong) 100%);
  color: #ffffff;
}

.faq-item.is-open .faq-item__panel {
  opacity: 1;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--landing-text-muted);
}

.faq-item a {
  color: var(--landing-accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-section {
  position: relative;
  padding: 84px 0;
  background: linear-gradient(135deg, #111111 0%, #1c1c1c 100%);
  color: #ffffff;
  overflow: hidden;
}

.contact-section__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-section__glow {
  position: absolute;
  inset: auto auto -120px -80px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.18);
  filter: blur(60px);
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  color: #ffffff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-cards {
  position: relative;
  z-index: 1;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.contact-card__icon {
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-strong) 100%);
  color: #ffffff;
}

.contact-card a {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
}

.contact-card__label {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.54);
}

.landing-footer {
  padding: 36px 0 48px;
}

.landing-footer__layout {
  display: grid;
  gap: 24px;
}

.landing-footer__brand,
.landing-footer__links {
  display: grid;
  gap: 8px;
}

.landing-footer__brand p {
  max-width: 38ch;
}

.landing-footer__links strong {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 0.95rem;
}

.landing-footer__links a,
.footer-legal-link {
  font-size: 0.96rem;
  color: var(--landing-text-muted);
}

.footer-legal-link {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.footer-legal-link:hover,
.landing-footer__links a:hover {
  color: var(--landing-accent-strong);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(18, 18, 18, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--landing-transition);
}

.legal-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal__surface {
  position: relative;
  width: min(760px, 100%);
  max-height: min(82vh, 780px);
  overflow: auto;
  padding: 24px 20px 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--landing-shadow-lg);
}

.legal-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.legal-modal__body h3 {
  margin: 0 0 12px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.4rem;
}

.legal-modal__body p,
.legal-modal__body li {
  color: var(--landing-text-muted);
}

.legal-modal__body a {
  color: var(--landing-accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-modal__body p + p,
.legal-modal__body p + ul,
.legal-modal__body ul + p {
  margin-top: 12px;
}

.legal-modal__body ul {
  padding-left: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes landing-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.04);
  }
}

@media (min-width: 720px) {
  .landing-shell {
    width: min(1180px, calc(100vw - 48px));
  }

  .faq-item__panel-inner {
    padding-left: 82px;
  }

  .landing-hero__cta,
  .workflow-panel__actions,
  .contact-actions {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: start;
  }

  .landing-summary-strip,
  .feature-grid,
  .module-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .landing-footer__layout {
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 520px) {
  .preview-form-card__row,
  .preview-metrics-grid,
  .workflow-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .landing-header__bar {
    grid-template-columns: auto 1fr auto;
    padding: 16px 22px;
  }

  .landing-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  .landing-nav__indicator {
    position: absolute;
    top: 6px;
    left: 6px;
    display: block;
    width: 0;
    height: calc(100% - 12px);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(44, 44, 44, 0.84));
    box-shadow:
      0 16px 28px rgba(17, 17, 17, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      width 420ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease;
    opacity: 0;
    pointer-events: none;
  }

  .landing-nav__indicator::after {
    content: "";
    position: absolute;
    inset: auto 12px -8px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 138, 0, 0.22);
    filter: blur(14px);
    opacity: 0.95;
  }

  .landing-nav a {
    position: relative;
    z-index: 1;
    padding: 10px 16px;
    border-radius: 14px;
    color: var(--landing-text-muted);
    font-weight: 600;
    transition: color var(--landing-transition);
  }

  .landing-nav a.is-active {
    color: #ffffff;
  }

  .landing-nav a:hover {
    color: var(--landing-text);
  }

  .landing-nav a.is-active:hover {
    color: #ffffff;
  }

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

  .landing-menu-toggle {
    display: none;
  }

  .landing-hero {
    padding-top: 142px;
    padding-bottom: 86px;
  }

  .landing-hero__layout,
  .workflow-layout,
  .faq-layout,
  .contact-section__layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
  }

  .landing-hero__copy h1,
  .section-heading h2,
  .workflow-copy h2,
  .faq-copy h2,
  .contact-copy h2 {
    font-size: clamp(3rem, 5vw, 4.9rem);
  }

  .floating-note {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(20, 20, 20, 0.06);
    box-shadow: var(--landing-shadow-md);
    font-weight: 700;
    color: var(--landing-text);
    animation: landing-float 12s ease-in-out infinite;
  }

  .floating-note__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .floating-note--portal {
    top: 42px;
    right: -28px;
  }

  .floating-note--history {
    bottom: -10px;
    left: -42px;
    animation-delay: -4s;
  }

  .landing-summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
  }

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

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

@media (min-width: 1200px) {
  .workflow-panel__surface,
  .preview-window__body {
    padding: 22px;
  }

  .feature-card,
  .module-card,
  .pricing-card,
  .contact-card {
    padding: 26px;
  }
}

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

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