/* Shared modern shell; existing page content and forms keep their own markup. */
.modern-subpage {
  --color-bg-deep: #ece9dd;
  --color-bg: #f4f2e9;
  --color-bg-elevated: #fffdf7;
  --color-surface: #fffdf7;
  --color-surface-hover: #ece9dd;
  --color-text: #10231f;
  --color-text-secondary: #465a52;
  --color-text-muted: #5c6965;
  --color-border: rgba(16,35,31,.15);
  --color-border-hover: rgba(16,35,31,.3);
  --color-primary: #9d5b16;
  --color-secondary: #365b45;
  --font-display: var(--display);
  --radius-sm: var(--radius-control);
  --radius-md: var(--radius-card);
  --radius-lg: var(--radius-surface);
  --radius-xl: var(--radius-surface);
}
.modern-subpage dialog { margin: auto; }
.modern-subpage main { padding-bottom: 64px; overflow-wrap: anywhere; }
.modern-subpage main h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; }
.modern-subpage main h2 { line-height: 1.25; }
.modern-subpage .legal p { margin-bottom: 1rem; }
.modern-subpage .legal h2 { font-size: 1.5rem; margin-block: 2.5rem 1rem; }
.modern-subpage .legal { padding-bottom: 40px; }
.modern-subpage .reveal, .modern-subpage .stagger > * { opacity: 1; transform: none; }
.modern-subpage .btn { border-radius: var(--radius-control); box-shadow: none; }
.modern-subpage .btn--primary { background: #e5a244; color: #10231f; }
.modern-subpage .btn--secondary { border-color: var(--color-border-hover); color: var(--ink); }
.modern-subpage .booking-card { background: var(--color-surface); box-shadow: none; }
.modern-subpage .booking-page::before, .modern-subpage .booking-page::after { display: none; }
.modern-subpage .footer { color: #fff; }
.modern-subpage .footer__brand { max-width: none; }
.modern-subpage .footer__grid > div > a { display: block; }
.modern-subpage .site-header { width: auto; background: none; }
.modern-subpage :focus-visible { outline: 2px solid #9d5b16; outline-offset: 4px; }
.modern-subpage .site-header :focus-visible, .modern-subpage .footer :focus-visible { outline-color: #e5a244; }
.pricing-page main { padding-bottom: 0; }
.pricing-page .pricing { min-height: max(640px, 100svh); padding-top: clamp(128px, 15vh, 176px); padding-bottom: clamp(72px, 11vh, 128px); }
.pricing-page .pricing__shell { min-height: min(620px, calc(100svh - 230px)); }
.pricing-page .footer { position: relative; }
@media (max-width: 640px) {
  .modern-subpage .usp-grid { grid-template-columns: minmax(0, 1fr); }
  .modern-subpage .verdict-row { grid-template-columns: minmax(0, 1fr); }
  .modern-subpage .calc-input-row { grid-template-columns: minmax(0, 1fr); }
  .modern-subpage .calc-input-row select { width: 100%; min-width: 0; max-width: 100%; }
  .modern-subpage main { padding-bottom: 32px; }
  .modern-subpage .site-nav { max-width: 100%; }
  .pricing-page main { padding-bottom: 0; }
  .pricing-page .pricing { min-height: 100svh; padding-top: 106px; padding-bottom: 56px; }
}
