/* ---------------------------------------------------------------- tokens */

:root {
  --paper: #fafbf8;
  --card: #ffffff;
  --raised: #eaefed;
  --ink: #0d1614;
  --body: #2b3936;
  --muted: #5d716d;
  --line: #d9e2df;
  --rule: #b6c6c2;

  --brand: #0d5f57;
  --brand-ink: #0a4a44;
  --brand-wash: #e2eeeb;
  --signal: #c4521a;

  --ehr: #00695c;
  --pos: #1d7a6c;
  --business: #0f766e;
  --edu: #1d4ed8;
  --ai: #6b4fa8;

  --foot-bg: #0d1614;
  --foot-ink: #b9cac6;
  --foot-link: #dcebe7;
  --foot-label: #7e9691;
  --foot-line: #22332f;

  --shadow-sm: 0 1px 2px rgba(13, 22, 20, .06);
  --shadow: 0 2px 4px rgba(13, 22, 20, .04), 0 18px 40px -22px rgba(13, 22, 20, .35);
  --shadow-lg: 0 24px 70px -32px rgba(7, 52, 47, .35);

  --measure: 38rem;
  --gutter: clamp(1.15rem, 4vw, 3.5rem);

  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --serif: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a1211;
    --card: #101b19;
    --raised: #16241f;
    --ink: #e8f1ef;
    --body: #b7c7c3;
    --muted: #869b97;
    --line: #1f2f2c;
    --rule: #33463f;

    --brand: #55c1b0;
    --brand-ink: #79d4c4;
    --brand-wash: #14302b;
    --signal: #e08a4e;

    --ehr: #3fb3a2;
    --pos: #4dbfa9;
    --business: #4cc0b0;
    --edu: #7aa2ff;
    --ai: #a48ada;

    --foot-bg: #060d0c;
    --foot-ink: #9fb2ae;
    --foot-link: #d3e5e1;
    --foot-label: #6d827e;
    --foot-line: #182523;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 28px -20px rgba(0, 0, 0, .9);
  }
}

:root[data-theme="dark"] {
  --paper: #0a1211;
  --card: #101b19;
  --raised: #16241f;
  --ink: #e8f1ef;
  --body: #b7c7c3;
  --muted: #869b97;
  --line: #1f2f2c;
  --rule: #33463f;

  --brand: #55c1b0;
  --brand-ink: #79d4c4;
  --brand-wash: #14302b;
  --signal: #e08a4e;

  --ehr: #3fb3a2;
  --pos: #4dbfa9;
  --business: #4cc0b0;
  --edu: #7aa2ff;
  --ai: #a48ada;

  --foot-bg: #060d0c;
  --foot-ink: #9fb2ae;
  --foot-link: #d3e5e1;
  --foot-label: #6d827e;
  --foot-line: #182523;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 28px -20px rgba(0, 0, 0, .9);
}

/* ------------------------------------------------------------- baseline */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.022em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.35rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.034em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.012em; }
h4 { font-size: .9375rem; font-weight: 600; }

p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: .5rem; }
li::marker { color: var(--rule); }

a { color: var(--brand); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-ink); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

strong { color: var(--ink); font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.skip {
  position: absolute; left: -9999px; top: .5rem; z-index: 20;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 3px;
  font-family: var(--display); font-size: .875rem;
}
.skip:focus { left: .5rem; }

/* --------------------------------------------------------------- layout */

.shell { max-width: 82rem; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--measure); }

.band { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.band + .band { border-top: 1px solid var(--line); }
.band--wash { background: var(--brand-wash); }
.band--sunk { background: var(--raised); }
.band--brand { background: #074c46; color: #cce1dc; border-top: 0 !important; }
.band--brand h2 { color: #fff; }
.band--brand .eyebrow { color: #8bddd0; }
.band--brand .lede { color: #deeeeb; }

.stack { display: flex; flex-direction: column; gap: 1.15rem; }
.stack--wide { gap: 2rem; }
.stack--tight { gap: .55rem; }

.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 34rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}
.eyebrow__dot { display: inline-block; width: .48rem; height: .48rem; border-radius: 50%; background: #42b6a5; box-shadow: 0 0 0 .28rem color-mix(in srgb, #42b6a5 18%, transparent); margin-right: .25rem; }

.sectionhead { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.textlink { flex: none; font-family: var(--display); font-size: .9rem; font-weight: 600; text-decoration: none; padding-bottom: .2rem; border-bottom: 1px solid var(--rule); }

.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
/* Two up on a wide screen. auto-fit would make three columns there, which
   leaves the fourth product card stranded on a row of its own. */
@media (min-width: 56rem) { .grid--2 { grid-template-columns: 1fr 1fr; } }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

/* --------------------------------------------------------------- header */

.masthead {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead__in {
  max-width: 82rem; margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1rem; min-height: 5.25rem;
}

.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: -.028em; color: var(--ink); text-decoration: none;
  margin-right: auto;
}
.wordmark:hover { color: var(--ink); }
.wordmark em { font-style: normal; font-weight: 500; color: var(--muted); }

.mark { width: 1.1rem; height: 1.1rem; flex: none; }

.mainnav { display: flex; align-items: center; gap: .1rem; flex-wrap: wrap; }
.mainnav a {
  font-family: var(--display); font-size: .875rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
  padding: .45rem .7rem; border-radius: 999px;
}
.mainnav a:hover { color: var(--brand); background: var(--brand-wash); }
.mainnav a[aria-current="page"] { color: var(--brand); background: var(--brand-wash); }

.navcta {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  font-family: var(--display); font-size: .82rem; font-weight: 600;
  padding: .55rem .85rem; border-radius: 8px; text-decoration: none;
  background: var(--brand); color: #fff;
}
.navcta:hover { background: var(--brand-ink); color: #fff; }
.navcta__short { display: none; }

@media (max-width: 52rem) {
  .masthead__in { flex-wrap: wrap; padding-block: .7rem; min-height: 0; }
  .mainnav { order: 3; width: calc(100% + 1.4rem); gap: .15rem; margin-inline: -.7rem; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .mainnav::-webkit-scrollbar { display: none; }
  .mainnav a { white-space: nowrap; }
  .navcta { margin-left: auto; }
}
@media (max-width: 29rem) {
  .mainnav { width: 100%; margin-inline: 0; justify-content: space-between; gap: 0; }
  .mainnav a { padding: .5rem .4rem; font-size: .72rem; min-height: 2.75rem; display: inline-flex; align-items: center; }
  .navcta__full { display: none; }
  .navcta__short { display: inline; }
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-size: .9375rem; font-weight: 600;
  padding: .78rem 1.25rem; border-radius: 9px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--brand); color: var(--paper); }
.btn--solid:hover { background: var(--brand-ink); color: var(--paper); }
.btn--line { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: #074c46; }
.btn--light:hover { background: #e9f5f2; color: #074c46; }

.btnrow { display: flex; flex-wrap: wrap; gap: .65rem; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ----------------------------------------------------------------- hero */

.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem); }
.hero h1 { max-width: 18ch; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (min-width: 60rem) { .hero__grid { grid-template-columns: 1.35fr 1fr; } }
.hero--home { position: relative; }
.hero--home::before {
  content: ""; position: absolute; z-index: -1; width: 34rem; height: 34rem;
  right: -15rem; top: -15rem; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 12%, transparent), transparent 68%);
}
.hero--home h1 span { color: var(--brand); }
.hero__proof { display: flex; flex-wrap: wrap; gap: .45rem 1.15rem; margin-top: .5rem; color: var(--muted); font-family: var(--display); font-size: .76rem; font-weight: 600; }
.hero__proof span { position: relative; padding-left: .9rem; }
.hero__proof span::before { content: ""; position: absolute; left: 0; top: .46em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--brand); }

/* Homepage product composition: illustrative workflows, never customer data. */
.hero--home { max-width: none; padding-inline: max(var(--gutter), calc((100vw - 82rem) / 2 + var(--gutter))); padding-block: clamp(2.5rem, 5vh, 3.75rem) clamp(2.5rem, 5vh, 3.5rem); background: radial-gradient(ellipse at 80% 45%, var(--brand-wash), transparent 58%); overflow: hidden; }
.hero--home::before { display: none; }
.homehero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.homehero__copy { gap: 1.4rem; }
.homehero__copy h1 { font-size: clamp(3rem, 4.4vw, 4.1rem); max-width: none; line-height: 1.04; letter-spacing: -.035em; word-spacing: .04em; text-wrap: initial; }
.homehero__copy .lede { max-width: 30rem; font-size: 1.125rem; line-height: 1.65; }
.homehero__copy .eyebrow { font-size: .7rem; letter-spacing: .13em; }
.homehero__actions { margin-top: .25rem; }
.homehero__location { font-size: .8125rem; color: var(--muted); }
.homehero__location span { padding-inline: .5rem; }
.product-scene { position: relative; isolation: isolate; display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem; padding: .5rem 0; }
.product-scene__orbit { position: absolute; inset: -1rem -2rem; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-25deg); z-index: -1; }
.product-scene__orbit::after { content: ''; position: absolute; inset: 2rem -1.5rem; border: 1px solid var(--line); border-radius: 50%; }
.showcase { display: block; text-decoration: none; border-radius: 18px; padding: 1.3rem 1.4rem; position: relative; box-shadow: 0 18px 40px -25px #063b3740; transition: transform .2s ease, box-shadow .2s ease; }
.showcase:hover { transform: translateY(-5px); box-shadow: 0 24px 45px -25px #063b3760; }
.showcase--ehr { grid-column: 1 / -1; background: #0c4942; color: #fff; margin-right: 1.5rem; }
.showcase--ehr:hover { color: #fff; }
.showcase__heading { display: flex; gap: .8rem; align-items: center; }
.showcase__heading > span:nth-child(2):not(.showcase__arrow) { flex: 1; }
.showcase__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #ffffff18; }
.showcase svg, .pcard svg { width: 1.4rem; height: 1.4rem; }
.showcase small { display: block; font: .66rem var(--mono); letter-spacing: .12em; margin-bottom: .35rem; }
.showcase strong { display: block; font: 600 1.2rem/1.25 var(--display); color: inherit; letter-spacing: -.025em; }
.showcase p { font-size: .9rem; line-height: 1.45; margin-top: .6rem; opacity: .88; }
.showcase__arrow { margin-left: auto; font-size: 1.2rem; }
.care-flow { display: flex; align-items: center; gap: .5rem; margin-block: 1rem; font-size: .78rem; font-weight: 500; }
.care-flow span { border: 1px solid #ffffff30; background: #ffffff09; border-radius: 6px; padding: .45rem .5rem; flex: 1; text-align: center; }
.care-flow i { font-style: normal; color: #91c5a7; }
.showcase__bottom { display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: #c2dcd6; border-top: 1px solid #ffffff22; padding-top: .8rem; }
.showcase__bottom > span:last-child { margin-left: auto; }
.status-dot { width: .35rem; height: .35rem; border-radius: 50%; background: #bde687; }
.showcase--pos { background: #e8edcf; color: #334631; margin-top: .3rem; transform: rotate(-1.5deg); }
.showcase--pos:hover { color: #334631; transform: rotate(0deg) translateY(-5px); }
.showcase--pos .showcase__icon { background: #d6dfb6; margin-bottom: .8rem; }
.showcase--pos > .showcase__arrow { position: absolute; right: 1.4rem; top: 1.3rem; }
.stock-art { display: flex; gap: .35rem; align-items: end; height: 2.6rem; margin-block: .6rem; border-bottom: 1px solid #33463130; padding: 0 .2rem .3rem; }
.stock-art i { width: 20%; height: 65%; background: #6d8855; border-radius: 3px 3px 0 0; }
.stock-art i:nth-child(2n) { height: 90%; background: #9aaf79; }
.stock-art i:nth-child(3) { height: 45%; }
.showcase__tag { font-size: .72rem; }
.showcase--business { background: var(--card); color: var(--ink); border: 1px solid var(--line); margin-top: .8rem; }
.showcase--business:hover { color: var(--ink); }
.showcase--business .showcase__icon { background: var(--brand-wash); color: var(--brand); }
.showcase--business .showcase__heading { margin-bottom: .8rem; }
.message-art { display: flex; flex-direction: column; gap: .45rem; margin-top: 1rem; font-size: .76rem; }
.message-art span { background: var(--raised); border-radius: 8px 8px 8px 0; padding: .5rem .65rem; align-self: start; }
.message-art span:last-child { background: var(--brand-wash); align-self: end; border-radius: 8px 8px 0 8px; }
.message-art b { color: var(--brand); padding-left: .3rem; }
.scene-ai { grid-column: 1 / -1; justify-self: center; display: flex; align-items: center; gap: .7rem; background: var(--card); border: 1px solid var(--line); padding: .7rem 1rem; border-radius: 99px; text-decoration: none; font-size: .84rem; margin-top: .1rem; }
.scene-ai svg { width: 1.1rem; height: 1.1rem; display: block; color: var(--ai); }
.scene-ai strong { font-weight: 500; }
.trustbar__number { font: .72rem var(--mono); color: var(--brand) !important; margin-bottom: .45rem; }
.homeproof { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.homeproof__label { color: var(--ink); font-weight: 600; }
.homeproof a { margin-left: auto; text-decoration: none; }
@media (max-width: 60rem) {
  .homehero__grid { gap: 2rem; }
  .homehero__copy h1 { font-size: 3.3rem; }
  .showcase { padding: 1rem; }
  .showcase__bottom > span:last-child { display: none; }
}
@media (max-width: 48rem) {
  .hero--home { padding-block: 3rem; }
  .homehero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .homehero__copy { max-width: 34rem; }
  .homehero__copy h1 { font-size: clamp(2.8rem, 9vw, 4rem); }
  .product-scene { width: 100%; max-width: 32rem; justify-self: center; }
  .homeproof a { width: 100%; margin-left: 0; }
  .homehero__actions .btn { flex: 1 1 12rem; }
  .foot { padding-bottom: 5.5rem; }
}
@media (max-width: 24rem) {
  .product-scene { gap: .6rem; }
  .showcase strong { font-size: 1rem; }
  .care-flow { gap: .3rem; }
  .care-flow span { padding-inline: .3rem; }
  .showcase__tag { font-size: .66rem; }
  .care-flow { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) { .showcase { transition: none; } }

/* The credentials ledger. The registry extract is the most persuasive object
   this company owns, so it is set like a record rather than a marketing card. */

.ledger {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ledger__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .7rem .95rem;
  background: var(--brand);
  color: var(--card);
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.ledger__head span:last-child { opacity: .65; }

.ledger__row {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: .3rem 1rem;
  padding: .62rem .95rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .8125rem;
}
.ledger__row:first-of-type { border-top: 0; }
.ledger__row dt { color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding-top: .18rem; }
.ledger__row dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; word-break: break-word; }

.ledger__foot {
  padding: .62rem .95rem; border-top: 1px solid var(--line);
  background: var(--raised);
  font-family: var(--serif); font-size: .8125rem; color: var(--muted);
}

@media (max-width: 26rem) { .ledger__row { grid-template-columns: 1fr; } }

/* Compact proof points directly below the opening promise. */
.trustbar { border-block: 1px solid var(--line); background: var(--card); }
.trustbar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trustbar__grid > div { display: flex; flex-direction: column; gap: .15rem; padding: 1.25rem 1.5rem; border-left: 1px solid var(--line); }
.trustbar__grid > div:first-child { border-left: 0; }
.trustbar strong { font-family: var(--display); font-size: .95rem; }
.trustbar span { color: var(--muted); font-size: .875rem; line-height: 1.5; }

/* ---------------------------------------------------------- product card */

.pcard {
  display: flex; flex-direction: column; gap: .6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--body);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
a.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--body); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.pcard h3 { color: var(--ink); }
.pcard h3 { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.3rem; }
.pcard p { font-size: .9375rem; }
.pcard__top { display: flex; align-items: center; gap: .7rem; }
.pcard__code { display: inline-grid; place-items: center; width: 3rem; height: 3rem; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-family: var(--mono); font-size: .65rem; font-weight: 500; }
.pcard__for {
  font-family: var(--display); font-size: .7rem; letter-spacing: .02em;
  color: var(--muted);
}
.pcard__arrow { font-size: 1rem; color: var(--accent); transition: transform .14s ease; }
a.pcard:hover .pcard__arrow { transform: translate(2px, -2px); }
.pcard__go {
  margin-top: auto; padding-top: .5rem;
  font-family: var(--display); font-size: .875rem; font-weight: 600; color: var(--accent, var(--brand));
}

.tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .14rem .45rem; border-radius: 2px;
  border: 1px solid currentColor; color: var(--muted);
}
.tag--dev { color: var(--signal); }

/* --------------------------------------------------------------- panels */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.2rem 1.35rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.panel h3 { margin: 0; }
.panel p { font-size: .9375rem; }

.note {
  border-left: 3px solid var(--brand);
  background: var(--brand-wash);
  padding: 1rem 1.2rem;
  border-radius: 0 3px 3px 0;
  display: flex; flex-direction: column; gap: .4rem;
}

.story { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story__intro h2 { max-width: 16ch; font-size: clamp(2rem, 4vw, 3.2rem); }
.story__copy { max-width: 35rem; }
.story__copy p:not(.lede) { color: #b7d2cd; }
.story__link { align-self: center; color: #d8eeea; font-family: var(--display); font-size: .9rem; font-weight: 600; text-decoration: none; }
.story__link:hover { color: #fff; }
@media (min-width: 52rem) { .story { grid-template-columns: .9fr 1.1fr; } }

/* Numbered list where the order is real (the patient journey, the steps to
   start). Not decoration — if the sequence does not matter, use .grid. */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.step { background: var(--card); padding: 1rem 1.2rem; display: grid; grid-template-columns: 2rem 1fr; gap: .2rem .8rem; }
.step__n { font-family: var(--mono); font-size: .75rem; color: var(--brand); padding-top: .22rem; }
.step h4 { color: var(--ink); }
.step p { font-size: .9rem; grid-column: 2; }

/* Feature checklist for module lists — dense, scannable, no bullets. */
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .45rem 1.25rem; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 1.15rem; font-size: .9375rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .42rem; height: .42rem; border-radius: 50%;
  background: var(--brand); opacity: .55;
}

/* ---------------------------------------------------------------- forms */

.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-family: var(--display); font-size: .8125rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--serif); font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 3px;
  padding: .62rem .75rem; width: 100%;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); outline: 2px solid var(--brand-wash); outline-offset: 0; }
.field--check { flex-direction: row; align-items: flex-start; gap: .55rem; }
.field--check input { width: auto; margin-top: .35rem; }
.field--check label { font-family: var(--serif); font-weight: 400; font-size: .9375rem; color: var(--body); }
.hint { font-size: .8125rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* --------------------------------------------------------------- footer */

/* The footer is dark in both themes, so it carries its own token set rather
   than borrowing --ink, which inverts. */
.foot { background: var(--foot-bg); color: var(--foot-ink); padding-block: 3rem 2rem; }
.foot a { color: var(--foot-link); text-decoration: none; }
.foot a:hover { color: #ffffff; text-decoration: underline; }
.foot h4 {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--foot-label); font-weight: 400; margin-bottom: .15rem;
}
.foot .muted { color: var(--foot-label); }
.foot__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.foot__col { display: flex; flex-direction: column; gap: .42rem; font-size: .9375rem; }
.foot__brand { display: flex; flex-direction: column; gap: .6rem; }
.foot__brand .wordmark { color: #ffffff; }
.foot__brand .wordmark em { color: var(--foot-label); }
.foot__legal {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--foot-line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--foot-label);
}

/* ---------------------------------------------------------------- misc */

.scroller { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: .9375rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

.contactlist { display: flex; flex-direction: column; gap: .8rem; }
.contactline { display: flex; gap: .7rem; align-items: baseline; font-size: .9375rem; }
.contactline b { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 5.2rem; font-weight: 400; }

@media (max-width: 46rem) {
  .sectionhead { align-items: flex-start; flex-direction: column; }
  .trustbar__grid { grid-template-columns: 1fr; padding-block: .35rem; }
  .trustbar__grid > div { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .trustbar__grid > div:first-child { border-top: 0; }
}


/* Services and progressive motion */
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
.accent-text { color: var(--brand); }
.hero--home { position: relative; background: radial-gradient(ellipse at 10% 10%, var(--brand-wash), transparent 65%); }
.homehero__copy h1 { font-size: clamp(2.8rem, 5.2vw, 4.6rem); }
.services-home { padding-top: 2rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service-card { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.3rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 22px; background: var(--card); color: var(--body); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { color: var(--body); transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1.2rem; }
.service-symbol { display: grid; place-items: center; background: var(--brand-wash); color: var(--brand); border-radius: 16px; width: 3.5rem; height: 3.5rem; font-size: 2rem; }
.service-number { font: .65rem var(--mono); color: var(--muted); letter-spacing: .05em; }
.service-card h3 { font-size: 1.4rem; letter-spacing: -.04em; }
.service-card p { font-size: .94rem; }
.service-card .service-examples { font-size: .78rem; color: var(--muted); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.service-link { margin-top: auto; display: flex; justify-content: space-between; color: var(--brand); font-size: .85rem; font-weight: 700; }
.services-intro h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.08; letter-spacing: -.055em; }
.services-intro .narrow { max-width: 49rem; }
.service-detail { border-bottom: 1px solid var(--line); }
.service-detail__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.delivery-grid > div { border-top: 1px solid #ffffff40; padding-top: 1.5rem; }
.delivery-grid span { color: #b9e5d7; font: .8rem var(--mono); }
.delivery-grid h3 { color: #fff; margin-block: 1rem .6rem; }
.delivery-grid p { color: #d0e4de; font-size: .95rem; }
.service-faq { border-bottom: 1px solid var(--line); padding-block: 1.2rem; }
.service-faq summary { font-weight: 700; color: var(--ink); cursor: pointer; padding-right: 1rem; }
.service-faq p { padding-top: .8rem; }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .homehero__copy { animation: rise-in .7s ease both; }
  .product-scene { animation: rise-in .9s .12s ease both; }
  .reveal.revealed { animation: rise-in .65s ease both; }
  .service-card:nth-child(2), .delivery-grid > div:nth-child(2) { animation-delay: .09s; }
  .service-card:nth-child(3), .delivery-grid > div:nth-child(3) { animation-delay: .18s; }
}
@media (max-width: 65rem) { .masthead__in { flex-wrap: wrap; } .mainnav { order: 3; width: 100%; justify-content: center; } }
@media (max-width: 52rem) { .service-grid, .service-detail__grid { grid-template-columns: 1fr; } .service-detail__grid { gap: 1.5rem; } .delivery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .delivery-grid { grid-template-columns: 1fr; } .mainnav { justify-content: center; flex-wrap: wrap; overflow: visible; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .service-card:hover { transform: none; } }
.company-site .hero__grid > *, .company-site .grid > * { min-width:0; }
.company-site input, .company-site select, .company-site textarea { min-width:0; max-width:100%; }
.company-site .btnrow .btn { white-space:normal; text-align:center; }
.company-site .hero__grid { overflow-wrap:anywhere; }
/* Company identity: independent from the NizoAI product site. */
.company-site { --paper:#f8faf7; --card:#fff; --raised:#eef3ee; --ink:#152a25; --body:#475d54; --muted:#667b71; --line:#dce6dd; --rule:#bdcec2; --brand:#176650; --brand-ink:#104c3c; --brand-wash:#e9f1e7; background:var(--paper); }
.company-site .shell { max-width:1280px; }
.company-site h2 { font-size:clamp(2rem,3.6vw,3.2rem); letter-spacing:-.05em; line-height:1.15; }
.company-site .eyebrow { font-size:.68rem; letter-spacing:.15em; }
.company-site .band { padding-block:clamp(3.5rem,7vw,6.5rem); }
.company-site .btn { border-radius:9px; min-height:50px; font-size:.85rem; transition:transform .2s,box-shadow .2s,background .2s; }
.company-site .btn:hover { transform:translateY(-3px); box-shadow:0 10px 25px #123e2415; }
.company-site .masthead { background:#f8faf7f2; backdrop-filter:blur(18px); border-bottom:1px solid #dce6dd; }
.company-site .masthead__in { max-width:1280px; }
.company-site .wordmark { letter-spacing:-.035em; }
.company-site .navcta { border-radius:8px; background:#173e32; }
.company-site .mainnav a { font-size:.78rem; border-radius:6px; }
.company-site .hero--home { max-width:none; background:#102d25; padding:clamp(3rem,6vw,6rem) max(var(--gutter),calc((100vw - 1280px)/2 + var(--gutter))); color:#bfd3c5; position:relative; isolation:isolate; }
.company-site .hero--home::before { display:block; content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 85% 45%,#41735755,transparent 60%); z-index:-1; pointer-events:none; }
.company-site .homehero__grid { grid-template-columns:1fr 1fr; gap:3.5rem; }
.company-site .homehero__copy { gap:1.7rem; }
.company-site .homehero__copy h1 { color:#fffdf3; font-size:clamp(3rem,5.2vw,4.65rem); line-height:1.08; letter-spacing:-.06em; }
.company-site .homehero__copy h1 span { color:#d3ed9b; }
.company-site .homehero__copy .eyebrow { color:#c2d6b5; font-size:.64rem; }
.company-site .homehero__copy .lede { color:#bdd0c4; font-size:1.06rem; line-height:1.85; }
.company-site .homehero__location { color:#a4bead; font-size:.72rem; }
.company-site .hero--home .btn--solid { background:#d3ed9b; border-color:#d3ed9b; color:#153522; }
.company-site .hero--home .btn--line { background:transparent; border-color:#5b7967; color:#edf3e7; }
.studio-scene { position:relative; padding:2.5rem 1.7rem 4rem 0; min-width:0; isolation:isolate; }
.studio-scene__grid { position:absolute; inset:-1rem -1rem 1rem; background-image:linear-gradient(#cee6b209 1px,transparent 1px),linear-gradient(90deg,#cee6b209 1px,transparent 1px); background-size:32px 32px; mask-image:radial-gradient(ellipse,#000 30%,transparent 72%); z-index:-1; }
.studio-browser { background:#fcfdf6; color:#183b2a; border:1px solid #c3d3b9; border-radius:14px; overflow:hidden; box-shadow:0 30px 80px #001b1b66; transform:rotate(-3deg); }
.studio-browser__bar { display:flex; align-items:center; justify-content:space-between; padding:.8rem 1rem; border-bottom:1px solid #e0e8d7; background:#edf2e4; font-size:.55rem; letter-spacing:.12em; color:#6e8169; }
.studio-browser__bar span:first-child { letter-spacing:.18em; color:#a1b294; }
.studio-browser__page { position:relative; isolation:isolate; overflow:hidden; padding:1.5rem 1.5rem 2rem; min-height:285px; }
.studio-browser__nav { display:flex; align-items:center; justify-content:space-between; margin-bottom:2rem; }
.studio-browser__nav b { font-size:.85rem; }
.studio-browser__nav span { font-size:.45rem; color:#75846c; }
.studio-label { font:.5rem var(--mono); letter-spacing:.16em; text-transform:uppercase; color:#788363; }
.company-site .studio-browser h2 { font-size:2.4rem; margin:.6rem 0; line-height:1; color:#284633; }
.studio-browser__page > p:not(.studio-label) { font-size:.64rem; line-height:1.7; color:#6e7a65; }
.studio-browser__cta { display:inline-block; margin-top:1.1rem; padding:.6rem .9rem; border-radius:6px; background:#2b503b; color:#f5f7e8; font-size:.57rem; }
.studio-browser__foot { display:flex; justify-content:space-between; gap:.5rem; background:#e8eddf; color:#6b785e; padding:.8rem 1rem; font-size:.5rem; }
.studio-art { position:absolute; right:-1rem; top:7rem; width:47%; aspect-ratio:1; z-index:-1; transform:rotate(-20deg); }
.studio-art i { display:block; position:absolute; width:75%; height:55%; border-radius:80px; background:linear-gradient(120deg,#d5e5a2,#83a069); box-shadow:inset 0 2px 2px #ffffffa0,0 12px 22px #43684018; }
.studio-art i:nth-child(2) { top:22%; left:15%; background:linear-gradient(120deg,#eef4c5,#bed19d); }
.studio-art i:nth-child(3) { top:44%; left:30%; background:linear-gradient(120deg,#d1e29c,#759567); }
.studio-phone { position:absolute; right:-.5rem; top:7.5rem; width:145px; border:5px solid #213c32; border-radius:25px; background:#f7f9ef; padding:1.8rem .8rem .8rem; color:#234535; box-shadow:0 20px 50px #00170f66; transform:rotate(7deg); }
.studio-phone__notch { position:absolute; top:6px; width:42%; height:8px; left:29%; border-radius:10px; background:#213c32; }
.studio-phone h3 { font-size:.98rem; line-height:1.2; margin:.6rem 0 1rem; }
.studio-phone__tile { padding:.8rem; border-radius:10px; background:#deebbd; }
.studio-phone__tile span { font-size:1.2rem; display:block; }
.studio-phone__tile b { font-size:.64rem; line-height:1.3; }
.studio-phone__rows { display:grid; gap:7px; margin:1rem 0; }
.studio-phone__rows i { height:5px; background:#e0e7d6; border-radius:3px; }
.studio-phone__rows i:last-child { width:65%; }
.studio-phone__nav { display:flex; justify-content:space-between; color:#789067; font-size:.9rem; border-top:1px solid #e3e9da; padding-top:.4rem; }
.studio-ai { display:flex; align-items:center; gap:.7rem; position:relative; margin:1.5rem 3rem 0 2rem; width:max-content; max-width:100%; padding:.9rem 1rem; background:#ecf0e1; color:#244133; border:1px solid #d6e4c6; box-shadow:0 15px 35px #061c1840; border-radius:12px; text-decoration:none; }
.studio-ai > span:first-child { font-size:1.7rem; color:#6c5393; }
.studio-ai b { display:block; font-size:.76rem; }
.studio-ai small { display:block; font-size:.6rem; color:#68806b; margin-top:.2rem; }
.studio-ai > span:last-child { margin-left:.6rem; }
.studio-caption { font-size:.55rem; text-align:center; color:#9fbaa8; margin:1.3rem 0 -2rem; }
.company-ribbon { background:#d3ed9b; color:#234830; }
.company-ribbon .shell { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-block:1.25rem; }
.company-ribbon span { font-size:.68rem; color:#4e663e; }
.company-ribbon a { color:#234830; font-size:.75rem; font-weight:600; text-decoration:none; }
.company-ribbon a:hover { text-decoration:underline; }
.company-site .sectionhead { align-items:end; gap:2rem; }
.company-site .sectionhead .narrow { max-width:38rem; }
.company-site .service-grid { gap:1.25rem; }
.company-site .service-card { border-radius:16px; box-shadow:none; padding:2rem; gap:.8rem; background:linear-gradient(130deg,#fff,#f8faf5); }
.company-site .service-card__top { margin-bottom:.7rem; }
.company-site .service-card:nth-child(2) .service-symbol { background:#e8edf8; color:#526a9a; }
.company-site .service-card:nth-child(3) .service-symbol { background:#f6efdc; color:#937347; }
.company-site .service-card:nth-child(4) .service-symbol { background:#efe6f7; color:#765295; }
.company-site .service-symbol { width:48px; height:48px; font-size:1.65rem; border-radius:12px; }
.company-site .service-card h3 { font-size:1.45rem; }
.company-site .service-card p { max-width:40rem; line-height:1.75; font-size:.88rem; }
.company-site .trustbar { background:#edf2e7; border-color:#dce6d3; }
.company-site .trustbar__grid > div { padding-block:.5rem; }
.company-site .trustbar__number { background:#dce9cf; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; }
.company-site .homeproof { padding-block:1.5rem; font-size:.75rem; }
.company-site .pcard { border-radius:18px; box-shadow:none; background:#fff; padding:2rem; transition:transform .25s,box-shadow .25s; }
.company-site .pcard:hover { transform:translateY(-5px); box-shadow:0 18px 40px #123c2710; }
.company-site .pcard h3 { font-size:1.5rem; }
.company-site .pcard p { line-height:1.8; }
.company-site .pcard__code { border-radius:12px; background:#eef4e9; padding:.6rem; }
.company-site .band--brand { background:#183e31; }
.company-site .band--brand h2 { color:#f3f7e8; }
.company-site .band--brand .lede { color:#c3d4c7; }
.company-site .band--sunk { background:#eef3eb; }
.company-site .panel { border-radius:16px; padding:1.8rem; box-shadow:none; }
.company-site .panel p { line-height:1.8; font-size:.9rem; }
.company-card-mark { display:block; font-size:2rem; color:#547951; margin-bottom:1rem; }
.company-principles .sectionhead > .lede { max-width:29rem; font-size:1rem; }
.company-ai { background:#f0ecf6; }
.company-ai__grid { display:grid; grid-template-columns:1.15fr 1fr; gap:5rem; align-items:center; }
.company-ai h2 span { color:#7652a1; }
.company-ai .lede { font-size:1rem; line-height:1.8; }
.company-ai .btn--solid { background:#73509b; border-color:#73509b; }
.company-ai .btn--line { color:#654384; border-color:#bfaace; }
.company-ai__conversation { padding:1.5rem; border:1px solid #d3c6e3; border-radius:20px; background:#fff; box-shadow:0 25px 55px #46276512; display:flex; flex-direction:column; gap:1rem; }
.company-ai__heading { display:flex; align-items:center; gap:.7rem; border-bottom:1px solid #eee6f5; padding-bottom:1rem; }
.company-ai__heading > span { color:#8a65af; background:#f2eafa; width:42px; height:42px; border-radius:12px; display:grid; place-items:center; font-size:1.5rem; }
.company-ai__heading b { font-size:.85rem; color:#4b3564; }
.company-ai__heading small { display:block; font-size:.65rem; color:#8e7c9e; }
.company-ai__conversation > p { padding:1rem; border-radius:12px; font-size:.85rem; max-width:90%; background:#f2edf6; color:#634e7b; }
.company-ai__conversation > p:first-of-type { align-self:flex-end; background:#e5f0e1; color:#45683c; }
.company-ai__conversation > p b { display:block; color:#8866aa; font-size:.65rem; margin-bottom:.4rem; }
.company-ai__tags { display:flex; justify-content:center; gap:.7rem; padding-top:.4rem; }
.company-ai__tags span { font-size:.62rem; color:#8d769e; }
.company-process .delivery-grid > div { border-color:#b9ceaf; position:relative; }
.company-process .delivery-grid span { color:#688659; font-size:.68rem; }
.company-process .delivery-grid h3 { color:#274632; font-size:1.05rem; }
.company-process .delivery-grid p { color:#647761; font-size:.85rem; line-height:1.8; }
.company-site .company-cta { background:radial-gradient(ellipse at right,#456344,#173629 65%); color:#c5d8c4; position:relative; overflow:hidden; }
.company-site .company-cta .shell { align-items:center!important; text-align:center; }
.company-site .company-cta h2 { color:#f1f7de; max-width:22ch!important; font-size:clamp(2.5rem,5vw,4rem); }
.company-site .company-cta .eyebrow { color:#b9d693; }
.company-site .company-cta .lede { color:#c5d8c4; max-width:37rem; font-size:1rem; }
.company-site .company-cta .btnrow { justify-content:center; }
.company-site .company-cta .btn--solid { background:#d3ed9b; color:#223f2a; }
.company-site .company-cta .btn--line { color:#e7f2d7; border-color:#7a9671; }
.company-site .foot { --foot-bg:#10261e; --foot-ink:#aebfae; --foot-link:#dce8d3; --foot-label:#b2c89f; --foot-line:#2b4332; }
.company-site .services-intro { padding-block:clamp(4rem,7vw,7rem); }
.company-site .service-detail:nth-of-type(2n) { background:#f0f4ec; }
.company-site .service-faq { padding-block:1.5rem; }
@keyframes studio-enter { from { opacity:0; translate:0 25px; } to { opacity:1; translate:0 0; } }
@keyframes studio-shapes { from { opacity:0; transform:translateY(20px) rotate(-10deg); } to { opacity:1; transform:translateY(0) rotate(0); } }
@media(prefers-reduced-motion:no-preference) {
 .studio-browser { animation:studio-enter 1s .1s both; }
 .studio-phone { animation:studio-enter 1.1s .4s both; }
 .studio-ai { animation:studio-enter .9s .75s both; transition:translate .25s; }
 .studio-ai:hover { translate:0 -4px; }
 .studio-art i { animation:studio-shapes 1.4s .3s both; }
 .studio-art i:nth-child(2) { animation-delay:.5s; } .studio-art i:nth-child(3) { animation-delay:.7s; }
 .company-ai__grid.revealed .company-ai__conversation > p { animation:studio-enter .7s .25s both; }
 .company-ai__grid.revealed .company-ai__conversation > p:nth-of-type(2) { animation-delay:.6s; }
 .company-site .pcard.revealed:nth-child(even),.company-principles .panel.revealed:nth-child(2) { animation-delay:.12s; }
 .company-principles .panel.revealed:nth-child(3) { animation-delay:.24s; }
}
@media(max-width:65rem) { .company-site .homehero__grid { gap:2rem; } .company-site .homehero__copy h1 { font-size:3.1rem; } .studio-phone { width:125px; right:-.6rem; } .studio-browser__nav span { display:none; } .company-ai__grid { gap:2.5rem; } }
@media(max-width:52rem) { .company-site .homehero__grid,.company-ai__grid { grid-template-columns:minmax(0,1fr); } .studio-scene { width:100%; max-width:32rem; margin-inline:auto; } .company-site .homehero__copy { max-width:38rem; } .company-ribbon .shell { flex-wrap:wrap; justify-content:center; gap:.8rem 1.5rem; } .company-ribbon span { width:100%; text-align:center; } .company-ribbon a { font-size:.7rem; } .company-site .sectionhead { flex-wrap:wrap; } .company-site .mainnav { flex-wrap:wrap; } .company-ai__conversation { max-width:32rem; width:100%; margin-inline:auto; } }
@media(max-width:30rem) { .company-site .homehero__copy h1 { font-size:2.85rem; } .company-site .homehero__copy .eyebrow { font-size:.56rem; } .company-site .homehero__copy .lede { font-size:1rem; } .studio-scene { padding-right:1.5rem; } .studio-browser__page { padding:1rem; min-height:270px; } .company-site .studio-browser h2 { font-size:2.05rem; } .studio-phone { width:113px; top:8rem; right:0; } .studio-phone h3 { font-size:.85rem; } .studio-ai { margin-left:0; margin-top:2rem; padding:.8rem; } .studio-ai small { font-size:.53rem; } .studio-browser__foot span:last-child { display:none; } .studio-art { right:-1.5rem; top:8rem; } .company-site .service-card,.company-site .pcard { padding:1.4rem; } .company-site .wordmark { font-size:.95rem; } .company-site .mainnav a { font-size:.7rem; } }

/* ---- Nizo family bar ---- */
.nizo-family{background:#0f2a27;color:#c9dbd6;font:500 12.5px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;position:relative;z-index:41}
.nizo-family__in{max-width:1160px;margin-inline:auto;padding:0 16px;min-height:34px;display:flex;align-items:center;gap:4px 18px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.nizo-family__in::-webkit-scrollbar{display:none}
.nizo-family__label{color:#8fb0a9;font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:10.5px;margin-right:2px}
.nizo-family a{color:#c9dbd6;text-decoration:none;padding:9px 0;border-bottom:2px solid transparent}
.nizo-family a:hover{color:#fff}
.nizo-family a[aria-current="page"]{color:#fff;font-weight:700;border-bottom-color:#3fbfa8}
.nizo-family a:focus-visible{outline:2px solid #7cc7ff;outline-offset:2px;border-radius:4px}
@media(max-width:520px){.nizo-family__label{display:none}.nizo-family__in{gap:14px}}

/* ---- NizoAI widget ---- */
/* The widget hides panels with the [hidden] attribute, but every one of them
   also carries a display rule from a class — and an author display beats the
   user-agent [hidden] rule. Without this the panel, the prompts and the lead
   form are all permanently open. */
.nai[hidden], .nai [hidden] { display: none !important; }

.nai--nolauncher .nai__launch { display: none; }
.nai-page__card [hidden] { display: none !important; }
.nai-page__handoff { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; padding: .85rem 1rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--brand-wash); }
.nai-page__handoff p { margin: 0; flex: 1 1 14rem; color: var(--ink); }
.nai { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }

.nai__launch {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-size: .9375rem; font-weight: 600;
  background: var(--brand); color: var(--paper);
  border: 0; border-radius: 999px; padding: .7rem 1.15rem;
  box-shadow: var(--shadow); cursor: pointer;
}
.nai__launch:hover { background: var(--brand-ink); }
.nai__spark { width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; opacity: .85; }

.nai__panel {
  width: min(24rem, calc(100vw - 2rem));
  max-height: min(38rem, calc(100vh - 6rem));
  display: flex; flex-direction: column;
  background: var(--card); color: var(--body);
  border: 1px solid var(--rule); border-radius: 6px;
  box-shadow: var(--shadow); overflow: hidden;
}

.nai__head { display: flex; align-items: flex-start; gap: 1rem; padding: .85rem 1rem; background: var(--brand); color: var(--card); }
.nai__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.nai__sub { margin: 0; font-size: .78rem; opacity: .85; }
.nai__x { margin-left: auto; background: none; border: 0; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }

.nai__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; min-height: 8rem; }

.nai__msg { max-width: 92%; font-size: .9375rem; line-height: 1.55; border-radius: 6px; padding: .6rem .8rem; }
.nai__msg--ai { background: var(--brand-wash); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 2px; }
.nai__msg--me { background: var(--raised); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 2px; }
.nai__msg p { margin: 0 0 .5rem; }
.nai__msg p:last-child { margin-bottom: 0; }
.nai__msg strong { color: inherit; font-weight: 600; }

.nai__typing { display: inline-flex; gap: .22rem; align-items: center; }
.nai__typing i { width: .35rem; height: .35rem; border-radius: 50%; background: currentColor; opacity: .45; animation: nai-blink 1.2s infinite; }
.nai__typing i:nth-child(2) { animation-delay: .18s; }
.nai__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes nai-blink { 0%, 60%, 100% { opacity: .25 } 30% { opacity: .9 } }
@media (prefers-reduced-motion: reduce) { .nai__typing i { animation: none; opacity: .5 } }

.nai__prompts { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 1rem .6rem; }
.nai__chip {
  font-family: var(--serif); font-size: .8125rem;
  background: transparent; color: var(--brand);
  border: 1px solid var(--rule); border-radius: 999px;
  padding: .3rem .65rem; cursor: pointer;
}
.nai__chip:hover { border-color: var(--brand); background: var(--brand-wash); }

.nai__handoff { padding: .8rem 1rem; background: var(--brand-wash); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .55rem; }
.nai__handoff-text { margin: 0; font-size: .875rem; color: var(--ink); }
.nai__handoff-btn { width: 100%; }

.nai__form { padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .6rem; overflow-y: auto; }
.nai__form-title { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); }
.nai__form-note { margin: 0; font-size: .8125rem; color: var(--muted); }
.nai__form .field label { font-size: .78rem; }
.nai__form .field input, .nai__form .field select { padding: .45rem .6rem; font-size: .9375rem; }
.nai__form-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.nai__form-actions .btn { flex: 1 1 8rem; padding: .55rem .9rem; font-size: .875rem; }
.nai__error { margin: 0; font-size: .8125rem; color: var(--signal); }

/* Filling the form is a different task from chatting, so the panel gives it
   the room: the conversation collapses to a reminder of context and the ask
   bar steps out rather than competing for the same vertical space. */
.nai__panel--form .nai__log { flex: 0 1 auto; max-height: 7rem; }
.nai__panel--form .nai__ask,
.nai__panel--form .nai__foot { display: none; }

.nai__ask { display: flex; gap: .4rem; padding: .7rem 1rem .8rem; border-top: 1px solid var(--line); }
.nai__ask input {
  flex: 1; font-family: var(--serif); font-size: .9375rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: .5rem .85rem;
}
.nai__ask input:focus { border-color: var(--brand); }
.nai__ask button {
  flex: none; width: 2.35rem; border: 0; border-radius: 50%;
  background: var(--brand); color: var(--paper); font-size: 1.05rem; cursor: pointer;
}
.nai__ask button:disabled { opacity: .5; cursor: default; }

.nai__foot { margin: 0; padding: 0 1rem .8rem; font-size: .72rem; color: var(--muted); }
.nai__sr { position: absolute; left: -9999px; }

/* The product page offers the same conversation directly in the page. */
.nai-page { max-width: 58rem; }
.nai-page [hidden] { display: none !important; }
.nai-page__card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-sm); padding: clamp(1rem, 3vw, 1.5rem); }
.nai-page__log { display: flex; flex-direction: column; gap: .7rem; max-height: 24rem; overflow-y: auto; padding: 0 0 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.nai-page__log[hidden] { display: none; }
.nai-page__log .nai__msg { max-width: min(90%, 38rem); }
.nai-page__ask label { display: block; margin-bottom: .55rem; color: var(--ink); font-family: var(--display); font-size: .875rem; font-weight: 600; }
.nai-page__row { display: flex; gap: .6rem; }
.nai-page__row input { min-width: 0; flex: 1; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); color: var(--ink); font: inherit; padding: .72rem .85rem; }
.nai-page__row input:focus { border-color: var(--brand); }
.nai-page__row button { flex: none; }
.nai-page__row button:disabled, .nai-page__prompts button:disabled { opacity: .5; cursor: default; }
.nai-page__prompts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.nai-page__prompts button { border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--brand); font: inherit; font-size: .85rem; padding: .35rem .7rem; cursor: pointer; }
.nai-page__prompts button:hover { border-color: var(--brand); background: var(--brand-wash); }
.nai-page__note { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
@media (max-width: 38rem) { .nai-page__row { flex-direction: column; } .nai-page__row button { align-self: flex-start; } }

@media (max-width: 30rem) {
  .nai { right: .6rem; bottom: .6rem; left: .6rem; align-items: stretch; }
  .nai__panel { width: auto; max-height: calc(100vh - 5rem); }
  .nai__launch { align-self: flex-end; }
}
/* ---- NizoAI site ---- */
.wordmark--ai .mark { color: var(--ai); }
.ai-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(180deg, var(--brand-wash), transparent 85%); }
.ai-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ai-hero h1 { font-size: clamp(2.8rem, 8vw, 4.6rem); line-height: 1; letter-spacing: -.05em; color: var(--ink); }
.ai-hero h1 span { color: var(--ai); }
.ai-hero .eyebrow { color: var(--ai); }
.ai-hero__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; color: var(--body); font-size: .95rem; }
.ai-hero__facts li { padding-left: 1.4rem; position: relative; }
.ai-hero__facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 2px; background: var(--ai); transform: rotate(45deg); }
.ai-hero .nai-page__card { border-color: color-mix(in srgb, var(--ai) 35%, var(--line)); }
.ai-hero .nai-page__prompts { margin-top: .9rem; }
.ai-hero .btnrow { margin-top: .4rem; }
.ai-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ai-caps .panel { display: flex; flex-direction: column; gap: .5rem; }
.ai-caps__n { font-family: var(--mono); font-size: .75rem; color: var(--ai); }
.ai-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ai-split--even { align-items: stretch; }
.checks--one { grid-template-columns: 1fr; }
ol.steps { list-style: none; margin: 0; padding: 0; }
.tag--dev { margin-left: .4rem; vertical-align: middle; }
.ai-code { margin: 0; padding: 1rem 1.1rem; border-radius: 10px; background: #15121f; color: #e6e1f5; font-family: var(--mono); font-size: .8rem; line-height: 1.55; overflow-x: auto; white-space: pre; border: 1px solid color-mix(in srgb, var(--ai) 40%, transparent); }

/* Illustrative WhatsApp conversation. Fixed WhatsApp-like colours in both
   themes: it is a picture of a phone screen, not page chrome. */
.wa-mock { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #efeae2; color: #111b21; }
.wa-mock__bar { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; background: #075e54; color: #fff; }
.wa-mock__bar b { display: block; font-size: .95rem; }
.wa-mock__bar small { opacity: .8; font-size: .75rem; }
.wa-mock__avatar { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: #25d366; font-weight: 700; }
.wa-mock__log { display: flex; flex-direction: column; gap: .45rem; padding: 1rem; }
.wa { margin: 0; max-width: 85%; padding: .5rem .7rem 1.1rem; border-radius: 8px; font-size: .9rem; line-height: 1.4; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa time { position: absolute; right: .55rem; bottom: .25rem; font-size: .68rem; color: #667781; }
.wa--in { align-self: flex-start; background: #fff; }
.wa--out { align-self: flex-end; background: #d9fdd3; }
.wa__tag { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: #6b4fa8; margin-bottom: .15rem; }
.wa--photo { padding: .35rem; width: 11rem; }
.wa--photo span { display: grid; place-items: end start; height: 7.5rem; padding: .5rem; border-radius: 6px; font-size: .72rem; color: #fff; background: linear-gradient(135deg, #3b3f46, #1c1f24 70%); }
.wa-mock__handoff { align-self: center; margin: .3rem 0 0; padding: .3rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 600; background: #fff3c4; color: #5c4a00; }
.wa-mock figcaption { padding: .75rem 1rem; font-size: .8rem; color: var(--muted); background: var(--card); border-top: 1px solid var(--line); }
.ai-faq { max-width: 46rem; }
.ai-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; max-width: 52rem; }
@media (max-width: 60rem) { .ai-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 52rem) { .ai-hero__grid, .ai-split, .ai-caps { grid-template-columns: 1fr; } }
/* Scoped product identity: the company site keeps its own theme. */
.nizoai-site { --paper:#fbfafc; --card:#fff; --raised:#f1eef7; --ink:#201b30; --body:#504b60; --muted:#6d667c; --line:#e4dfec; --rule:#bbb2cc; --brand:#6740c4; --brand-ink:#512baf; --brand-wash:#f0eafa; --ai:#7046c8; background:var(--paper); }
.nizoai-site .shell { max-width:1240px; }
.nizoai-site h2 { font-size:clamp(2rem,3.8vw,3.25rem); line-height:1.16; letter-spacing:-.045em; }
.nizoai-site .eyebrow { font-size:.68rem; letter-spacing:.16em; color:var(--ai); }
.nizoai-site .btn { border-radius:9px; min-height:50px; padding:.85rem 1.25rem; font-size:.85rem; transition:transform .2s,background .2s,box-shadow .2s; }
.nizoai-site .btn:hover { transform:translateY(-2px); box-shadow:0 8px 22px #30135718; }
.nizoai-site .btn:focus-visible,.nizoai-site a:focus-visible,.nizoai-site summary:focus-visible { outline:3px solid #a289ea; outline-offset:5px; }
.nizoai-site .band { padding-block:clamp(4rem,8vw,7rem); }
.nizoai-site .band--sunk { background:#f3f0f8; }
.nizoai-site .band--wash { background:#ede7f8; }
.nizoai-site .panel { border-radius:18px; padding:1.8rem; box-shadow:none; }
.nizoai-site .ai-masthead { background:#12101df2; border-color:#ffffff14; color:#fff; backdrop-filter:blur(18px); }
.ai-masthead .wordmark { color:#fff; font-size:1.3rem; }
.ai-masthead .wordmark em { font-size:.7rem; color:#aaa3bc; }
.ai-masthead .wordmark .mark { color:#bb9cff; }
.ai-masthead .mainnav a { color:#c5bfd4; font-size:.8rem; }
.ai-masthead .mainnav a:hover { color:white; background:#ffffff0e; }
.ai-masthead .navcta { background:#ece4ff; color:#2a1947; border-radius:8px; }
.ai-masthead .navcta:hover { background:white; color:#24133b; }
.nizoai-site .ai-hero { position:relative; isolation:isolate; overflow:hidden; padding-block:clamp(4rem,8vw,7rem); background:#12101d; color:#c3bdd2; }
.ai-hero::before { content:""; position:absolute; z-index:-1; width:850px; height:750px; right:-180px; top:-120px; background:radial-gradient(ellipse,#7041b93b,transparent 65%); pointer-events:none; }
.nizoai-site .ai-hero__grid { grid-template-columns:1.1fr 1fr; align-items:center; gap:4rem; }
.ai-hero__copy { gap:1.65rem; }
.nizoai-site .ai-hero h1 { color:#fff; font-size:clamp(3.1rem,5.8vw,5.15rem); line-height:1.06; font-weight:600; letter-spacing:-.06em; }
.nizoai-site .ai-hero h1 span { color:#c2a0ff; }
.nizoai-site .ai-hero .eyebrow { color:#cbb5f2; display:flex; align-items:center; gap:.6rem; }
.nizoai-site .ai-hero .lede { color:#b7afc9; font-size:1.07rem; line-height:1.8; max-width:31rem; }
.ai-hero .btn--solid { background:#c9a7ff; color:#211130; border-color:#c9a7ff; }
.ai-hero .btn--solid:hover { background:#dac3ff; }
.ai-hero .btn--line { border-color:#635873; color:#ece7f6; background:transparent; }
.ai-hero__note { color:#a99fbb; font-size:.75rem; margin-top:-.65rem; }
.ai-hero__signals { display:flex; flex-wrap:wrap; gap:.6rem 1rem; padding-top:1.3rem; border-top:1px solid #ffffff16; font-size:.7rem; color:#c4bbd5; }
.ai-hero__signals span::before { content:"✓"; margin-right:.4rem; color:#c6a2ff; }
.ai-status { display:inline-block; width:6px; height:6px; flex-shrink:0; border-radius:50%; background:#b899f5; box-shadow:0 0 0 4px #b899f514; }
.ai-stage { position:relative; padding:1rem 0; }
.ai-orbit { position:absolute; width:115%; aspect-ratio:1; border:1px solid #b091ec18; border-radius:50%; left:-8%; top:-3%; z-index:-1; }
.ai-orbit::after { content:""; position:absolute; inset:25px; border:1px solid #b091ec12; border-radius:50%; }
.ai-stage__label { color:#c8bddc; font-size:.72rem; margin-bottom:1.3rem; display:flex; align-items:center; justify-content:center; gap:.65rem; }
.ai-preview { background:linear-gradient(135deg,#292337,#1d192a); border:1px solid #ffffff21; border-radius:20px; box-shadow:0 30px 90px #0005; overflow:hidden; transform:rotate(-2deg); }
.ai-preview__head { display:flex; align-items:center; gap:.7rem; padding:1.1rem; border-bottom:1px solid #ffffff12; }
.ai-avatar { width:39px; height:39px; background:#ba94f5; color:#28163d; border-radius:12px; display:inline-grid; place-items:center; font-size:1.5rem; flex-shrink:0; }
.ai-preview__head strong { display:block; font-size:.82rem; color:#f3edf9; }
.ai-preview__head small { display:block; color:#b5a9c8; font-size:.64rem; margin-top:.2rem; }
.ai-preview__badge { margin-left:auto; font-size:.6rem; padding:.25rem .5rem; color:#d4c2ef; border:1px solid #ffffff24; border-radius:5px; }
.ai-preview__messages { display:flex; flex-direction:column; gap:.85rem; padding:1.4rem; }
.ai-bubble { margin:0; font-size:.78rem; line-height:1.65; max-width:88%; padding:.8rem 1rem; border-radius:12px; }
.ai-bubble--customer { align-self:flex-end; background:#55436f; color:#f4edff; border-bottom-right-radius:3px; }
.ai-bubble--answer { background:#ffffff09; color:#e1d9ed; border:1px solid #ffffff0e; border-bottom-left-radius:3px; }
.ai-bubble b { display:block; font-size:.65rem; color:#c5a5f6; margin-bottom:.3rem; }
.ai-preview__handoff { font-size:.66rem; color:#acdfc8; text-align:center; padding:.25rem; }
.ai-preview__footer { color:#a89cb9; font-size:.6rem; text-align:center; padding:.8rem; border-top:1px solid #ffffff0c; }
.ai-stage__channels { display:flex; justify-content:center; gap:.6rem; margin-top:1.9rem; }
.ai-stage__channels span { padding:.5rem .8rem; font-size:.68rem; color:#d2c8e3; background:#211b2e; border:1px solid #ffffff1c; border-radius:30px; }
.ai-platforms { background:#191423; color:#c4b9d4; border-top:1px solid #ffffff0b; }
.ai-platforms .shell { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-block:1.5rem; font-size:.75rem; }
.ai-platforms p { color:#92869f; font-size:.7rem; }
.ai-accent { color:var(--ai); }
.ai-text-link { color:var(--ai); font-weight:700; font-size:.9rem; }
.nizoai-site .ai-split > * { min-width:0; }
.nizoai-site .ai-split { align-items:center; gap:clamp(2rem,5vw,5rem); }
.ai-ask .nai-page__card { box-shadow:0 18px 60px #4527770d; border-radius:18px; border:1px solid #ded3ef; padding:1.75rem; }
.nizoai-site .nai-page__row { flex-wrap:wrap; }
.nizoai-site .nai-page__row input { min-width:0; flex:1 1 180px; }
.nizoai-site .nai-page__row .btn { flex-shrink:0; }
.nizoai-site .nai-page__prompts button { font-size:.74rem; border-color:#ded3ef; color:#674896; }
.ai-caps .panel { transition:transform .25s,border-color .25s,box-shadow .25s; }
.ai-caps .panel:hover { transform:translateY(-5px); border-color:#bba0e5; box-shadow:0 15px 35px #49257b0a; }
.ai-caps__n { width:38px; height:38px; background:#efe7fa; border-radius:12px; display:grid; place-items:center; margin-bottom:1.1rem; }
.ai-caps h3 { font-size:1.08rem; }
.ai-caps .panel p { font-size:.88rem; line-height:1.8; }
.nizoai-site .wa-mock { border-radius:20px; box-shadow:0 24px 60px #28144812; }
.nizoai-site .ai-code { padding:1.8rem; font-size:.72rem; line-height:1.9; border-radius:18px; box-shadow:0 25px 50px #29184014; }
.ai-browser { border:1px solid #d9cde9; border-radius:18px; background:#fff; box-shadow:0 24px 70px #54367814; overflow:hidden; }
.ai-browser__bar { padding:1rem; background:#f6f3fa; border-bottom:1px solid #ebe3f5; color:#776889; font-size:.65rem; display:flex; gap:3rem; }
.ai-browser__bar span { color:#c4b7d8; letter-spacing:.15em; }
.ai-browser__body { padding:2rem; }
.ai-browser h3 { font-size:1.9rem; line-height:1.2; margin-top:.8rem; letter-spacing:-.04em; }
.ai-browser__lines { width:75%; height:28px; margin:1.2rem 0 2rem; background:linear-gradient(#eee8f4 0 7px,transparent 7px 17px,#eee8f4 17px 24px,transparent 24px); }
.ai-browser__chat { display:flex; gap:.8rem; padding:1.3rem; border:1px solid #dbcaef; border-radius:14px; background:#faf7ff; margin-left:1rem; box-shadow:0 10px 30px #744cbd12; }
.ai-browser__chat b { font-size:.88rem; }
.ai-browser__chat p { font-size:.77rem; margin:.4rem 0 1rem; }
.ai-browser__prompt { display:block; background:white; border:1px solid #e3d9ee; border-radius:6px; padding:.7rem; font-size:.68rem; }
.ai-browser__prompt span { float:right; }
.ai-browser__body > small { display:block; margin-top:1.3rem; font-size:.6rem; color:#81728f; }
.nizoai-site .service-faq { border-bottom:1px solid var(--line); padding-block:1rem; }
.nizoai-site #contact { text-align:center; background:radial-gradient(ellipse at top,#3a2552,#15101e 75%); color:#c6b8d5; }
.nizoai-site #contact h2 { color:#f4edff; }
.nizoai-site #contact .eyebrow { color:#c6a2ff; }
.nizoai-site #contact .narrow { margin-inline:auto; max-width:48rem; }
.nizoai-site #contact .ai-contact { margin-inline:auto; width:100%; }
.nizoai-site #contact .panel { background:#ffffff05; border-color:#ffffff20; color:#d5c7e3; }
.nizoai-site #contact h3,.nizoai-site #contact a { color:#e1cef7; }
.nizoai-site #contact .btnrow { justify-content:center; }
.nizoai-site #contact .btn--solid { background:#c5a0f3; color:#251034; }
.nizoai-site #contact .btn--line { border-color:#766283; }
.nizoai-site .foot { --foot-bg:#100c17; --foot-ink:#b7a9c9; --foot-link:#dfd3ec; --foot-label:#ab96bd; --foot-line:#2d213b; }
@keyframes ai-message { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes ai-orbit-in { from { opacity:0; transform:scale(.85); } to { opacity:1; transform:scale(1); } }
@media (prefers-reduced-motion:no-preference) {
 .ai-conversation-play .ai-bubble,.ai-conversation-play .ai-preview__handoff { animation:ai-message .7s both; }
 .ai-bubble:nth-child(2) { animation-delay:.45s; } .ai-bubble:nth-child(3) { animation-delay:.9s; } .ai-bubble:nth-child(4) { animation-delay:1.35s; } .ai-preview__handoff { animation-delay:1.8s; }
 .ai-orbit { animation:ai-orbit-in 2s ease both; }
 .ai-hero__copy { animation:ai-message .8s ease both; }
}
@media(max-width:65rem) { .nizoai-site .ai-hero__grid { gap:2rem; } .ai-masthead .mainnav { justify-content:center; } }
@media(max-width:52rem) { .nizoai-site .ai-hero__grid { grid-template-columns:1fr; gap:3rem; } .ai-hero__copy { max-width:37rem; } .ai-stage { max-width:31rem; width:100%; margin-inline:auto; } .ai-platforms .shell { flex-wrap:wrap; justify-content:center; text-align:center; } .ai-platforms p { width:100%; } .ai-platforms span { font-size:.65rem; } .ai-masthead .wordmark em { display:none; } .ai-browser__body { padding:1.4rem; } }
@media(max-width:30rem) { .nizoai-site .ai-hero h1 { font-size:3.05rem; } .ai-masthead .mainnav { gap:0; flex-wrap:nowrap; justify-content:space-between; } .ai-masthead .mainnav a { font-size:.64rem; padding:.5rem .2rem; } .ai-masthead .mainnav a:last-child { display:none; } .ai-preview { transform:none; } .ai-preview__messages { padding:1rem; } .ai-stage__channels span { font-size:.62rem; padding:.5rem .65rem; } .ai-ask .nai-page__card { padding:1rem; } .ai-browser__chat { margin-left:0; padding:1rem; } .nizoai-site .ai-code { padding:1rem; } }


/* Ambient motion runs only while the preview is in view. */
.ai-motion-controls { display:flex; justify-content:center; gap:1rem; margin-top:1rem; }
.ai-motion-controls[hidden] { display:none; }
.ai-motion-controls button { background:transparent; border:0; color:#c8b9db; font:inherit; font-size:.68rem; min-height:44px; cursor:pointer; padding:.5rem; text-decoration:underline; text-underline-offset:4px; }
.ai-motion-controls button:hover { color:#fff; }
.ai-orbit::before { content:""; position:absolute; width:10px; height:10px; border-radius:50%; background:#c9a7ff; left:50%; top:-5px; box-shadow:0 0 24px 5px #b38bea66; }
@keyframes ai-orbit-turn { to { transform:rotate(360deg); } }
@keyframes ai-float { 0%,100% { translate:0 0; } 50% { translate:0 -10px; } }
@keyframes ai-glow { 0%,100% { opacity:.45; scale:.85; } 50% { opacity:1; scale:1.25; } }
@keyframes ai-channel-in { from { opacity:0; transform:translateY(14px) scale(.95); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:no-preference) {
 .ai-motion-live .ai-preview { animation:ai-float 7s ease-in-out infinite; }
 .ai-motion-live .ai-orbit { animation:ai-orbit-turn 35s linear infinite; }
 .ai-motion-live .ai-status { animation:ai-glow 3s ease-in-out infinite; }
 .ai-conversation-play .ai-stage__channels span { animation:ai-channel-in .7s both; }
 .ai-conversation-play .ai-stage__channels span:nth-child(2) { animation-delay:.15s; }
 .ai-conversation-play .ai-stage__channels span:nth-child(3) { animation-delay:.3s; }
 .nizoai-site .ai-caps .panel.revealed:nth-child(3n+2) { animation-delay:.12s; }
 .nizoai-site .ai-caps .panel.revealed:nth-child(3n) { animation-delay:.24s; }
 .ai-split.revealed .wa { animation:ai-message .7s both; }
 .ai-split.revealed .wa:nth-child(2) { animation-delay:.2s; }
 .ai-split.revealed .wa:nth-child(3) { animation-delay:.4s; }
 .ai-split.revealed .wa:nth-child(4) { animation-delay:.6s; }
 .ai-split.revealed .wa:nth-child(5) { animation-delay:.8s; }
 .ai-split.revealed .ai-browser__chat { animation:ai-message .9s .3s both; }
 .nizoai-site .btn span { display:inline-block; transition:transform .25s; }
 .nizoai-site .btn:hover span { transform:translate(3px,-2px); }
}
.nizoai-site.ai-motion-paused *, .nizoai-site.ai-motion-paused *::before, .nizoai-site.ai-motion-paused *::after { animation-play-state:paused !important; }
@media(prefers-reduced-motion:reduce) { .ai-motion-controls { display:none; } }

/* ---- NizoEdu site ---- */
/* ---- NizoEdu site ---- */
.nizoedu-site { --brand:#1d4ed8; --brand-ink:#1a3fa8; --brand-wash:#e8eefc; --paper:#fbfcfe; --raised:#eef2fa; --line:#dde4f2; --rule:#b9c5df; --ink:#101a33; --body:#35425f; --muted:#5b6785; --edu:#1d4ed8; --accent2:#b45309; background:var(--paper); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nizoedu-site { --brand:#7aa2ff; --brand-ink:#a3bfff; --brand-wash:#142243; --paper:#0b1120; --card:#111a30; --raised:#162240; --line:#223055; --rule:#33456f; --ink:#e8eefc; --body:#bcc8e6; --muted:#8c9bc2; --edu:#7aa2ff; --accent2:#f0a35e; } }
:root[data-theme="dark"] .nizoedu-site { --brand:#7aa2ff; --brand-ink:#a3bfff; --brand-wash:#142243; --paper:#0b1120; --card:#111a30; --raised:#162240; --line:#223055; --rule:#33456f; --ink:#e8eefc; --body:#bcc8e6; --muted:#8c9bc2; --edu:#7aa2ff; --accent2:#f0a35e; }
.nizoedu-site .foot { --foot-bg:#0b1226; --foot-ink:#aab8dc; --foot-link:#dbe5ff; --foot-label:#8497c6; --foot-line:#1e2b4d; }
.wordmark--edu .mark { color: var(--brand); width: 1.5rem; height: 1.5rem; }
.edu-hero { padding-block: clamp(3rem, 7vw, 5.5rem); background: linear-gradient(180deg, var(--brand-wash), transparent 90%); }
.edu-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.edu-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.045em; color: var(--ink); max-width: 16ch; }
.edu-hero h1 span { color: var(--brand); }
.edu-hero .lede { max-width: 36rem; }
.edu-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: .4rem; }
.edu-actions .textlink { font-weight: 600; font-size: .9375rem; padding: .6rem .2rem; }
.edu-note { font-size: .8125rem; color: var(--muted); max-width: 34rem; }
.edu-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; box-shadow: var(--shadow); }
.edu-card h2 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: .8rem; }
.edu-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.edu-card li { display: grid; grid-template-columns: 1.9rem 1fr; gap: .1rem .7rem; align-items: start; font-size: .9375rem; }
.edu-card li b { display: block; color: var(--ink); }
.edu-n { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--mono); font-size: .8rem; font-weight: 600; }
.edu-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.edu-modules .panel { display: flex; flex-direction: column; gap: .45rem; border-radius: 14px; }
.edu-modules .panel h3 { font-size: 1.05rem; }
.edu-modules .panel .tag { align-self: flex-start; }
.edu-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.edu-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: edu; }
.edu-steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .2rem 1rem; }
.edu-steps li::before { counter-increment: edu; content: counter(edu); grid-row: span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--mono); font-weight: 600; }
.edu-steps h3 { font-size: 1.1rem; }
.edu-steps p { grid-column: 2; font-size: .9375rem; }
.edu-phone { max-width: 19rem; margin-inline: auto; border: 1px solid var(--line); border-radius: 26px; padding: 1.1rem 1rem; background: var(--card); box-shadow: var(--shadow); }
.edu-phone b { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.edu-phone div { border-top: 1px solid var(--line); padding: .6rem 0; font-size: .9rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--body); }
.edu-phone div span:last-child { color: var(--ink); font-weight: 600; }
.form-status--ok { color: var(--brand); font-weight: 600; }
.form-status--bad { color: var(--signal); font-weight: 600; }
.nizoedu-site .btn:focus-visible, .nizoedu-site a:focus-visible, .nizoedu-site summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.nizoedu-site .field label { font-size: .875rem; }
.nizoedu-site .mainnav { flex-wrap: wrap; }
/* Sign in sits beside the Register button, outside the scrolling nav strip, so a phone always shows it. */
.edu-masthead .signin { flex: none; font-family: var(--display); font-size: .875rem; font-weight: 600; color: var(--brand); text-decoration: none; padding: .5rem .85rem; border: 1.5px solid var(--brand); border-radius: 8px; min-height: 2.5rem; display: inline-flex; align-items: center; }
.edu-masthead .signin:hover { background: var(--brand-wash); }
@media (max-width: 52rem) { .edu-masthead .signin { margin-left: auto; } .edu-masthead .navcta { margin-left: 0; } }
/* Motion: hero entrance, scroll reveals with stagger, gentle hovers. All of it is off under reduced-motion. */
@keyframes edu-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes edu-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes edu-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes edu-glow { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.12); opacity: .85; } }
@media (prefers-reduced-motion: no-preference) {
  .edu-hero { position: relative; overflow: hidden; }
  .edu-hero::before { content: ""; position: absolute; width: 34rem; height: 34rem; right: -10rem; top: -12rem; border-radius: 50%; background: radial-gradient(circle, var(--brand-wash), transparent 68%); animation: edu-glow 7s ease-in-out infinite; pointer-events: none; }
  .edu-hero__grid { position: relative; }
  .edu-hero .eyebrow { animation: edu-rise .6s both; }
  .edu-hero h1 { animation: edu-rise .7s .08s both; }
  .edu-hero .lede { animation: edu-rise .7s .18s both; }
  .edu-hero .edu-actions { animation: edu-rise .7s .28s both; }
  .edu-hero .edu-note { animation: edu-rise .7s .36s both; }
  .edu-card { animation: edu-rise .85s .2s both, edu-float 6s 1.2s ease-in-out infinite; }
  .edu-card li { animation: edu-rise .6s both; }
  .edu-card li:nth-child(1) { animation-delay: .55s; } .edu-card li:nth-child(2) { animation-delay: .7s; } .edu-card li:nth-child(3) { animation-delay: .85s; }
  .edu-card li:nth-child(4) { animation-delay: 1s; } .edu-card li:nth-child(5) { animation-delay: 1.15s; }
  .edu-n, .edu-steps li::before { animation: edu-pop .5s .5s cubic-bezier(.3, 1.6, .5, 1) both; }
  .wordmark--edu .mark { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
  .wordmark--edu:hover .mark { transform: rotate(-12deg) scale(1.15); }
  /* Hidden until scrolled into view; the shared observer adds .revealed. */
  .nizoedu-site .reveal:not(.revealed) { opacity: 0; }
  .nizoedu-site .reveal.revealed { animation: edu-rise .7s ease both; }
  .edu-modules .panel:nth-child(3n+2).revealed, .edu-steps li:nth-child(2).revealed { animation-delay: .1s; }
  .edu-modules .panel:nth-child(3n).revealed, .edu-steps li:nth-child(3).revealed { animation-delay: .2s; }
  .edu-steps li:nth-child(4).revealed { animation-delay: .3s; }
  .edu-modules .panel, .edu-phone { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .edu-modules .panel:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: var(--shadow); }
  .edu-phone:hover { transform: translateY(-4px) rotate(-.6deg); }
  .nizoedu-site .btn--solid:hover, .edu-masthead .navcta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--brand); }
}
@media (max-width: 52rem) { .edu-hero__grid, .edu-split { grid-template-columns: 1fr; } .edu-masthead .wordmark em { display: none; } }

/* ---- WhatsApp button ---- */
.wa-float {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 39;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-size: .9375rem; font-weight: 600;
  background: #1f8f4e; color: #fff; text-decoration: none;
  border-radius: 999px; padding: .65rem 1.05rem .65rem .8rem;
  box-shadow: var(--shadow);
}
.wa-float:hover, .wa-float:focus-visible { background: #17703c; color: #fff; }
@media (max-width: 30rem) {
  .wa-float { left: .6rem; bottom: .6rem; padding: .7rem; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* The NizoAI widget stretches edge to edge on phones; let taps reach the
     WhatsApp button through its empty part. */
  .nai { pointer-events: none; }
  .nai > * { pointer-events: auto; }
}
@media print { .wa-float { display: none; } }
