/* ===== OPRACT v5 — Calm, Trust, iOS-inspired ===== */

:root {
  --bg:       #F5F5F5;
  --bg-alt:   #EBEBEB;
  --glass:    rgba(255, 255, 255, 0.6);
  --glass-s:  rgba(255, 255, 255, 0.3);
  --card:     #FFFFFF;
  --ink:      #111111;
  --ink-2:    #555555;
  --ink-3:    #999999;
  --accent:   #111111;
  --accent-soft:#E8E8E8;
  --accent-deep:#000000;
  --accent-2: #333333;
  --radius:   20px;
  --radius-sm:12px;
  --radius-pill:999px;
  --font:     'DM Sans', system-ui, -apple-system, sans-serif;
  --font-h:   'Sora', 'DM Sans', system-ui, sans-serif;
  --ease:     cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --spring:   cubic-bezier(.175, .885, .32, 1.275);
  --nav-h:    68px;
  --gutter:   20px;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

.shell { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.shell-narrow { max-width: 720px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 8px 16px; z-index: 9999; border-radius: var(--radius-sm); }
.skip-link:focus { left: 16px; }

/* ===== BLOBS (background movement) ===== */
.blobs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .35;
}
.b1 {
  width: 500px; height: 500px;
  background: linear-gradient(135deg, #D0D0D0, #B8B8B8);
  top: -120px; right: -60px;
  animation: blobDrift 20s ease-in-out infinite alternate;
}
.b2 {
  width: 400px; height: 400px;
  background: linear-gradient(135deg, #C8C8C8, #D8D8D8);
  bottom: 10%; left: -80px;
  animation: blobDrift 25s ease-in-out infinite alternate-reverse;
}
.b3 {
  width: 350px; height: 350px;
  background: linear-gradient(135deg, #E0E0E0, #CCCCCC);
  top: 50%; right: 15%;
  animation: blobDrift 22s ease-in-out infinite alternate;
  opacity: .2;
}
@keyframes blobDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--glass-s);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.03);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(245, 245, 245, .7);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,.5);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(245, 245, 245, .92);
  box-shadow: 0 1px 16px rgba(0,0,0,.05);
}
.nav-inner { display: flex; align-items: center; height: 100%; gap: 28px; position: relative; z-index: 1; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; object-fit: contain; }
.logo-name { font-family: var(--font-h); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-link {
  font-size: .88rem; font-weight: 500; color: var(--ink-2);
  padding: 6px 14px; border-radius: var(--radius-pill);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover, .nav-link.active { background: rgba(0, 0, 0, .05); color: var(--accent); }

/* pill button */
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .88rem;
  padding: 10px 24px; border-radius: var(--radius-pill);
  transition: all .25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.pill-cta {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}
.pill-cta:hover {
  background: var(--accent-deep);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  transform: translateY(-1px);
}
.pill-lg { font-size: 1rem; padding: 14px 32px; }

/* mobile nav toggle */
.nav-toggle { display: none; width: 28px; height: 28px; position: relative; flex-shrink: 0; }
.nav-toggle span {
  display: block; position: absolute; left: 2px; width: 24px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 5px; }
.nav-toggle span:nth-child(2) { top: 13px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(245, 245, 245, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch;
    padding: 0 var(--gutter); max-height: 0; overflow: hidden;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
    border-bottom: 1px solid rgba(255,255,255,.4);
    gap: 0;
  }
  .nav-links.open { max-height: 300px; padding: 12px var(--gutter); gap: 4px; }
  .nav > .shell > .pill-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 1rem; }
}

/* ===== HERO ===== */
.hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  position: relative; z-index: 1;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero-text { max-width: 540px; }
.hero-h {
  font-family: var(--font-h); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.2; margin-bottom: 20px; color: var(--ink);
}
.hero-highlight {
  background: linear-gradient(90deg, #6366F1, #EC4899, #F59E0B, #0EA5E9, #6366F1);
  background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorShift 6s ease-in-out infinite;
}
@keyframes colorShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-p { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 32px; max-width: 460px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-note { font-size: .85rem; color: #000; font-weight: 600; }

/* hero mockup browser wireframe */
.hero-visual { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }

/* node-flow diagram — realistic n8n style */
.node-flow {
  width: 120%; max-width: 660px; height: auto; margin-left: -10%;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,.07));
}
.nf-wire {
  stroke: #bbb; stroke-width: 2; fill: none;
}
.nf-card {
  fill: #fff; stroke: #ddd; stroke-width: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.08));
  rx: 12;
}
.nf-card-head {
  fill: #e8e8e8; stroke: none;
}
.nf-head-svc { fill: var(--ink); }
.nf-head-text {
  font-family: var(--font); font-size: 10px; font-weight: 600;
  fill: var(--ink-2); text-anchor: start; dominant-baseline: central;
  letter-spacing: .03em;
}
.nf-head-text-w { fill: #fff; }
.nf-port {
  fill: #fff; stroke: #bbb; stroke-width: 1.5;
}
.nf-port-live { fill: var(--ink); stroke: var(--ink); }
.nf-label {
  font-family: var(--font); font-size: 12px; font-weight: 600;
  fill: var(--ink); text-anchor: middle; dominant-baseline: central;
}
.nf-label-out { fill: #fff; font-size: 16px; font-weight: 800; letter-spacing: .1em; }
.nf-sublabel-s {
  font-family: var(--font); font-size: 9px; font-weight: 500; fill: #059669;
  text-anchor: middle; dominant-baseline: central;
  letter-spacing: .04em; text-transform: uppercase;
}
.nf-sublabel-live {
  font-family: var(--font); font-size: 12px; font-weight: 500; fill: rgba(255,255,255,.55);
  text-anchor: middle; dominant-baseline: central;
}
.nf-card-live {
  fill: var(--ink); stroke: var(--ink); stroke-width: 1.5;
  filter: drop-shadow(0 0 20px rgba(0,0,0,.2));
}
.nf-dot { fill: #059669; }
.nf-dot-live {
  fill: #22c55e;
  animation: dotBlink 1.2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.nf-pulse { opacity: .6; }
.nf-node:hover .nf-card {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.12));
}
.nf-node-live .nf-card-live {
  animation: liveGlow 2s ease-in-out infinite;
}
@keyframes liveGlow {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(0,0,0,.15)); }
  50% { filter: drop-shadow(0 0 28px rgba(0,0,0,.25)); }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-p { max-width: 100%; }
  .hero-actions { align-items: center; }
  .node-flow { width: 100%; margin-left: 0; max-width: 420px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero-visual { display: none; }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  position: relative; z-index: 1;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.trust-inner { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; stroke-width: 1.8;
}
.trust-text { font-size: .88rem; color: var(--ink-2); font-weight: 500; }

@media (max-width: 600px) {
  .trust-inner { gap: 20px 32px; }
  .trust-text { font-size: .78rem; }
}

/* ===== SECTIONS ===== */
.section { padding: clamp(80px, 12vh, 120px) 0; position: relative; z-index: 1; }
.section-alt { background: rgba(255,255,255,.25); }
.section-tag {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-h {
  font-family: var(--font-h); font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25; margin-bottom: 12px; max-width: 600px;
}
.section-sub { font-size: 1rem; color: var(--ink-2); max-width: 520px; margin-bottom: 48px; }

/* ===== ZIGZAG PILLARS ===== */
.zigzag { display: flex; flex-direction: column; gap: 80px; }
.zigzag-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.zigzag-flip { direction: rtl; }
.zigzag-flip > * { direction: ltr; }
.zigzag-text h3 {
  font-family: var(--font-h); font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700; margin-bottom: 12px;
}
.zigzag-text p { font-size: 1rem; color: var(--ink-2); line-height: 1.7; max-width: 440px; }
.zigzag-visual { display: flex; align-items: center; justify-content: center; }

/* mini browser mockups */
.mini-browser {
  width: 100%; max-width: 380px;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.mini-glow {
  animation: miniFloat 5s ease-in-out infinite;
}
.zigzag-row:nth-child(2) .mini-glow { animation-delay: -1.5s; }
.zigzag-row:nth-child(3) .mini-glow { animation-delay: -3s; }
@keyframes miniFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 32px rgba(0,0,0,.06); }
  50% { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,.10); }
}
.mini-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px; background: #fafafa;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mini-dot { width: 6px; height: 6px; border-radius: 50%; background: #ccc; }
.md-red { background: #FF5F57; }
.md-yellow { background: #FEBC2E; }
.md-green { background: #28C840; }
.mini-url {
  flex: 1; height: 16px; border-radius: 4px; background: #eee; margin-left: 8px;
  display: flex; align-items: center; justify-content: center;
}
.mini-url span { font-size: 7px; color: #888; font-family: var(--font); letter-spacing: .3px; }
.mini-body { padding: 14px; }

/* ===== SCHOOL WEBSITE mockup (colorful) ===== */
.mini-website .mw-nav {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  padding: 4px 0; border-bottom: 1px solid #eee;
}
.mini-website .mw-logo {
  font-size: 9px; font-weight: 700; color: #fff; background: #6366F1;
  width: 18px; height: 18px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h);
}
.mini-website .mw-link { font-size: 6px; color: #666; font-family: var(--font); }
.mini-website .mw-link:first-of-type { color: #6366F1; font-weight: 600; }

.mini-website .mw-hero {
  display: flex; gap: 10px; margin-bottom: 10px;
  background: linear-gradient(135deg, #6366F1, #818CF8); border-radius: 8px;
  padding: 12px; align-items: center;
}
.mini-website .mw-hero-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mini-website .mw-h { font-size: 8px; font-weight: 700; color: #fff; line-height: 1.2; font-family: var(--font-h); }
.mini-website .mw-sub { font-size: 5.5px; color: rgba(255,255,255,.75); font-family: var(--font); }
.mini-website .mw-cta {
  font-size: 5.5px; font-weight: 600; color: #6366F1; background: #fff;
  padding: 3px 8px; border-radius: 4px; width: fit-content; font-family: var(--font);
  margin-top: 2px;
}
.mini-website .mw-hero-img {
  width: 44px; height: 44px; border-radius: 6px;
  background: linear-gradient(135deg, #C4B5FD, #A78BFA); flex-shrink: 0;
}

.mini-website .mw-cards { display: flex; gap: 5px; margin-bottom: 10px; }
.mini-website .mw-card {
  flex: 1; padding: 6px 4px; border-radius: 6px; background: #fff;
  border: 1px solid #eee; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.mini-website .mw-card-icon { font-size: 10px; line-height: 1; }
.mini-website .mw-card-t { font-size: 5.5px; color: #333; font-weight: 600; font-family: var(--font); }

.mini-website .mw-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.mini-website .mw-thumb { height: 20px; border-radius: 3px; }
.mini-website .mw-t1 { background: linear-gradient(135deg, #FCA5A5, #F87171); }
.mini-website .mw-t2 { background: linear-gradient(135deg, #93C5FD, #60A5FA); }
.mini-website .mw-t3 { background: linear-gradient(135deg, #86EFAC, #4ADE80); }
.mini-website .mw-t4 { background: linear-gradient(135deg, #FDE68A, #FBBF24); }

/* ===== CMS DASHBOARD mockup (colorful) ===== */
.mini-cms { display: flex; padding: 0; }
.mini-cms .mc-sidebar {
  width: 68px; padding: 10px 6px; background: linear-gradient(180deg, #1E1B4B, #312E81);
  display: flex; flex-direction: column; gap: 2px; flex-shrink: 0;
}
.mini-cms .mc-logo {
  font-size: 10px; font-weight: 700; color: #fff; text-align: center;
  margin-bottom: 8px; font-family: var(--font-h);
}
.mini-cms .mc-item {
  font-size: 5.5px; color: rgba(255,255,255,.55); padding: 4px 5px;
  border-radius: 4px; font-family: var(--font); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.mini-cms .mc-active { background: rgba(255,255,255,.15); color: #fff; font-weight: 600; }

.mini-cms .mc-main { flex: 1; padding: 10px; overflow: hidden; }
.mini-cms .mc-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.mini-cms .mc-title { font-size: 7px; font-weight: 700; color: #1E1B4B; font-family: var(--font-h); }
.mini-cms .mc-status {
  font-size: 5px; color: #F59E0B; background: #FEF3C7; padding: 2px 5px;
  border-radius: 3px; font-weight: 600; font-family: var(--font);
}

.mini-cms .mc-row { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.mini-cms .mc-label { font-size: 5px; color: #888; font-weight: 600; font-family: var(--font); text-transform: uppercase; letter-spacing: .3px; }
.mini-cms .mc-field {
  height: 20px; border-radius: 4px; background: #F8FAFC;
  border: 1px solid #E2E8F0; padding: 0 6px;
  display: flex; align-items: center;
}
.mini-cms .mc-field span { font-size: 5.5px; color: #334155; font-family: var(--font); }
.mini-cms .mc-tall { height: 32px; align-items: flex-start; padding-top: 4px; }
.mini-cms .mc-tall span { line-height: 1.3; }

.mini-cms .mc-actions { display: flex; gap: 4px; margin-top: 8px; }
.mini-cms .mc-btn { padding: 4px 8px; border-radius: 4px; font-size: 5.5px; font-weight: 600; font-family: var(--font); }
.mini-cms .mc-save { background: #6366F1; color: #fff; }
.mini-cms .mc-draft { background: #F1F5F9; color: #475569; }

/* ===== SERVER MONITOR mockup (colorful) ===== */
.mini-server .ms-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.mini-server .ms-title { font-size: 7px; font-weight: 700; color: #111; font-family: var(--font-h); }
.mini-server .ms-badge {
  font-size: 5px; color: #059669; background: #D1FAE5; padding: 2px 6px;
  border-radius: 3px; font-weight: 600; font-family: var(--font);
}

.mini-server .ms-stats { display: flex; gap: 12px; margin-bottom: 12px; justify-content: center; }
.mini-server .ms-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.mini-server .ms-ring {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid #D1FAE5; border-top-color: #10B981;
  animation: statSpin 2s linear infinite;
}
.mini-server .ms-ring2 { border-color: #DBEAFE; border-top-color: #3B82F6; animation-duration: 3s; }
.mini-server .ms-ring3 { border-color: #D1FAE5; border-top-color: #10B981; animation-duration: 2.5s; }
@keyframes statSpin { to { transform: rotate(360deg); } }
.mini-server .ms-label {
  font-size: 5px; color: #888; text-align: center; line-height: 1.3; font-family: var(--font);
}
.mini-server .ms-label strong { color: #111; font-size: 6px; }

.mini-server .ms-bars-wrap { margin-bottom: 10px; }
.mini-server .ms-bars-title { font-size: 5px; color: #999; font-family: var(--font); margin-bottom: 4px; display: block; }
.mini-server .ms-bars { display: flex; gap: 3px; align-items: flex-end; height: 32px; }
.mini-server .ms-bar { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #818CF8, #6366F1); }

.mini-server .ms-logs { display: flex; flex-direction: column; gap: 3px; }
.mini-server .ms-log {
  font-size: 5.5px; color: #555; font-family: var(--font);
  padding: 3px 6px; background: #F8FAFC; border-radius: 3px;
  border-left: 2px solid #10B981; display: flex; align-items: center; gap: 4px;
}
.mini-server .ms-ok { color: #10B981; font-size: 7px; font-weight: 700; }

@media (max-width: 768px) {
  .zigzag { gap: 48px; }
  .zigzag-row, .zigzag-flip { grid-template-columns: 1fr; direction: ltr; text-align: center; gap: 24px; }
  .zigzag-text p { max-width: 100%; }
  .zigzag-visual { order: -1; display: flex; justify-content: center; }
  .mini-browser { max-width: 300px; }
}

/* ===== MARQUEE WALL ===== */
.marquee-wall { display: flex; flex-direction: column; gap: 16px; }
.marquee-row { display: flex; align-items: center; gap: 16px; }
.marquee-cat {
  flex-shrink: 0; width: 120px; font-size: .82rem; font-weight: 700;
  font-family: var(--font-h); letter-spacing: -.01em;
  padding: 8px 14px; border-radius: var(--radius-sm);
  text-align: center; white-space: nowrap;
}
.mq-website  { background: #EDE9FE; color: #5B21B6; }
.mq-content  { background: #FEF3C7; color: #92400E; }
.mq-technical { background: #DBEAFE; color: #1E40AF; }
.mq-seo      { background: #D1FAE5; color: #065F46; }
.mq-support  { background: #FCE7F3; color: #9D174D; }

.marquee-track {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
.marquee-inner {
  display: flex; gap: 10px; width: max-content;
  animation: marqueeLeft 30s linear infinite;
}
[data-direction="right"] .marquee-inner { animation-name: marqueeRight; }

.mq-pill {
  flex-shrink: 0; padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 500; color: var(--ink-2);
  background: var(--glass); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,.06);
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.mq-pill:hover { background: #fff; color: var(--accent); }

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .marquee-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .marquee-cat { width: auto; font-size: .75rem; }
  .marquee-track { width: 100%; }
}

/* ===== STEPS STACK ===== */
.steps-stack { display: flex; flex-direction: column; gap: 0; }

.step-strip {
  width: 100%;
  padding: 56px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}
.step-strip--alt {
  background: #fff;
}
.step-strip--dark {
  background: var(--ink);
  color: #fff;
}
.step-strip--dark .step-desc { color: rgba(255,255,255,.55); }

.step-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.step-num {
  font-family: var(--font-h);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0,0,0,.06);
  min-width: 120px;
  text-align: center;
  user-select: none;
}
.step-strip--dark .step-num { color: rgba(255,255,255,.08); }

.step-body { max-width: 440px; }
.step-title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.step-desc {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.step-viz {
  width: 160px;
  flex-shrink: 0;
}
.step-viz svg { width: 100%; height: auto; display: block; }

@media (max-width: 768px) {
  .step-strip { padding: 36px 0; }
  .step-strip-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .step-num { font-size: 3.5rem; min-width: unset; }
  .step-viz { width: 120px; margin: 0 auto; }
}

/* ===== BEFORE/AFTER SLIDER ===== */
.ba-slider { width: 100%; user-select: none; }

.ba-labels {
  display: flex; justify-content: space-between; margin-bottom: 16px;
}
.ba-label {
  font-family: var(--font-h); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.ba-label-old { color: var(--ink-3); }
.ba-label-new { color: var(--accent); }

.ba-track {
  position: relative; padding: 40px 0 24px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--glass); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-s);
}

.ba-layer {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 0 24px; position: relative; z-index: 1;
  pointer-events: none;
}
.ba-old { margin-bottom: 0; }
.ba-new {
  position: absolute; top: 40px; left: 0; right: 0; bottom: 24px;
  padding: 0 24px;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
  background: var(--glass);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  align-content: start;
  pointer-events: none;
}

.ba-point { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ba-month {
  font-family: var(--font-h); font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3);
}
.ba-pill {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-family: var(--font); font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  background: var(--accent-soft); color: var(--accent);
}
.ba-pill-warn { background: #E8E8E8; color: #666; }
.ba-pill-bad { background: #E8E8E8; color: #666; }
.ba-pill-dead { background: var(--accent); color: #fff; }
.ba-pill-great { background: var(--accent); color: #fff; }
.ba-old .ba-point:nth-child(2) .ba-desc,
.ba-old .ba-point:nth-child(3) .ba-desc,
.ba-old .ba-point:nth-child(4) .ba-desc { color: #B91C1C; }
.ba-new .ba-point .ba-desc { color: #059669; font-weight: 600; }
.ba-desc {
  font-size: .82rem; color: var(--ink-2); font-family: var(--font);
  line-height: 1.3;
}

/* timeline bar */
.ba-bar {
  position: absolute; bottom: 16px; left: 24px; right: 24px;
  height: 4px; border-radius: 2px; z-index: 2;
  pointer-events: none;
}
.ba-bar-old {
  position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(90deg, #D1FAE5, #FEF3C7 33%, #FEE2E2 66%, #E5E7EB);
}
.ba-bar-new {
  position: absolute; top: 0; left: 0; bottom: 0; width: 50%;
  border-radius: 2px;
  background: linear-gradient(90deg, #10B981, #10B981);
}

/* draggable handle */
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 44px; z-index: 10; cursor: ew-resize;
  transform: translateX(-50%);
}
.ba-handle-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--accent); transform: translateX(-50%);
}
.ba-handle-grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

@media (max-width: 600px) {
  .ba-layer { gap: 8px; padding: 0 12px; }
  .ba-new { padding: 0 12px; }
  .ba-pill { font-size: .55rem; padding: 3px 7px; }
  .ba-desc { font-size: .72rem; }
  .ba-month { font-size: .6rem; }
  .ba-bar { left: 12px; right: 12px; }
}

/* ===== FAQ (marquee cards) ===== */
.faq-marquee { overflow: hidden; width: 100%; padding: 10px 0; }
.faq-marquee-track { overflow: hidden; }
.faq-marquee-inner {
  display: flex; gap: 20px; width: max-content;
  animation: faqScroll 35s linear infinite;
}
.faq-marquee-track:hover .faq-marquee-inner {
  animation-play-state: paused;
}
@keyframes faqScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.faq-card {
  flex-shrink: 0; width: 320px;
  padding: 24px; border-radius: 20px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  background: var(--bg);
  transition: transform .25s var(--ease);
}
.faq-card:hover { transform: translateY(-4px); }

/* glowing border */
.glow-card {
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 0 16px rgba(0,0,0,.04), 0 0 2px rgba(0,0,0,.06);
  transition: box-shadow .4s var(--ease), transform .25s var(--ease), border-color .4s var(--ease);
  animation: cardPulse 3s ease-in-out infinite;
}
.glow-card:nth-child(2) { animation-delay: .5s; }
.glow-card:nth-child(3) { animation-delay: 1s; }
.glow-card:nth-child(4) { animation-delay: 1.5s; }
.glow-card:nth-child(5) { animation-delay: 2s; }
.glow-card:nth-child(6) { animation-delay: 2.5s; }
@keyframes cardPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0,0,0,.03), 0 0 2px rgba(0,0,0,.04);
    border-color: rgba(0,0,0,.06);
  }
  50% {
    box-shadow: 0 0 20px rgba(0,0,0,.08), 0 0 40px rgba(0,0,0,.03), 0 4px 16px rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.18);
  }
}
.glow-card:hover {
  animation-play-state: paused;
  border-color: rgba(0,0,0,.2);
  box-shadow:
    0 0 24px rgba(0,0,0,.1),
    0 0 48px rgba(0,0,0,.04),
    0 6px 24px rgba(0,0,0,.08);
}

.fc-q {
  padding: 10px 14px; border-radius: 14px 14px 4px 14px;
  background: var(--accent-soft); color: var(--ink);
  font-family: var(--font); font-size: .85rem; font-weight: 600;
  line-height: 1.4; align-self: flex-end;
}
.fc-a {
  padding: 10px 14px; border-radius: 14px 14px 14px 4px;
  background: var(--accent); color: #fff;
  font-family: var(--font); font-size: .82rem; line-height: 1.55;
  align-self: flex-start;
}
.fc-name {
  display: block; font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  opacity: .5; margin-bottom: 3px;
}

@media (max-width: 600px) {
  .faq-card { width: 280px; padding: 18px; }
  .fc-q { font-size: .8rem; }
  .fc-a { font-size: .78rem; }
  .faq-marquee-inner { gap: 14px; }
}

/* ===== CTA SECTION ===== */
.cta-strip-section { padding-bottom: clamp(60px, 10vh, 100px); }
.cta-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 32px 40px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius);
}
.cta-strip-text h2 {
  font-family: var(--font-h); font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem); line-height: 1.3;
  margin-bottom: 6px;
}
.cta-strip-text p {
  font-size: .9rem; opacity: .7; line-height: 1.5;
}
.cta-strip-action {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cta-strip .pill-btn {
  background: #fff; color: var(--accent); border: none;
  white-space: nowrap;
}
.cta-strip .pill-btn:hover { background: #e8e8e8; }
.cta-strip-note {
  font-size: .72rem; opacity: .5; text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 700px) {
  .cta-strip {
    flex-direction: column; text-align: center;
    padding: 28px 24px; gap: 20px;
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0; position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.4);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-links { font-size: .82rem; color: var(--ink-3); }
.footer-links a { color: var(--ink-3); transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { line-height: 2; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== SCRIM ===== */
.scrim {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(15, 23, 41, .18); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.scrim.open { opacity: 1; pointer-events: auto; }

/* ===== LEGAL PAGES ===== */
.legal-hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 48px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.legal-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,.04), transparent);
  pointer-events: none;
}
.legal-hero-inner {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.legal-hero h1 {
  font-family: var(--font-h); font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
}
.legal-hero-meta {
  font-size: .78rem; color: rgba(255,255,255,.45);
  letter-spacing: .04em; text-align: right; white-space: nowrap;
}
.legal-nav {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin-bottom: 40px;
}
.legal-nav a {
  font-size: .78rem; font-weight: 600; color: var(--ink-3);
  padding: 5px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--accent-soft);
  transition: all .25s var(--ease);
  letter-spacing: .02em;
}
.legal-nav a:hover { border-color: var(--ink); color: var(--ink); }
.legal-nav a.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.legal {
  padding-top: 0; padding-bottom: 80px; max-width: 680px;
  position: relative; z-index: 1;
}
.legal-tag {
  font-size: .75rem; font-weight: 600; color: var(--ink-3);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px;
}
.legal-intro {
  font-size: 1.05rem; color: var(--ink-2); margin-bottom: 40px; line-height: 1.7;
  padding-left: 16px; border-left: 3px solid var(--accent);
}
.legal h2 {
  font-family: var(--font-h); font-size: 1.15rem; font-weight: 600;
  margin-top: 36px; margin-bottom: 10px;
}
.legal p { font-size: .92rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 10px; }
.legal ul { padding-left: 18px; margin-bottom: 14px; list-style: disc; }
.legal li { font-size: .92rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 4px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-contact {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: .88rem; color: var(--ink-3);
}
.legal-contact a { color: var(--accent); }
@media (max-width: 768px) {
  .legal-hero-inner { flex-direction: column; align-items: flex-start; }
  .legal-hero-meta { text-align: left; }
  .legal-nav { gap: 6px; padding: 16px 0; }
  .legal-nav a { padding: 4px 12px; font-size: .72rem; }
}

/* ===== FORM ===== */
.partner-form-wrap [hidden] { display: none !important; }
.partner-form-wrap {
  max-width: 640px; margin: 0 auto;
}
.partner-form {
  display: flex; flex-direction: column; gap: 20px;
}
.pf-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.pf-row--full { grid-template-columns: 1fr; }
.pf-field { display: flex; flex-direction: column; gap: 6px; }
.pf-label {
  font-size: .8rem; font-weight: 600; color: var(--ink-2);
  letter-spacing: .02em;
}
.pf-input {
  font-family: var(--font); font-size: .95rem;
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent-soft);
  background: var(--card); color: var(--ink);
  transition: border-color .2s var(--ease);
}
.pf-input:focus {
  outline: none; border-color: var(--ink);
}
.pf-input::placeholder { color: var(--ink-3); }
.pf-submit {
  align-self: flex-start; margin-top: 4px;
  min-width: 200px; text-align: center;
}
.pf-submit:disabled { opacity: .6; cursor: wait; }

.pf-success { text-align: center; padding: 48px 24px; }
.pf-success-inner {
  background: var(--card); border-radius: var(--radius);
  padding: 48px 36px; max-width: 480px; margin: 0 auto;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.pf-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 1.6rem;
  margin-bottom: 16px;
}
.pf-success h3 {
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 700;
  margin-bottom: 8px;
}
.pf-success p { font-size: .95rem; color: var(--ink-2); line-height: 1.6; }
.pf-priority { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--accent-soft); }
.pf-priority a {
  color: var(--ink); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .pf-row { grid-template-columns: 1fr; }
  .pf-submit { width: 100%; }
}

/* ===== UTILS ===== */
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
