/* Final clean visual system */
:root {
  --ink: #0d1014;
  --ink-2: #171c21;
  --paper: #f6f4ee;
  --paper-2: #ebe9e1;
  --white: #f7f7f2;
  --black: #14181b;
  --subtle: #a9b0ae;
  --subtle-dark: #59615f;
  --border: rgba(247,247,242,.14);
  --border-dark: rgba(20,24,27,.14);
  --lime: #c4e86a;
  --green: #4c781e;
  --coral: #f26d51;
  --heading: 'Be Vietnam Pro', sans-serif;
  --copy: 'Be Vietnam Pro', sans-serif;
  --technical: 'DM Mono', monospace;
}

html { background: var(--ink); }
body { background: var(--ink) !important; color: var(--white) !important; font-family: var(--copy) !important; }
body, body * { text-rendering: optimizeLegibility; }
.site-header, .hero, .services-section, .process-section, .why-layout, .cta-section { width: min(1160px, calc(100% - 72px)); }
.site-header { height: 84px; }
.brand { gap: 10px; }
.brand-logo { width: 76px !important; height: 50px !important; border-radius: 0 !important; object-fit: contain; }
.brand-logo.logo-dark { mix-blend-mode: screen; }
.brand-logo.logo-light { mix-blend-mode: multiply; }
.brand-copy small { color: #b5bbb4 !important; font-family: var(--copy) !important; font-size: 9px !important; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; }
.desktop-nav { gap: 31px; margin-right: 25px; }
.desktop-nav a, .mobile-menu a { color: #b9bfba !important; font-family: var(--copy) !important; font-size: 11px; font-weight: 600; }
.theme-toggle { border: 1px solid var(--border) !important; border-radius: 100px !important; color: var(--white) !important; background: transparent !important; }
.button { border-radius: 3px !important; font-family: var(--copy) !important; }
.button-hot, .button-primary { background: var(--coral) !important; color: #fff !important; }
.hero { min-height: 680px; padding: 104px 0 110px; grid-template-columns: 53% 47%; }
.eyebrow { color: var(--lime) !important; font-family: var(--technical) !important; font-size: 9px; letter-spacing: 1.5px; }
.hero h1, .section-heading h2, .why-intro h2, .cta-panel h2, .modal-card h2 { font-family: var(--heading) !important; font-weight: 700 !important; letter-spacing: -.055em !important; line-height: 1.1 !important; }
.hero h1 { max-width: 650px; font-size: clamp(42px, 5vw, 70px); }
.hero h1 em, .section-heading h2 em, .why-intro h2 em, .cta-panel h2 em, .modal-card h2 em { color: var(--lime) !important; }
.hero-lead { max-width: 495px; color: #b9bfba !important; font-size: 13px; line-height: 1.9 !important; }
.text-link { color: #e4e7e1 !important; }
.hero-proof { color: #e1e5de !important; }
.hero-visual { height: 500px; }
.visual-grid { opacity: .5; }
.platform-card { background: #1a2125 !important; border: 1px solid rgba(247,247,242,.13) !important; border-radius: 4px !important; box-shadow: 0 22px 50px rgba(0,0,0,.2) !important; }
.platform-card strong { font-family: var(--heading) !important; font-size: 32px; }
.security-badge { background: var(--lime) !important; box-shadow: 8px 8px 0 rgba(196,232,106,.15) !important; }
.ticker { border-color: var(--border) !important; }
.ticker-track { color: #7f8984 !important; }
.services-section, .process-section { padding: 118px 0; }
.section-heading { margin-bottom: 50px; }
.section-heading h2, .why-intro h2 { font-size: clamp(37px, 4vw, 56px); }
.section-intro { color: #aab2ac !important; font-size: 12px; line-height: 1.9 !important; }
.service-grid { gap: 14px; }
.service-card { min-height: 440px; padding: 28px; border-radius: 4px !important; }
.service-dark { background: #1b2327 !important; }
.service-light { background: #ece9e0 !important; color: var(--black) !important; }
.service-accent { background: #d8e7bd !important; color: var(--black) !important; }
.service-card h3 { font-family: var(--heading) !important; font-size: 23px; font-weight: 700 !important; letter-spacing: -.04em !important; line-height: 1.22 !important; }
.service-card p { color: #aeb8b1 !important; font-size: 11px; line-height: 1.8 !important; }
.service-light p, .service-accent p { color: #5e685f !important; }
.service-card ul { color: #bdc6be !important; line-height: 2.25 !important; }
.service-light ul, .service-accent ul { color: #5c665d !important; }
.card-link { font-family: var(--copy) !important; }
.why-section { background: #1b2327 !important; color: var(--white) !important; padding: 118px 0; }
.why-intro .eyebrow { color: var(--green) !important; }
.why-intro>p:not(.eyebrow) { color: #b6c0b8 !important; line-height: 1.9 !important; }
.why-list, .why-item { border-color: var(--border) !important; }
.why-item h3 { font-family: var(--heading) !important; font-weight: 700 !important; }
.why-item p { color: #b6c0b8 !important; line-height: 1.75 !important; }
.why-item>svg { color: var(--lime) !important; }
.button-outline { color: var(--white) !important; border-color: var(--border) !important; background: transparent !important; }
.process-step h3 { font-family: var(--heading) !important; font-weight: 700 !important; }
.process-step p { color: #aab2ac !important; line-height: 1.8 !important; }
.process-step>span { border-color: var(--lime) !important; }
.cta-panel { background: #222c31 !important; border: 0 !important; border-radius: 4px !important; padding: 76px 82px; }
.cta-panel h2 { font-size: clamp(34px, 4vw, 54px); }
.cta-panel>p:not(.eyebrow) { color: #bec7c0 !important; line-height: 1.8 !important; }
.button-cta { background: var(--lime) !important; color: var(--black) !important; }
.site-footer { border-color: var(--border) !important; }
.footer-main>p, .footer-contact span, .footer-bottom { color: #88928c !important; }
.footer-contact a, .socials a { color: var(--white) !important; }
.socials a { border-color: var(--border) !important; border-radius: 3px; }
.modal-links a { color: var(--black) !important; border-color: var(--border-dark) !important; }
.modal-links strong { color: var(--black) !important; }
.modal-links small { color: var(--subtle-dark) !important; }
.modal-links a > svg { color: var(--subtle-dark) !important; }

/* Light mode */
.light-theme { --ink: #f6f4ee; --ink-2: #ebe9e1; --white: #171b1e; --black: #171b1e; --subtle: #5c665e; --border: rgba(23,27,30,.15); --lime: #3e691b; --green: #3e691b; }
.light-theme body { background: var(--ink) !important; color: var(--white) !important; }
.light-theme .logo-dark { display: none !important; }
.light-theme .logo-light { display: block !important; }
.light-theme .brand-copy small, .light-theme .desktop-nav a, .light-theme .mobile-menu a { color: #59635b !important; }
.light-theme .theme-toggle { color: var(--white) !important; border-color: var(--border) !important; }
.light-theme .hero-lead, .light-theme .section-intro, .light-theme .text-link, .light-theme .hero-proof { color: #4f5a52 !important; }
.light-theme .hero h1, .light-theme .section-heading h2, .light-theme .why-intro h2, .light-theme .cta-panel h2, .light-theme .modal-card h2 { color: var(--black) !important; }
.light-theme .hero h1 em, .light-theme .section-heading h2 em, .light-theme .why-intro h2 em, .light-theme .cta-panel h2 em, .light-theme .modal-card h2 em, .light-theme .eyebrow { color: var(--lime) !important; }
.light-theme .visual-grid { opacity: .18; }
.light-theme .platform-card { background: #fffdf8 !important; border-color: var(--border) !important; box-shadow: 0 20px 45px rgba(23,27,30,.1) !important; }
.light-theme .platform-card span:not(.platform-icon), .light-theme .platform-card small { color: #59635b !important; }
.light-theme .security-badge { background: var(--lime) !important; color: #fff !important; }
.light-theme .ticker { color: #59635b !important; border-color: var(--border) !important; }
.light-theme .service-dark { background: #26343a !important; color: #f7f7f2 !important; }
.light-theme .service-light { background: #fffdf8 !important; border: 1px solid var(--border); }
.light-theme .service-accent { background: #dce9c8 !important; }
.light-theme .service-light p, .light-theme .service-accent p { color: #526056 !important; }
.light-theme .why-section { background: #ebe9e1 !important; }
.light-theme .why-section { color: var(--black) !important; }
.light-theme .why-intro>p:not(.eyebrow), .light-theme .why-item p { color: var(--subtle-dark) !important; }
.light-theme .why-list, .light-theme .why-item { border-color: var(--border-dark) !important; }
.light-theme .cta-panel { background: #dce9c8 !important; border: 1px solid var(--border) !important; }
.light-theme .cta-panel>p:not(.eyebrow) { color: #526056 !important; }
.light-theme .site-footer { border-color: var(--border) !important; }
.light-theme .footer-main>p, .light-theme .footer-contact span, .light-theme .footer-bottom { color: #59635b !important; }
.light-theme .footer-contact a, .light-theme .socials a { color: var(--black) !important; }
.light-theme .socials a { border-color: var(--border) !important; }
.light-theme .button-outline { color: var(--black) !important; border-color: var(--border-dark) !important; }
.light-theme .modal-links a, .light-theme .modal-links strong { color: var(--black) !important; }
.light-theme .modal-links small, .light-theme .modal-links a > svg { color: var(--subtle-dark) !important; }

@media (max-width: 800px) {
  .site-header, .hero, .services-section, .process-section, .why-layout, .cta-section { width: calc(100% - 40px); }
  .site-header { height: 76px; }
  .hero { display: block; min-height: 0; padding: 72px 0 82px; }
  .hero h1 { font-size: clamp(39px, 11vw, 53px); }
  .hero-visual { height: 450px; margin-top: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .button-primary { width: 100%; min-height: 52px; }
  .hero-actions .text-link { justify-content: center; min-height: 34px; }
  .services-section, .process-section, .why-section { padding: 86px 0; }
  .section-heading { display: block; }
  .section-intro { width: auto; margin-top: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 410px; }
  .why-layout { display: block; }
  .why-list { margin-top: 48px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .process-line { display: none; }
  .cta-panel { padding: 52px 26px; }
}
@media (max-width: 480px) {
  .brand-logo { width: 68px !important; height: 48px !important; }
  .brand-copy small { font-size: 8px !important; }
  .theme-toggle { margin-right: 12px; padding: 9px 10px !important; }
  .theme-toggle span { display: none; }
  .hero-visual { width: 100%; max-width: 100%; transform: none; margin-bottom: 0; overflow: hidden; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; grid-row: auto; }
  .socials { grid-column: auto; }
}
