/* Local RAPID visual adaptation, not reference CSS or third-party assets. */
:root {
  --bg: #0d192a;
  --surface: #152840;
  --near: #1a314b;
  --border: #415d79;
  --ink: #edf3fa;
  --muted: #bacada;
  --accent: #a4d0ff;
  --mint: #a0dfbd;
  --steel: #c6d4e1;
  --blue: #9fc9ff;
  --front-panel: #112239;
}
body {font-family: Arial, Helvetica, sans-serif;}
main:focus {outline:3px solid #ffdf80;outline-offset:-3px;}
.wrap {width:min(100%,80rem);}
.nav-demo {text-align:center;padding:.46rem 0;background:#14263b;}
.top {background:#102036;}
.topline {display:grid;grid-template-columns:minmax(9rem,.65fr) minmax(0,2.4fr);gap:.55rem 1.5rem;padding-block:.95rem .55rem;}
.topline > .brand {grid-row:span 2;justify-self:start;font-size:1.34rem;letter-spacing:.06em;}
.topline > nav:last-child {justify-self:end;}
.language {gap:.25rem .38rem;}
.language a {display:block;min-block-size:2.35rem;padding:.44rem .56rem;border-radius:.28rem;}
.language a[aria-current] {background:#203954;}
.brand-shortcuts ul,.entry-paths,.regions,.overview-links,.intent-paths {list-style:none;margin:0;padding:0;}
.brand-shortcuts ul {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.4rem;}
.brand-link {display:grid;place-content:center;min-block-size:3.1rem;padding:.36rem .28rem;text-align:center;text-decoration:none;border:1px solid #344e68;border-radius:.45rem;background:#132841;font-size:.88rem;font-weight:700;line-height:1.25;overflow-wrap:anywhere;}
.brand-link.natura {color:var(--mint);}
.brand-link.industrial {color:var(--steel);}
.brand-link.tech {color:var(--blue);}
.brand-link.trade {color:#c1dbed;}
.brand-link.os {color:#e7edf7;}
.brand-link:hover,.language a:hover {border-color:#82afdb;background:#223a58;color:#fff;}
.front-desktop {border-top:1px solid #2d465f;padding-top:.32rem;}
.front-desktop .menu {justify-content:flex-end;gap:.2rem .95rem;padding-block:.2rem .35rem;}
.front-desktop .menu a {display:block;padding:.48rem 0;}
.front-mobile {display:none;}
.front-home {padding-top:0;}
.home-hero {border:0;border-radius:0;padding:clamp(2.4rem,5.7vw,5.45rem) clamp(.12rem,2.5vw,2rem);background:radial-gradient(ellipse at 88% 7%,#173456 0%,transparent 57%);}
.home-hero::after {display:none;}
.home-hero h1 {font-size:clamp(2.4rem,5vw,4.65rem);line-height:1.06;max-width:16ch;}
.home-statement {max-width:65rem;}
.home-hero .kicker {margin-bottom:1.25rem;}
.home-slogan {font-size:clamp(1.15rem,2.3vw,1.5rem);font-weight:700;color:#d8e7f6;margin-bottom:.7rem;}
.home-hero .intro {max-width:45rem;}
.home-actions {margin-top:1.65rem;gap:.65rem;}
.home-actions .btn {border:1px solid transparent;min-block-size:2.96rem;font-size:.94rem;}
.home-actions .secondary {border-color:#446383;background:#1a304b;}
.home-actions .secondary:hover {background:#28466b;}
.home-section {margin-bottom:clamp(2.35rem,6vw,5.1rem);padding-inline:clamp(.12rem,2.5vw,2rem);}
.home-section h2 {font-size:clamp(1.55rem,3.45vw,2.72rem);letter-spacing:-.025em;margin-bottom:.95rem;}
.world {position:relative;display:grid;gap:1.1rem;grid-template-columns:1fr 1.1fr;background:linear-gradient(135deg,#182f4b,#0d2034);border:1px solid #405d77;border-radius:1.15rem;padding:clamp(1rem,3vw,2.1rem);overflow:clip;}
.world-copy p {max-width:34ch;}
.globe-drawing {min-height:9.5rem;aspect-ratio:2.35;margin:auto;width:min(100%,30rem);background:radial-gradient(ellipse at 65% 40%,#408cc349,transparent 65%),repeating-linear-gradient(0deg,transparent 0 23px,#a5d7fb25 24px 25px),repeating-linear-gradient(90deg,transparent 0 36px,#a5d7fb25 37px 38px);border:1px solid #6389ac89;border-radius:50%;box-shadow:0 0 2.6rem #5989bd30, inset 0 0 2.5rem #315c8d;}
.regions {grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;}
.regions details {background:#112740;border:1px solid #425e78;border-radius:.55rem;padding:.2rem .62rem .3rem;}
.regions summary {min-block-size:2.75rem;padding:.54rem .1rem;}
.regions details p,.regions details a {display:block;padding-inline:.13rem;margin-bottom:.45rem;font-size:.94rem;}
.entry-paths,.intent-paths {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;}
.intent-paths {grid-template-columns:repeat(4,minmax(0,1fr));}
.path-card {display:block;height:100%;border:1px solid #466682;border-radius:.75rem;padding:clamp(.85rem,2.1vw,1.45rem);background:linear-gradient(135deg,#1a324d,#132641);text-decoration:none;overflow-wrap:anywhere;}
.path-card:hover {background:#223b5b;border-color:#87afd4;}
.path-card h3 {margin-bottom:.4rem;color:var(--ink);font-size:1.12rem;}
.path-card p {margin:0;}
.overview h2 {font-size:1.28rem;letter-spacing:.09em;color:#c1ddf5;}
.overview-row {display:grid;grid-template-columns:minmax(11rem,.95fr) minmax(0,2.6fr);gap:1rem;padding:1rem 1.2rem;border:1px solid #415b76;border-left:.24rem solid #78b5ef;border-radius:.5rem;background:#142943;margin-bottom:.48rem;}
.overview-row:nth-of-type(2) {border-left-color:#91aee0;background:#172c47;}
.overview-row:nth-of-type(3) {border-left-color:#98bacb;background:#122438;}
.overview-row .kicker {margin-bottom:.28rem;}
.overview-row h3,.overview-row p {margin-bottom:.2rem;}
.overview-content {align-self:center;}
.overview-links {display:flex;flex-wrap:wrap;gap:.36rem .8rem;}
.overview-links a {display:block;padding:.24rem .34rem;}
.home-areas {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.72rem;}
.home-areas .card {overflow-wrap:anywhere;scroll-margin-block:1rem;}
.home-areas .card.natura,.hero.natura {background:#16352f linear-gradient(115deg,#15302b,#1d403a);}
.home-areas .card.industrial,.hero.industrial {background:#253242 linear-gradient(115deg,#23303f,#2b394d);}
.home-areas .card.tech,.hero.tech {background:#17324e linear-gradient(115deg,#152c49,#204367);}
.trade-hub {background:#202a41;border-top-color:#b3c1de;}
.about {margin-bottom:2.1rem;}
.finder-links .kicker {margin-bottom:.4rem;}
.finder-links .path-card h3 {margin:0;}
@media(max-width:67rem) {.home-areas {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:56rem) {
  .front-desktop {display:none;}
  .front-mobile {display:block;padding:.2rem 0 .7rem;}
  .front-mobile summary {width:fit-content;min-block-size:2.75rem;padding:.55rem .78rem;background:#172f4b;border:1px solid #45637f;border-radius:.4rem;}
  .front-mobile .menu {padding:.45rem 0;gap:0;}
  .front-mobile li {flex:0 0 100%;border-bottom:1px solid #334d68;}
  .front-mobile .menu a {display:block;padding:.6rem .24rem;}
}
@media(max-width:44rem) {
  .topline {grid-template-columns:minmax(0,1fr);gap:.6rem;}
  .topline>.brand {grid-row:auto;justify-self:center;}
  .topline>nav:last-child {justify-self:center;}
  .brand-shortcuts ul {grid-template-columns:repeat(3,minmax(0,1fr));}
  .entry-paths,.intent-paths {grid-template-columns:repeat(2,minmax(0,1fr));}
  .world {grid-template-columns:1fr;}
  .world-copy p {max-width:none;}
  .globe-drawing {min-height:7rem;}
  .regions {grid-template-columns:repeat(2,minmax(0,1fr));}
  .overview-row {grid-template-columns:1fr;gap:.46rem;}
}
@media(max-width:30rem) {
  .entry-paths,.intent-paths,.home-areas {grid-template-columns:1fr;}
  .home-actions {display:grid;grid-template-columns:1fr;}
  .home-actions .btn {text-align:center;}
  .language a {padding-inline:.35rem;font-size:.84rem;}
  .overview-row {padding-inline:.82rem;}
}

/* Reference proportions without reference artwork, CSS or component source. */
:root {--bg:#0c1929;}
.home-hero {background:none;}
.home-hero h1 {max-width:min(100%,42rem);}
.home-hero .kicker {letter-spacing:.135em;}
.home-hero .intro {font-size:1.13rem;line-height:1.65;}
.home-slogan {font-size:1.12rem;font-weight:400;}
.home-actions .btn {background:#c5e3f1;min-block-size:3.42rem;padding-inline:1.18rem;}
.home-actions .secondary {background:#213448;color:var(--ink);}
.home-actions .btn:not(.secondary):hover {background:#e4f4fb;}
.home-actions .secondary:hover {background:#29465f;}
.world {border-radius:0;border-width:1px 0;background:#0a1c2d;gap:1.2rem;}
.orientation {padding-top:clamp(.9rem,3vw,2rem);border-top:1px solid #38556d;}
.orientation h2 {max-width:28ch;}
.orientation p {margin-bottom:0;}
.about details {padding:.6rem 1rem;background:#14283c;border:1px solid #415d79;border-radius:.5rem;}
.about details summary {font-weight:700;min-block-size:2.25rem;padding-block:.35rem;}
.about details p {margin:.44rem 0 .2rem;}
.front-finder .hero {background:#182a3c;border:1px solid #435d74;padding:clamp(1rem,3vw,2.2rem);border-radius:.9rem;}
.front-finder .hero::after {display:none;}
.front-finder .hero h1 {max-width:30ch;font-size:clamp(2rem,4.5vw,3.85rem);}
.front-finder .help,.front-finder .card {background:#182c40;border-color:#43617c;}
.front-finder .grid .card {padding:1.24rem;}
.front-finder .grid .card h3 {margin:0;}
@media(min-width:56.01rem) {
  .topline {grid-template-columns:minmax(8rem,.78fr) minmax(0,1.66fr) minmax(16rem,1.08fr);align-items:center;min-block-size:6.02rem;gap:.75rem 1.2rem;}
  .topline>.brand {grid-row:auto;}
  .front-desktop .menu {justify-content:space-between;}
  .home-hero {padding-block:clamp(4rem,6vw,5.15rem) clamp(3.6rem,5vw,4.8rem);}
}
@media(max-width:44rem) {
  .home-hero h1 {max-width:20ch;}
  .world {padding:1.25rem .86rem;}
}
.about > p {margin:1rem 0 0;}
@media (min-width:56.01rem) {.client-entry-header .topline {grid-template-columns:minmax(9rem,.65fr) minmax(0,2.4fr);}}

/* RQ-02: explicit, shared palette for platform cards, hubs and Finder.
   Corporate blue is the default; the separate Global Trade hub is not a platform. */
:root {
  --pf-surface: #182a3d;
  --pf-raised: #223850;
  --pf-field: #102337;
  --pf-frame: #7997b5;
  --pf-accent: #bde4ff;
  --pf-ink: #f1f6fb;
  --pf-muted: #c0d3e5;
  --pf-button-ink: #10263a;
  --pf-focus: #ffe194;
}
:is(.card.natura, .brand-link.natura, .hero.natura, .hero.natura + .help, .front-finder[data-finder-platform="natura"]) {
  --pf-surface: #15392e;
  --pf-raised: #205241;
  --pf-field: #112e25;
  --pf-frame: #80b99d;
  --pf-accent: #bcefcf;
  --pf-ink: #f2fbf4;
  --pf-muted: #c4dfcd;
  --pf-button-ink: #112c22;
}
:is(.card.industrial, .brand-link.industrial, .hero.industrial, .hero.industrial + .help, .front-finder[data-finder-platform="industrial"]) {
  --pf-surface: #2b313b;
  --pf-raised: #3b4553;
  --pf-field: #212831;
  --pf-frame: #a2adbb;
  --pf-accent: #dbe5ef;
  --pf-ink: #f4f7fa;
  --pf-muted: #ccd5df;
  --pf-button-ink: #212932;
}
:is(.card.tech, .brand-link.tech, .hero.tech, .hero.tech + .help, .front-finder[data-finder-platform="tech"]) {
  --pf-surface: #153b62;
  --pf-raised: #204d79;
  --pf-field: #112e4d;
  --pf-frame: #8bb9e8;
  --pf-accent: #c6e6ff;
  --pf-ink: #f2f8ff;
  --pf-muted: #c7def4;
  --pf-button-ink: #122c47;
}
:is(.card:is(.natura,.industrial,.tech,.trade-hub),
    .hero:is(.natura,.industrial,.tech),
    .hero:is(.natura,.industrial,.tech) + .help,
    .front-finder :is(.hero,.help,.card)) {
  color: var(--pf-ink);
  background: var(--pf-surface);
  border-color: var(--pf-frame);
}
:is(.card:is(.natura,.industrial,.tech,.trade-hub), .front-finder .card) {
  border-top-color: var(--pf-accent);
}
.card:is(.natura,.industrial,.tech):target {
  background: var(--pf-raised);
}
:is(.card:is(.natura,.industrial,.tech,.trade-hub),
    .hero:is(.natura,.industrial,.tech),
    .hero:is(.natura,.industrial,.tech) + .help,
    .front-finder :is(.hero,.help,.card)) p {
  color: var(--pf-muted);
}
:is(.card:is(.natura,.industrial,.tech,.trade-hub),
    .hero:is(.natura,.industrial,.tech),
    .hero:is(.natura,.industrial,.tech) + .help,
    .front-finder) :is(a:not(.btn), .kicker) {
  color: var(--pf-accent);
}
:is(.card:is(.natura,.industrial,.tech), .hero:is(.natura,.industrial,.tech) + .help, .front-finder) a:not(.btn):hover {
  color: var(--pf-ink);
}
.brand-link:is(.natura,.industrial,.tech,.trade) {
  background: var(--pf-surface);
  border-color: var(--pf-frame);
  color: var(--pf-accent);
}
.brand-link:is(.natura,.industrial,.tech,.trade):hover {
  background: var(--pf-raised);
}
.hero:is(.natura,.industrial,.tech)::after {
  border-color: var(--pf-frame);
  box-shadow: none;
  opacity: .3;
}
.front-finder select {
  background: var(--pf-field);
  border-color: var(--pf-frame);
  color: var(--pf-ink);
}
.front-finder .btn:not(.secondary) {
  background: var(--pf-accent);
  border: 1px solid var(--pf-accent);
  color: var(--pf-button-ink);
}
.front-finder .btn:not(.secondary):enabled:hover {
  background: var(--pf-ink);
}
:is(.front-finder, .hero:is(.natura,.industrial,.tech)) .btn.secondary {
  background: var(--pf-field);
  border-color: var(--pf-frame);
  color: var(--pf-ink);
}
:is(.front-finder, .hero:is(.natura,.industrial,.tech)) .btn.secondary:hover {
  background: var(--pf-raised);
}
:is(.front-finder,.card:is(.natura,.industrial,.tech),.hero:is(.natura,.industrial,.tech) + .help)
  :is(a,button,select,summary):focus-visible {
  outline-color: var(--pf-focus);
}
.front-finder #finder-query-error p {
  border-inline-start: .2rem solid #ffb6ab;
  color: #ffe4df;
  padding-inline-start: .65rem;
}

/* Owner-provided PNGs; they are unmodified. Their scale is set in CSS only. */
:is(.card.tech, .brand-link.tech, .hero.tech, .hero.tech + .help, .front-finder[data-finder-platform="tech"]) {
  --pf-surface: #3c2b1e;
  --pf-raised: #503827;
  --pf-field: #312217;
  --pf-frame: #d4ad80;
  --pf-accent: #f7d9a8;
  --pf-ink: #fff9ef;
  --pf-muted: #efddc4;
  --pf-button-ink: #332113;
}
:is(.card.trade-hub, .brand-link.trade) {
  --pf-surface: #47272e;
  --pf-raised: #5a313a;
  --pf-field: #371c22;
  --pf-frame: #dc99a6;
  --pf-accent: #ffdce3;
  --pf-ink: #fff5f7;
  --pf-muted: #f0ced6;
}
.brand.logo-masthead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .32rem;
  border: 1px solid #829bb5;
  border-radius: .48rem;
  background: #f4f7fb;
  color: #10357e;
  text-align: center;
  min-width: 0;
  max-width: 100%;
}
.brand.logo-masthead::before { content: none; }
.masthead-png {
  display: block;
  width: clamp(7.8rem, 11vw, 10rem);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.brand-shortcuts .brand-link {
  padding: .32rem;
  gap: .23rem;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  min-block-size: 3.55rem;
}
.shortcut-png, .card-platform-png, .hub-platform-png {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: .27rem;
  background: #fff;
}
.shortcut-png {
  width: 100%;
  max-block-size: 2.4rem;
}
.os-shortcut-label {
  font-size: .87rem;
  line-height: 1.14;
}
.card-platform-png, .hub-platform-png {
  width: min(100%, 13rem);
  margin-block: .42rem .74rem;
}
.hub-platform-png { width: min(100%, 14rem); }
@media(max-width: 26rem) {
  .os-shortcut-label { font-size: .8rem; }
}

/* RAPID: bring the vertical rhythm closer to the approved visual direction. */
@media (min-width: 56.01rem) {
  .front-home .home-hero {padding-inline:clamp(1rem,2.7vw,2.5rem);padding-block:4rem 4.2rem;}
  .front-home .home-hero h1 {font-size:clamp(2.7rem,4.45vw,4.25rem);line-height:1.09;}
  .client-entry-header .brand-shortcuts ul {max-width:30rem;margin-inline:auto;}
  .client-entry-header .brand-shortcuts .brand-link {min-block-size:3.35rem;}
}
.front-home .world {grid-template-columns:minmax(0,1fr);gap:1.3rem;}
.front-home .world-copy p {max-width:62ch;}
.front-home .globe-drawing {display:none;}

/* Visual parity: match the hierarchy and spacing, keep the original RAPID content. */
@media(min-width:56.01rem) {
  .topline {padding-block:.7rem .35rem;}
  .front-desktop .menu a {padding-block:.35rem;}
  .front-home .home-hero {padding-block:4.1rem 4.15rem;}
}
.front-home .world {padding-block:clamp(1.5rem,5vw,4rem);background:#0a1b2b;}
.front-finder .finder-brief {border-top:.2rem solid var(--pf-accent);}
.finder-brief label {display:block;font-weight:700;}
.finder-brief pre {font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:.85rem 0;padding:1rem;background:var(--pf-field);color:var(--pf-ink);border:1px solid var(--pf-frame);border-radius:.5rem;}
.finder-brief .brief-actions {display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;}
.finder-brief [role=status] {color:var(--pf-ink);}
@media(prefers-reduced-motion:no-preference) {
  .home-areas .card,.brand-shortcuts a {transition:background-color .16s,border-color .16s;}
}

.world-atlas {margin:0;min-width:0;text-align:center;}
.world-atlas img {display:block;width:100%;height:auto;border:1px solid #416483;border-radius:.875rem;box-shadow:0 1.3rem 3rem #050c1880;}
.world-atlas figcaption {margin-top:.45rem;color:#aebfd1;font-size:.82rem;text-align:right;}
@media(min-width:56.01rem) {.world-atlas {margin-inline:clamp(0rem,2.8vw,2.75rem);}}

/* Standalone GLOBAL TRADE hub; not a Finder platform. */
:is(.hero.trade-hub,.hero.trade-hub + .help) {
  --pf-surface:#47272e;--pf-raised:#5a313a;--pf-field:#371c22;
  --pf-frame:#dc99a6;--pf-accent:#ffdce3;--pf-ink:#fff5f7;--pf-muted:#f0ced6;
  background:var(--pf-surface);color:var(--pf-ink);border-color:var(--pf-frame);
}
.hero.trade-hub::after {border-color:var(--pf-frame);box-shadow:none;opacity:.26;}
.hero.trade-hub :is(p,.kicker), .hero.trade-hub + .help a:not(.btn) {color:var(--pf-accent);}
.hero.trade-hub + .help .btn:not(.secondary) {background:var(--pf-accent);color:#311821;}
.hero.trade-hub + .help .btn.secondary {background:var(--pf-field);color:var(--pf-ink);border-color:var(--pf-frame);}
.legal-links {width:min(100%,80rem);margin-inline:auto;padding:.6rem 2rem .85rem;}
.legal-links ul {list-style:none;margin:0;padding:0;display:grid;gap:.3rem .9rem;grid-template-columns:repeat(4,minmax(0,1fr));}
.legal-links li {min-width:0;}
.legal-links a {display:flex;align-items:center;min-block-size:2.75rem;overflow-wrap:anywhere;text-underline-offset:.2em;}
@media(max-width:47rem){.legal-links{padding-inline:1rem}.legal-links ul{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Wider desktop shell; retain mobile media queries and readable prose measure. */
@media (min-width: 56.01rem) {
  .wrap, .legal-links {
    width:min(100%,120rem);
    padding-inline:clamp(1.5rem,calc(25vw - 17.75rem),4.5rem);
  }
  .front-home .home-hero .intro {max-width:45rem;}
  .main:not(.front-home) :is(.hero,.help) > p {max-width:min(66ch,44rem);}
  .front-desktop .menu {max-width:86rem;margin-inline:auto;}
}
