/* Zyxtron visual refresh */
:root {
  --ink: #111418;
  --ink-soft: #1b2025;
  --paper: #f5f2ea;
  --paper-soft: #ebe7dd;
  --text: #f5f3ed;
  --text-dark: #171a1d;
  --muted: #a8ada9;
  --muted-dark: #5e665f;
  --line: rgba(245, 243, 237, .16);
  --line-dark: rgba(23, 26, 29, .15);
  --accent: #b8dc65;
  --accent-dark: #416b20;
  --warm: #f36b4f;
  --display: 'Be Vietnam Pro', sans-serif;
  --body: 'Be Vietnam Pro', sans-serif;
  --mono: 'DM Mono', monospace;
}

html { background: var(--ink); }
body { background: var(--ink); color: var(--text); font-family: var(--body); }
.noise { opacity: .018; }
.site-header { width: min(1240px, calc(100% - 80px)); height: 92px; }
.brand { gap: 12px; }
.brand-logo { width: 78px !important; height: 58px !important; border-radius: 3px; }
.brand-copy { display: block !important; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.desktop-nav { gap: 28px; margin-right: 28px; }
.desktop-nav a, .mobile-menu a { color: #c4c9c3; font-size: 11px; letter-spacing: .02em; }
.desktop-nav a:hover, .mobile-menu a:hover { color: var(--accent); }
.theme-toggle { border-color: var(--line) !important; color: var(--text) !important; border-radius: 99px; padding: 10px 13px !important; }
.button { border-radius: 2px; }
.button-hot, .button-primary { background: var(--warm); color: #fff; }
.hero { width: min(1240px, calc(100% - 80px)); min-height: 700px; grid-template-columns: 50% 50%; padding: 92px 0 112px; }
.hero-copy { max-width: 620px; }
.eyebrow { color: var(--accent); font-size: 10px; letter-spacing: 1.8px; margin-bottom: 25px; }
.hero h1 { max-width: 650px; font-size: clamp(42px, 5vw, 72px); line-height: 1.08 !important; letter-spacing: -.055em !important; }
.hero h1 em, .section-heading h2 em, .why-intro h2 em, .cta-panel h2 em, .modal-card h2 em { color: var(--accent); }
.hero-lead { max-width: 510px; color: #b7bcb6 !important; font-size: 14px; line-height: 1.85; margin: 30px 0 32px; }
.hero-actions { gap: 24px; }
.text-link { color: #e1e5de !important; }
.hero-proof { color: #dde1da !important; margin-top: 48px; }
.hero-visual { height: 520px; }
.visual-grid { inset: 20px 0 0 60px; opacity: .7; }
.platform-card { border-radius: 3px; background: rgba(28, 34, 34, .94); border: 1px solid rgba(245, 243, 237, .15); }
.platform-card strong { font-size: 34px; }
.security-badge { background: var(--accent); box-shadow: 7px 7px 0 rgba(184, 220, 101, .18); }
.ticker { border-color: var(--line); }
.ticker-track { color: #89918a; }
.services-section, .process-section { width: min(1240px, calc(100% - 80px)); padding: 132px 0; }
.section-heading { margin-bottom: 54px; }
.section-heading h2, .why-intro h2 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.1 !important; letter-spacing: -.055em !important; }
.section-intro { color: var(--muted) !important; line-height: 1.9; }
.service-grid { gap: 16px; }
.service-card { min-height: 460px; padding: 30px; border-radius: 3px; }
.service-dark { background: #20272a; }
.service-light { background: #eeeae1; color: var(--text-dark); }
.service-accent { background: #dbe8c7; color: var(--text-dark); }
.service-card h3 { font-size: 24px; line-height: 1.2 !important; letter-spacing: -.04em !important; }
.service-card p { color: #aeb6ae !important; line-height: 1.8; }
.service-light p, .service-accent p { color: #5c665d !important; }
.service-card ul { color: #c3c9c1; line-height: 2.3; }
.service-light ul, .service-accent ul { color: #536054; }
.service-card li::before { color: var(--accent); }
.service-accent li::before { color: var(--accent-dark); }
.card-link { padding-top: 18px; }
.why-section { background: var(--paper-soft); color: var(--text-dark); padding: 132px 0; }
.why-layout { width: min(1240px, calc(100% - 80px)); }
.why-intro .eyebrow { color: var(--accent-dark); }
.why-intro>p:not(.eyebrow) { color: var(--muted-dark) !important; line-height: 1.9; }
.why-list { border-color: var(--line-dark); }
.why-item { border-color: var(--line-dark); padding: 28px 0; }
.why-item h3 { font-size: 16px; letter-spacing: -.02em; }
.why-item p { color: var(--muted-dark) !important; line-height: 1.75; }
.why-item>svg { color: var(--accent-dark); }
.process-grid { gap: 38px; }
.process-line { border-color: rgba(23, 26, 29, .28); }
.process-step>span { background: var(--ink); border-color: var(--accent); }
.process-step>i { color: var(--accent); }
.process-step p { color: var(--muted) !important; line-height: 1.8; }
.cta-section { width: min(1240px, calc(100% - 80px)); }
.cta-panel { background: #263238; border: 0; border-radius: 3px; padding: 82px 92px; }
.cta-panel h2 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.1 !important; letter-spacing: -.055em !important; }
.cta-panel>p:not(.eyebrow) { color: #c0c8c1 !important; line-height: 1.8; }
.button-cta { background: var(--accent); color: var(--text-dark); }
.site-footer { padding: 52px max(40px, calc((100% - 1240px) / 2)) 27px; border-color: var(--line); }
.footer-main { gap: 40px; }
.footer-main>p, .footer-contact span, .footer-bottom { color: var(--muted); }
.footer-contact a { color: var(--text); }
.socials a { border-color: var(--line); color: var(--text); border-radius: 2px; }
.modal-card { border-radius: 3px; }

/* Light theme: warm paper, charcoal text, muted green accents. */
.light-theme { --ink: #f5f2ea; --ink-soft: #ebe7dd; --paper: #f5f2ea; --paper-soft: #e6e4da; --text: #171a1d; --text-dark: #171a1d; --muted: #59635b; --muted-dark: #4d574f; --line: rgba(23, 26, 29, .16); --line-dark: rgba(23, 26, 29, .16); --accent: #416b20; --accent-dark: #315416; }
.light-theme .site-header, .light-theme .brand, .light-theme .theme-toggle { color: var(--text) !important; }
.light-theme .desktop-nav a, .light-theme .mobile-menu a { color: #4d574f; }
.light-theme .brand-copy small { color: #5e665f; }
.light-theme .logo-dark { display: none !important; }
.light-theme .logo-light { display: block !important; mix-blend-mode: multiply; }
.light-theme .theme-toggle { border-color: var(--line) !important; }
.light-theme .hero-lead, .light-theme .section-intro, .light-theme .text-link, .light-theme .hero-proof { color: #4d574f !important; }
.light-theme .eyebrow { color: var(--accent); }
.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(--text); }
.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 { color: var(--accent); }
.light-theme .visual-grid { opacity: .25; }
.light-theme .platform-card { background: #fffdf8; border-color: var(--line); box-shadow: 0 14px 36px rgba(23, 26, 29, .09); }
.light-theme .platform-card span:not(.platform-icon), .light-theme .platform-card small { color: #4d574f; }
.light-theme .security-badge { background: var(--accent); color: #fff; box-shadow: 7px 7px 0 rgba(65, 107, 32, .16); }
.light-theme .ticker { border-color: var(--line); color: #58645a; }
.light-theme .service-dark { background: #263238; color: #f5f3ed; }
.light-theme .service-light { background: #fffdf8; border-color: var(--line); }
.light-theme .service-accent { background: #dfe9d2; }
.light-theme .service-card p { color: #b6c0b7 !important; }
.light-theme .service-light p, .light-theme .service-accent p { color: #4d574f !important; }
.light-theme .why-section { background: #e6e4da; }
.light-theme .process-step p { color: #59635b !important; }
.light-theme .cta-panel { background: #dfe9d2; border: 1px solid var(--line); }
.light-theme .cta-panel>p:not(.eyebrow) { color: #4d574f !important; }
.light-theme .site-footer { border-color: var(--line); }
.light-theme .footer-contact a, .light-theme .socials a { color: var(--text); }
.light-theme .footer-main>p, .light-theme .footer-contact span, .light-theme .footer-bottom { color: #59635b; }
.light-theme .modal-card { background: #fffdf8; }

@media (max-width: 800px) {
  .site-header, .hero, .services-section, .process-section, .why-layout, .cta-section { width: calc(100% - 40px); }
  .site-header { height: 78px; }
  .hero { display: block; padding: 72px 0 84px; }
  .hero h1 { font-size: clamp(39px, 11vw, 54px); }
  .hero-lead { font-size: 13px; }
  .hero-visual { height: 455px; margin-top: 54px; }
  .section-heading { display: block; }
  .section-intro { width: auto; margin-top: 22px; }
  .services-section, .process-section, .why-section { padding: 90px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 415px; }
  .why-layout { display: block; }
  .why-list { margin-top: 52px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .process-line { display: none; }
  .cta-panel { padding: 52px 26px; }
  .site-footer { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
  .brand-logo { width: 72px !important; height: 52px !important; }
  .brand-copy small { font-size: 8px; }
  .theme-toggle { margin-right: 12px; padding: 9px 10px !important; }
  .theme-toggle span { display: none; }
  .hero h1 { letter-spacing: -.06em !important; }
  .hero-visual { transform: scale(.91); transform-origin: top left; width: 110%; margin-bottom: -35px; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; grid-row: auto; }
  .socials { grid-column: auto; }
}
