*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1e1e1e;
  background: #fff;
}
a { color: #007acc; }
a:hover, a:focus { color: #005a9e; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 0;
  font-weight: 600; text-decoration: none; border: 2px solid #007acc;
}
.btn-primary { background: #007acc; color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: #005a9e; border-color: #005a9e; color: #fff; }
.btn-secondary { background: #fff; color: #007acc; }
.btn-secondary:hover, .btn-secondary:focus { background: #e8f3fb; }
.btn-light { background: #fff; color: #005a9e; border-color: #fff; }
.btn-light:hover, .btn-light:focus { background: #e8f3fb; color: #004578; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.97); border-bottom: 1px solid #e5e5e5;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 700; font-size: 20px; color: #1e1e1e; text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #333; text-decoration: none; font-size: 16px; }
.nav a:hover, .nav a:focus { color: #007acc; }
.site-header .btn { padding: 8px 18px; font-size: 16px; }

/* Hero: cropped SVG composition blended over a blue tint, white cover keeps the text side clean */
.hero {
  min-height: 78vh; display: flex; align-items: center;
  background-color: #fff;
  background-repeat: no-repeat;
  background-blend-mode: normal, multiply, normal;
  background-image: linear-gradient(90deg, #fff 0%, #fff 51%, rgba(255,255,255,0) 57%), url(assets/hero.svg), linear-gradient(135deg, #ffffff 0%, #d6eaf8 100%);
  background-size: 100% 100%, 36vw auto, cover; background-position: 0 0, right 3vw center, center;
}
.hero-inner { width: 100%; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.1; margin: 0 0 24px; color: #111; }
.lead { font-size: clamp(18px, 2vw, 22px); color: #333; margin: 0 0 32px; }
.hero h1, .lead { max-width: min(640px, 46vw); }
@media (min-width: 1201px) {
  .hero { background-image: linear-gradient(90deg, #fff 0%, #fff 56%, rgba(255,255,255,0) 62%), url(assets/hero.svg), linear-gradient(135deg, #ffffff 0%, #d6eaf8 100%);
    background-size: 100% 100%, min(34vw, 500px) auto, cover; background-position: 0 0, right 3vw center, center; }
}
@media (max-width: 860px) {
  .hero { min-height: 70vh;
    background-image: linear-gradient(transparent, transparent), url(assets/hero.svg), linear-gradient(135deg, #ffffff 0%, #d6eaf8 100%);
    background-size: 100% 100%, min(420px, 88vw) auto, cover; background-position: 0 0, center bottom 40px, center; }
  .hero-inner { padding-bottom: calc(min(420px, 88vw) * 0.9375 + 80px); }
  .hero h1, .lead { max-width: none; }
}
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }

/* Privacy */
.privacy { background: #1e1e1e; color: #f3f3f3; }
.privacy p { margin: 0; padding: 48px 0; font-size: 20px; max-width: 900px; }

/* Panels */
.panel {
  min-height: 80vh; display: flex; align-items: center;
  background-size: cover; background-position: center; background-blend-mode: multiply;
}
.panel-intelliphp { background-color: #ffffff; background-image: linear-gradient(90deg, #fff 0%, #fff 45%, #eef6fc 100%); }
.panel-mcp { background-color: #f2f8fd; background-image: linear-gradient(270deg, #fff 0%, #fff 45%, #e3f0fa 100%); }
.panel-phptools { background-color: #ffffff; background-image: linear-gradient(90deg, #fff 0%, #fff 45%, #eef6fc 100%); }
.panel-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding-top: 96px; padding-bottom: 96px; width: 100%;
}
.panel.reverse .panel-text { order: 2; }
.panel.reverse .panel-visual { order: 1; }
.panel-visual img { width: 100%; }
.kicker {
  color: #005a9e; font-weight: 600; font-size: 16px;
  text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px;
}
.panel h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; margin: 0 0 20px; color: #111; }
.panel-text p { margin: 0 0 20px; color: #333; }
.more { font-weight: 600; text-decoration: none; border-bottom: 2px solid #007acc; }
.more::after { content: " \2192"; }

/* CTA */
.cta { background: #005a9e; color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta h2 { margin: 0; font-size: 36px; }

/* Footer */
.site-footer { background: #f3f3f3; border-top: 1px solid #e5e5e5; }
.footer-inner { display: flex; gap: 32px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; font-size: 16px; }
.site-footer a { color: #005a9e; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Scroll reveal (only when JS enabled it) */
.js-reveal .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile */
@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .panel { min-height: 0; }
  .panel-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .panel.reverse .panel-text, .panel.reverse .panel-visual { order: 0; }
  .cta h2 { font-size: 28px; }
}

/* Blended panel backgrounds */
.panel { background-repeat: no-repeat; }
.panel-intelliphp, .panel-phptools {
  background-image: linear-gradient(90deg, #fff 0%, #fff 50%, rgba(255,255,255,0) 64%), url(assets/intelliphp-bg.svg), linear-gradient(90deg, #fff 0%, #fff 45%, #eef6fc 100%);
  background-size: 100% 100%, auto 100%, cover; background-position: 0 0, right center, center;
  background-blend-mode: normal, multiply, normal;
}
.panel-phptools { background-image: linear-gradient(90deg, #fff 0%, #fff 50%, rgba(255,255,255,0) 64%), url(assets/phptools-bg.svg), linear-gradient(90deg, #fff 0%, #fff 45%, #eef6fc 100%); }
.panel-mcp {
  background-image: linear-gradient(270deg, #fff 0%, #fff 50%, rgba(255,255,255,0) 64%), url(assets/mcp-bg.svg), linear-gradient(270deg, #fff 0%, #fff 45%, #e3f0fa 100%);
  background-size: 100% 100%, auto 100%, cover; background-position: 0 0, left center, center;
  background-blend-mode: normal, multiply, normal;
}
@media (max-width: 860px) {
  .panel-intelliphp, .panel-phptools, .panel-mcp { background-image: linear-gradient(180deg, #fff 0%, #eef6fc 100%); background-size: cover; background-blend-mode: normal; }
}
