:root {
  --bg: #ffffff;
  --bg-soft: #f5f9ff;
  --ink: #081a3a;
  --text: #33415c;
  --muted: #667493;
  --line: #dce7f6;
  --blue: #0f66e8;
  --blue-dark: #0846b5;
  --shadow-soft: 0 12px 34px rgba(7, 26, 60, 0.06);
  --shadow: 0 20px 50px rgba(7, 26, 60, 0.09);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo img { width: 300px; height: auto; }
.nav-wrap { display: flex; align-items: center; gap: 26px; }
.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-menu a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  padding: 30px 0;
  border-bottom: 3px solid transparent;
}
.nav-menu a:hover { color: var(--blue); border-bottom-color: var(--blue); }

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 750;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.header-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 24px rgba(15, 102, 232, .20);
}
.btn-secondary {
  color: var(--blue);
  background: rgba(255,255,255,.82);
  border-color: rgba(15, 102, 232, .35);
}
.btn-outline {
  color: var(--blue);
  background: #fff;
  border-color: rgba(15, 102, 232, .35);
  width: 100%;
}
.btn:hover, .header-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(15,102,232,.20); }
.arrow::after { content: "→"; }

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(15,102,232,.12), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border-bottom: 1px solid rgba(220,231,246,.75);
}
.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 52px;
  align-items: center;
  padding: 66px 0 62px;
}
.eyebrow {
  display: block;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .08em;
  font-weight: 850;
  margin-bottom: 16px;
}
.hero-copy h1,
h2,
h3 { color: var(--ink); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.055em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.04em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
p { margin: 0; }
.lead {
  font-size: 18px;
  color: #53627e;
  max-width: 620px;
  margin-top: 22px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.hero-art img { width: 100%; }

.section { padding: 80px 0; }
.section-soft { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.section-head { text-align: center; margin: 0 auto 42px; }
.section-head.narrow { max-width: 840px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

.card-grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.brand-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.brand-logo {
  min-height: 88px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.brand-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}
.brand-logo-psychz img { max-height: 70px; width: 100%; max-width: 288px; }
.brand-logo-photon img { max-height: 58px; }
.brand-logo-yard img { max-height: 66px; width: 100%; max-width: 266px; }
.brand-card p { margin-bottom: 18px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: #3f4e69;
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.brand-card .btn { margin-top: auto; }

.feature-band {
  background: linear-gradient(135deg, rgba(237,245,255,.95), rgba(255,255,255,.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}
.feature-item:last-child { border-right: 0; }
.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15,102,232,.28);
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
}
.icon-box svg {
  width: 31px;
  height: 31px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}
.feature-item h3 { font-size: 17px; margin-bottom: 7px; }
.feature-item p { font-size: 14px; color: #52617c; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
}
.stat-card {
  padding: 28px;
}
.stat-card h3 { font-size: 20px; margin-bottom: 10px; }
.stat-card p { color: #53627e; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: start;
}
.contact-copy h2 { max-width: 560px; }
.contact-copy p { margin-top: 16px; max-width: 670px; }
.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.contact-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.contact-item strong { display: block; color: var(--ink); margin-bottom: 6px; }
.contact-item a { color: var(--blue); font-weight: 600; }
.contact-panel {
  padding: 28px;
}
.contact-panel p { margin-top: 10px; color: #53627e; }
.quick-links {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.quick-links a {
  display: block;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
  background: #f9fbff;
}
.quick-links a:hover {
  border-color: rgba(15,102,232,.35);
  color: var(--blue);
}

.site-footer {
  background: linear-gradient(180deg, #f8fbff, #fff);
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1fr;
  gap: 42px;
  padding: 50px 0;
}
.footer-logo img { width: 300px; margin-bottom: 18px; }
.footer-brand p { color: #52617c; font-size: 14px; max-width: 420px; }
.footer-title { font-size: 20px; margin-bottom: 16px; color: var(--ink); font-weight: 800; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #45556f; font-weight: 600; font-size: 14px; }
.footer-links a:hover { color: var(--blue); }
.footer-contact { display: grid; gap: 13px; color: #45556f; font-size: 14px; }
.footer-contact a { color: var(--blue); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid var(--line);
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #64728b;
  font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--blue); }

@media (max-width: 1040px) {
  .hero-grid,
  .contact-wrap,
  .grid-3,
  .feature-row,
  .stat-grid,
  .footer-main { grid-template-columns: 1fr; }
  .feature-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
  }
  .feature-item:last-child { border-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, var(--max)); }
  .header-inner { height: 76px; }
  .logo img { width: 245px; }
  .mobile-toggle { display: block; }
  .nav-wrap {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav-wrap.open { display: flex; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-menu a { padding: 12px; border-bottom: 0; border-radius: 10px; }
  .nav-menu a:hover { background: #edf5ff; }
  .header-cta { width: 100%; }
  .hero-grid { min-height: unset; gap: 24px; padding: 44px 0 52px; }
  .lead { font-size: 16px; }
  .section { padding: 60px 0; }
  .footer-bottom { flex-direction: column; padding: 18px 0; text-align: center; }
}
