/* Public-site presentation. Content, API contracts and CRM styles stay independent. */
body:not(.dashboard-page) {
  --bg: #121a20;
  --panel: #19262e;
  --border: #34434b;
  --muted: #adbdc6;
  --accent: #68e3c5;
  --space-section: clamp(64px, 8vw, 112px);
  --radius: 4px;
  background: var(--bg);
}
body:not(.dashboard-page)::before {
  position: absolute;
  height: 900px;
  opacity: .38;
  background-size: 80px 80px;
}
body:not(.dashboard-page) .site-header {
  background: rgba(18, 26, 32, .96);
  border-bottom-color: var(--border);
}
body:not(.dashboard-page) .nav { min-height: 88px; }
body:not(.dashboard-page) .brand { font-size: 16px; }
body:not(.dashboard-page) .nav-links { gap: 22px; }
body:not(.dashboard-page) .nav-links a { padding: 15px 0; }
body:not(.dashboard-page) .button {
  border-radius: var(--radius);
  min-height: 48px;
  box-shadow: none;
}
body:not(.dashboard-page) .button-primary { background: var(--accent); color: #102a24; }
body:not(.dashboard-page) .button-primary:hover { background: #98f0d9; }
body:not(.dashboard-page) :is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
body:not(.dashboard-page) :is(.eyebrow, .section-label, .kicker, .project-type, .form-step) {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
}
.landing-page .section { padding-block: var(--space-section); scroll-margin-top: 100px; }
.landing-page .hero { min-height: 720px; padding-top: 90px; }
.landing-page .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 48px; }
.landing-page h1 { font-size: clamp(52px, 5.7vw, 80px); line-height: 1.06; letter-spacing: -.06em; }
.landing-page .hero-text { font-size: 17px; color: #bdcbd2; max-width: 520px; }
.landing-page .hero-note { max-width: 430px; line-height: 1.7; color: var(--muted); }
.landing-page .hero-note .status { flex-shrink: 0; }
.landing-page .hero-visual {
  min-width: 0;
  min-height: 440px;
  padding: 32px 0;
  border-block: 1px solid var(--border);
  background: repeating-linear-gradient(135deg, transparent 0 7px, #68e3c509 7px 8px);
}
.landing-page .code-window {
  transform: none;
  border-radius: var(--radius);
  border-color: #49616a;
  background: #16232b;
  box-shadow: 12px 12px 0 #0c1217;
}
.landing-page .window-top { height: 54px; color: #bac9d0; }
.landing-page .code-body { padding: 38px 18px; font-size: 11px; }
.landing-page .code-line { grid-template-columns: 28px 96px 1fr; }
.landing-page .code-line.result-line .muted { flex-basis: 28px; }
.landing-page .code-body .muted { color: #91a6b1; }
.landing-page .comment { color: #9eafb8; }
.landing-page .floating-card {
  border-radius: var(--radius);
  box-shadow: none;
  background: #20333b;
  border-color: #49616a;
}
.landing-page .floating-card small { color: #b7c7ce; font-size: 11px; }
.landing-page .card-a { right: 12px; top: -20px; }
.landing-page .card-b { left: 18px; bottom: -20px; }
.landing-page .ai-section { padding-top: 32px; }
.landing-page .ai-panel {
  grid-template-columns: 72px 1fr .65fr;
  gap: 32px;
  padding: 44px 36px;
  border-radius: var(--radius);
  border-color: var(--border);
  border-top: 3px solid var(--accent);
  background: var(--panel);
}
.landing-page .ai-panel::after { display: none; }
.landing-page .ai-icon { border-radius: var(--radius); }
.landing-page .ai-statement { color: #b6c6ce; }
.landing-page :is(.ai-content h2, .section-head h2, .cta h2) { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.12; }
.landing-page .section-head { grid-template-columns: 1.2fr .8fr; gap: 56px; }
.landing-page :is(.section-head > p, .service-card p, .project-card p, .ai-content > p:not(.kicker)) {
  color: #b6c5cd;
  font-size: 14px;
  line-height: 1.8;
}
.landing-page :is(.services, .projects, .pricing, .process) { border-top: 1px solid var(--border); }
.landing-page .service-grid { gap: 0; border: 1px solid var(--border); }
.landing-page .service-card {
  min-width: 0;
  min-height: 430px;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 32px;
  background: transparent;
}
.landing-page .service-card:last-child { border-right: 0; }
.landing-page .service-card.featured { background: transparent; }
.landing-page .service-card:hover { transform: none; background: #21343b; }
.landing-page .service-number { color: var(--accent); font: 13px ui-monospace, monospace; }
.landing-page .service-symbol { border-radius: var(--radius); }
.landing-page .tags span { border-radius: 2px; color: #bfccd2; font-size: 10px; }
.landing-page .project-grid { gap: 24px; }
.landing-page .project-card {
  border-radius: var(--radius);
  padding: 36px;
  border-top: 3px solid var(--accent);
  background: #19262e;
}
.landing-page .project-card:nth-child(2) { border-top-color: #9db9c4; }
.landing-page .project-card h3 { font-size: 32px; }
.landing-page .project-domain { color: #b3c6cf; margin-bottom: 14px; }
.landing-page .project-card .text-link { padding-top: 24px; width: 100%; border-top: 1px solid var(--border); }
.landing-page :is(.pricing-panel, .pricing-summary, .pricing-feature, .pricing-options select) { border-radius: var(--radius); }
.landing-page .pricing-panel { padding: 32px; background: var(--panel); border-color: var(--border); }
.landing-page .pricing-summary { border-top: 3px solid var(--accent); align-self: start; }
.landing-page :is(.price-line, .price-total) { flex-wrap: wrap; }
.landing-page .pricing-feature { flex-wrap: wrap; }
.landing-page .pricing-feature span { min-width: 100px; }
.landing-page .pricing-disclaimer { color: #b7c6cf; font-size: 12px; }
.landing-page .process-index { color: var(--accent); font-size: 13px; }
.landing-page .process-icon { border-radius: var(--radius); }
.landing-page .process-item { padding: 32px 8px; }
.landing-page .process-item h3 { font-size: 20px; }
.landing-page .process-item p { color: #b6c5cd; font-size: 14px; }
.landing-page .flow { padding-top: 0; }
.landing-page .flow-box { border-radius: var(--radius); padding: 32px; border-left: 3px solid var(--accent); }
.landing-page .flow-title { color: var(--muted); font-size: 11px; }
.landing-page .flow-row { line-height: 2; font-size: 12px; gap: 12px; }
.landing-page .cta { padding-top: 0; }
.landing-page .cta-box { background: var(--accent); border-radius: var(--radius); box-shadow: none; padding: 56px 44px; }
.landing-page .cta h2 span { color: #214d42; }
.landing-page .light-label { color: #285548; }
body:not(.dashboard-page) footer { border-top: 1px solid var(--border); padding-top: 32px; }
body:not(.dashboard-page) .footer-row { color: #adbdc6; gap: 24px; line-height: 1.7; }
.contact-page .contact-layout { align-items: start; gap: 64px; }
.contact-page .contact-intro h1 { font-size: clamp(46px, 5.5vw, 72px); line-height: 1.08; }
.contact-page .contact-card { border-radius: var(--radius); border-top: 3px solid var(--accent); background: var(--panel); box-shadow: none; }
.contact-page :is(.contact-points p, .contact-intro > p, .form-heading p) { color: #b6c5cd; font-size: 14px; }
.contact-page .contact-points strong { font-size: 14px; }
.contact-page .field label { font-size: 12px; }
.contact-page :is(.field input, .field textarea, .field select) { border-radius: var(--radius); border-color: #4c606a; }
body:not(.dashboard-page) .legal-form-card { border-radius: var(--radius); }
@media (min-width: 901px) {
  .landing-page .service-card:nth-child(2) { transition-delay: 70ms; }
  .landing-page .service-card:nth-child(3) { transition-delay: 140ms; }
}
@media (max-width: 1100px) {
  .landing-page .hero-grid { gap: 32px; }
  .landing-page .code-body { font-size: 10px; padding-inline: 12px; }
  .landing-page .code-line { grid-template-columns: 24px 88px 1fr; }
}
@media (max-width: 900px) {
  body:not(.dashboard-page) .nav { min-height: 76px; }
  body:not(.dashboard-page) .mobile-menu { top: 76px; border-radius: var(--radius); }
  .landing-page .hero-grid, .landing-page .section-head { grid-template-columns: 1fr; gap: 36px; }
  .landing-page .hero { padding-top: 64px; min-height: auto; }
  .landing-page .hero-visual { min-height: 370px; max-width: 600px; width: 100%; margin: 24px auto; }
  .landing-page .code-body { font-size: 12px; padding: 36px 24px; }
  .landing-page .code-line { grid-template-columns: 28px 105px 1fr; }
  .landing-page .ai-panel { grid-template-columns: 1fr; }
  .landing-page .service-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .landing-page .service-card:last-child { border-bottom: 0; }
  .landing-page .service-number { margin-bottom: 24px; }
  .contact-page .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  body:not(.dashboard-page) .container { width: calc(100% - 40px); }
  body:not(.dashboard-page) .brand { font-size: 13px; }
  .landing-page h1 { font-size: clamp(37px, 9.4vw, 56px); }
  .landing-page .hero-text { font-size: 16px; }
  .landing-page .hero-visual { min-height: 310px; margin-bottom: 0; }
  .landing-page .code-body { font-size: clamp(8px, 2.25vw, 12px); padding: 28px 10px; }
  .landing-page .code-line { grid-template-columns: 22px 8.5em 1fr; }
  .landing-page .code-line.result-line .muted { flex-basis: 22px; }
  .landing-page :is(.ai-panel, .project-card, .pricing-panel) { padding: 24px 20px; }
  .landing-page .service-card { padding: 28px 20px; }
  .landing-page .section-head { gap: 24px; }
  .landing-page .process-item { grid-template-columns: 28px 36px minmax(0, 1fr); gap: 12px; }
  .landing-page .process-icon { width: 34px; height: 34px; }
  .landing-page .process-item h3 { font-size: 17px; }
  .landing-page .flow-box { padding: 24px 20px; }
  .landing-page .cta-box { padding: 36px 24px; }
  .contact-page .contact-card { padding: 28px 20px; }
  .contact-page .contact-intro h1 { font-size: clamp(40px, 10vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.dashboard-page) *, body:not(.dashboard-page) *::before, body:not(.dashboard-page) *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
