
:root {
  --bg: #07111f;
  --bg-soft: #0b1729;
  --bg-panel: #0d1b2f;
  --bg-panel-2: #0a1526;
  --line: #1c3150;
  --line-2: #294668;
  --text: #ecf4ff;
  --muted: #9cb0c9;
  --muted-2: #7b93b1;
  --accent: #6bc0ff;
  --accent-2: #78a9ff;
  --accent-3: #1fb49a;
  --glow: rgba(103, 165, 255, 0.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home3-body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(34, 73, 140, 0.24), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #060d18 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.home3-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.home3-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(38, 59, 92, 0.85);
}
.home3-header-row { min-height: 80px; display: flex; align-items: center; gap: 20px; }
.home3-brand img { width: 285px; max-width: 38vw; }
.home3-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.home3-nav-link { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.home3-nav-link:hover, .home3-nav-link.home3-active { color: white; }
.home3-header-actions { display: flex; gap: 12px; margin-left: 12px; }
.home3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 12px; text-decoration: none;
  border: 1px solid var(--line-2); font-weight: 700; font-size: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.home3-btn:hover { transform: translateY(-1px); }
.home3-btn-primary {
  color: #06111d;
  background: linear-gradient(135deg, #83b4ff 0%, #66d0ff 100%);
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(88, 157, 255, 0.18);
}
.home3-btn-ghost {
  color: var(--text); background: rgba(8, 17, 31, 0.65);
}
.home3-menu {
  display: none; margin-left: auto; background: transparent; color: white; border: 1px solid var(--line-2);
  border-radius: 10px; min-width: 42px; min-height: 42px; font-size: 20px;
}
.home3-mobile-panel { display: none; padding: 0 20px 18px; }
.home3-mobile-panel a { display:block; text-decoration:none; color:var(--muted); padding:11px 6px; border-top:1px solid rgba(255,255,255,0.04); }
.home3-mobile-panel.is-open { display:block; }

.home3-hero { padding: 72px 0 44px; }
.home3-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 32px; align-items: start; }
.home3-kicker { color: #8cb8ff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.home3-hero-copy h1 {
  margin: 16px 0 18px; font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02; letter-spacing: -0.045em;
}
.home3-lead { margin: 0; font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 680px; }
.home3-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 24px; }
.home3-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.home3-chip-row span {
  padding: 10px 12px; border-radius: 999px; font-size: 12px; color: #bed3ed;
  background: rgba(10, 22, 40, 0.88); border: 1px solid rgba(42, 66, 101, 0.95);
}

.home3-showcase {
  background: linear-gradient(180deg, rgba(10,22,40,.94), rgba(8,17,31,.98));
  border: 1px solid rgba(39, 61, 93, 0.95); border-radius: 22px;
  padding: 22px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
.home3-showcase-top { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.home3-showcase-label { color: var(--muted-2); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.home3-showcase-top h2 { margin: 8px 0 0; font-size: 28px; letter-spacing: -.03em; }
.home3-showcase-count {
  color: #96b4d9; font-size: 14px; padding: 8px 10px; border-radius: 999px;
  border: 1px solid rgba(42, 66, 101, 0.95); background: rgba(7, 14, 26, 0.9);
}
.home3-showcase-text { margin: 14px 0 18px; color: var(--muted); line-height: 1.7; min-height: 54px; }
.home3-carousel-stage { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 12px; align-items: center; }
.home3-arrow {
  min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(9, 18, 33, 0.95); color: #dceaff; font-size: 28px; line-height: 1; cursor: pointer;
}
.home3-slide-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(43, 68, 105, 0.95);
  background: #050c17; min-height: 420px;
}
.home3-slide-frame img { width: 100%; height: 100%; object-fit: cover; }
.home3-progress { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; margin: 16px 0 18px; }
.home3-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #6bbdff, #8caeff); }
.home3-progress span.is-animating { animation: home3Progress 5s linear forwards; }
@keyframes home3Progress { from { width: 0%; } to { width: 100%; } }
.home3-slide-tabs { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.home3-slide-tabs button {
  appearance:none; border:1px solid var(--line-2); cursor:pointer; text-align:left;
  background: rgba(7, 15, 28, 0.9); color: var(--muted); border-radius: 12px; padding: 11px 12px;
  font-size: 12px; font-weight: 700;
}
.home3-slide-tabs button.is-active { color: white; border-color: #5c88ca; background: rgba(15, 32, 57, .98); box-shadow: inset 0 0 0 1px rgba(121, 165, 233, 0.2); }

.home3-proof { padding: 14px 0 6px; }
.home3-proof-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.home3-proof-grid article {
  padding: 22px; background: rgba(10, 20, 35, 0.8); border: 1px solid rgba(32, 50, 78, 0.95); border-radius: 18px;
}
.home3-proof-grid strong { display:block; font-size: 18px; margin-bottom: 10px; }
.home3-proof-grid p { margin:0; color:var(--muted); line-height:1.7; }

.home3-section { padding: 70px 0 30px; }
.home3-section-alt { padding-top: 52px; }
.home3-section-head { display:flex; justify-content:space-between; gap: 24px; align-items:flex-end; margin-bottom: 26px; }
.home3-section-head h2 { margin: 10px 0 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.home3-section-head p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.8; }
.home3-feature-grid { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home3-card, .home3-module, .home3-step {
  background: rgba(9, 18, 33, 0.85); border: 1px solid rgba(32, 50, 78, 0.95);
  border-radius: 18px; padding: 24px;
}
.home3-card h3, .home3-module h3, .home3-step h3 { margin: 0 0 12px; font-size: 20px; }
.home3-card p, .home3-module p, .home3-step p { margin: 0; color: var(--muted); line-height: 1.75; }
.home3-steps { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home3-step span {
  display:inline-flex; width: 42px; height: 42px; align-items:center; justify-content:center;
  margin-bottom: 18px; border-radius: 12px; background: rgba(16, 39, 69, 0.95); color: #8bb7ff; font-weight: 800;
}
.home3-modules { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.home3-cta { padding: 64px 0 84px; }
.home3-cta-row {
  display:flex; justify-content:space-between; gap: 30px; align-items:center;
  padding: 30px; border-radius: 24px; border: 1px solid rgba(36, 56, 88, 0.98);
  background: linear-gradient(180deg, rgba(12, 24, 42, .92), rgba(7, 15, 27, .98));
}
.home3-cta-row h2 { margin: 10px 0 12px; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.home3-cta-row p { margin: 0; color: var(--muted); max-width: 730px; line-height: 1.8; }
.home3-cta-actions { display:flex; gap: 12px; flex-wrap: wrap; }

.home3-footer { border-top: 1px solid rgba(30, 48, 74, 0.95); background: rgba(4, 9, 17, 0.92); }
.home3-footer-top { display:flex; justify-content:space-between; gap:30px; padding: 34px 0 20px; }
.home3-footer-brand img { width: 240px; }
.home3-footer-top p { color: var(--muted); max-width: 500px; line-height: 1.7; margin: 16px 0 0; }
.home3-footer-links, .home3-legal-links { display:flex; flex-wrap:wrap; gap: 16px; }
.home3-footer-links a, .home3-legal-links a { text-decoration:none; color: var(--muted); }
.home3-footer-links a:hover, .home3-legal-links a:hover { color: white; }
.home3-footer-bottom {
  padding: 18px 0 26px; border-top: 1px solid rgba(30, 48, 74, 0.8);
  display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; color: var(--muted-2); font-size: 13px;
}

@media (max-width: 1180px) {
  .home3-hero-grid, .home3-proof-grid, .home3-feature-grid, .home3-steps, .home3-modules { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home3-section-head, .home3-cta-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 980px) {
  .home3-nav, .home3-header-actions { display:none; }
  .home3-menu { display:block; }
  .home3-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .home3-shell { width: min(100% - 28px, 1240px); }
  .home3-hero { padding-top: 46px; }
  .home3-hero-copy h1 { font-size: clamp(34px, 12vw, 54px); }
  .home3-slide-frame { min-height: 250px; }
  .home3-carousel-stage { grid-template-columns: 36px minmax(0,1fr) 36px; gap: 8px; }
  .home3-arrow { min-width: 36px; min-height: 36px; font-size: 22px; }
  .home3-slide-tabs, .home3-proof-grid, .home3-feature-grid, .home3-steps, .home3-modules { grid-template-columns: 1fr; }
  .home3-showcase, .home3-card, .home3-module, .home3-step { padding: 18px; }
  .home3-header-row { min-height: 72px; }
  .home3-brand img { width: 220px; max-width: 62vw; }
}


/* Phase C.1: stacked full-width hero */
.home3-hero-intro{
  max-width:1180px;
  margin:0 auto 34px;
  text-align:center;
}
.home3-hero-intro h1{
  margin:16px auto 0;
  max-width:1120px;
  font-size:clamp(46px,6vw,78px);
  line-height:1.01;
  letter-spacing:-.05em;
}
.home3-showcase-wide{
  width:100%;
  padding:24px;
}
.home3-carousel-stage-wide{
  grid-template-columns:48px minmax(0,1fr) 48px;
}
.home3-slide-frame-wide{
  min-height:0;
  aspect-ratio:2/1;
  background:#050c17;
}
.home3-slide-frame-wide img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#050c17;
}
.home3-hero-after{
  max-width:980px;
  margin:34px auto 0;
  text-align:center;
}
.home3-hero-after .home3-lead{
  max-width:none;
  font-size:18px;
  line-height:1.8;
}
.home3-hero-after .home3-hero-actions{
  justify-content:center;
}
.home3-chip-row-centered{
  justify-content:center;
}
@media(max-width:760px){
  .home3-hero-intro h1{font-size:clamp(38px,12vw,56px)}
  .home3-showcase-wide{padding:16px}
  .home3-carousel-stage-wide{grid-template-columns:34px minmax(0,1fr) 34px}
  .home3-slide-frame-wide{aspect-ratio:16/10}
  .home3-hero-after .home3-lead{font-size:16px}
}


/* Phase C.2: headline sizing */
.home3-hero-intro h1{
  font-size:clamp(40px,5.1vw,66px);
  max-width:1120px;
}
@media(max-width:760px){
  .home3-hero-intro h1{font-size:clamp(34px,10vw,48px)}
}


/* ResoSynth marketing refresh 1.1.0: speed + EM-correlation proof */
.home3-proof-grid-four{grid-template-columns:repeat(4,minmax(0,1fr));}
.home3-proof-highlight{border-color:#3b6094!important;background:linear-gradient(150deg,#132846,#0d1a2e)!important;}
.home3-proof-note{margin-top:12px;color:var(--muted);font-size:12px;line-height:1.65;text-align:center;opacity:.9;}
@media (max-width:1100px){.home3-proof-grid-four{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:680px){.home3-proof-grid-four{grid-template-columns:1fr;}}
