/* ═══════════════════════════════════════════════════════════
   Nico: the home page sections, the stream graph, the chat button and the
   small-page character. Ported from the approved mockup
   (brand/nico, "Nico home"), with every class prefixed nh- so nothing
   here collides with styles.css. Colours read the site tokens where one
   exists; the few Nico-only tints live on .nh and on :root below.
   Nico's own animation is nico-moods.css (generated).
   ═══════════════════════════════════════════════════════════ */
:root {
  --nh-surface: var(--card-solid);
  --nh-soft: #DCF1E8;          /* teal tint: the "with" column, eyebrow */
  --nh-art: #FDEBDD;           /* ginger tint behind Nico */
  --nh-em: #B4531F;            /* the ginger accent words */
  --nh-ph-bg: #FDE7D4; --nh-ph-ink: #9A4321;   /* placeholders */
  --nh-no-bg: #FBE1CF; --nh-no-ink: #9A4321;   /* the "without" crosses */
  --nh-line-on-soft: #BDE3D2;
  --nh-band: #1F2A28; --nh-band-ink: #FFF6EE; --nh-band-btn: #E3803F; --nh-band-btn-ink: #24180F;
  --nh-note: #FDF3EA;
  --nh-radius: 16px; --nh-radius-btn: 12px;
}
:root[data-theme='dark'] {
  --nh-soft: rgba(20,150,122,.18);
  --nh-art: #3A2B22;
  --nh-em: #F6AD6A;
  --nh-ph-bg: #4A2A20; --nh-ph-ink: #F6AD6A;
  --nh-no-bg: #4A2A20; --nh-no-ink: #F6AD6A;
  --nh-line-on-soft: rgba(125,227,196,.25);
  --nh-band: #26332F;
  --nh-note: #2F2520;
}

.nh { font-size: 18px; line-height: 1.6; }
.nh h1, .nh h2, .nh h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.nh-wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.nh section { padding: 76px 0; }
.nh .nh-alt { background: var(--nh-surface); border-block: 1px solid var(--line); }
.nh-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.nh-head h2 { font-size: 40px; }
.nh-head p { margin-top: 12px; font-size: 19px; }

/* buttons */
.nh-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; border-radius: var(--nh-radius-btn); padding: 14px 24px; border: 2px solid transparent; transition: transform .15s; }
.nh-btn:hover { transform: translateY(-1px); }
.nh-btn svg { width: 18px; height: 18px; }
.nh-btn-main { background: var(--accent); color: var(--on-accent); }
.nh-btn-line { border-color: currentColor; background: transparent; }

/* hero */
.nh .nh-hero { padding: clamp(6.5rem, 5rem + 4vh, 8.5rem) 0 64px; }
.nh-hero .nh-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.nh-eyebrow { display: inline-block; font-size: 15px; font-weight: 700; color: var(--accent-text); background: var(--nh-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.nh-hero h1 { font-size: 60px; }
.nh-hero h1 em { font-style: normal; color: var(--nh-em); display: block; }
.nh-lead { font-size: 21px; margin: 22px 0 32px; max-width: calc(34 * var(--ch)); }
.nh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.nh-reassure { margin-top: 26px; font-size: 15px; color: var(--soft); display: flex; gap: 18px; flex-wrap: wrap; list-style: none; padding: 0; }
.nh-reassure li::before { content: "✓ "; color: var(--accent-text); font-weight: 800; }
.nh-hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 470px; padding-top: 56px; }
.nh-hero-art::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: var(--nh-art); bottom: 4%; left: 7%; }
.nh-hero-art .nico { position: relative; height: 410px; width: auto; }
.nh-hero-art .nico .float, .nh-hero-art .nico .ear, .nh-hero-art .nico .shadow { animation-duration: 6s !important; }
.nh-bubble { position: absolute; top: 0; right: 0; background: var(--nh-surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 16px; font-size: 15px; font-weight: 700; box-shadow: 0 6px 18px rgba(40,30,20,.08); }

/* the big three */
.nh .nh-bigthree { padding: 8px 0 72px; }
.nh-big-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nh-big { background: var(--nh-surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px 28px; min-width: 0; }
.nh-big-art { background: var(--nh-art); border-radius: 16px; height: 200px; display: flex; justify-content: center; align-items: center; padding: 10px; margin-bottom: 18px; }
.nh-big-art .nico { height: 100%; width: auto; }
.nh-big h3 { font-size: 26px; margin-bottom: 8px; }
.nh-big p { font-size: 18px; line-height: 1.5; }
.nh-works { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 26px; font-size: 16px; color: var(--soft); font-weight: 600; text-align: center; }
.nh-works ul { display: contents; list-style: none; }
.nh-works li { padding: 4px 12px; border-radius: 999px; background: var(--nh-surface); border: 1px solid var(--line); color: var(--ink); font-weight: 650; }
.nh-works-label { font-weight: 800; color: var(--ink); }
.nh-works-more { flex-basis: 100%; font-weight: 600; }
.nh-comeback { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px 22px; border-radius: var(--nh-radius); background: var(--nh-soft); border: 1px solid var(--nh-line-on-soft); }
.nh-comeback p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--ink); }
.nh-comeback-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.nh-comeback-ico svg { width: 20px; height: 20px; }

/* how it works: the stream */
.nh-graph { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px 24px; max-width: 1100px; margin: 0 auto; }
.nh-step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--nh-radius); padding: 28px; position: relative; }
.nh-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-family: var(--font-display); margin-bottom: 16px; }
.nh-step h3 { font-size: 23px; margin-bottom: 8px; padding-right: 84px; }
.nh-step p { font-size: 17px; }
.nh-ping { max-width: 1100px; margin: 22px auto 0; }
.nh-ping .nh-note-art { position: absolute; top: 20px; right: 18px; height: 64px; width: auto; }
.nh-notecard { margin-top: 14px; background: var(--nh-surface); border: 1px dashed var(--card-border-2); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.nh-foot { text-align: center; font-size: 14px; color: var(--soft); margin: 14px 0 0; }

/* what we handle */
.nh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nh-card { background: var(--nh-surface); border: 1px solid var(--line); border-radius: var(--nh-radius); display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 24px; min-width: 0; }
.nh-card-art { width: 100%; height: 150px; padding: 8px; display: flex; justify-content: center; border-radius: 14px; background: var(--nh-art); }
.nh-card-art .nico { width: auto; height: 100%; }
.nh-card h3 { font-size: 21px; margin-bottom: 4px; }
.nh-card p { font-size: 16px; line-height: 1.5; }

/* without / with */
.nh-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.nh-col { border-radius: var(--nh-radius); padding: 30px; border: 1px solid var(--line); min-width: 0; }
.nh-col h3 { font-size: 22px; margin-bottom: 16px; }
.nh-col ul { list-style: none; padding: 0; }
.nh-col li { padding: 10px 0; padding-inline-start: 34px; position: relative; font-size: 17px; border-top: 1px solid var(--line); }
.nh-col li:first-child { border-top: 0; }
.nh-col li::before { position: absolute; inset-inline-start: 0; top: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.nh-without { background: var(--bg); }
.nh-without li::before { content: "✕"; background: var(--nh-no-bg); color: var(--nh-no-ink); }
.nh-with { background: var(--nh-soft); border-color: transparent; }
.nh-with h3 { color: var(--accent-text); }
.nh-with li { border-color: var(--nh-line-on-soft); }
.nh-with li::before { content: "✓"; background: var(--accent); color: var(--on-accent); }

/* plans + set up */
.nh-price { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.nh-price > * { min-width: 0; }
.nh-pricebox, .nh-setup { background: var(--nh-surface); border: 1px solid var(--line); border-radius: var(--nh-radius); padding: 36px; }
.nh-tag { font-size: 15px; font-weight: 700; color: var(--soft); }
.nh-amount { font-family: var(--font-display); font-size: 36px; line-height: 1.15; color: var(--ink); font-weight: 800; margin: 8px 0 8px; }
.nh-pricebox ul { margin: 18px 0 26px; list-style: none; padding: 0; }
.nh-pricebox li { padding: 5px 0; padding-inline-start: 28px; position: relative; font-size: 17px; }
.nh-pricebox li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent-text); font-weight: 800; }
.nh-setup h3 { font-size: 24px; margin-bottom: 12px; }
.nh-setup ol { margin: 0; padding-inline-start: 22px; display: grid; gap: 10px; font-size: 17px; }
.nh-setup-note { margin-top: 18px; font-size: 15px; color: var(--soft); background: var(--nh-note); border-radius: 10px; padding: 10px 12px; }

/* talk to a person */
.nh-person { background: var(--nh-band); color: var(--nh-band-ink); border-radius: var(--nh-radius); padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.nh-person h2 { color: var(--nh-band-ink); font-size: 32px; }
.nh-person p { margin-top: 6px; font-size: 18px; opacity: .9; }
.nh-person .nh-btn-main { background: var(--nh-band-btn); color: var(--nh-band-btn-ink); }
.nh-person .nh-btn-line { color: var(--nh-band-ink); }
.nh-person .nh-actions { gap: 12px; }

/* screen-reader only */
.nh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The Vendasta web chat: "Chat with Nico" stands in for its round launcher.
   Closed, the widget's iframe is only that launcher, so it is hidden; open,
   our button steps aside (public/js/nico.js sets the two classes). */
html.vc-closed iframe[id^="webchat-floating-iframe-"] { visibility: hidden !important; pointer-events: none !important; }
/* the widget's page is light; matching that keeps its iframe see-through on our dark theme */
iframe[id^="webchat-floating-iframe-"] { color-scheme: light; }
html.vc-open .chatbtn { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* the header call button (every page) */
.nav .btn-call { gap: .45rem; }
.nav .btn-call svg { width: 16px; height: 16px; }
@media (max-width: 940px) {
  .nav .btn-call { display: inline-flex; padding: .55rem .85rem; }
  .nav .btn-call .pn { display: none; }
}
@media (max-width: 940px) { .nav .lang { display: none; } }   /* phones/tablets: languages live in the hamburger menu */

/* "Chat with Nico" (every page): he waits, a little bored, and perks up now and then */
.chatbtn { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 95; display: flex; align-items: center; gap: 10px; background: #0F6B57; color: #fff; border: 0; border-radius: 999px; padding: 6px 18px 6px 6px; font: 700 16px var(--font-display); box-shadow: 0 8px 24px rgba(20,40,35,.25); cursor: pointer; transition: opacity .3s, transform .3s; }
[dir='rtl'] .chatbtn { padding: 6px 6px 6px 18px; }
.chatbtn:hover { transform: translateY(-2px); }
.chathead { width: 52px; height: 52px; border-radius: 50%; background: #FDEBDD; overflow: hidden; display: block; flex: none; }
.chathead .nico { width: 64px; height: auto; margin: -1px 0 0 -6px; }
.footer { padding-bottom: 84px; }

/* 404 and thank-you: Nico above the message */
.page-bot { display: block; width: 180px; margin: 0 auto 1rem; }
.page-bot .nico { width: 100%; height: auto; }

@media (max-width: 960px) {
  .nh-hero h1 { font-size: 46px; }
  .nh-cards { grid-template-columns: 1fr 1fr; }
  .nh-big-grid { grid-template-columns: 1fr; }
  .nh-big-art { height: 180px; }
}
@media (max-width: 720px) {
  .nh { font-size: 17px; }
  .nh-wrap { padding: 0 18px; }
  .nh .nh-hero { padding: 84px 0 48px; }
  .nh-hero .nh-wrap { grid-template-columns: 1fr; gap: 8px; }
  .nh-hero-art { order: -1; min-height: 0; height: 230px; padding-top: 34px; }
  .nh-hero-art .nico { height: 210px; }
  .nh-hero-art::before { width: 200px; left: calc(50% - 100px); bottom: 0; }
  .nh-bubble { top: 6px; right: 0; font-size: 13px; padding: 7px 12px; }
  .nh-hero h1 { font-size: 36px; }
  .nh-lead { font-size: 18px; margin: 14px 0 22px; }
  .nh-eyebrow { margin-bottom: 12px; font-size: 14px; }
  .nh section { padding: 56px 0; }
  .nh-head h2 { font-size: 30px; }
  .nh-cards, .nh-compare, .nh-price { grid-template-columns: 1fr; }
  .nh-card-art { height: 140px; }
  .nh-big h3 { font-size: 23px; } .nh-big p { font-size: 17px; }
  .nh-graph { padding: 12px 8px; }
  .nh-person { padding: 30px 24px; }
  .nh-person h2 { font-size: 26px; }
  .nh-amount { font-size: 28px; }
  .nh-pricebox, .nh-setup { padding: 26px 22px; }
  .chatlabel { display: none; }
  .chatbtn, [dir='rtl'] .chatbtn { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .nh *, .chatbtn { transition: none !important; }
}

/* ── How it works: the flow graph (views/partials/flow.ejs, public/js/nico-flow.js) ──
   The live site's canvas in Nico's colours: teal where messages come in,
   ginger where the work goes out, glowing pulses on the live wires. */
:root { --fl-in: #0F6B57; --fl-mid: #14967A; --fl-out: #E3803F; --fl-wire: rgba(15,107,87,.16); --fl-node: #FFFDF9; --fl-lit-in: #DCF1E8; --fl-lit-out: #FDEBDD; --fl-out-ink: #9A4321; }
:root[data-theme='dark'] { --fl-in: #7DE3C4; --fl-mid: #3FC2A0; --fl-out: #F6AD6A; --fl-wire: rgba(125,227,196,.14); --fl-node: #2A2522; --fl-lit-in: rgba(20,150,122,.24); --fl-lit-out: rgba(227,128,63,.22); --fl-out-ink: #F6AD6A; }
.fl { position: relative; }
/* (the caption now heads the panel) */
.fl-cap { display: none; font-size: 14px; font-weight: 700; color: var(--soft); border: 1px dashed var(--card-border-2); border-radius: 999px; padding: 3px 14px; margin: 4px 0 6px; background: var(--nh-surface); }
.fl-canvas { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 240px) minmax(0, 1.12fr); column-gap: clamp(60px, 9vw, 120px); align-items: center; padding: 8px 4px 4px; }
.fl-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fl-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px; }
.fl-head { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 0 0 2px; }
.fl-node { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 14px 6px 6px; border-radius: 14px; background: var(--fl-node); border: 1.5px solid var(--line); color: var(--ink); transition: background .35s, border-color .35s, box-shadow .35s, transform .35s; }
.fl-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg); color: var(--soft); transition: background .35s, color .35s; }
.fl-ico svg { width: 19px; height: 19px; }
.fl-label { font-size: 17px; font-weight: 650; line-height: 1.2; }
.fl-time { margin-inline-start: auto; font-size: 13px; font-weight: 700; color: var(--fl-in); white-space: nowrap; }
.fl-node-in.is-lit { background: var(--fl-lit-in); border-color: var(--fl-in); box-shadow: 0 0 0 4px rgba(20,150,122,.12); }
.fl-node-in.is-lit .fl-ico { background: var(--fl-in); color: var(--fl-node); }
.fl-node-out.is-lit { background: var(--fl-lit-out); border-color: var(--fl-out); box-shadow: 0 0 0 4px rgba(227,128,63,.14); }
.fl-node-out.is-lit .fl-ico { background: var(--fl-out); color: #24180F; }
.fl-node.is-ringing { animation: fl-ring 1s ease-in-out infinite; }
.fl-node.is-ringing .fl-ico { animation: fl-shake .5s ease-in-out infinite; }
@keyframes fl-ring { 0%, 100% { box-shadow: 0 0 0 3px rgba(20,150,122,.18); } 50% { box-shadow: 0 0 0 10px rgba(20,150,122,0); } }
@keyframes fl-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

.fl-mid { align-items: center; }
.fl-hub { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 12px 16px; width: 100%; border-radius: 24px; background: var(--fl-node); border: 1.5px solid var(--line); transition: border-color .4s, box-shadow .4s; }
.fl-hub.is-active { border-color: var(--fl-mid); box-shadow: 0 0 0 6px rgba(20,150,122,.10), 0 0 40px rgba(227,128,63,.18); }
.fl-nico { position: relative; display: block; width: 100%; max-width: 190px; aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--nh-art) 60%, transparent 61%); }
.fl-nico .fl-st { position: absolute; inset: 4%; width: 92%; height: 92%; display: none; }
.fl[data-mood='listening'] .fl-st-listening, .fl[data-mood='thinking'] .fl-st-thinking, .fl[data-mood='call'] .fl-st-call,
.fl[data-mood='texting'] .fl-st-texting, .fl[data-mood='laptop'] .fl-st-laptop, .fl[data-mood='happy'] .fl-st-happy,
.fl[data-mood='idle'] .fl-st-idle, .fl[data-mood='night'] .fl-st-night { display: block; }
.fl-hub { position: relative; overflow: hidden; isolation: isolate; }
.fl-hub > :not(.fl-sky) { position: relative; z-index: 1; }
.fl-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease; background: radial-gradient(120% 90% at 70% 0%, #2B4C8C 0%, #18295A 55%, #0E1838 100%); }
.fl.is-night .fl-sky { opacity: 1; }
/* One night scene only: the card's sky. In the flow the night art drops its own
   dark square, moon and stars, and the peach circle fades out, so Nico sits on the sky. */
.fl-nico .fl-st-night .night { display: none; }
.fl-nico { transition: background-color .9s ease, opacity .9s; }
.fl.is-night .fl-nico { background: transparent; }
.fl-moon { position: absolute; top: 10px; inset-inline-end: 14px; width: 22px; height: 22px; border-radius: 50%; background: #FFF3C4; box-shadow: 0 0 14px 3px rgba(255,236,170,.45); }
.fl-moon::after { content: ''; position: absolute; top: -3px; left: 7px; width: 20px; height: 20px; border-radius: 50%; background: #213A73; }
.fl-star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #FFF; opacity: .85; animation: fl-twinkle 3s ease-in-out infinite; }
.fl-star:nth-child(2) { top: 18%; left: 14%; } .fl-star:nth-child(3) { top: 42%; left: 8%; animation-delay: .8s; }
.fl-star:nth-child(4) { top: 12%; left: 46%; width: 2px; height: 2px; animation-delay: 1.6s; } .fl-star:nth-child(5) { top: 58%; right: 10%; animation-delay: 2.2s; }
.fl-star:nth-child(6) { bottom: 14%; left: 22%; width: 2px; height: 2px; animation-delay: 1.2s; }
@keyframes fl-twinkle { 50% { opacity: .3; } }
.fl-hub .fl-name, .fl-hub .fl-sub { transition: color .9s ease; }
.fl.is-night .fl-hub { border-color: #2B4C8C; }
.fl.is-night .fl-hub .fl-name { color: #F4F1FF; } .fl.is-night .fl-hub .fl-sub { color: #C9D4F2; }
@media (prefers-reduced-motion: reduce) { .fl-star { animation: none; } .fl-sky, .fl-hub .fl-name, .fl-hub .fl-sub { transition: opacity 1.2s linear, color 1.2s linear; } }
.fl-hub-txt { display: flex; flex-direction: column; align-items: center; }
.fl-name { font-family: var(--font-display); font-size: 24px; margin-top: 6px; color: var(--ink); }
.fl-sub { font-size: 15px; font-weight: 650; color: var(--soft); min-height: 1.3em; }
.fl-sub.is-working { color: var(--fl-out-ink); }

/* the wires */
.fl-edge { fill: none; stroke: var(--fl-wire); stroke-width: 2; }
.fl-glowline, .fl-spark { fill: none; stroke: url(#fl-grad); opacity: 0; transition: opacity .4s; }
.fl-glowline { stroke-width: 3; filter: url(#fl-glow); }
.fl-spark { stroke-width: 2; stroke-dasharray: 2 14; stroke-linecap: round; animation: fl-flow 1.2s linear infinite; }
.fl-wire.is-live .fl-glowline { opacity: .9; }
.fl-wire.is-live .fl-spark { opacity: .9; stroke: #fff; }
:root[data-theme='dark'] .fl-wire.is-live .fl-spark { stroke: #FFF6EE; opacity: .7; }
@keyframes fl-flow { to { stroke-dashoffset: -32; } }
.fl-g1 { stop-color: var(--fl-in); } .fl-g2 { stop-color: var(--fl-mid); } .fl-g3 { stop-color: var(--fl-out); }
.fl-pulse { fill: var(--fl-out); filter: url(#fl-glow); }
.fl-pulse-trail { fill: var(--fl-mid); opacity: .7; }

/* graph + example-conversation panel, side by side on wide screens (as on the live site) */
.nh-graph:has(.fl) { max-width: none; }
.fl-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 26px; align-items: stretch; }
.fl-canvas { column-gap: clamp(48px, 5.5vw, 84px); grid-template-columns: minmax(0, 1fr) minmax(170px, 210px) minmax(0, 1.12fr); }
.fl-node { position: relative; }

/* the small cards that ride the wires, and the banner on a channel as it arrives */
.fl-fly { position: absolute; top: 0; left: 0; z-index: 4; display: flex; align-items: center; gap: 7px; max-width: 230px; padding: 6px 12px 6px 7px; border-radius: 999px; font-size: 13.5px; font-weight: 650; white-space: nowrap; pointer-events: none; will-change: transform; animation: fl-pop .35s ease-out both; transition: opacity .2s; }
.fl-fly.is-landed { opacity: 0; }
.fl-fly-ico { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.fl-fly-ico svg { width: 13px; height: 13px; }
.fl-fly-ico img { width: 22px; height: auto; }
.fl-fly-txt { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fl-fly-in { background: var(--fl-node); color: var(--ink); border: 1.5px solid var(--fl-in); box-shadow: 0 10px 26px -12px rgba(15,107,87,.5); }
.fl-fly-in .fl-fly-ico { background: var(--fl-in); color: var(--fl-node); }
.fl-fly-out { background: var(--fl-out); color: #24180F; box-shadow: 0 12px 28px -12px rgba(199,93,44,.6); }
@keyframes fl-pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
.fl-call { position: absolute; inset: -3px; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 4px 6px 4px 5px; border-radius: 15px; background: var(--nh-band); color: var(--nh-band-ink); box-shadow: 0 12px 30px -12px rgba(0,0,0,.45); animation: fl-pop .3s ease-out both; transition: opacity .3s; }
.fl-call.is-out { opacity: 0; }
.fl-call-av { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fl-mid); color: #fff; }
.fl-call-av svg { width: 16px; height: 16px; }
.fl-call-info { display: grid; min-width: 0; line-height: 1.2; }
.fl-call-info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-call-info small { font-size: 11.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-call-act { margin-inline-start: auto; display: flex; gap: 5px; }
.fl-call .ft-btn { width: 28px; height: 28px; }
.fl-call .ft-btn svg { width: 13px; height: 13px; }
.fl-call.is-answered .ft-decline { opacity: 0; transition: opacity .25s; }
.fl-call.is-answered .ft-accept { animation: none; box-shadow: 0 0 0 4px rgba(63,194,160,.35); }
.fl-call.is-answered small { color: #9FE7D2; opacity: 1; }

/* the panel */
.fl-live { display: flex; flex-direction: column; min-width: 0; border-radius: 20px; border: 1.5px solid var(--line); background: var(--bg); overflow: hidden; }
.fl-live-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--fl-node); }
.fl-live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--fl-in); }
.fl-live-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--fl-out); box-shadow: 0 0 0 0 rgba(227,128,63,.5); animation: fl-beat 1.6s ease-out infinite; }
@keyframes fl-beat { 70% { box-shadow: 0 0 0 7px rgba(227,128,63,0); } 100% { box-shadow: 0 0 0 0 rgba(227,128,63,0); } }
.fl-role { font-size: 14px; font-weight: 700; color: var(--soft); text-align: end; }
.fl-toasts { position: relative; flex: 1; min-height: 420px; padding: 0 14px; overflow: clip; }
.fl:not(.is-js) .fl-toasts, .fl-toasts:has(.is-still) { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding-block: 14px; }
.ft { position: absolute; inset-inline: 14px; bottom: 14px; display: grid; transform: translateY(var(--y, 0)); transition: transform .5s cubic-bezier(.2,.8,.3,1), opacity .45s; }
.fl:not(.is-js) .ft, .ft.is-still { position: static; transform: none; transition: none; }
.ft.is-leave { opacity: 0; transform: translateY(calc(var(--y, 0px) - 30px)); }
.ft-out { justify-items: end; }
.ft-done { justify-items: center; }
.ft-inner { display: grid; gap: 4px; max-width: 88%; justify-items: inherit; animation: fl-in .5s cubic-bezier(.2,.9,.3,1.15) both; }
.ft.is-still .ft-inner { animation: none; }
@keyframes fl-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.ft-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--soft); padding-inline: 4px; }
.ft-meta svg { width: 13px; height: 13px; color: var(--fl-in); }
.ft-meta img { width: 20px; height: auto; }
.ft-meta b { color: var(--ink); }
.ft-body { position: relative; padding: 10px 14px; border-radius: 18px; font-size: 15.5px; line-height: 1.42; }
.ft-in .ft-body { background: var(--fl-node); color: var(--ink); border: 1px solid var(--line); border-end-start-radius: 6px; }
.ft-out .ft-body { background: var(--fl-in); color: #FFF6EE; border-end-end-radius: 6px; }
:root[data-theme='dark'] .ft-out .ft-body { background: #14967A; color: #10201B; }
.ft-typing { display: inline-flex; gap: 4px; align-items: center; height: 1.3em; }
.ft-typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; animation: fl-type 1s infinite ease-in-out; }
.ft-typing i:nth-child(2) { animation-delay: .15s; } .ft-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fl-type { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ft-call { display: flex !important; align-items: center; gap: 12px; max-width: 100%; width: 100%; padding: 10px 12px; border-radius: 18px; background: var(--nh-band); color: var(--nh-band-ink); }
.ft-call-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--fl-mid); color: #fff; }
.ft-call-av svg { width: 19px; height: 19px; }
.ft-call-info { display: grid; min-width: 0; }
.ft-call-info b { font-size: 16px; }
.ft-call-info small { font-size: 12.5px; opacity: .8; }
.ft-call-act { margin-inline-start: auto; display: flex; gap: 8px; }
.ft-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 800; }
.ft-btn svg { width: 16px; height: 16px; }
.ft-decline { background: #C2452D; }
.ft-accept { background: #14967A; animation: fl-ringbtn 1.3s ease-out infinite; }
@keyframes fl-ringbtn { 0% { box-shadow: 0 0 0 0 rgba(20,150,122,.55); } 100% { box-shadow: 0 0 0 12px rgba(20,150,122,0); } }
.ft-mail { display: flex !important; gap: 10px; max-width: 100%; width: 100%; padding: 10px 12px; border-radius: 14px; background: var(--fl-node); border: 1px solid var(--line); }
.ft-out .ft-mail { border-inline-start: 3px solid var(--fl-out); }
.ft-mail-av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fl-in); color: #fff; font-weight: 800; }
.ft-out .ft-mail-av { background: var(--nh-art); }
.ft-mail-av img { width: 28px; height: auto; }
.ft-mail-main { display: grid; gap: 2px; min-width: 0; }
.ft-mail-top { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.ft-mail-time { margin-inline-start: auto; font-size: 12px; color: var(--soft); font-weight: 600; white-space: nowrap; }
.ft-mail-tag { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 1px 7px; border-radius: 6px; background: var(--fl-lit-out); color: var(--fl-out-ink); }
.ft-mail-subj { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-mail-snip { font-size: 14px; color: var(--body); line-height: 1.4; }
.ft-done .ft-inner { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--fl-lit-out); border: 1px solid var(--fl-out); color: var(--ink); font-size: 14.5px; font-weight: 700; max-width: 100%; }
.ft-done svg { flex: none; width: 16px; height: 16px; color: var(--fl-out-ink); }

.fl-foot { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--fl-node); flex-wrap: wrap; }
.fl-dots { display: flex; gap: 0; }
.fl:not(.is-js) .fl-dots, .fl:not(.is-js) .fl-replay { display: none; }
.fl-dot { width: 26px; height: 30px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.fl-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2, var(--line)); transition: background .3s, transform .3s; }
.fl-dot.is-active::after { background: var(--fl-out); transform: scale(1.35); }
.fl-dot:focus-visible, .fl-replay:focus-visible { outline: 2px solid var(--fl-in); outline-offset: 1px; border-radius: 8px; }
.fl-kpi { flex: 1; min-width: 120px; font-size: 13.5px; font-weight: 700; color: var(--fl-out-ink); }
.fl-replay { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.fl-replay svg { width: 14px; height: 14px; }

/* stacked: one bracket per side instead of a fan of wires */
.fl-bus { fill: none; stroke: var(--fl-wire); stroke-width: 2; stroke-linecap: round; }
.fl.is-stacked .fl-edge { stroke: none; }

/* Compact (below 1180px): the graph shrinks to two rows of channel icons with
   Nico between them, and a line under each row names what is lit. Tablets and
   small laptops keep the panel beside it; phones put a short panel right under
   it, so the graph and the conversation are on screen together. */
.fl-row-cap { display: none; }
@media (max-width: 1179px) {
  .fl-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
  .fl-canvas { grid-template-columns: minmax(0, 1fr); row-gap: 34px; padding: 2px 0; }
  .fl-in, .fl-out { display: flex; flex-flow: row wrap; justify-content: center; gap: 8px; }
  .fl-head { display: none; }
  .fl-node { min-height: 0; padding: 0; border-radius: 50%; width: 44px; height: 44px; justify-content: center; gap: 0; }
  .fl-ico { width: 34px; height: 34px; border-radius: 50%; }
  .fl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fl-time { display: none; }
  .fl-row-cap { display: block; flex-basis: 100%; margin: 2px 0 0; min-height: 1.35em; text-align: center; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--fl-in); }
  .fl-out .fl-row-cap { color: var(--fl-out-ink); order: 9; }
  .fl-hub { flex-direction: row; text-align: start; gap: 12px; width: auto; max-width: 320px; margin: 0 auto; padding: 8px 16px 8px 8px; }
  [dir='rtl'] .fl-hub { padding: 8px 8px 8px 16px; }
  .fl-nico { width: 64px; flex: none; }
  .fl-hub-txt { align-items: flex-start; }
  .fl-name { margin-top: 0; font-size: 20px; }
  .fl-sub { font-size: 14px; }
  .fl-toasts { min-height: 340px; padding-inline: 10px; }
  .ft { inset-inline: 10px; }
  .ft-body { font-size: 15px; }
}
@media (max-width: 720px) {
  .fl-main { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fl-canvas { row-gap: 14px; }
  .fl-hub { padding: 4px 14px 4px 4px; }
  [dir='rtl'] .fl-hub { padding: 4px 4px 4px 14px; }
  .fl-nico { width: 52px; }
  .fl-toasts { min-height: 0; height: 204px; flex: none; }
  .fl-live-head { padding: 6px 12px; justify-content: center; }
  .fl-live-tag { display: none; }
  .fl-foot { padding: 2px 6px; flex-wrap: nowrap; }
  .fl-kpi { display: none; }
  .fl-dots { flex: 1; justify-content: center; }
  .fl-dot { width: 32px; height: 44px; }
  .fl-replay { min-height: 44px; }
  .ft-body { font-size: 14.5px; padding: 8px 12px; }
  .ft-call { padding: 6px 10px; }
  .ft-call-av { width: 34px; height: 34px; }
  .ft-btn { width: 30px; height: 30px; }
}
/* the newest message is the one the graph is showing; older ones step back */
.ft.is-old { opacity: .45; }
.ft-in:not(.is-old) .ft-body, .ft-in:not(.is-old) .ft-call, .ft-in:not(.is-old) .ft-mail { box-shadow: 0 0 0 3px rgba(20,150,122,.28); }
.ft-out:not(.is-old) .ft-body, .ft-out:not(.is-old) .ft-mail { box-shadow: 0 0 0 3px rgba(227,128,63,.38); }
.fl.is-hot-in .fl-live { border-color: var(--fl-mid); }
.fl.is-hot-out .fl-live { border-color: var(--fl-out); }
.fl-live { transition: border-color .4s; }
.fl-role-wrap { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.fl-role-ico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fl-in); color: var(--fl-node); }
.fl-role-ico svg { width: 13px; height: 13px; }
/* calm hand-over between rounds */
.fl.is-fading .fl-node.is-lit, .fl.is-fading .fl-hub.is-active, .fl.is-fading .ft { opacity: .35; transition: opacity .6s; }
.fl.is-fading .fl-wire.is-live .fl-glowline, .fl.is-fading .fl-wire.is-live .fl-spark { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .fl *, .fl .nico * { animation: none !important; transition: none !important; }
}

/* Small phones: the header fits on one row (logo, theme, Call, menu) down to 340px,
   and the footer's contact column gets the full width so the email never breaks. */
@media (max-width: 440px) {
  .nav-inner { gap: .6rem; }
  .logo { gap: .45rem; min-width: 0; }
  .logo-img { width: 34px; height: 34px; }
  .wordmark { font-size: 18px; }
  .nav .btn-call { padding: .5rem .7rem; }
  .nav-actions { gap: .35rem; flex: none; }
}
@media (max-width: 360px) {
  .wordmark { font-size: 16px; }
  .nav .btn-call { padding: .5rem .6rem; }
}
@media (max-width: 720px) {
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer a[href^="mailto:"] { overflow-wrap: normal; word-break: keep-all; }
}
/* How it works gets more room than the other sections: the graph and its panel side by side */
#how .nh-wrap:has(.fl) { max-width: 1340px; }
.ft-call-info b, .ft-call-info small, .fl-call-info b, .fl-call-info small { color: var(--nh-band-ink); }
.fl-call.is-answered .fl-call-info small, .fl-call-info small { color: #CFE9E0; }
:root[data-theme='dark'] .ft-call, :root[data-theme='dark'] .fl-call { background: #10201B; }
/* 404 and thank-you: one short message, centred; on a phone, no screen-high gap under it */
.hero-short { min-height: 72svh; display: grid; place-items: center; text-align: center; }
@media (max-width: 720px) {
  .hero-short { min-height: 0; padding-block: calc(var(--nav-h, 64px) + 1.5rem) 3rem; }
}

/* Header links stay on one line in every language; tighten them between the
   tablet menu breakpoint and full desktop width. */
.nav-links a { white-space: nowrap; }
@media (min-width: 941px) and (max-width: 1140px) {
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: .55rem; font-size: .9rem; }
  .nav .btn-look { padding-inline: .9rem; }
}
/* Desktop: the header button is the free look, so the menu's copy of it hides. */
@media (min-width: 941px) { .nav-links .nav-menu-cta { display: none; } }

/* no double-tap zoom on the chat buttons (and no second tap slipping through) */
.chatbtn, a[data-open-chat] { touch-action: manipulation; }
.chatbtn.busy { pointer-events: auto !important; }
#contact-form { scroll-margin-top: 96px; }

/* while How it works is on screen, at any width, the chat button steps aside so it
   never sits on top of the example conversation */
.chatbtn { transition: transform .3s, opacity .3s; }
body.fl-seen .chatbtn:not(.busy) { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* phones: every tap target at least 44px */
@media (max-width: 940px) {
  .theme-btn, .menu-btn { width: 44px; height: 44px; min-width: 44px; }
  .form input:not([type=checkbox]):not([type=radio]), .form select { min-height: 44px; }
  .form textarea { min-height: 88px; }
}
.chat-guard { position: fixed; inset: 0; z-index: 2147483647; background: transparent; touch-action: manipulation; }

/* front desk + back office */
.nh-crew { margin-top: 28px; }
.nh-crew-title { margin: 0 0 14px; font-size: clamp(22px, 1.2rem + 1vw, 30px); line-height: 1.2; }
.nh-crew-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.nh-crew-col { padding: 18px 20px; border-radius: var(--nh-radius, 20px); background: var(--nh-card, var(--card)); border: 1px solid var(--nh-line-on-soft, var(--line)); }
.nh-crew-head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.nh-crew-head b { display: block; font-size: 19px; line-height: 1.25; }
.nh-crew-head small { display: block; font-size: 15px; color: var(--muted, #555); }
.nh-crew-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #fff); }
.nh-crew-back .nh-crew-ico { background: #E3803F; }
.nh-crew-col ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 17px; line-height: 1.4; }
.nh-crew-note { margin: 12px 0 0; font-size: 15.5px; color: var(--muted, #555); }
.nh-crew-ico svg { width: 20px; height: 20px; }
.chatbtn.away { opacity: 0; transform: translateY(20px); pointer-events: none; }
/* the chosen option always shows in full: wrap-safe padding, the arrow on the inline end */
.form select { width: 100%; text-overflow: ellipsis; padding-inline-end: 2.4rem; font-size: 16px; }

/* side by side, the panel takes the graph's height and never sets it */
@media (min-width: 721px) {
  .fl-main { align-items: stretch; }
  .fl-live { contain: size; min-height: 360px; }
  .fl-toasts { min-height: 0; flex: 1 1 0; }
}
/* the arrival banner sits at the top of the conversation panel, not on a node */
.fl-toasts > .fl-call { inset: 12px 12px auto; padding: 8px 10px; }
/* a slot handing over to the next input: a calm cross-fade, same size, no jump */
.fl-node-in { transition: opacity .5s ease, filter .5s ease, border-color .4s, box-shadow .4s, background-color .4s; }
.fl-node-in.is-swapping { opacity: 0; filter: blur(2px); }

/* when this happens, then this */
.nh-auto { margin-top: 28px; }
.nh-auto-sub { margin: -6px 0 14px; font-size: 17px; color: var(--muted, #555); }
.nh-auto-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nh-auto-rule { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px minmax(0, 1.3fr); align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--nh-card, var(--card)); border: 1px solid var(--nh-line-on-soft, var(--line)); font-size: 17px; line-height: 1.4; }
.nh-auto-rule b { color: var(--accent); }
.nh-auto-then b { color: #C25E22; }
.nh-auto-then small { font-size: 14px; color: var(--muted, #555); }
.nh-auto-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #fff); }
.nh-auto-ico svg, .nh-auto-arrow svg { width: 20px; height: 20px; }
.nh-auto-arrow { color: #E3803F; display: grid; place-items: center; animation: nh-nudge 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
[dir='rtl'] .nh-auto-arrow svg { transform: scaleX(-1); }
@keyframes nh-nudge { 0%, 70%, 100% { transform: translateX(0); } 35% { transform: translateX(4px); } }
[dir='rtl'] .nh-auto-arrow { animation-name: nh-nudge-rtl; }
@keyframes nh-nudge-rtl { 0%, 70%, 100% { transform: translateX(0); } 35% { transform: translateX(-4px); } }
@media (max-width: 720px) {
  .nh-auto-rule { grid-template-columns: 40px minmax(0, 1fr); row-gap: 4px; }
  .nh-auto-arrow { display: none; }
  .nh-auto-then { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .nh-auto-arrow { animation: none; } }
/* seven output icons in one phone row */
@media (max-width: 720px) { .fl-node { width: 40px; height: 40px; } }
/* seven outputs stay on one row in the compact graph */
@media (max-width: 1179px) { .fl-in, .fl-out { gap: 6px; } .fl .fl-node { width: 40px; height: 40px; } .fl .fl-ico { width: 32px; height: 32px; } }
@media (max-width: 400px) { .fl-in, .fl-out { gap: 4px; } }
/* rotation: a soft but visible cross-fade, and a short glow on the new inputs */
.fl .fl-node-in { transition: opacity .5s ease, background-color .4s, border-color .4s, box-shadow .6s; }
.fl .fl-node-in.is-swapping { opacity: 0; filter: none; }
.fl .fl-node-in.is-new { box-shadow: 0 0 0 4px rgba(20,150,122,.28), 0 0 18px rgba(20,150,122,.35); border-color: var(--fl-mid); }
.fl .fl-node-out { transition: opacity .5s ease, background-color .5s, border-color .5s, box-shadow .5s; }
@media (prefers-reduced-motion: reduce) {
  .fl .fl-node-in { transition: opacity .6s ease !important; }
  .fl .fl-node-in.is-swapping { opacity: 0 !important; }
}

/* Input nodes on wide screens: name and time are a tight two-line group,
   centred with the icon, so the time always stays inside the box (any language,
   LTR or RTL). Nodes keep a fixed minimum height that fits both lines, so a time
   coming or going never moves the layout; with no time the name sits centred. */
@media (min-width: 1180px) {
  .fl .fl-node-in { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-content: center; min-height: 50px; padding-block: 5px; }
  .fl .fl-node-in .fl-ico { grid-row: 1 / 3; align-self: center; }
  .fl .fl-node-in .fl-label { min-width: 0; line-height: 1.15; overflow-wrap: anywhere; }
  .fl .fl-node-in .fl-time { margin: 2px 0 0; font-size: 12.5px; line-height: 1.15; white-space: normal; overflow-wrap: anywhere; }
  .fl .fl-node-in .fl-time:empty { display: none; }
  .fl .fl-node-in:has(.fl-time:empty) { grid-template-rows: auto; }
  .fl .fl-node-in:has(.fl-time:empty) .fl-ico { grid-row: 1; }
}

/* ═══ Nico hub: one fixed size in every state (day, idle, night) and language.
   The status text gets up to two lines and is clamped; the moon and stars
   keep to a corner strip the text never reaches. ═══ */
.fl-hub .fl-sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; min-height: 2.6em; max-width: 100%; overflow-wrap: anywhere; }
.fl-hub-txt { max-width: 100%; min-width: 0; }
@media (min-width: 1180px) {
  .fl-hub { height: 318px; justify-content: flex-start; }
  .fl-nico { flex: none; width: 190px; }
}
@media (max-width: 1179px) {
  .fl-hub { box-sizing: border-box; width: 300px; max-width: calc(100% - 8px); height: 84px; flex: none; padding-inline-end: 34px; }
  [dir='rtl'] .fl-hub { padding-inline-end: 34px; padding-inline-start: 8px; padding-right: 8px; padding-left: 34px; }
  .fl-hub-txt { flex: 1 1 auto; justify-content: center; }
  .fl-hub .fl-name { line-height: 1.25; white-space: nowrap; }
  .fl-hub .fl-sub { font-size: 13px; }
  /* moon top-end, stars only in the end strip and over Nico's side */
  .fl-moon { top: 8px; inset-inline-end: 8px; width: 16px; height: 16px; }
  .fl-moon::after { width: 14px; height: 14px; left: 5px; top: -2px; }
  [dir='rtl'] .fl-moon::after { left: auto; right: 5px; }
  .fl-star:nth-child(n) { left: auto; right: auto; top: auto; bottom: auto; }
  .fl-star:nth-child(2) { top: 40%; inset-inline-end: 14px; }
  .fl-star:nth-child(3) { bottom: 14%; inset-inline-end: 9px; }
  .fl-star:nth-child(4) { top: 10%; inset-inline-start: 6px; }
  .fl-star:nth-child(5) { bottom: 10%; inset-inline-start: 10px; }
  .fl-star:nth-child(6) { bottom: 30%; inset-inline-end: 20px; }
}
@media (max-width: 720px) {
  .fl-hub { width: 290px; height: 72px; padding-block: 4px; }
}
@media (min-width: 1180px) { .fl-hub .fl-sub { font-size: 14px; } [dir='rtl'] .fl-hub .fl-sub { font-size: 13px; letter-spacing: 0; } }

/* ═══ Visual Services page (vs-): pictures first, a few words each ═══ */
.vs-hero { padding-block: clamp(5.5rem, 4rem + 4.5vh, 9rem) 1.5rem; }
.vs-lead { margin-top: 1rem; }
.vs-flow { list-style: none; margin: 1.75rem auto 0; padding: 0; display: flex; align-items: flex-start; justify-content: center; gap: clamp(.4rem, 2vw, 1.25rem); max-width: 640px; }
.vs-flow > li { display: flex; flex-direction: column; align-items: center; gap: .5rem; flex: 1 1 0; min-width: 0; text-align: center; font-weight: 700; font-size: var(--t-sm); color: var(--ink); line-height: 1.25; }
.vs-flow > li.vs-arr { flex: 0 0 auto; color: var(--grad-a); padding-top: 22px; }
.vs-arr svg { width: 22px; height: 22px; }
[dir='rtl'] .vs-arr svg, [dir='rtl'] .vs-ba-arr svg, [dir='rtl'] .vs-mini b { transform: scaleX(-1); }
.vs-dot { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #FDE6D3; color: var(--violet-text); }
.vs-dot svg { width: 30px; height: 30px; }
.vs-ok { background: #DDF1EA; color: var(--accent); }
.vs-nico { display: block; width: 92px; height: 86px; margin-top: -14px; }
.vs-nico svg { width: 100%; height: 100%; }

.vs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.vs-card { position: relative; display: grid; grid-template-columns: 52px 1fr; grid-template-areas: 'ico name' 'ico tag' 'mini mini'; column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--nav-h) + 16px); transition: transform .2s, box-shadow .2s; }
.vs-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg, var(--shadow-sm)); }
.vs-ico { grid-area: ico; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.vs-ico svg { width: 26px; height: 26px; }
.vs-name { grid-area: name; margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; color: var(--ink); }
.vs-name a { color: inherit; text-decoration: none; }
.vs-name a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.vs-name a:focus-visible { outline: none; } .vs-card:has(a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.vs-tag { grid-area: tag; margin: 0; font-size: var(--t-sm); color: var(--soft); line-height: 1.35; }
.vs-mini { grid-area: mini; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--card-border); }
.vs-mini i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FDE6D3; color: var(--violet-text); }
.vs-mini i.vs-ok { background: #DDF1EA; color: var(--accent); }
.vs-mini i svg { width: 18px; height: 18px; }
.vs-mini img { width: 30px; height: 28px; }
.vs-mini b { flex: 0 1 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--grad-a) 0 6px, transparent 6px 10px); background-size: 20px 2px; animation: vs-dash 1.2s linear infinite; }
@keyframes vs-dash { to { background-position: 20px 0; } }

.vs-ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: clamp(1.75rem, 4vw, 2.75rem) auto 0; max-width: 760px; }
.vs-ba-col { padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--card-border); }
.vs-ba-h { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.vs-before .vs-ba-h { color: var(--soft); }
.vs-after { border-color: rgba(15,107,87,.35); box-shadow: 0 0 0 4px rgba(20,150,122,.08); }
.vs-ba ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.vs-ba li { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: var(--t-sm); line-height: 1.3; color: var(--body); }
.vs-x, .vs-v { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.vs-x { background: #F6E3DA; color: #A6481C; } .vs-x svg { width: 15px; height: 15px; transform: rotate(45deg); }
.vs-v { background: #DDF1EA; color: var(--accent); } .vs-v svg { width: 15px; height: 15px; }
.vs-before li { color: var(--soft); }
.vs-ba-arr { color: var(--grad-a); } .vs-ba-arr svg { width: 28px; height: 28px; }
#back .nh-auto .nh-crew-note { display: none; }
.vs-note { margin: 1.25rem auto 0; max-width: 640px; text-align: center; font-size: var(--t-sm); color: var(--soft); }

.vs-steps { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; position: relative; }
.vs-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; font-size: var(--t-sm); color: var(--ink); line-height: 1.3; position: relative; }
.vs-steps li:not(:last-child)::after { content: ''; position: absolute; top: 32px; inset-inline-start: calc(50% + 40px); width: calc(100% - 80px + 14px); height: 2px; background: repeating-linear-gradient(90deg, var(--grad-a) 0 6px, transparent 6px 11px); opacity: .6; }
.vs-step-ico { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.vs-step-ico svg { width: 28px; height: 28px; }
.vs-step-ico em { position: absolute; top: -4px; inset-inline-end: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #B4531F; color: #fff; font-style: normal; font-weight: 800; font-size: 13px; }
.vs-chip { padding: .2rem .6rem; border-radius: 999px; background: #FDE6D3; color: var(--violet-text); font-weight: 700; font-size: .78rem; }

@media (max-width: 720px) {
  .vs-flow > li.vs-arr { padding-top: 18px; }
  .vs-dot { width: 54px; height: 54px; } .vs-dot svg { width: 26px; height: 26px; }
  .vs-nico { width: 78px; height: 72px; margin-top: -10px; }
  .vs-flow > li { font-size: .85rem; }
  .vs-card { padding: 14px; grid-template-columns: 46px 1fr; column-gap: 12px; }
  .vs-ico { width: 46px; height: 46px; border-radius: 14px; }
  .vs-mini { margin-top: 10px; padding-top: 10px; }
  .vs-ba { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vs-ba-arr { display: none; }
  .vs-ba-col { padding: 12px; }
  .vs-ba li { font-size: .85rem; align-items: flex-start; }
  .vs-steps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .vs-steps li:nth-child(2)::after { display: none; }
  .vs-steps li::after { width: calc(100% - 80px + 14px); }
}
@media (prefers-reduced-motion: reduce) { .vs-mini b { animation: none; } .vs-card { transition: none; } }
:root[data-theme='dark'] .vs-dot, :root[data-theme='dark'] .vs-mini i, :root[data-theme='dark'] .vs-chip { background: rgba(227,128,63,.18); }
:root[data-theme='dark'] .vs-ok, :root[data-theme='dark'] .vs-mini i.vs-ok, :root[data-theme='dark'] .vs-v { background: rgba(20,150,122,.2); }
@media (min-width: 980px) { .vs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 979px) { .vs-grid { grid-template-columns: repeat(2, 1fr); } }
.hero.vs-hero { min-height: 0; }
/* ═══ Dark theme: AA contrast fixes (audited with scripts/check-dark-contrast.mjs) ═══ */
:root[data-theme='dark'] .page .eyebrow, :root[data-theme='dark'] .cta-band .eyebrow { color: var(--accent-text); }
:root[data-theme='dark'] .nh-auto-rule b { color: var(--accent-text); }
:root[data-theme='dark'] .nh-auto-then b { color: var(--violet-text); }
:root[data-theme='dark'] .nh-btn-main, :root[data-theme='dark'] .nh-num { background: #0F6B57; color: #fff; }

/* Services visuals without the mascot: a neutral "AI helper" spark in teal, with small,
   calm motion (a ring that rings, a typing bubble, a pulse). Off with reduced motion. */
.vs-dot.vs-ai { position: relative; background: var(--accent); color: #fff; box-shadow: 0 0 0 6px rgba(20,150,122,.14); animation: vs-pulse 2.6s ease-in-out infinite; }
.vs-typing { position: absolute; top: -6px; inset-inline-end: -10px; display: flex; gap: 3px; padding: 5px 7px; border-radius: 12px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow-sm); }
.vs-typing b { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-text); animation: vs-type 1.2s ease-in-out infinite; }
.vs-typing b:nth-child(2) { animation-delay: .15s; } .vs-typing b:nth-child(3) { animation-delay: .3s; }
.vs-mini i.vs-ai { background: var(--accent); color: #fff; animation: vs-pulse 2.6s ease-in-out infinite; }
.vs-flow > li:first-child .vs-dot svg, .vs-mini i:first-child svg { animation: vs-ring 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
.vs-flow > li:last-child .vs-dot, .vs-mini i:last-child { animation: vs-pop 3.2s ease-in-out infinite; }
.vs-card:nth-child(2) .vs-mini i, .vs-card:nth-child(2) .vs-mini i svg { animation-delay: .4s; }
.vs-card:nth-child(3) .vs-mini i, .vs-card:nth-child(3) .vs-mini i svg { animation-delay: .8s; }
.vs-card:nth-child(4) .vs-mini i, .vs-card:nth-child(4) .vs-mini i svg { animation-delay: 1.2s; }
.vs-card:nth-child(5) .vs-mini i, .vs-card:nth-child(5) .vs-mini i svg { animation-delay: 1.6s; }
.vs-card:nth-child(6) .vs-mini i, .vs-card:nth-child(6) .vs-mini i svg { animation-delay: 2s; }
@keyframes vs-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(20,150,122,.35); } 50% { box-shadow: 0 0 0 7px rgba(20,150,122,0); } }
@keyframes vs-type { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes vs-ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-8deg); } 86% { transform: rotate(0); } }
@keyframes vs-pop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .vs-dot.vs-ai, .vs-mini i, .vs-mini i svg, .vs-flow .vs-dot, .vs-flow .vs-dot svg, .vs-typing b { animation: none !important; } }
:root[data-theme='dark'] .vs-dot.vs-ai, :root[data-theme='dark'] .vs-mini i.vs-ai { background: #0F6B57; color: #fff; }
/* the hub is now labelled "Your AI crew" (longer in fr/fa): room for a two-line name on desktop */
@media (min-width: 1180px) { .fl-hub .fl-name { font-size: 20px; line-height: 1.2; margin-top: 4px; } .fl-hub .fl-nico { width: 160px; } }

/* ═══ Services in two parts: front desk / back office ═══ */
.vs-part-head .eyebrow { display: inline-flex; align-items: center; gap: .55rem; }
.vs-part-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #B4531F; color: #fff; font-size: 13px; letter-spacing: 0; }
.vs-part-head .lead { margin-inline: auto; margin-top: .6rem; }
.vs-ch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.vs-ch-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--nav-h) + 16px); }
.vs-ch-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #FDE6D3; color: var(--violet-text); }
.vs-ch-ico svg { width: 22px; height: 22px; }
.vs-ch-ico.is-ok { background: #DDF1EA; color: var(--accent); }
.vs-ch-ico.is-ring svg { animation: vs-ring 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
.vs-ch-ico.is-ok { animation: vs-pop 3.2s ease-in-out infinite 1s; }
.vs-ch-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.vs-ch-txt b { font-size: .98rem; color: var(--ink); }
.vs-ch-txt small { font-size: .8rem; color: var(--soft); font-weight: 600; }
.vs-3 { list-style: none; margin: 0 auto 2rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; }
.vs-3 li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; font-size: var(--t-sm); color: var(--ink); line-height: 1.3; }
.vs-3 li:not(:last-child)::after { content: ''; position: absolute; top: 32px; inset-inline-start: calc(50% + 40px); width: calc(100% - 66px); height: 2px; background: repeating-linear-gradient(90deg, var(--grad-a) 0 6px, transparent 6px 11px); opacity: .6; }
.vs-ai-step { background: #0F6B57 !important; color: #fff !important; animation: vs-pulse 2.6s ease-in-out infinite; }
.vs-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.vs-tool { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--nav-h) + 16px); }
.vs-tool .vs-ico { flex: none; width: 46px; height: 46px; }
.vs-tool > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vs-tool-name { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); line-height: 1.25; }
.vs-tool-txt { font-size: var(--t-sm); color: var(--body); line-height: 1.4; }
.vs-tool-extra { display: flex; gap: 6px; align-items: flex-start; margin-top: 4px; font-size: .85rem; font-weight: 700; color: var(--accent-text); line-height: 1.35; }
.vs-tool-extra svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.vs-tool-more { border-style: dashed; background: transparent; box-shadow: none; grid-column: 1 / -1; }
.vs-tool-more .vs-ico { background: #FDE6D3; color: var(--violet-text); }
.vs-tool-note { font-size: .8rem; color: var(--soft); }
#back .nh-auto { margin-top: clamp(1.75rem, 4vw, 2.75rem); }
@media (max-width: 720px) {
  .vs-ch { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vs-ch-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .vs-ch-ico { width: 40px; height: 40px; }
  .vs-ch-txt b { font-size: .9rem; }
  .vs-3 { grid-template-columns: 1fr; gap: 10px; max-width: 340px; }
  .vs-3 li { flex-direction: row; text-align: start; gap: 14px; }
  .vs-3 li::after { display: none; }
  .vs-tool { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .vs-ch-ico, .vs-ch-ico svg, .vs-ai-step { animation: none !important; } }
:root[data-theme='dark'] .vs-ch-ico, :root[data-theme='dark'] .vs-tool-more .vs-ico { background: rgba(227,128,63,.18); }
:root[data-theme='dark'] .vs-ch-ico.is-ok { background: rgba(20,150,122,.2); }
/* round type: a small, quiet chip (Front desk / Back office) */
.fl-kind { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; background: rgba(15,107,87,.10); color: #0F6B57; transition: background-color .4s, color .4s; }
.fl-kind[data-k='back'] { background: rgba(180,83,31,.10); color: #A6481C; }
:root[data-theme='dark'] .fl-kind { background: rgba(125,227,196,.14); color: #7DE3C4; }
:root[data-theme='dark'] .fl-kind[data-k='back'] { background: rgba(246,173,106,.14); color: #F6AD6A; }
@media (max-width: 720px) { .fl-live-head { gap: 8px; } .fl-kind { font-size: 11px; } }
/* eight actions on one row on phones */
@media (max-width: 720px) { .fl .fl-out { gap: 4px; } .fl .fl-out .fl-node { width: 36px; height: 36px; flex: none; } .fl .fl-out .fl-ico { width: 30px; height: 30px; } .fl .fl-out .fl-ico svg { width: 15px; height: 15px; } }
@media (max-width: 400px) { .fl .fl-out { gap: 3px; } .fl .fl-out .fl-node { width: 32px; height: 32px; } .fl .fl-out .fl-ico { width: 27px; height: 27px; } .fl .fl-out .fl-ico svg { width: 14px; height: 14px; } }
/* light theme AA: small headings on the dark band, and "then" in the follow-up rows */
.band-deep .eyebrow, .cta-band .eyebrow { color: #7DE3C4; }
.nh-auto-then b { color: #A6481C; }
:root[data-theme='dark'] .nh-auto-then b { color: var(--violet-text); }
/* languages inside the phone menu */
.nav-langs { display: none; }
@media (max-width: 940px) {
  .nav.is-open .nav-links .nav-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
  .nav-langs-h { flex-basis: 100%; display: flex; align-items: center; gap: 6px; padding: 0 .25rem .2rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--soft); }
  .nav-langs-h svg { width: 16px; height: 16px; }
  .nav.is-open .nav-links .nav-langs a { flex: 1 1 auto; justify-content: center; min-height: 44px; padding: .5rem .8rem; font-size: .95rem; font-weight: 700; border-radius: 12px; border: 1px solid var(--card-border-2); background: var(--card); color: var(--ink); }
  .nav.is-open .nav-links .nav-langs a[aria-current='true'] { background: #0F6B57; border-color: #0F6B57; color: #fff; }
}

/* ── Meet your AI team ─────────────────────────────────── mobile first */
.team-sec { padding-block: 40px; }
.team-head { text-align: center; max-width: 640px; margin: 0 auto 22px; }
.team-title { margin: 0; font-size: clamp(26px, 1.2rem + 2vw, 40px); line-height: 1.15; }
.team-sub { margin: 10px 0 0; font-size: 18px; line-height: 1.45; color: var(--muted, #555); }
.team-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; }
.team-ico svg { width: 20px; height: 20px; }
.team-back .team-ico { background: #B85A1C; }
.team-any .team-ico { background: transparent; color: var(--accent-text); border: 2px dashed currentColor; }
.team-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.team-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--nh-radius, 20px); background: var(--nh-card, var(--card)); border: 1px solid var(--nh-line-on-soft, var(--line)); }
.team-card.team-any { border-style: dashed; }
.team-card h3 { margin: 4px 0 4px; font-size: 19px; line-height: 1.25; }
.team-card p { margin: 0; font-size: 16.5px; line-height: 1.45; }
.team-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--accent-soft); color: var(--accent-text); }
.team-back .team-tag { background: rgba(184,90,28,.10); color: #9A4613; }
.team-any .team-tag { background: transparent; border: 1px solid var(--nh-line-on-soft, var(--line)); color: var(--muted, #555); }
:root[data-theme='dark'] .team-back .team-tag { background: rgba(246,173,106,.14); color: #F6AD6A; }
:root[data-theme='dark'] .team-back .team-ico { background: #E3803F; color: #1B1410; }
.team-groups { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.team-group { padding: 16px 18px; border-radius: var(--nh-radius, 20px); background: var(--nh-card, var(--card)); border: 1px solid var(--nh-line-on-soft, var(--line)); }
.team-group-h { margin: 0 0 10px; font-weight: 800; font-size: 15px; letter-spacing: .02em; color: var(--accent-text); }
.team-back .team-group-h { color: #9A4613; }
:root[data-theme='dark'] .team-back .team-group-h { color: #F6AD6A; }
.team-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.team-group li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; min-height: 40px; }
.team-more { text-align: center; margin: 16px 0 0; }
.team-more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font-weight: 700; color: var(--accent-text); }
@media (min-width: 900px) { .team-sec { padding-block: 64px; } .team-cards { grid-template-columns: repeat(3, 1fr); } }
.team-any-short { display: flex; align-items: center; gap: 12px; margin-top: 12px; border-style: dashed; }
.team-any-short p { margin: 0; font-size: 16.5px; line-height: 1.45; }
.team-any-short b { display: block; font-size: 17px; }

/* ── Restructure (Phase 2): teasers, hub, FAQ groups ─────── mobile first */
.hs-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hs-steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 20px 16px; border-radius: var(--nh-radius, 20px); background: var(--nh-card, var(--card)); border: 1px solid var(--nh-line-on-soft, var(--line)); }
.hs-steps b { font-size: 18px; line-height: 1.3; }
.hs-steps small { font-size: 15.5px; line-height: 1.45; color: var(--muted, #555); }
.hs-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; }
.hs-ico svg { width: 22px; height: 22px; }
.hs-n { position: absolute; inset-block-start: 12px; inset-inline-start: 14px; font-weight: 800; font-size: 14px; color: var(--accent-text); }
.who-chips { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.who-chips a, .who-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--nh-card, var(--card)); border: 1px solid var(--nh-line-on-soft, var(--line)); color: var(--ink); font-weight: 600; text-decoration: none; }
.who-chips a:hover { border-color: var(--accent); }
.tools-any { margin-top: 18px; }
.who-cards { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.who-cards a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: var(--nh-radius, 20px); background: var(--nh-card, var(--card)); border: 1px solid var(--nh-line-on-soft, var(--line)); color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; }
.who-cards a:hover { border-color: var(--accent); }
.who-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; }
.who-ico svg { width: 20px; height: 20px; }
.faq-group-h { margin: 2rem auto .75rem; max-width: 760px; }
.faq-group-h:first-child { margin-top: 0; }
.role-links { margin: 1.5rem 0 0; text-align: center; font-weight: 700; }
.role-links a { display: inline-flex; align-items: center; min-height: 44px; }
.next-h { margin: 1.5rem 0 .5rem; }
.next-steps { margin: 0 0 1rem; padding-inline-start: 1.3rem; display: grid; gap: .4rem; font-size: var(--t-base); }
.team-link { color: inherit; text-decoration: none; }
.team-link:hover { text-decoration: underline; }
.faq-stub { padding-block: 1rem 2rem; }
