/* INOMIC ProductMesh V2 — simplified V9 look (navy / ink / cyan), logo-style labyrinths */
@font-face { font-family: "Source Sans Pro"; src: url("assets/source-sans-0.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("assets/source-sans-1.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("assets/source-sans-2.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #02355b; --ink: #020b18; --cyan: #1af2f2; --blue: #07b0f2; --paper: #f4f6f9;
  --text: #173d58; --muted: #4b657a; --line: #d7e3ec; --dark-line: #36546b; --dark-muted: #bdd0df;
  --grad: linear-gradient(90deg, #07b0f2, #6e5af8 55%, #c916ff);
  --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--text); font: 18px/1.55 "Source Sans Pro", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.04; font-weight: 600; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 16px; z-index: 100; transform: translateY(-180%); background: var(--cyan); color: var(--ink); padding: 12px 20px; font-weight: 600; }
.skip:focus { transform: none; }
.wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 104px; position: relative; }
.dark { background: var(--ink); color: #fff; }
.navy { background: var(--navy); color: #fff; }
.paper { background: var(--paper); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; }
.dark .eyebrow, .navy .eyebrow { color: var(--cyan); }
.cyan { color: var(--cyan); }
.btn { display: inline-flex; align-items: center; gap: 24px; min-height: 52px; padding: 13px 22px; border-radius: 3px; border: 0; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .a { font-family: Arial, sans-serif; font-weight: 400; font-size: 20px; line-height: 1; }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: #b8ffff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #08517c; }
.link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 16px; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration: underline; text-underline-offset: 5px; }
.link .a { font-family: Arial, sans-serif; font-size: 20px; font-weight: 400; }
.note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.dark .note, .navy .note { color: var(--dark-muted); }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff; border-bottom: 1px solid #345774; }
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav > a:not(.btn) { min-height: 44px; display: flex; align-items: center; }
.nav > a:not(.btn):hover { color: var(--cyan); }
.nav .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; gap: 16px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid #7292aa; border-radius: 3px; background: transparent; cursor: pointer; }
.menu-btn i { display: block; width: 19px; height: 2px; margin: 4px auto; background: #fff; }

/* hero */
.hero { padding-block: 64px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 5.5vw, 80px); line-height: .98; letter-spacing: -.05em; }
.hero .lead { margin-top: 30px; max-width: 30em; font-size: 21px; color: #dbe8f2; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 38px; }
.hero-meta { margin-top: 34px; display: flex; gap: 16px; align-items: center; font-size: 14px; color: var(--dark-muted); }
.hero-meta b { color: #fff; }
.hero-meta i { width: 1px; height: 18px; background: var(--dark-line); }
.hero-maze { margin: 0; }
.hero-maze svg { width: 100%; height: auto; overflow: visible; }
.hero-maze figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid var(--dark-line); font-size: 15px; color: var(--dark-muted); }
.hero-maze figcaption b { color: #fff; font-weight: 600; }
.maze-label { font: 600 12px "Source Sans Pro", Arial, sans-serif; letter-spacing: .14em; fill: #9fb6c8; text-transform: uppercase; }

/* thread animation (shared) */
.thread-glow { stroke: var(--cyan); stroke-opacity: .32; filter: url(#glow); }
.thread { stroke: var(--cyan); }
.js .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .draw.done { stroke-dashoffset: 0; }
.comet { stroke: #fff; stroke-dasharray: .035 .965; stroke-dashoffset: 1; opacity: 0; }
.js .is-flowing .comet { opacity: 1; animation: comet 7s linear infinite; }
@keyframes comet { to { stroke-dashoffset: 0; } }
.maze-goal { transition: filter .4s, r .4s; }
.goal-lit .maze-goal, .maze.lit .maze-goal { filter: drop-shadow(0 0 8px #1af2f2) drop-shadow(0 0 18px #07b0f2); }

/* platform */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: end; margin-bottom: 48px; }
.head h2 { font-size: clamp(40px, 4.6vw, 64px); }
.head p { color: var(--muted); font-size: 19px; }
.dark .head p, .navy .head p { color: #dbe8f2; }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tab { flex: 1; text-align: left; padding: 16px 18px; border: 0; border-bottom: 3px solid transparent; background: none; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab b { display: block; font-size: 12px; letter-spacing: .1em; color: #0b6fa4; }
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.panel[hidden] { display: none; }
.panel figure { margin: 0; }
.panel img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 20px 50px -24px rgba(2, 53, 91, .45); }
.panel figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.panel h3 { font-size: 36px; color: var(--navy); }
.panel p.body { margin-top: 18px; }
.panel ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel li { padding-left: 24px; position: relative; }
.panel li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* six labyrinths */
.worlds { margin: 0; }
.worlds svg { width: 100%; height: auto; }
.world-name { font: 600 22px "Source Sans Pro", Arial, sans-serif; fill: #fff; letter-spacing: -.01em; }
.world-fmt { font: 600 13px "Source Sans Pro", Arial, sans-serif; fill: #9fb6c8; letter-spacing: .1em; text-transform: uppercase; }
.loop-label { font: 600 14px "Source Sans Pro", Arial, sans-serif; fill: #fff; }
.world-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--dark-line); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--dark-muted); }
.legend b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--blue); color: var(--ink); font-size: 13px; }
.world-status { min-height: 1.5em; font-size: 16px; color: #fff; }

/* film */
.film { margin: 0; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 12px; font-size: 14px; color: var(--dark-muted); }
.film figcaption a { text-decoration: underline; text-underline-offset: 3px; }
details { margin-top: 22px; border-top: 1px solid var(--dark-line); }
summary { padding: 16px 0; cursor: pointer; font-weight: 600; }
details .inner { display: grid; gap: 12px; padding-bottom: 10px; color: #dbe8f2; font-size: 16px; }
details .inner strong { display: block; color: #fff; }

/* standards */
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.layer { padding: 30px 30px 30px 0; }
.layer + .layer { padding-left: 30px; border-left: 1px solid var(--line); }
.layer .tag { font-size: 12px; font-weight: 700; letter-spacing: .13em; color: #0b6fa4; text-transform: uppercase; }
.layer h3 { margin-top: 12px; font-size: 28px; color: var(--navy); }
.layer p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.formats { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px 24px; }
.formats h3 { font-size: 17px; letter-spacing: 0; color: var(--navy); padding-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 14px; font-weight: 600; color: var(--navy); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.contact h2 { font-size: clamp(40px, 4.6vw, 64px); }
.contact .lead { margin-top: 22px; font-size: 20px; }
.person { margin-top: 28px; }
.person b { display: block; color: var(--navy); }
.brief { background: #fff; border: 1px solid var(--line); padding: 34px; display: grid; gap: 18px; box-shadow: 0 24px 60px -30px rgba(2, 53, 91, .35); }
.brief label { display: grid; gap: 8px; font-weight: 600; font-size: 15px; color: var(--navy); }
.brief select, .brief textarea { width: 100%; padding: 12px 14px; border: 1px solid #b9cbd9; border-radius: 3px; background: #fff; font-size: 16px; font-weight: 400; color: var(--text); }
.brief textarea { min-height: 100px; resize: vertical; }
.brief .btn { justify-self: start; }

/* footer */
.site-footer { background: var(--navy); color: #fff; padding: 52px 0 36px; }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px 40px; align-items: start; }
.foot img { height: 46px; width: auto; }
.foot .claim { margin-top: 14px; color: var(--dark-muted); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 24px; font-size: 15px; }
.foot nav a, .foot nav button { background: none; border: 0; padding: 0; cursor: pointer; color: #dbe8f2; min-height: 32px; }
.foot nav a:hover, .foot nav button:hover { color: var(--cyan); }
.foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid #345774; font-size: 13.5px; color: var(--dark-muted); }

/* dialogs */
dialog { width: min(620px, calc(100% - 32px)); max-height: 86vh; padding: 0; border: 0; border-radius: 3px; color: var(--text); box-shadow: 0 30px 80px rgba(2, 11, 24, .5); }
dialog::backdrop { background: rgba(2, 11, 24, .7); }
.dlg { padding: 30px 32px; display: grid; gap: 14px; }
.dlg-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.dlg h2 { font-size: 28px; color: var(--navy); }
.dlg h3 { font-size: 18px; letter-spacing: 0; color: var(--navy); margin-top: 6px; }
.dlg p, .dlg li { font-size: 16px; }
.dlg ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.dlg a { color: #08517c; text-decoration: underline; }
.dlg .x { width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 22px; cursor: pointer; }

@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 82px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 22px; background: var(--navy); border-bottom: 1px solid #345774; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { min-height: 50px; font-size: 18px; border-bottom: 1px solid #345774; }
  .nav .btn { margin-top: 14px; justify-content: space-between; }
  .hero-grid, .head, .panel, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .head { gap: 18px; }
  .layers { grid-template-columns: minmax(0, 1fr); }
  .layer, .layer + .layer { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 72px; }
  .brand img { height: 40px; }
  .hero .lead { font-size: 19px; }
  .tabs { flex-direction: column; }
  .formats { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .foot nav { justify-content: flex-start; }
  .brief { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .draw { stroke-dashoffset: 0; }
}

/* ---------- tester waitlist ---------- */
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(26, 242, 242, .6); animation: live 2s infinite; }
.eyebrow:has(.live-dot)::before { display: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(26, 242, 242, 0); } 100% { box-shadow: 0 0 0 0 rgba(26, 242, 242, 0); } }
.waitlist { background: linear-gradient(180deg, #fff, var(--paper)); }
.wl-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.wl-info h3 { font-size: 22px; color: var(--navy); letter-spacing: -.01em; margin: 30px 0 14px; }
.wl-info h3:first-child { margin-top: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.ticks b { color: var(--navy); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; min-height: 32px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.steps b { display: block; color: var(--navy); }
.steps span { color: var(--muted); font-size: 16px; }
.wl-form h3 { font-size: 26px; color: var(--navy); }
.wl-form #wl-fields { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.wl-form input[type="text"], .wl-form input[type="email"] { width: 100%; padding: 12px 14px; border: 1px solid #b9cbd9; border-radius: 3px; background: #fff; font-size: 16px; font-weight: 400; color: var(--text); }
.wl-form input:focus, .wl-form select:focus, .wl-form textarea:focus { border-color: var(--navy); }
.wl-form [aria-invalid="true"] { border-color: #c62839 !important; background: #fff7f8 !important; }
.err { min-height: 0; color: #b3172a; font-size: 14px; font-weight: 600; }
.err:empty { display: none; }
.err-summary { padding: 12px 14px; border-left: 4px solid #c62839; background: #fff1f3; color: #8d1020; font-size: 15px; }
.err-summary ul { margin: 6px 0 0; padding-left: 20px; }
.err-summary a { text-decoration: underline; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 15px; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.checks label, .consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px; color: var(--text) !important; }
.checks input, .consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--navy); }
.consent { line-height: 1.45; }
.inline { padding: 0; border: 0; background: none; color: #08517c; text-decoration: underline; cursor: pointer; font: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.wl-done { display: grid; gap: 14px; padding: 10px 0; }
.wl-done[hidden] { display: none; }
.wl-done h3 { font-size: 30px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.faq-wrap h2 { font-size: clamp(36px, 4vw, 54px); color: var(--navy); }
.faq-contact { margin-top: 20px; color: var(--muted); }
.faq-contact a { color: #08517c; text-decoration: underline; }
.faq details { margin: 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 36px 18px 0; position: relative; list-style: none; font-size: 19px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }
.by-inomic { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--dark-muted); font-size: 14px; }
.by-inomic img { height: 22px; width: auto; }
@media (max-width: 1040px) { .wl-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 640px) { .row2, .checks { grid-template-columns: minmax(0, 1fr); } }
#wl-fields[hidden] { display: none !important; }
.wl-form #wl-fields > label:not(.consent), .wl-form .row2 > label { display: block; }
.wl-form label > input:not([type="checkbox"]), .wl-form label > select, .wl-form label > textarea { display: block; margin-top: 8px; }
.wl-form label > .err { display: block; margin-top: 6px; }
.wl-form label > .err:empty { display: none; }
.brand img { height: 56px; }
@media (max-width: 640px) { .brand img { height: 44px; } }

/* ---------- legal pages ---------- */
.legal-page { padding-block: 72px 96px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(38px, 5vw, 56px); color: var(--navy); }
.legal-page .lead { margin-top: 16px; font-size: 20px; color: var(--muted); }
.legal-page h2 { margin: 40px 0 12px; font-size: 24px; letter-spacing: -.01em; color: var(--navy); }
.legal-page p, .legal-page ul { margin: 0 0 14px; }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: #08517c; text-decoration: underline; text-underline-offset: 3px; }
.legal-page .note { margin-top: 40px; }
a.inline { color: #08517c; text-decoration: underline; }
@media (max-width: 1040px) {
  .nav-legal { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; border: 0; gap: 16px; background: none; }
  .nav-legal > a:not(.btn) { border: 0; min-height: 44px; font-size: 15px; }
  .nav-legal .btn { margin: 0; }
}
@media (max-width: 640px) {
  .nav-legal > a:not(.btn) { display: none; }
  .nav-legal .btn { font-size: 13px; padding: 8px 12px; gap: 8px; }
}
