/* FUBIT Global V2 — R41C visual-review stylesheet.
   Editorial / restrained: white, deep navy, restrained teal, thin rules.
   Layout is intentionally simple so it can be iterated after browser review. */
:root {
  /* R41C5: official FUBIT VI v2.0 core values */
  --fubit-blue: #0D1A2E;
  --fubit-cyan: #00C8C8;
  --fubit-deep-gray: #1F1F1F;
  --fubit-silver: #D9D9D9;
  --fubit-deep-teal: #006F7A;
  --fubit-gradient-start: #00E4FF;
  --fubit-gradient-end: #00B3C2;
  /* legacy names aliased to the official values */
  --navy: var(--fubit-blue);
  --navy-2: var(--fubit-blue);
  --ink: #17283f;
  --muted: #5b6b80;
  --rule: #d9dfe7;
  --teal: var(--fubit-deep-teal);   /* text/link accent on white (cyan lacks contrast on white) */
  --teal-2: #005a63;
  --accent: var(--fubit-cyan);      /* CTA / accent on dark */
  --mist: #eaf0f5;
  --white: #fff;
  --err: #a32121;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 17px; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 64px; max-width: 100%; object-fit: contain; background: none; border: 0; box-shadow: none; filter: none; } /* full transparent lockup (820x760); aspect preserved, never cropped */
.site-footer .brand-logo { height: 96px; }
@media (max-width: 900px) { .brand-logo { height: 56px; } .site-footer .brand-logo { height: 80px; } }
.nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav > ul { list-style: none; display: flex; gap: 30px; margin: 0 auto; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; font-size: .92rem; letter-spacing: .01em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav ul a:hover { border-bottom-color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right > a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .92rem; }
.nav-right > a:not(.btn):hover { color: var(--teal); }

/* R44: public Sign in selector */
.signin-menu { position: relative; }
.signin-menu > summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-size: .92rem;
  padding: 6px 0;
}
.signin-menu > summary::-webkit-details-marker { display: none; }
.signin-menu > summary::after {
  content: " ▾";
  font-size: .72em;
  color: var(--muted);
}
.signin-menu[open] > summary { color: var(--teal); }
.signin-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 260px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 12px 30px rgba(11,31,58,.1);
  z-index: 70;
}
.signin-list a,
.signin-soon {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  border: 0;
}
.signin-list a:hover { background: var(--mist); }
.signin-list span {
  display: block;
  color: var(--ink);
  font-size: .9rem;
}
.signin-list small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.35;
}
.signin-soon { cursor: not-allowed; }
.signin-soon span,
.signin-soon small { color: #98a4b3; }

.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); color: var(--navy); font: inherit; font-size: .9rem; padding: 8px 14px; cursor: pointer; }

/* Language: deliberately quiet */
.lang-menu { position: relative; }
.lang-btn { background: none; border: 0; font: inherit; font-size: .8rem; color: var(--muted); cursor: pointer; padding: 6px 0; letter-spacing: .04em; }
.lang-btn::after { content: " ▾"; font-size: .7em; }
.lang-list { list-style: none; margin: 0; padding: 8px 0; position: absolute; right: 0; top: 100%; min-width: 190px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 12px 30px rgba(11,31,58,.1); display: none; z-index: 60; }
.lang-menu.open .lang-list { display: block; }
.lang-list a, .lang-soon { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 8px 16px; font: inherit; font-size: .88rem; color: var(--ink); text-decoration: none; background: none; border: 0; text-align: left; }
.lang-list a:hover { background: var(--mist); }
.lang-list a[aria-current="true"] { color: var(--teal); font-weight: 600; }
.lang-soon { color: #98a4b3; cursor: not-allowed; }
.lang-note { font-size: .72rem; border: 1px solid var(--rule); padding: 0 6px; border-radius: 2px; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-size: .92rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; padding: 13px 26px; border: 1px solid transparent; cursor: pointer; border-radius: 2px; }
.btn-teal { background: var(--fubit-cyan); color: var(--fubit-blue); }
.btn-teal:hover { background: var(--fubit-gradient-end); }
.btn-sm { padding: 9px 18px; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn[disabled] { background: #c5ccd6; color: #fff; cursor: not-allowed; border-color: transparent; }
.link-quiet { font-size: .9rem; color: var(--teal); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Eyebrow */
.eyebrow { font-family: var(--sans); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 0 0 22px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 64px 80px max(40px, calc((100vw - var(--wrap)) / 2 + 40px)); }
.hero h1 { font-size: clamp(2.8rem, 4.2vw, 4rem); margin-bottom: 30px; }
.hero h1 span { display: block; }
/* R41E: each approved English short sentence occupies exactly one line. */
html[lang="en"] .hero h1 span { white-space: nowrap; }
@media (min-width: 901px) {
  html[lang="en"] .hero-copy { min-width: 0; container-type: inline-size; }
  html[lang="en"] .hero h1 { font-size: min(4rem, 13cqi); }
}
@media (max-width: 900px) {
  html[lang="en"] .hero h1 { font-size: clamp(2rem, 10vw, 3.8rem); }
}
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 30em; margin-bottom: 36px; }
.hero-photo { position: relative; background: #1d3553; min-height: 360px; }
.hero-photo img, .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { position: absolute; inset: 0; }
.photo-credit { position: absolute; right: 14px; bottom: 10px; font-size: .68rem; color: rgba(255,255,255,.75); letter-spacing: .06em; }

/* Principles */
.principles { border-bottom: 1px solid var(--rule); }
.principles .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle { padding: 52px 40px; border-left: 1px solid var(--rule); }
.principle:first-child { border-left: 0; padding-left: 0; }
.principle .num { font-family: var(--serif); color: var(--teal); font-size: 1rem; letter-spacing: .1em; }
.principle h3 { font-size: 1.7rem; margin: 8px 0 10px; }
.principle p { color: var(--muted); margin: 0; max-width: 20em; }

/* Sections */
.section { padding: 120px 0; }
.section.mist { background: var(--mist); }
.section.navy { background: var(--navy); color: #d5e0ee; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .eyebrow { color: var(--accent); }
.two { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.two h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; padding-top: 18px; border-top: 1px solid var(--navy); margin-bottom: 12px; }
.cols p { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 12px; }
.util-row { margin-top: 26px; font-size: .86rem; color: var(--muted); }
.util-row a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule); }
.util-row a:hover { color: var(--teal); border-color: var(--teal); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: rgba(255,255,255,.28); }
.steps li { position: relative; padding-top: 58px; font-size: 1.02rem; color: #fff; line-height: 1.35; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--accent); background: var(--navy); color: var(--accent); display: grid; place-items: center; font-family: var(--serif); }

/* Trust rows */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.row svg { width: 34px; height: 34px; stroke: var(--teal); fill: none; stroke-width: 1.2; }
.row h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.row p { margin: 0; color: var(--muted); }

/* Presence */
.presence { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--mist); }
.presence-copy { padding: 110px 64px 110px max(40px, calc((100vw - var(--wrap)) / 2 + 40px)); }
.presence-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin-bottom: 26px; }
.place { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); border-top: 1px solid var(--navy); padding-top: 14px; display: inline-block; margin-top: 12px; }
.photo { position: relative; min-height: 420px; background: #8aa0b8; }
.photo img { position: absolute; inset: 0; }

/* Insights */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--navy); }
.article { padding: 28px 32px 0 0; }
.article + .article { padding-left: 32px; border-left: 1px solid var(--rule); }
.article .k { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.article h3 { font-size: 1.45rem; margin: 12px 0; }
.article p { color: var(--muted); font-size: .95rem; }
.soon-note { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* Final CTA */
.final { background: var(--navy); color: #fff; padding: 84px 0; position: relative; overflow: hidden; }
.final .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.final h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.final .eyebrow { color: var(--accent); }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--rule); padding: 64px 0 36px; font-size: .9rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.site-footer h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: .8rem; }
.foot-bottom p { margin: 0; }

/* R44: three-column footer bottom with true centered visit counter */
.foot-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 24px;
}
.foot-bottom .footer-copyright {
  justify-self: start;
}
.foot-bottom .visit-counter {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}
.foot-bottom .footer-system-name {
  justify-self: end;
  text-align: right;
}
@media (max-width: 900px) {
  .foot-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .foot-bottom .footer-copyright,
  .foot-bottom .visit-counter,
  .foot-bottom .footer-system-name {
    justify-self: start;
    text-align: left;
  }
}
.legal { font-size: .78rem; max-width: 60em; margin-top: 36px; }
.group-cos { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); }
.group-cos ul { display: flex; flex-wrap: wrap; gap: 14px 56px; }
.group-cos li { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.group-cos strong { font-weight: 600; color: var(--navy); }
.group-cos span { font-size: .82rem; }

/* Inner pages */
.page-head { padding: 96px 0 56px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); max-width: 16em; }
.page-head .lead { color: var(--muted); max-width: 40em; margin: 22px 0 0; font-size: 1.1rem; }
.page-body { padding: 72px 0 110px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.panel h2 { font-size: 1.7rem; margin-bottom: 14px; }
.field { margin-bottom: 20px; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 11px 12px; border: 1px solid #aab5c3; border-radius: 2px; background: #fff; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.helper { font-size: .8rem; color: var(--muted); margin: 5px 0 0; }
.req { color: var(--err); }
.notice { border-left: 2px solid var(--teal); background: var(--mist); padding: 14px 18px; font-size: .92rem; color: var(--ink); margin: 0 0 24px; }
.notice.blocked { border-left-color: #b4781e; background: #fbf4e6; }
.status { margin: 16px 0 0; font-weight: 600; font-size: .92rem; }
fieldset { border: 0; border-top: 1px solid var(--rule); margin: 0 0 28px; padding: 22px 0 0; }
legend { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); padding: 0 12px 0 0; }
.phone-group { display: flex; gap: 8px; }
.phone-group select { flex: 0 0 42%; width: auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.checkbox input { margin-top: 5px; }
.plain-list { padding-left: 1.2em; color: var(--muted); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; color: var(--teal-2); letter-spacing: .02em; }
.roles { border-top: 1px solid var(--navy); }
.role { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.role h3 { font-size: 1.5rem; margin-bottom: 6px; }
.role p { margin: 0 0 .6em; color: var(--muted); font-size: .95rem; }
.role .path { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.dev-link { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: .92rem; color: var(--muted); }
details.contract { margin-top: 36px; border-top: 1px solid var(--rule); padding-top: 16px; font-size: .85rem; color: var(--muted); }
details.contract summary { cursor: pointer; color: var(--navy); font-weight: 600; }
details.contract pre { background: var(--mist); padding: 14px; overflow-x: auto; font-size: .78rem; }

/* Tablet */
@media (max-width: 1080px) {
  .nav > ul { gap: 20px; }
  .nav-right { gap: 14px; }
  .nav-right .btn { padding: 9px 14px; font-size: .84rem; }
  .brand { font-size: 1rem; }
}
/* Mobile / compact header */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .bar { height: 64px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 22px; box-shadow: 0 16px 30px rgba(11,31,58,.08); }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; gap: 0; margin: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav-right { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-right > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .signin-menu { border-bottom: 1px solid var(--rule); }
  .signin-menu > summary { padding: 14px 0; }
  .signin-list {
    position: static;
    min-width: 0;
    border: 0;
    border-top: 1px solid var(--rule);
    box-shadow: none;
    padding: 0 0 8px;
  }
  .signin-list a,
  .signin-soon { padding: 11px 12px; }
  .nav-right .btn { margin-top: 16px; text-align: center; padding: 14px; }
  .lang-menu { margin-top: 10px; }
  .lang-list { position: static; box-shadow: none; border: 0; padding: 0; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 52px 22px 40px; }
  .hero-photo { min-height: 300px; }
  .principles .wrap { grid-template-columns: 1fr; }
  .principle { border-left: 0; border-top: 1px solid var(--rule); padding: 30px 0; }
  .principle:first-child { border-top: 0; }
  .section { padding: 72px 0; }
  .two, .split, .presence { grid-template-columns: 1fr; gap: 40px; }
  .cols { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 19px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps li { padding: 6px 0 0 60px; min-height: 38px; }
  .presence-copy { padding: 64px 22px 40px; }
  .photo { min-height: 300px; }
  .articles { grid-template-columns: 1fr; margin-top: 40px; }
  .article, .article + .article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .final .wrap { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .page-head { padding: 56px 0 36px; }
  .page-body { padding: 44px 0 72px; }
  .role { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- R41C4: Trusted Supply second-level nav (restrained popover) ---- */
.nav ul li.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle { background: none; border: 0; padding: 6px 4px; cursor: pointer; color: var(--muted); font-size: .7rem; line-height: 1; }
.sub-toggle::after { content: "▾"; }
.sub-toggle:hover, .sub-toggle:focus-visible { color: var(--teal); }
.sub-list { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 190px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 12px 30px rgba(11,31,58,.1); display: none; z-index: 60; }
.has-sub.sub-open .sub-list { display: block; }
.nav ul .sub-list a { display: block; padding: 9px 16px; font-size: .88rem; border-bottom: 0; }
.nav ul .sub-list a:hover { background: var(--mist); color: var(--teal); }
@media (max-width: 900px) {
  .nav ul li.has-sub { flex-wrap: wrap; }
  .nav ul li.has-sub > a { flex: 1; }
  .sub-list { position: static; box-shadow: none; border: 0; width: 100%; padding: 0 0 0 14px; }
  .nav ul .sub-list a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
}

/* ---- R41C4: login choices ---- */
.auth-choice { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.auth-choice h3 { font-size: 1.2rem; margin: 0 0 6px; }
.auth-choice p { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.auth-choice .helper { margin-top: 10px; }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: .6; }
.btn[aria-disabled="true"]:hover { background: transparent; color: var(--navy); }

/* ---- R41C4: FUBIT AI consultation core, service window, launcher ---- */
.ai-core { color: var(--ink); }
.ai-name { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin: 0 0 10px; }
.ai-head { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: 1.9rem; line-height: 1.2; margin: 0 0 14px; }
.ai-page .ai-head { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.ai-copy { color: var(--muted); margin: 0 0 8px; font-size: .96rem; }
.ai-topics { margin: 0 0 20px; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ai-chip { font: inherit; font-size: .84rem; color: var(--navy); background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.ai-chip:hover { border-color: var(--teal); color: var(--teal); }
.ai-form textarea { margin-bottom: 12px; }
.ai-status { margin: 14px 0 0; font-size: .86rem; color: var(--muted); min-height: 1.2em; }
.ai-sr { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ai-page { max-width: 720px; }
.ai-panel { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%; background: #fff; border-left: 1px solid var(--rule); box-shadow: -16px 0 40px rgba(11,31,58,.12); padding: 40px 32px 32px; overflow-y: auto; z-index: 100; }
.ai-panel[hidden] { display: none; }
.ai-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.ai-close:hover { color: var(--navy); }
.ai-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 90; font: inherit; font-size: .84rem; font-weight: 600; letter-spacing: .04em; color: var(--teal); background: #fff; border: 1px solid var(--teal); border-radius: 999px; padding: 9px 18px; cursor: pointer; box-shadow: 0 6px 18px rgba(11,31,58,.1); }
.ai-launcher:hover { background: var(--teal); color: #fff; }
.ai-launcher[hidden] { display: none; }
@media (max-width: 900px) {
  .ai-panel { width: 100%; border-left: 0; box-shadow: none; padding: 56px 22px 28px; }
  body.ai-open { overflow: hidden; }
}

/* R41E: photography within the existing editorial article columns. */
.article-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 20px; }
/* A review marker reserves the old slot; it is not a substitute logo. */
.brand-asset-pending { display: grid; place-items: center; width: 69px; height: 64px; white-space: normal; font: 10px/1.3 var(--sans); color: var(--muted); border: 1px dashed var(--rule); text-align: center; }
.site-footer .brand-asset-pending { width: 104px; height: 96px; }
@media (max-width: 900px) { .brand-asset-pending { width: 60px; height: 56px; } .site-footer .brand-asset-pending { width: 86px; height: 80px; } }

/* Complete approved original: no image transformation, crop, mask or filter. */
.bar { height: 84px; }
.brand-logo { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }
.brand { flex-shrink: 0; }
.site-footer .brand-logo { width: 96px; height: 96px; }
@media (max-width: 900px) { .bar { height: 80px; } .brand-logo { width: 68px; height: 68px; } .site-footer .brand-logo { width: 96px; height: 96px; } }

/* R41E3: enlarge the complete desktop header lockup by 12.5% within its frozen layout slot. */
@media (min-width: 901px) { .site-header .brand-logo { transform: scale(1.125); transform-origin: left center; } }

/* R41E final: measured against approved-home.png (886 x 1775).
   Scoped to the English home page; existing routes and business scripts unchanged. */
.v2-fidelity { --wrap: 1440px; --serif: Georgia, "Times New Roman", serif; }
.v2-fidelity h1, .v2-fidelity h2 { font-weight: 400; }
.v2-fidelity .wrap { padding-left: 5.42vw; padding-right: 5.42vw; }
.v2-fidelity .bar { gap: 22px; }
.v2-fidelity .nav { gap: 20px; }
.v2-fidelity .nav > ul { gap: 24px; }
.v2-fidelity .nav-right { gap: 20px; }
.v2-fidelity .nav ul a, .v2-fidelity .nav-right > a:not(.btn) { font-size: 13px; }
.v2-fidelity .hero { grid-template-columns: 45.6fr 54.4fr; min-height: 510px; }
.v2-fidelity .hero-copy { padding: 64px 48px 52px 5.42vw; }
.v2-fidelity .hero h1 { font-size: min(60px, 13cqi); line-height: 1.04; margin-bottom: 24px; }
@media (min-width: 901px) { html[lang="en"] .v2-fidelity .hero h1 { font-size: min(60px, 13cqi); } }
.v2-fidelity .eyebrow { margin-bottom: 20px; font-size: 11px; }
.v2-fidelity .hero .lead { font-size: 19px; line-height: 1.5; margin-bottom: 24px; }
.v2-fidelity .hero-photo img { object-position: center; }
.v2-fidelity .principles .wrap { padding-top: 30px; padding-bottom: 30px; }
.v2-fidelity .principle { padding: 0 36px; display: grid; grid-template-columns: 42px 1fr; column-gap: 18px; align-content: start; }
.v2-fidelity .principle:first-child { padding-left: 0; }
.v2-fidelity .principle .num { grid-row: 1 / 3; padding-top: 1px; }
.v2-fidelity .principle h3 { margin: 0 0 6px; font-size: 21px; }
.v2-fidelity .principle p { font-size: 15px; line-height: 1.45; }
.v2-fidelity .section { padding: 50px 0; }
.v2-fidelity .two { grid-template-columns: 42fr 58fr; gap: 52px; }
.v2-fidelity .two h2 { font-size: 54px; line-height: 1.08; }
.v2-fidelity #trusted-supply { background: #f5f7f9; }
.v2-fidelity #trusted-supply .two { grid-template-columns: 44fr 56fr; }
.v2-fidelity #trusted-supply h2::before { content: "Trusted supply"; display: block; font: 600 11px/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.v2-fidelity .cols { gap: 48px; }
.v2-fidelity .cols h3 { border: 0; padding: 4px 0 0; font: 600 19px/1.2 var(--serif); }
.v2-fidelity .cols p { font-size: 16px; line-height: 1.5; margin-bottom: 0; }
.v2-fidelity #trusted-supply .cta-row { margin-top: 22px !important; }
.v2-fidelity #trusted-supply .util-row { margin: 12px 0 0; }
.v2-fidelity #how-it-works .two { grid-template-columns: 32fr 68fr; }
.v2-fidelity #how-it-works h2 { font-size: 40px; }
.v2-fidelity .steps { gap: 28px; }
.v2-fidelity .steps li { font: 400 17px/1.3 var(--serif); padding-top: 64px; }
.v2-fidelity .steps li p { margin: 12px 0 0; font: 15px/1.5 var(--sans); color: #d5e0ee; }
.v2-fidelity .steps li::before { width: 43px; height: 43px; color: #fff; }
.v2-fidelity .steps::before { top: 22px; right: 10%; }
.v2-fidelity #trust .two { grid-template-columns: 34fr 66fr; }
.v2-fidelity #trust h2::before { content: "Trust"; display: block; font: 600 11px/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.v2-fidelity .rows { border-top: 0; }
.v2-fidelity .row { padding: 28px 0; grid-template-columns: 66px 1fr; }
.v2-fidelity .row:first-child { padding-top: 0; }
.v2-fidelity .row:last-child { border-bottom: 0; padding-bottom: 0; }
.v2-fidelity .row > div { display: grid; grid-template-columns: 31fr 69fr; gap: 24px; }
.v2-fidelity .row h3 { font: 600 20px/1.4 var(--serif); }
.v2-fidelity .row p { font-size: 15px; line-height: 1.5; }
.v2-fidelity .presence { padding: 36px 3.7vw 36px 5.42vw; grid-template-columns: 41fr 59fr; gap: 54px; }
.v2-fidelity .presence-copy { padding: 0; }
.v2-fidelity .presence-copy h2 { font-size: 51px; margin-bottom: 22px; }
.v2-fidelity .presence-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.45; }
.v2-fidelity .place { font-size: 22px; }
.v2-fidelity .photo { min-height: 420px; }
.v2-fidelity #insights { padding-top: 44px; padding-bottom: 30px; }
.v2-fidelity #insights h2 { font-size: 44px !important; }
.v2-fidelity #insights h2::before { content: "Insights"; display: block; font: 600 11px/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.v2-fidelity .articles { gap: 34px; margin-top: 20px; border: 0; }
.v2-fidelity .article, .v2-fidelity .article + .article { padding: 0; border: 0; }
.v2-fidelity .article-photo { aspect-ratio: 3.45; margin-bottom: 12px; }
.v2-fidelity .article .k { font-size: 9px; }
.v2-fidelity .article h3 { font-size: 20px; margin: 8px 0; }
.v2-fidelity .article p { font-size: 15px; line-height: 1.45; margin-bottom: 0; }
.v2-fidelity .final { padding: 32px 0; }
.v2-fidelity .final h2 { font-size: 46px; }
.v2-fidelity .final .eyebrow { margin-bottom: 10px; }
.v2-fidelity .final .btn { background: var(--fubit-cyan); color: var(--fubit-blue); border-color: transparent; }
.v2-fidelity .site-footer { padding: 24px 0 18px; }
.v2-fidelity .foot-grid { grid-template-columns: 2fr 2fr 1.2fr 1.6fr; gap: 30px; }
.v2-fidelity .site-footer h2 { font-size: 10px; margin-bottom: 10px; }
.v2-fidelity .site-footer li { margin-bottom: 3px; font-size: 12px; }
.v2-fidelity .site-footer .brand-asset-pending { width: 80px; height: 46px; }
.v2-fidelity .foot-grid p { font-size: 12px; margin-top: 8px !important; margin-bottom: 0; }
.v2-fidelity .group-cos { margin-top: 20px; padding-top: 14px; }
.v2-fidelity .legal { margin-top: 16px; font-size: 11px; }
.v2-fidelity .foot-bottom { margin-top: 16px; padding-top: 12px; font-size: 11px; }
@media (max-width: 1100px) and (min-width: 901px) {
  .v2-fidelity .nav > ul { gap: 12px; }
  .v2-fidelity .nav-right { gap: 12px; }
}
@media (max-width: 900px) {
  .v2-fidelity .wrap { padding-left: 22px; padding-right: 22px; }
  .v2-fidelity .hero { grid-template-columns: 1fr; min-height: 0; }
  .v2-fidelity .hero-copy { padding: 48px 22px 36px; }
  .v2-fidelity .hero h1 { font-size: clamp(2rem, 10vw, 3.8rem); }
  .v2-fidelity .hero .lead { font-size: 17px; }
  .v2-fidelity .principle, .v2-fidelity .principle:first-child { padding: 22px 0; }
  .v2-fidelity .principles .wrap { padding-top: 0; padding-bottom: 0; }
  .v2-fidelity .section { padding: 48px 0; }
  .v2-fidelity .two, .v2-fidelity #trusted-supply .two, .v2-fidelity #how-it-works .two, .v2-fidelity #trust .two { grid-template-columns: 1fr; gap: 28px; }
  .v2-fidelity .two h2, .v2-fidelity #how-it-works h2, .v2-fidelity .presence-copy h2 { font-size: 36px; }
  .v2-fidelity .cols { gap: 24px; }
  .v2-fidelity .steps li { padding: 6px 0 0 60px; }
  .v2-fidelity .steps li::before { width: 38px; height: 38px; }
  .v2-fidelity .steps::before { top: 0; right: auto; }
  .v2-fidelity .row { grid-template-columns: 38px 1fr; gap: 16px; padding: 24px 0; }
  .v2-fidelity .row > div { display: block; }
  .v2-fidelity .row h3 { margin-bottom: 8px; }
  .v2-fidelity .presence { grid-template-columns: 1fr; padding: 48px 22px 22px; gap: 24px; }
  .v2-fidelity .photo { min-height: 280px; }
  .v2-fidelity #insights h2 { font-size: 32px !important; }
  .v2-fidelity .articles { gap: 28px; }
  .v2-fidelity .article-photo { aspect-ratio: 2.5; }
  .v2-fidelity .final { padding: 36px 0; }
  .v2-fidelity .final h2 { font-size: 34px; }
  .v2-fidelity .final .wrap { gap: 24px; }
  .v2-fidelity .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* R44 LANGUAGE DROPDOWN VISUAL FIX
   Desktop only:
   - align English with all other language labels
   - keep Coming soon on one line
   - prevent language names from wrapping
   - give the dropdown a stable two-column layout
*/
@media (min-width: 901px) {
  .lang-list {
    min-width: 340px;
    width: 340px;
  }

  .lang-list > li {
    margin: 0;
    padding: 0;
  }

  .lang-list a,
  .lang-soon {
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.35;
    align-items: center;
    white-space: nowrap;
  }

  .lang-list a {
    display: grid;
    grid-template-columns: minmax(145px, 1fr) max-content;
    justify-content: stretch;
  }

  .lang-soon {
    display: grid;
    grid-template-columns: minmax(145px, 1fr) max-content;
    column-gap: 20px;
    justify-content: stretch;
  }

  .lang-list a > span:first-child,
  .lang-soon > span:first-child {
    min-width: 0;
    white-space: nowrap;
  }

  .lang-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.2;
    padding: 4px 8px;
  }
}

/* R44 LANGUAGE DROPDOWN DENSITY FIX R3
   Final desktop visual tightening:
   - equal label typography including English
   - compact navigation-style row rhythm
   - eliminate inherited list-item vertical spacing
   - keep Coming soon compact and aligned
*/
@media (min-width: 901px) {
  .lang-list {
    width: 320px;
    min-width: 320px;
    padding: 6px 0;
  }

  .lang-list > li,
  .lang-list > li + li {
    margin: 0 !important;
    padding: 0 !important;
  }

  .lang-list a,
  .lang-soon {
    width: 100%;
    min-height: 42px;
    padding: 7px 14px;
    margin: 0;
    box-sizing: border-box;
    align-items: center;
    font-size: 17px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .lang-list a {
    display: flex;
    justify-content: flex-start;
    color: var(--teal);
    font-weight: 600;
  }

  .lang-soon {
    display: grid;
    grid-template-columns: minmax(132px, 1fr) max-content;
    column-gap: 14px;
    justify-content: stretch;
  }

  .lang-soon > span:first-child {
    font-size: 17px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .lang-note {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 3px 7px;
    margin: 0;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }
}

/* R44 LANGUAGE DROPDOWN SPECIFICITY FIX R4
   Root cause:
   .v2-fidelity .nav ul a overrides the English anchor typography.
   Use equally/more specific language selectors and final compact density.
*/
@media (min-width: 901px) {
  .v2-fidelity .nav .lang-list {
    width: 300px;
    min-width: 300px;
    padding: 4px 0;
  }

  .v2-fidelity .nav .lang-list > li,
  .v2-fidelity .nav .lang-list > li + li {
    margin: 0 !important;
    padding: 0 !important;
  }

  .v2-fidelity .nav .lang-list a,
  .v2-fidelity .nav .lang-soon {
    box-sizing: border-box;
    width: 100%;
    min-height: 34px;
    margin: 0;
    padding: 5px 12px;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0;
    align-items: center;
    white-space: nowrap;
  }

  .v2-fidelity .nav .lang-list a {
    display: flex;
    justify-content: flex-start;
    color: var(--teal);
    font-weight: 600;
    border-bottom: 0;
  }

  .v2-fidelity .nav .lang-soon {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) max-content;
    column-gap: 12px;
    justify-content: stretch;
  }

  .v2-fidelity .nav .lang-soon > span:first-child {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .v2-fidelity .nav .lang-note {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    margin: 0;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }
}

/* R44 LANGUAGE DROPDOWN FINAL TUNING R5
   User visual acceptance tuning:
   - English slightly larger for optical parity
   - narrower menu
   - compact fixed language/status columns
*/
@media (min-width: 901px) {
  .v2-fidelity .nav .lang-list {
    width: 260px;
    min-width: 260px;
  }

  .v2-fidelity .nav .lang-list a {
    font-size: 16px;
  }

  .v2-fidelity .nav .lang-soon {
    grid-template-columns: 108px max-content;
    column-gap: 8px;
    justify-content: start;
  }

  .v2-fidelity .nav .lang-note {
    justify-self: start;
  }
}

/* R44 ABOUT PAGE (about/index.html) — About-specific additions only */
.about-head { background: var(--mist); }
.about-prose p { color: var(--muted); max-width: 42em; }
.about-pull { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--navy); border-left: 2px solid var(--accent); padding-left: 20px; max-width: 28em; }
.section.navy .about-pull { color: #fff; }
.about-mv h2 { margin-bottom: 18px; }
.about-mv .eyebrow { margin-bottom: 10px; }
.about-h2 { max-width: 16em; font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin-bottom: 48px; }
.about-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-area { background: #fff; border-top: 2px solid var(--navy); padding: 32px 32px 28px; }
.about-area .num { font-family: var(--serif); color: var(--teal); letter-spacing: .1em; }
.about-area h3 { font-size: 1.5rem; margin: 6px 0 14px; }
.about-area p { color: var(--muted); }
.about-area .about-sub { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.about-not { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid rgba(255,255,255,.28); }
.about-not li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 1.1rem; }
.about-contact { margin: 18px 0 0; color: #d5e0ee; }
.about-contact a { color: #fff; }
@media (max-width: 900px) {
  .about-areas { grid-template-columns: 1fr; }
  .about-area { padding: 26px 22px; }
  .about-pull { font-size: 1.25rem; }
}

/* R44 FOOTER AI LAUNCHER CLEARANCE
   The fixed FUBIT AI launcher (bottom 22px, ~38px tall) must never sit over
   the footer's last line. Reserve modest bottom space below the footer
   content so the page can scroll the text clear of the launcher. */
.site-footer,
.v2-fidelity .site-footer {
  padding-bottom: 68px;
}
@media (max-width: 900px) {
  .site-footer,
  .v2-fidelity .site-footer {
    padding-bottom: 72px;
  }
}

/* R44H1_SIGNIN_HOVER_BRIDGE
   Transparent pointer bridge across the visual gap beneath Sign in.
   No visible layout, typography, destination, or menu-content change. */
@media (hover: hover) and (pointer: fine) {
  .signin-list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
    background: transparent;
    pointer-events: auto;
  }
}
