/* Nuntiq website: base, header, footer and the shared page components.
   The home, about and multi-channel pages add their own section styles (home.css, about.css,
   multi-channel.css), carried over from the classic Zoho site. */
:root {
  --consent-accent: #032552;
  --consent-accent-hover: #0B3A73;
  --navy: #032552;
  --ink: #06122A;
  --body: #4A4A5A;
  --muted: #6B7280;
  --teal: #157A94;
  --mint: #6CCDE3;
  --indigo: #4F5E94;
  --lilac: #A9B6E8;
  --plum: #8C526B;
  --line: #E2E5EA;
  --wash: #F7F8FA;
  --wrap: 1180px;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Montserrat', system-ui, sans-serif; color: var(--body); background: #FFFFFF; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { color: var(--ink); }
.nq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nq-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #FFFFFF; padding: 10px 14px; border-radius: 8px; }
.nq-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* Buttons */
.nq-btn { display: inline-block; font-size: 15px; font-weight: 600; text-decoration: none; padding: 14px 24px; border-radius: 10px; line-height: 1.2; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; text-align: center; }
.nq-btn:hover { transform: translateY(-1px); }
.nq-btn--pri { background: var(--navy); color: #FFFFFF; }
.nq-btn--pri:hover { background: #0B3A73; box-shadow: 0 10px 24px -10px rgba(3, 37, 82,.5); }
.nq-btn--light { background: #FFFFFF; color: var(--navy); }
.nq-btn--ghost { color: #FFFFFF; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.nq-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Header */
.nq-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nq-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.nq-header__logo img { width: 336px; max-width: calc(100vw - 100px); height: auto; }
.nq-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nq-nav > ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nq-nav li { position: relative; }
.nq-nav a { display: block; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.nq-nav a:hover { background: var(--wash); }
.nq-nav a[aria-current="page"], .nq-nav a.is-parent { color: var(--teal); font-weight: 600; }
.nq-nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(3, 37, 82,.28); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.nq-nav__has-sub:hover .nq-nav__sub, .nq-nav__has-sub:focus-within .nq-nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nq-nav__sub a { font-size: 14px; }
.nq-nav__sub-toggle { display: none; }
.nq-nav .nq-header__cta { padding: 11px 18px; font-size: 14px; white-space: nowrap; color: #FFFFFF; background: var(--navy); }
.nq-nav .nq-header__cta:hover { background: #0B3A73; }
.nq-header__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #FFFFFF; cursor: pointer; position: relative; }
.nq-header__toggle span[aria-hidden], .nq-header__toggle span[aria-hidden]::before, .nq-header__toggle span[aria-hidden]::after { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--navy); content: ""; transition: transform .2s ease; }
.nq-header__toggle span[aria-hidden] { top: 21px; }
.nq-header__toggle span[aria-hidden]::before { left: 0; top: -6px; }
.nq-header__toggle span[aria-hidden]::after { left: 0; top: 6px; }
.nq-header.is-open .nq-header__toggle span[aria-hidden] { background: transparent; }
.nq-header.is-open .nq-header__toggle span[aria-hidden]::before { transform: translateY(6px) rotate(45deg); }
.nq-header.is-open .nq-header__toggle span[aria-hidden]::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1120px) {
  .nq-header__toggle { display: block; }
  .nq-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 16px 20px; max-height: calc(100vh - 72px); overflow: auto; }
  .nq-header.is-open .nq-nav { display: flex; }
  .nq-nav > ul { flex-direction: column; gap: 0; }
  .nq-nav a { padding: 12px; font-size: 16px; }
  .nq-nav__has-sub { display: flex; flex-wrap: wrap; }
  .nq-nav__has-sub > a { flex: 1; }
  .nq-nav__sub-toggle { display: block; width: 44px; border: 0; background: none; cursor: pointer; position: relative; }
  .nq-nav__sub-toggle::after { content: ""; position: absolute; left: 17px; top: 16px; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
  .nq-nav__has-sub.is-open .nq-nav__sub-toggle::after { transform: rotate(-135deg); top: 20px; }
  .nq-nav__sub { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nq-nav__has-sub.is-open .nq-nav__sub { display: block; }
  .nq-nav__has-sub:hover .nq-nav__sub { transform: none; }
  .nq-header__cta { display: block; }
}

/* Page hero (dark, every page except home and about which carry their own) */
.nq-phero { position: relative; overflow: hidden; color: #FFFFFF; padding: 104px 24px 96px; background: radial-gradient(1200px 600px at 85% 20%, rgba(33, 158, 188,0.35), transparent 60%), radial-gradient(900px 500px at 10% 110%, rgba(79,94,148,0.40), transparent 60%), linear-gradient(160deg, #06122A 0%, #032552 100%); }
.nq-phero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.nq-phero__inner { position: relative; max-width: var(--wrap); margin: 0 auto; }
.nq-phero__inner > * { max-width: 780px; }
.nq-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin: 0 0 22px; padding: 7px 14px; border: 1px solid rgba(108, 205, 227,0.35); border-radius: 999px; background: rgba(108, 205, 227,0.08); }
.nq-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(108, 205, 227,0.18); }
.nq-phero h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 22px; color: #FFFFFF; }
.nq-phero h1 span { background: linear-gradient(90deg, var(--mint), var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nq-phero p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: rgba(255,255,255,0.78); margin: 0 0 32px; }
.nq-phero p:last-child { margin-bottom: 0; }
.nq-phero .nq-eyebrow { font-size: 12px; line-height: 1.4; color: var(--mint); margin: 0 0 22px; }
.nq-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.nq-sec { padding: 96px 24px; background: #FFFFFF; }
.nq-sec--alt { background: var(--wash); }
.nq-sec--tight { padding-top: 24px; }
.nq-wrap { max-width: var(--wrap); margin: 0 auto; }
.nq-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: 0 0 16px; }
.nq-head { max-width: 780px; margin: 0 0 52px; }
.nq-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.nq-sec h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.14; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px; }
.nq-head p, .nq-lead { font-size: 18px; line-height: 1.7; margin: 0; }
.nq-prose p { font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.nq-prose p:last-child { margin-bottom: 0; }
.nq-prose strong { color: var(--ink); }

/* Two columns: text and a screenshot or a panel */
.nq-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.nq-split--even { grid-template-columns: 1fr 1fr; }
.nq-split--media-left > :first-child { order: 2; }
.nq-split h2 { margin-bottom: 20px; }
.nq-shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #FFFFFF; box-shadow: 0 30px 60px -28px rgba(3, 37, 82,.35); }
.nq-shot img { width: 100%; }
.nq-shot figcaption { font-size: 14px; font-weight: 600; color: var(--ink); padding: 14px 18px; border-top: 1px solid var(--line); }
.nq-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; padding: 32px; }
.nq-panel--dark { border: 0; color: rgba(255,255,255,.8); background: radial-gradient(500px 300px at 100% 0%, rgba(33, 158, 188,0.45), transparent 60%), var(--navy); }
.nq-panel--dark h3 { color: #FFFFFF; }

/* Check list */
.nq-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nq-check li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.nq-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--teal) 14%, #FFFFFF); }
.nq-check li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); }
.nq-split .nq-check { margin-top: 24px; }
.nq-split .nq-panel > .nq-check:first-child { margin-top: 0; }

/* Cards */
.nq-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nq-cards--2 { grid-template-columns: repeat(2, 1fr); }
.nq-cards--5 { grid-template-columns: repeat(5, 1fr); }
.nq-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: #FFFFFF; --nq-c: var(--teal); }
.nq-sec--alt .nq-card { background: #FFFFFF; }
.nq-card__icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px; color: var(--nq-c); background: color-mix(in srgb, var(--nq-c) 12%, #FFFFFF); }
.nq-card__icon svg { width: 22px; height: 22px; }
.nq-card__kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nq-c); margin: 0 0 10px; }
.nq-card h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px; }
.nq-card p { font-size: 15px; line-height: 1.65; margin: 0; }
.nq-card__more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; text-decoration: none; }
.nq-card__more:hover { text-decoration: underline; }

/* Pipeline (platform page) */
.nq-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; }
.nq-flow li { position: relative; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; padding: 22px 18px; text-align: center; }
.nq-flow li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.nq-flow small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.nq-flow strong { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.nq-flow span { font-size: 14px; line-height: 1.5; }

/* Screenshot gallery (supplier portal) */
.nq-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* Proof block (invoice capture): a test invoice from nomorebaddata.com */
.nq-proof { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.nq-proof .nq-ctas { margin-top: 28px; }
.nq-proof__doc { justify-self: center; display: block; width: min(340px, 100%); text-decoration: none; color: var(--ink); background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; box-shadow: 0 30px 60px -28px rgba(3, 37, 82,.4); transform: rotate(2deg); transition: transform .2s ease; }
.nq-proof__doc:hover { transform: rotate(0deg) translateY(-4px); }
.nq-proof__doc img { width: 100%; border-radius: 6px; border: 1px solid var(--line); }
.nq-proof__doc span { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; text-align: center; }
.nq-proof-sec { padding-bottom: 104px; }
@media (max-width: 1020px) { .nq-proof { grid-template-columns: 1fr; gap: 40px; } }

/* Shared call to action */
.nq-cta { padding: 0 24px 104px; background: var(--wash); }
.nq-cta--white { background: #FFFFFF; }
.nq-cta__inner { position: relative; overflow: hidden; max-width: var(--wrap); margin: 0 auto; border-radius: 28px; padding: 80px 56px; text-align: center; color: #FFFFFF; background: radial-gradient(700px 400px at 100% 0%, rgba(33, 158, 188,0.45), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(79,94,148,0.45), transparent 60%), var(--navy); }
.nq-cta .nq-label { color: var(--mint); }
.nq-cta h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; color: #FFFFFF; margin: 0 0 18px; }
.nq-cta h2 span { background: linear-gradient(90deg, var(--mint), var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nq-cta p { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto 32px; }
.nq-cta .nq-ctas { justify-content: center; }
.nq-cta__vision { font-size: 15px !important; margin: 32px auto 0 !important; }
.nq-cta__vision strong { color: #FFFFFF; }

/* Contact */
.nq-contact { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 56px; align-items: start; }
.nq-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.nq-steps li { position: relative; padding-left: 52px; counter-increment: step; }
.nq-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--teal); background: color-mix(in srgb, var(--teal) 12%, #FFFFFF); }
.nq-steps strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.nq-steps span { font-size: 15px; line-height: 1.6; }
.nq-form { border: 1px solid var(--line); border-radius: 18px; background: #FFFFFF; padding: 12px; box-shadow: 0 30px 60px -32px rgba(3, 37, 82,.3); }
.nq-form iframe { display: block; width: 100%; height: 1000px; border: 0; border-radius: 10px; }
.nq-note { font-size: 14px; line-height: 1.6; border-radius: 12px; background: var(--wash); padding: 16px 18px; margin: 0; }

/* Film (launch post, platform page) */
.nq-film { max-width: 1000px; margin: 0 auto 64px; }
.nq-film video { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--navy); box-shadow: 0 30px 60px -28px rgba(3, 37, 82,.45); }
.nq-wrap > .nq-film { margin-bottom: 0; }
.nq-film figcaption { margin-top: 12px; font-size: 14px; text-align: center; color: var(--muted); }

/* Footer */
.nq-footer { background: #06122A; color: rgba(255,255,255,.7); padding: 64px 24px 28px; font-size: 14px; }
.nq-footer__inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.nq-footer__name { font-size: 22px; font-weight: 800; color: #FFFFFF; margin: 0 0 12px; }
.nq-footer__brand p { max-width: 380px; line-height: 1.7; margin: 0 0 12px; }
.nq-footer__tag { color: var(--mint); font-weight: 600; }
.nq-footer__h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FFFFFF; margin: 0 0 14px; }
.nq-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nq-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.nq-footer a:hover { color: #FFFFFF; }
.nq-footer__base { max-width: var(--wrap); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.nq-footer__base p { margin: 0; }

.nq-footer__link { font: inherit; color: rgba(255,255,255,.75); background: none; border: 0; padding: 0; margin-left: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nq-footer__link:hover { color: #FFFFFF; }

@media (max-width: 1020px) {
  .nq-cards, .nq-cards--5 { grid-template-columns: repeat(2, 1fr); }
  .nq-flow { grid-template-columns: repeat(2, 1fr); }
  .nq-flow li::after { display: none; }
  .nq-split, .nq-split--even, .nq-contact { grid-template-columns: 1fr; gap: 40px; }
  .nq-split--media-left > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .nq-sec { padding: 72px 16px; }
  .nq-phero { padding: 80px 16px 72px; }
  .nq-cards, .nq-cards--2, .nq-cards--5, .nq-flow, .nq-gallery { grid-template-columns: 1fr; }
  .nq-cta { padding: 0 16px 72px; }
  .nq-cta__inner { padding: 56px 22px; border-radius: 20px; }
  .nq-footer__inner { grid-template-columns: 1fr; }
  .nq-header__inner { padding: 12px 16px; }
  .nq-form iframe { height: 1150px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
