/* =============================================================
 * Landing page — design tokens & shared primitives
 *
 * Scoped under `.landing-root` to keep the admin / app design
 * system (shadcn variables in globals.css) untouched.
 *
 * Source of truth for visual fidelity: ported 1:1 from the
 * original Astro site (`src/styles/global.css` + per-component
 * styles in the prior Astro project).
 * ============================================================= */

/* =============================================================
 * Landing page — typography parity
 *
 * Next loaded Inter normal faces only (subsets: ["latin"]), so
 * any italic rendered as a synthesised oblique. Declare "Inter Site"
 * without italic faces so site pages match Next, while the blog
 * keeps theme.json's real italic faces.
 * ============================================================= */

@font-face {
  font-family: "Inter Site";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter Site";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

html:has(.landing-root) {
  scroll-padding-top: auto;
}

.landing-root {
  /* Accent: Rentimmo brand violet (logo color, #7b2ede) */
  --landing-accent: #7b2ede;
  --landing-accent-strong: #5e1cb9;
  --landing-accent-soft: oklch(0.45 0.22 295 / 0.12);
  --landing-accent-glow: oklch(0.45 0.22 295 / 0.22);

  --landing-bg: oklch(0.99 0.003 270);
  --landing-bg2: oklch(0.96 0.005 270);
  --landing-bg3: oklch(0.92 0.006 270);
  --landing-border: oklch(0 0 0 / 0.08);

  --landing-text: oklch(0.14 0.02 260);
  --landing-text2: oklch(0.4 0.01 260);
  --landing-text3: oklch(0.58 0.008 260);

  --landing-radius: 14px;
  --landing-radius-lg: 22px;

  font-family:
    "Inter Site",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  color: var(--landing-text);
  background: var(--landing-bg);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

/* =============================================================
 * Tailwind preflight parity scoped to .landing-root (specificity 0,1,0)
 * ============================================================= */

.landing-root :where(a) {
  color: inherit;
  text-decoration: inherit;
}

.landing-root :where(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.landing-root :where(p, blockquote, figure) {
  margin: 0;
}

.landing-root :where(ol, ul, menu) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-root :where(button, input, optgroup, select, textarea) {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

.landing-root :where(button, [type='button'], [type='reset'], [type='submit']) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

.landing-root :where(button, [role="button"]) {
  cursor: pointer;
}

.landing-root :where(:disabled) {
  cursor: default;
}

.landing-root :where(sub, sup) {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.landing-root :where(sub) {
  bottom: -0.25em;
}

.landing-root :where(sup) {
  top: -0.5em;
}

.landing-root :where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
  vertical-align: middle;
}

.landing-root :where(img, video) {
  max-width: 100%;
  height: auto;
}

.landing-root :where(summary) {
  display: list-item;
}

/* Noise texture overlay — scoped to the landing surface */
.landing-root::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* =============================================================
 * Shared section primitives
 * ============================================================= */

.landing-root section {
  padding: clamp(56px, 9vw, 112px) clamp(20px, 5vw, 80px);
}

.landing-root .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-root .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--landing-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.landing-root .section-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--landing-accent);
  border-radius: 1px;
}

.landing-root .section-title {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
  color: var(--landing-text);
}

.landing-root .section-sub {
  color: var(--landing-text2);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  max-width: 560px;
  line-height: 1.65;
  font-weight: 400;
}

/* =============================================================
 * Buttons — three primary CTA variants must stay visually coherent
 *   .btn-hero        : large hero CTA (Hero, BigFeat, CTA section)
 *   .btn-primary     : compact CTA (Nav)
 *   .pricing-cta.primary : full-width pricing card CTA
 * ============================================================= */

.landing-root .btn-hero {
  background: var(--landing-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  box-shadow: 0 8px 24px var(--landing-accent-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.landing-root .btn-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px var(--landing-accent-glow);
  background: var(--landing-accent-strong);
}

.landing-root .btn-outline {
  color: var(--landing-text);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid var(--landing-border);
  background: var(--landing-bg);
  transition:
    border-color 0.2s,
    background 0.2s;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.landing-root .btn-outline:hover {
  border-color: oklch(0 0 0 / 0.2);
  background: var(--landing-bg2);
}

/* =============================================================
 * Scroll-reveal animations
 * ============================================================= */

.landing-root .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.landing-root .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-root .reveal-delay-1 {
  transition-delay: 0.08s;
}
.landing-root .reveal-delay-2 {
  transition-delay: 0.16s;
}
.landing-root .reveal-delay-3 {
  transition-delay: 0.24s;
}
.landing-root .reveal-delay-4 {
  transition-delay: 0.32s;
}

/* =============================================================
 * Reduced-motion overrides
 * ============================================================= */

@media (prefers-reduced-motion: reduce) {
  .landing-root *,
  .landing-root *::before,
  .landing-root *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .landing-root .reveal {
    opacity: 1;
    transform: none;
  }
}
/* =============================================================
 * Landing — per-section styles (all scoped under .landing-root).
 *
 * Ports the Astro per-component scoped <style> blocks into a
 * single stylesheet. Selectors are prefixed by their section
 * class to avoid collision (Nav scrolling, Hero orbs, etc.).
 * ============================================================= */

/* ─────────────── NAV ─────────────── */

.landing-root .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 5vw, 80px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: normal;
  background: oklch(0.99 0.003 270 / 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--landing-border);
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

.landing-root .nav.is-scrolled,
.landing-root.legal-root .nav {
  background: oklch(0.99 0.003 270 / 0.97);
  box-shadow: 0 1px 20px oklch(0 0 0 / 0.06);
}

.landing-root .nav-logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  color: var(--landing-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
}

.landing-root .nav-logo img {
  width: 140px;
  height: auto;
}

.landing-root .nav-logo-dot {
  width: 8px;
  height: 8px;
  background: var(--landing-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--landing-accent);
  animation: landing-pulse 2s infinite;
}

@keyframes landing-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.landing-root .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-root .nav-links a {
  color: var(--landing-text2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.landing-root .nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-root .btn-ghost {
  color: var(--landing-text2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition:
    color 0.2s,
    background 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.landing-root .btn-ghost:hover {
  color: var(--landing-text);
  background: var(--landing-border);
}

.landing-root .btn-primary {
  background: var(--landing-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  box-shadow: 0 0 20px var(--landing-accent-glow);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: normal;
  gap: 6px;
}

.landing-root .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px var(--landing-accent-glow);
  background: var(--landing-accent-strong);
}

.landing-root .nav-mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  position: relative;
  z-index: 102;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 1;
}

.landing-root .nav-mobile-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--landing-text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
  transform-origin: center;
}

.landing-root .nav-mobile-menu.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.landing-root .nav-mobile-menu.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.landing-root .nav-mobile-menu.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.landing-root .mobile-menu-overlay {
  margin-block: 0;
  position: fixed;
  inset: 0;
  background: var(--landing-bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.landing-root .mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.landing-root .mobile-menu-overlay a {
  font-weight: 700;
  font-size: 2rem;
  color: var(--landing-text);
  text-decoration: none;
  transition: color 0.2s;
}

.landing-root .mobile-menu-overlay a:hover {
  color: var(--landing-accent);
}

@media (max-width: 1024px) {
  .landing-root .nav-links {
    display: none;
  }
  .landing-root .nav-mobile-menu {
    display: flex;
  }
}

@media (max-width: 640px) {
  .landing-root .nav {
    height: 60px;
    padding: 0 16px;
    gap: normal;
  }
  .landing-root .nav-logo {
    font-size: 1.15rem;
  }
  .landing-root .btn-ghost {
    display: none;
  }
  .landing-root .btn-primary {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
  .landing-root .nav-cta {
    gap: 8px;
  }
  .landing-root .mobile-menu-overlay a {
    font-size: 1.6rem;
  }
}

@media (max-width: 380px) {
  .landing-root .btn-primary {
    display: none;
  }
}

.landing-root .mobile-menu-overlay a.btn-hero {
  font-size: 1rem;
  padding: 14px 32px;
}

/* ─────────────── FOOTER ─────────────── */

.landing-root .landing-footer {
  background: var(--landing-bg2);
  border-top: 1px solid var(--landing-border);
  padding: 60px clamp(20px, 5vw, 80px) 32px;
}

.landing-root .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-root .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.landing-root .footer-brand .nav-logo {
  margin-bottom: 16px;
}

.landing-root .footer-tagline {
  font-size: 0.875rem;
  color: var(--landing-text3);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 24px;
}

.landing-root .footer-social {
  display: flex;
  gap: 10px;
}

.landing-root .footer-social a {
  width: 36px;
  height: 36px;
  background: var(--landing-bg3);
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--landing-text3);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.landing-root .footer-social a:hover {
  background: var(--landing-border);
  color: var(--landing-text);
}

.landing-root .footer-col-title {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--landing-text3);
  margin-bottom: 20px;
}

.landing-root .footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.landing-root .footer-col-links a,
.landing-root .footer-col-links button {
  color: var(--landing-text2);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-family: inherit;
}

.landing-root .footer-col-links a:hover,
.landing-root .footer-col-links button:hover {
  color: var(--landing-text);
}

.landing-root .footer-bottom {
  border-top: 1px solid var(--landing-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-root .footer-copy {
  font-size: 0.8rem;
  color: var(--landing-text3);
}

.landing-root .footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
}

.landing-root .footer-legal a {
  font-size: 0.8rem;
  color: var(--landing-text3);
  text-decoration: none;
  transition: color 0.2s;
}

.landing-root .footer-legal a:hover {
  color: var(--landing-text2);
}

@media (max-width: 1024px) {
  .landing-root .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .landing-root .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .landing-root .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─────────────── MODAL SHELL ─────────────── */

.landing-root .landing-modal {
  margin-block: 0;
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px) clamp(12px, 3vw, 32px);
  overflow-y: auto;
  font-family: "Inter Site", system-ui, sans-serif;
  color: var(--landing-text);
}

.landing-modal.is-open {
  display: flex;
  animation: landing-modal-fade-in 0.22s ease;
}

@keyframes landing-modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.landing-modal-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(0.14 0.02 260 / 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.landing-modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--landing-bg);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-lg);
  width: 100%;
  box-shadow:
    0 30px 80px oklch(0.45 0.22 295 / 0.18),
    0 12px 32px oklch(0 0 0 / 0.12);
  margin: auto;
  animation: landing-modal-slide-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

@keyframes landing-modal-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.landing-modal-dialog--md {
  max-width: 520px;
}
.landing-modal-dialog--lg {
  max-width: 880px;
}

.landing-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--landing-bg2);
  border: 1px solid var(--landing-border);
  color: var(--landing-text2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
  z-index: 2;
}

.landing-modal-close:hover {
  background: var(--landing-bg3);
  color: var(--landing-text);
  border-color: oklch(0 0 0 / 0.16);
  transform: scale(1.05);
}

.landing-modal-close:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 2px;
}

.landing-modal-header {
  padding: 32px 56px 16px 32px;
}

.landing-modal-title {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.022em;
  color: var(--landing-text);
  line-height: 1.2;
  margin: 0;
}

.landing-root .landing-modal-subtitle {
  font-size: 0.95rem;
  color: var(--landing-text2);
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 540px;
}

.landing-modal-body {
  padding: 8px 32px 32px;
}

@media (max-width: 640px) {
  .landing-root .landing-modal {
    padding: 0;
    align-items: stretch;
  }
  .landing-root .landing-modal-dialog {
    border-radius: 0;
    min-height: 100%;
    border: none;
    margin: 0;
  }
  .landing-root .landing-modal-header {
    padding: 56px 24px 12px;
  }
  .landing-root .landing-modal-body {
    padding: 4px 24px 32px;
  }
  .landing-root .landing-modal-title {
    font-size: 1.25rem;
  }
  .landing-root .landing-modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-modal.is-open,
  .landing-modal-dialog {
    animation: none;
  }
}

/* ─────────────── CONTACT FORM (inside modal) ─────────────── */

.landing-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.landing-contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing-contact-form .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--landing-text2);
  letter-spacing: -0.005em;
}

.landing-contact-form input,
.landing-contact-form select,
.landing-contact-form textarea {
  width: 100%;
  background: var(--landing-bg2);
  border: 1px solid var(--landing-border);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--landing-text);
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  line-height: 1.5;
}

.landing-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.landing-contact-form input:focus,
.landing-contact-form select:focus,
.landing-contact-form textarea:focus {
  outline: none;
  border-color: var(--landing-accent);
  background: var(--landing-bg);
  box-shadow: 0 0 0 3px oklch(0.45 0.22 295 / 0.12);
}

.landing-contact-form input::placeholder,
.landing-contact-form textarea::placeholder {
  color: var(--landing-text3);
}

.landing-contact-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--landing-text2);
  line-height: 1.5;
  cursor: pointer;
}

.landing-contact-form .form-consent input {
  margin-top: 2px;
  accent-color: var(--landing-accent);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.landing-contact-form .form-consent a {
  color: var(--landing-accent);
  text-decoration: underline;
}

.landing-contact-form .form-status {
  font-size: 0.85rem;
  line-height: 1.5;
}

.landing-contact-form .form-status.is-error {
  color: oklch(0.5 0.22 25);
  background: oklch(0.55 0.22 25 / 0.08);
  border: 1px solid oklch(0.55 0.22 25 / 0.2);
  border-radius: 8px;
  padding: 10px 12px;
}

.landing-contact-form .form-status.is-success {
  color: oklch(0.45 0.16 160);
  background: oklch(0.7 0.16 160 / 0.1);
  border: 1px solid oklch(0.55 0.16 160 / 0.25);
  border-radius: 8px;
  padding: 10px 12px;
}

.landing-contact-form .contact-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.landing-contact-form .contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.landing-contact-form .form-fallback {
  text-align: center;
  font-size: 0.78rem;
  color: var(--landing-text3);
  margin: 0;
}

.landing-contact-form .form-fallback a {
  color: var(--landing-accent);
  text-decoration: none;
  font-weight: 600;
}

.landing-contact-form .form-fallback a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .landing-contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─────────────── BOOKING MODAL ─────────────── */

.landing-booking {
  position: relative;
}

.landing-booking-calendly {
  min-width: 320px;
  height: 680px;
  border-radius: 12px;
  overflow: hidden;
}

.landing-booking-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-text3);
  font-size: 0.9rem;
  pointer-events: none;
}

.landing-root .landing-booking-fallback {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--landing-text3);
}

.landing-booking-fallback a {
  color: var(--landing-accent);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .landing-booking-calendly,
  .landing-booking-loading {
    height: 620px;
  }
}


/* WordPress block-theme normalization for public site pages. */
.landing-root,
.landing-root .wp-block-post-content {
  margin: 0;
  max-width: none;
  padding: 0;
}
.landing-root main.site-main {
  padding: 0;
}
.landing-root :where(.wp-block-group, .wp-block-columns, .wp-block-buttons) {
  margin-block-start: 0;
}
.landing-root :where(.is-layout-flow, .is-layout-constrained) > * {
  margin-block-start: 0;
}
.landing-root :where(h1, h2, h3, h4, p, ul) {
  margin-block-start: 0;
}
.landing-root .wp-block-button__link {
  font: inherit;
}
.landing-root .form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.landing-root .landing-booking-calendly iframe {
  border: 0;
  height: 680px;
  min-width: 320px;
  width: 100%;
}
.landing-root .site-legal-content {
  color: var(--landing-text);
  margin: 0 auto;
  max-width: 880px;
  padding: 120px 24px 80px;
}
.landing-root .site-legal-content > header {
  margin-bottom: 40px;
}
.landing-root .site-legal-eyebrow {
  color: #6b7280;
  font-size: .85rem;
  letter-spacing: .08em;
  line-height: 1.6;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.landing-root .site-legal-content h1 {
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.15;
  margin-bottom: 12px;
}
.landing-root .site-legal-updated {
  color: #9ca3af;
  font-size: .85rem;
  line-height: 1.6;
  margin: 0;
}
.landing-root .site-legal-translation-notice {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 0;
  padding: 12px 16px;
}
.landing-root .site-legal-content section {
  margin-bottom: 32px;
}
.landing-root .site-legal-content h2 {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
  margin-bottom: 10px;
}
.landing-root .site-legal-content section p {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 12px;
}
.landing-root .data-protection-content > header {
  margin-bottom: 48px;
}
.landing-root .data-protection-content .site-legal-section {
  margin-bottom: 40px;
}
.landing-root .data-protection-content h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
.landing-root .site-legal-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 8px;
}
.landing-root .data-protection-content h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.landing-root .data-protection-content ul {
  line-height: 1.75;
  margin: 0;
  padding-left: 20px;
}
.landing-root .data-protection-content li {
  margin-bottom: 6px;
}
.landing-root .data-protection-content .site-legal-section > p {
  margin-bottom: 0;
}
.landing-root .data-protection-content .site-legal-section:has(ul) > p {
  margin-bottom: 16px;
}
.landing-root .site-legal-contact {
  background: rgba(99, 102, 241, .06);
  border: 1px solid rgba(99, 102, 241, .15);
  border-radius: 12px;
  margin-top: 48px;
  padding: 24px;
}
.landing-root .site-legal-contact h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.landing-root .site-legal-contact p {
  line-height: 1.6;
  margin-bottom: 12px;
}
.landing-root .site-legal-contact .btn-primary {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  text-align: start;
}
.landing-root details.faq-item {
  border-bottom: 1px solid var(--landing-border);
}
.landing-root details.faq-item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  font-weight: 600;
  justify-content: space-between;
  list-style: none;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
}
.landing-root details.faq-item summary::-webkit-details-marker {
  display: none;
}
.landing-root details.faq-item summary::after {
  align-items: center;
  background: var(--landing-bg2);
  border: 1px solid var(--landing-border);
  border-radius: 50%;
  color: var(--landing-text3);
  content: "▾";
  display: flex;
  flex: 0 0 28px;
  font-size: .8rem;
  height: 28px;
  justify-content: center;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.landing-root details.faq-item[open] summary::after {
  background: var(--landing-accent);
  border-color: var(--landing-accent);
  color: #fff;
  transform: rotate(180deg);
}
.landing-root details.faq-item > :not(summary) {
  color: var(--landing-text2);
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
  padding: 0 0 24px;
}
@media (max-width: 640px) {
  .landing-root details.faq-item summary {
    font-size: .94rem;
    gap: 12px;
    padding: 18px 0;
  }
  .landing-root details.faq-item summary::after {
    flex-basis: 24px;
    font-size: .7rem;
    height: 24px;
  }
  .landing-root details.faq-item > :not(summary) {
    font-size: .88rem;
    padding-bottom: 18px;
  }
}
