/* Local public-site design system. Keep product, billing and legal content intact. */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

body[data-editorial-page] {
  --page-art: url('/assets/illustrated/hero-v1.jpg');
  --page-tint: #e8e3f3;
  --page-accent: #6554a4;
  background: #faf8f5;
  color: #1c1917;
  overflow-x: clip;
}
body[data-editorial-page="features"], body[data-editorial-page="system"] { --page-art: url('/assets/illustrated/build-v1.jpg'); --page-tint: #e3edf3; --page-accent: #416984; }
body[data-editorial-page="about"], body[data-editorial-page="careers"] { --page-art: url('/assets/illustrated/context-v1.jpg'); --page-tint: #e5eddf; --page-accent: #496c46; }
body[data-editorial-page="contact"], body[data-editorial-page="business-guarantee"] { --page-art: url('/assets/illustrated/closing-v1.jpg'); --page-tint: #f2e1d8; --page-accent: #995c48; }
body[data-editorial-page="security"] { --page-art: url('/assets/illustrated/context-v1.jpg'); --page-tint: #e3edf3; --page-accent: #416984; }

/* Navigation is a root-level layer, above every illustration and sticky panel. */
body[data-editorial-page] > #header { z-index: 100; }
body[data-editorial-page] #header .header-pill {
  max-width: 1200px; height: 64px; margin: 24px auto;
  border-radius: 22px; background: #faf8f5f5;
  border: 1px solid #ffffffd9;
  box-shadow: 0 3px 5px #1c191706, 0 16px 48px #1c191716;
}
body[data-editorial-page] .logo span { font-family: Satoshi, Inter, sans-serif; font-weight: 700; font-size: 25px; letter-spacing: -1px; }
body[data-editorial-page] #mainNav { background: transparent; border: 0; box-shadow: none; }
body[data-editorial-page] #mainNav a { color: #57534e; }
body[data-editorial-page] #mainNav a.active { color: #1c1917; }
body[data-editorial-page] :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #416984; outline-offset: 4px; }

/* Same illustrated, rounded canvas as the homepage. Text sits on calm cream. */
body[data-editorial-page] .page-hero {
  margin: 14px; padding: 132px 5vw 44px; min-height: 0;
  border: 1px solid #e7e2dc; border-radius: 32px; overflow: hidden;
  background: var(--page-tint); isolation: isolate; text-align: left;
}
body[data-editorial-page] .page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--page-art) right center / cover no-repeat;
}
body[data-editorial-page] .page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, #faf8f5 0%, #faf8f5f5 32%, #faf8f5d9 48%, #faf8f500 82%);
}
body[data-editorial-page] .page-hero .container { position: relative; max-width: 1200px; }
body[data-editorial-page] .page-hero h1 { max-width: 760px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
body[data-editorial-page] em { font-family: Satoshi, Inter, system-ui, sans-serif; font-style: normal; font-weight: inherit; }
body[data-editorial-page] .page-hero h1 em { color: inherit; font-family: inherit; font-style: normal; font-weight: inherit; }
body[data-editorial-page] :is(h1,h2,h3,h4,h5,h6),
body[data-editorial-page] :is(h1,h2,h3,h4,h5,h6) :is(em,span,strong) { color: #1c1917; }
body[data-editorial-page] .page-hero p { max-width: 570px; margin: 22px 0 0; color: #57534e; font-size: 1.0625rem; }
body[data-editorial-page] .page-hero .section-label { color: var(--page-accent); }
body[data-editorial-page] :is(.section, .form-section) { padding-block: clamp(32px, 4vw, 56px); }
body[data-editorial-page] .section-head { margin-bottom: 28px; }
.compact-plan-details > summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-size: 1rem; font-weight: 600; color: #1c1917; }
.compact-plan-details[open] > summary { margin-bottom: 20px; }
body[data-editorial-page="careers"] .culture-section { padding-block: 28px; }
body[data-editorial-page="careers"] .culture h2 { font-size: 1.5rem; margin-bottom: 8px; }
body[data-editorial-page] .section-alt { background: linear-gradient(135deg, var(--page-tint), #faf8f5 75%); }
body[data-editorial-page] :is(.section-head h2, .cta-section h2, .apply-cta h2) { font-size: clamp(1.5rem, 2.7vw, 2.25rem); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
body[data-editorial-page] .section-label { color: var(--page-accent); letter-spacing: .14em; }
body[data-editorial-page] :is(.card, .pricing-card, .feature-surface-card, .form-card, .compare-card, .trust-dashboard, .security-contact) {
  border: 1px solid #e7e2dc; border-radius: 26px;
  box-shadow: 0 4px 8px #1c191704, 0 18px 40px -25px #1c19172b;
}
body[data-editorial-page] .card { background: linear-gradient(145deg, #fff, #faf8f5); }
body[data-editorial-page] .card:nth-child(3n+2) { background: linear-gradient(145deg, #fff, #e3edf355); }
body[data-editorial-page] .card:nth-child(3n+3) { background: linear-gradient(145deg, #fff, #e8e3f355); }
body[data-editorial-page] .pricing-card.featured { background: linear-gradient(140deg, #e8e3f3, #fff 55%, #e3edf3); border-color: #b5a9df; box-shadow: 0 20px 50px -24px #6554a44d; }
body[data-editorial-page] :is(.btn, .card-cta) { border-radius: 999px; min-height: 44px; }
body[data-editorial-page] :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { border-radius: 14px; border-color: #d6d0c8; }
body[data-editorial-page] :is(.faq-list, .compare-card) { width: 100%; min-width: 0; }
body[data-editorial-page] .faq-q { min-height: 64px; }
body[data-editorial-page] .compare-table-wrap { max-width: 100%; overflow-x: auto; }
body[data-editorial-page] :is(.cta-section, .apply-cta) { margin: 16px; border-radius: 32px; background: linear-gradient(90deg, #faf8f5f5 25%, #faf8f5c9 65%, #faf8f555), url('/assets/illustrated/closing-v1.jpg') center / cover; }

/* The footer closes the same visual story on every page, after the legal line. */
.pricing-review-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.pricing-review { margin: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid #e7e2dc; border-radius: 26px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.pricing-review-featured { background: linear-gradient(140deg, #e8e3f3, #faf8f5 65%, #e3edf3); border-color: #cec5e7; }
.pricing-review blockquote { margin: 0; }
.pricing-review blockquote p { font-size: 1rem; line-height: 1.65; color: #403b36; }
.pricing-review-featured blockquote p { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; font-weight: 600; letter-spacing: -.025em; color: #1c1917; }
.pricing-review figcaption { display: flex; flex-direction: column; gap: 5px; font-size: .875rem; }
.pricing-review figcaption span { color: #57534e; }
@media (max-width: 850px) { .pricing-review-grid { grid-template-columns: minmax(0, 1fr); } }
body[data-editorial-page] footer { padding-bottom: 16px; background: linear-gradient(180deg, #faf8f5, #f1ece5); }
body[data-editorial-page] .footer-col a { min-height: 44px; display: flex; align-items: center; }
body[data-editorial-page] .footer-social a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.editorial-signature { display: flex; align-items: center; justify-content: center; gap: 2vw; width: calc(100% - 48px); max-width: 1400px; margin: 36px auto 0; padding: 12px 0 20px; font: 800 clamp(62px, 19vw, 290px)/1 Satoshi, Inter, sans-serif; letter-spacing: -.07em; }
.editorial-shell { display: block; flex: 0 0 .85em; height: .85em; background: url('/assets/illustrated/hero-v1.jpg') 85% 65% / 360% auto; mask: url('/assets/logo-icon.svg') center / contain no-repeat; -webkit-mask: url('/assets/logo-icon.svg') center / contain no-repeat; }
.editorial-letters { background: url('/assets/illustrated/hero-v1.jpg') center bottom / auto 300%; background-clip: text; -webkit-background-clip: text; color: transparent; filter: saturate(1.3); }

/* Legal reading stays quiet, with the same typography and pastel framing. */
body:is([data-editorial-page="privacy"], [data-editorial-page="terms"]) .page-hero { min-height: 0; padding-bottom: 56px; background: linear-gradient(120deg, #e8e3f3, #faf8f5 70%); }
body:is([data-editorial-page="privacy"], [data-editorial-page="terms"]) .page-hero::before,
body:is([data-editorial-page="privacy"], [data-editorial-page="terms"]) .page-hero::after { content: none; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body[data-editorial-page] :is(.card, .pricing-card, .feature-surface-card) { transition: transform 250ms ease, box-shadow 250ms ease; }
  body[data-editorial-page] :is(.card, .pricing-card, .feature-surface-card):hover { transform: translateY(-4px); box-shadow: 0 20px 45px -24px #1c191747; }
  body[data-editorial-page] .page-hero::before { animation: editorial-arrive 1.2s ease-out both; }
}
@keyframes editorial-arrive { from { transform: scale(1.025); } to { transform: scale(1); } }
@media (max-width: 768px) {
  body[data-editorial-page] #header .header-pill { margin: 12px auto; height: 60px; border-radius: 20px; }
  body[data-editorial-page] #mainNav.open { background: #fff; }
  body[data-editorial-page] #mainNav.open a { color: #57534e; box-shadow: none; }
  body[data-editorial-page] #mainNav.open a.active { color: #1c1917; background: #f3f0eb; }
  body[data-editorial-page] #mainNav.open .nav-mobile-actions .mob-login { color: #1c1917; background: #faf8f5; border: 1px solid #e7e2dc; box-shadow: none; }
  body[data-editorial-page] #mainNav.open .nav-mobile-actions .mob-cta { color: #fff; background: #1c1917; box-shadow: none; }
  body[data-editorial-page] .page-hero { margin: 8px; border-radius: 24px; padding: 128px 12px 48px; min-height: 0; }
  body[data-editorial-page] .page-hero::after { background: #faf8f5df; }
  body[data-editorial-page] .page-hero h1 { font-size: clamp(2rem, 8vw, 3.25rem); }
  body[data-editorial-page] .page-hero p { font-size: 1rem; }
  body[data-editorial-page] :is(.card-grid, .pricing-grid, .server-grid, .capability-grid) { grid-template-columns: minmax(0, 1fr); }
  body[data-editorial-page] :is(.card, .pricing-card, .feature-surface-card, .form-card) { border-radius: 20px; }
  body[data-editorial-page] .footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; gap: 24px; }
  body[data-editorial-page] .footer-brand { grid-column: 1 / -1; }
  body[data-editorial-page] .footer-brand .logo { justify-content: flex-start; }
  body[data-editorial-page] .footer-col { display: block; }
  body[data-editorial-page] .footer-bottom { gap: 16px; flex-wrap: wrap; }
  .editorial-signature { width: calc(100% - 32px); font-size: 19vw; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-editorial-page] { scroll-behavior: auto; }
  body[data-editorial-page] .reveal { opacity: 1; transform: none; transition: none; }
  body[data-editorial-page] .page-hero::before { animation: none; }
}
@media (forced-colors: active) {
  .editorial-shell { background: CanvasText; }
  .editorial-letters { color: CanvasText; background: none; }
}
