/* Symdex's own look (symdex.ai): Lexend, near-black on white, one strong blue,
   a soft violet aurora behind the hero, faint plan linework behind sections. */
/* Lexend, served from here rather than Google (one variable file, weights 100–900; OFL, assets/fonts). */
@font-face { font-family: Lexend; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(assets/fonts/lexend-latin.woff2) format('woff2'); }

:root {
  --ink: #181818;
  --ink-70: #181818b3;
  --ink-50: #18181880;
  --blue: #0a11d7;
  --blue-soft: #e8e9ff;
  --card: #f3f3f5;
  --line: #e6e6ea;
  --bg: #ffffff;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 300 16px/1.6 Lexend, system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 16px; }
h1 { font-size: clamp(42px, 6.4vw, 84px); }
h2 { font-size: clamp(32px, 4.4vw, 60px); }
h3 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 8px; }
p { margin: 0 0 14px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; position: relative; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 100px;
  border: 1px solid var(--blue); background: var(--blue); color: #fff; font: 500 16px Lexend, sans-serif; text-decoration: none;
  cursor: pointer; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10, 17, 215, 0.28); }
.btn.ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { box-shadow: 0 10px 26px rgba(24, 24, 24, 0.08); }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.pill { display: table; margin: 0 auto 18px; padding: 4px 14px; border: 1.5px solid var(--blue); border-radius: 100px;
  color: var(--blue); font-size: 13.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.ind-grid .pill, .trial .pill { margin-left: 0; }

/* ---- header ---- */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background 0.4s, box-shadow 0.4s; }
.top.scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 400; }
nav a:not(.btn) { text-decoration: none; position: relative; }
nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---- aurora: three soft blobs drifting ---- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%;
  filter: blur(90px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: #c9c3ff; left: -15%; top: -35%; }
.aurora span:nth-child(2) { background: #dcd2ff; right: -20%; top: -25%; animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { background: #e9e6ff; left: 25%; top: 10%; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, 8%) scale(1.12); }
  100% { transform: translate(-6%, 4%) scale(0.95); }
}

/* ---- hero ---- */
.hero { padding: 160px 0 90px; text-align: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.kicker { color: var(--blue); font-weight: 400; margin-bottom: 22px; }
.hero h1 span { display: block; }
.sub { font-size: 18px; color: var(--ink-70); max-width: 560px; margin: 0 auto 30px; }
.sub.left { margin-left: 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-video { margin: 64px auto 0; max-width: 1060px; border-radius: 22px; overflow: hidden; position: relative;
  box-shadow: 0 40px 90px rgba(24, 24, 60, 0.22); background: #111; }
.hero-video video { width: 100%; display: block; }

/* ---- stats ---- */
.stats { padding: 30px 0 70px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 1px solid var(--line); padding-top: 22px; }
.stat strong { display: block; font-size: clamp(34px, 3.6vw, 52px); font-weight: 400; letter-spacing: -0.03em; color: var(--blue); }
.stat span { color: var(--ink-70); font-size: 15px; }

/* ---- problem, over faint plan linework ---- */
.problem { background: url(assets/Problem-background2.webp) center / cover no-repeat; }
.problem::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.75) 60%, #fff 100%); }
.problem-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.problem-grid p { color: var(--ink-70); font-size: 17px; }

/* ---- steps: a ladder joined by dotted wires that draw themselves ---- */
.ladder { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
.step { position: relative; background: var(--card); border-radius: var(--radius); padding: 30px 28px 32px; }
.step:nth-child(odd) { margin-top: 0; }
.step:nth-child(even) { margin-top: 0; }
.ladder .step:nth-of-type(2), .ladder .step:nth-of-type(4) { margin-top: 110px; }
.step p { color: var(--ink-70); font-size: 15px; margin: 0; }
.icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); margin-bottom: 22px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 2; pointer-events: none; }
.wires path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 3 5; }

/* ---- product in action: video cards that open with a wipe ---- */
.reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.clip { border-radius: var(--radius); overflow: hidden; background: var(--card); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.clip:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(24, 24, 60, 0.14); }
.clip .frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e9e9ee; }
.clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip .text { padding: 20px 24px 24px; }
.clip h3 { font-size: 19px; }
.clip p { color: var(--ink-70); font-size: 14.5px; margin: 0; }
.clip.wide { grid-column: span 2; }
.clip .frame { cursor: pointer; }
.clip .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: rgba(10, 17, 215, 0.88); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(10, 17, 215, 0.35);
  transition: opacity 0.3s, transform 0.3s var(--ease); pointer-events: none; }
.clip .play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.clip .frame.playing .play { opacity: 0; transform: scale(0.8); }
.clip .enlarge { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.clip .enlarge svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; }
.clip .frame:hover .enlarge, .clip .frame.playing .enlarge { opacity: 1; }
@media (hover: none) { .clip .enlarge { opacity: 1; } }

.viewer { border: 0; padding: 0; background: transparent; width: min(1200px, 94vw); max-height: 94vh; overflow: visible; }
.viewer::backdrop { background: rgba(12, 14, 30, 0.82); backdrop-filter: blur(4px); }
.viewer video { width: 100%; max-height: 84vh; display: block; border-radius: 16px; background: #111; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.viewer-title { color: #fff; text-align: center; margin: 14px 0 0; font-weight: 400; }
.viewer-close { position: absolute; right: -6px; top: -46px; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }

/* ---- different ---- */
.different { background: var(--bg); }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 50px auto 0; }
.diff { display: flex; align-items: center; gap: 20px; background: var(--card); border-radius: var(--radius); padding: 18px 22px;
  font-size: 19px; font-weight: 400; transition: background 0.3s; }
.diff:hover { background: var(--blue-soft); }
.diff .icon { margin: 0; flex: none; background: #fff; }

/* ---- industries ---- */
.industries { background: url(assets/showcase-background-image1.webp) center / cover no-repeat; }
.industries::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.82); }
.ind-grid { position: relative; display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 50px; align-items: center; }
.ind-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ind { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1.6; background: #222; }
.ind img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.9s var(--ease); filter: brightness(0.62); }
.ind:hover img { transform: scale(1.12); }
.ind figcaption { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 21px; font-weight: 500; }

/* ---- trial ---- */
.trial { overflow: hidden; background: #fbfaff; }
.trial-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.trial-form { background: #fff; border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(24, 24, 60, 0.12); }
.trial-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trial-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 400; }
.trial-form em { font-style: normal; color: var(--ink-50); font-size: 12.5px; }
.trial-form input, .trial-form select, .trial-form textarea { font: 300 15px Lexend, sans-serif; padding: 12px 14px; border: 1px solid #d9d9e0;
  border-radius: 12px; background: #fff; color: var(--ink); width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.trial-form input:focus, .trial-form select:focus, .trial-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.trial-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.trial-form .turnstile { min-height: 65px; }
.form-status { margin: 0; font-size: 14px; min-height: 20px; }
.form-status.ok { color: var(--blue); font-weight: 500; }
.form-status.error { color: #c0261b; }

.foot { padding: 50px 0; background: url(assets/footer-background-image.webp) center / cover no-repeat; color: var(--ink-70); font-size: 14px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.form-legal { margin: 0; font-size: 13px; color: var(--ink-50); }
.form-legal a { color: var(--ink-70); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---- motion ---- */
/* Hidden only once the script says it will show them: no script, no hiding. */
.js [data-intro], .js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js [data-intro].in, .js [data-reveal].in { opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.js .step { opacity: 0; transform: translateY(40px); }
.js .step.in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js .step .icon { transform: scale(0); }
.js .step.in .icon { transform: scale(1); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--delay, 0s) + 0.25s); }
/* The picture comes into focus: from a soft blur and a touch larger, settling into its frame. */
[data-wipe] { position: relative; }
.js [data-wipe] > video { opacity: 0; transform: scale(1.06); filter: blur(10px); }
.js [data-wipe].in > video, .js .in [data-wipe] > video { opacity: 1; transform: none; filter: none;
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--delay, 0s) + 0.15s); }

@media (prefers-reduced-motion: reduce) {
  .aurora span { animation: none; }
  .js [data-intro], .js [data-reveal], .js .step, .js .step .icon { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js [data-wipe] > video { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .wires path { stroke-dashoffset: 0 !important; }
}

@media (max-width: 960px) {
  section { padding: 80px 0; }
  nav a:not(.btn) { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .ind-grid, .trial-grid { grid-template-columns: 1fr; gap: 32px; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .wires { display: none; }   /* two rows of cards: the wire would run across them */
  .ladder .step:nth-of-type(2), .ladder .step:nth-of-type(4) { margin-top: 60px; }
  .reel { grid-template-columns: repeat(2, 1fr); }
  .clip.wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 120px; }
  .ladder, .reel, .diff-grid, .ind-cards, .trial-form .row { grid-template-columns: 1fr; }
  .ladder .step:nth-of-type(2), .ladder .step:nth-of-type(4) { margin-top: 0; }
  .wires { display: none; }
  .clip.wide { grid-column: auto; }
  .ind-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------ legal pages -- */
.legal { padding: 140px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 24px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal .updated { color: var(--ink-50); font-size: 14px; margin-bottom: 32px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal strong { font-weight: 500; }
/* Left for Brian and his attorney to fill in or decide; must be gone before publishing. */
.legal mark { background: #fff3b0; padding: 0 4px; border-radius: 4px; }
