:root {
  --ink: #122a40;
  --muted: #466075;
  --navy: #071b2c;
  --blue: #115880;
  --gold: #ffce4c;
  --paper: #f4f7f8;
  --line: #cedae1;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 "Segoe UI", system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid #168ac1; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: fixed; top: -6rem; left: 1rem; z-index: 10; background: white; padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.nav, .links, .foot, .jump, .hero-actions { display: flex; align-items: center; }
.nav, .foot { justify-content: space-between; }
.nav { min-height: 4.6rem; gap: 1rem; }
.brand img { display: block; width: clamp(8rem, 17vw, 12rem); height: auto; }
.links { gap: clamp(.8rem, 3vw, 2.2rem); font-weight: 650; }
.links a, .jump a, .button { text-decoration: none; }
.links a:hover, .links a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.navcontact { background: var(--ink); color: white; padding: .5rem 1.2rem; border-radius: 2rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(4.3rem, 8vw, 7.25rem); margin: .8rem 0 1.35rem; font-weight: 650; }
h1 em { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4rem); max-width: 20ch; margin: .65rem 0 1.5rem; }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.label { display: flex; align-items: center; gap: .65rem; font: 700 .875rem/1.4 "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .115em; color: var(--blue); }
.label::before { content: ""; display: block; width: 1.8rem; height: 2px; background: currentColor; }
.product-code { text-transform: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 78% 52%, #123d5a, transparent 50%), var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; background-image: radial-gradient(#6f9ab0 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, black); }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; min-height: 33rem; padding-block: clamp(3.2rem, 6vw, 6rem); }
.hero-copy { position: relative; z-index: 1; }
.hero .label, .contact .label { color: var(--gold); }
.intro { color: #d6e5ec; font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 40ch; }
.hero-actions { gap: 1.4rem; flex-wrap: wrap; margin-top: 1.75rem; }
.button { display: inline-block; border: 0; border-radius: 2rem; padding: .85rem 1.45rem; color: var(--navy); background: var(--gold); font: inherit; font-weight: 750; cursor: pointer; box-shadow: 0 5px 18px #0002; }
.button:hover { background: #ffe28b; }
.button:disabled { opacity: .65; cursor: wait; }
.hero-link { font-weight: 600; text-underline-offset: .35em; text-decoration-color: #7498ad; }
.field-art { position: relative; margin: 0 -15% 0 -12%; }
.field-art img { width: 100%; height: auto; display: block; transform: rotate(-8deg); }
.section { padding-block: clamp(3.25rem, 6vw, 5.75rem); }
.jump { gap: .5rem; margin: 0 0 1.6rem; flex-wrap: wrap; }
.jump a { border: 1px solid #acbfcc; background: #fff; color: var(--blue); font-weight: 650; border-radius: 2rem; padding: .35rem 1rem; }
.jump a:hover { border-color: var(--blue); background: #e6f0f5; }
.products { display: grid; gap: 1.35rem; }
.product { display: grid; grid-template-columns: 1.05fr 1fr; background: white; border: 1px solid var(--line); border-radius: 1.15rem; overflow: hidden; box-shadow: 0 10px 30px -20px #17456460; }
.product-copy { align-self: center; padding: clamp(1.35rem, 3.5vw, 3rem); min-width: 0; }
.product h3 { margin: .55rem 0 .9rem; overflow-wrap: anywhere; }
.lead { font-weight: 700; margin-bottom: .45rem; }
.product-copy p:last-child, .services p, .about p:not(.label) { color: var(--muted); }
.product:target { outline: 2px solid #3284ad; outline-offset: 3px; }
.product figure { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 1.35rem; color: #daebf5; background-color: #102c41; background-image: radial-gradient(#47718c88 1px, transparent 1px), linear-gradient(135deg,#194763,#0a2032); background-size: 17px 17px, auto; }
.product:nth-child(2) figure { background-image: radial-gradient(#5d898388 1px, transparent 1px), linear-gradient(135deg,#175453,#0b2933); }
.product:nth-child(3) figure { background-image: radial-gradient(#828dab88 1px, transparent 1px), linear-gradient(135deg,#353c5e,#192438); }
figcaption { text-align: center; font-size: .85rem; }
.diagram { width: 100%; display: block; }
.wire, .signal { fill: none; stroke: #6b97b4; stroke-width: 2; }
.signal { stroke: var(--gold); stroke-dasharray: 9 90; }
.product:hover .signal, .product:target .signal { animation: flow 5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -198; } }
.node { fill: #14364b; stroke: #77a1b8; }
.core { fill: var(--gold); }
.diagram text { fill: white; font-size: 12px; text-anchor: middle; font-weight: 600; }
.diagram .coretext { fill: var(--navy); }
.archive { border-bottom: 1px solid var(--line); margin-top: 1.25rem; }
.archive summary { cursor: pointer; font-weight: 700; padding: .8rem 0; }
.archive ul { columns: 3; padding-left: 1.2rem; }
.archive li { break-inside: avoid; }
.platform { background: linear-gradient(120deg, #0b2538, #153c50); color: #f6f9fb; }
.platform h2 { max-width: none; margin-top: 0; }
.platform-intro { max-width: 78ch; font-size: 1.125rem; color: #e5eef3; }
.platform-intro strong { font-weight: 550; }
.architecture { color: #f7d679; margin-top: 1rem; }
.platform-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 6vw, 5rem); margin-top: 2.25rem; }
.platform-lists section { border-top: 1px solid #5a798a; padding-top: 1.25rem; }
.platform-lists h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.platform-lists ul { margin: .9rem 0 0; padding-left: 1.25rem; }
.platform-lists li { padding: .25rem 0 .25rem .2rem; }
.platform-lists li::marker { color: var(--gold); }
.contact-email { display: inline-block; color: var(--gold); text-underline-offset: .2em; margin-top: .4rem; }
.service-band { background: #e2edf1; border-block: 1px solid var(--line); }
.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.services article { border-top: 2px solid #395f73; padding-top: 1rem; }
.services span { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; background: #c8dee4; color: #13465d; border-radius: .65rem; font-size: 1.45rem; }
.services h3 { font-size: 1.6rem; margin: 1rem 0 .65rem; }
.about, .contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.about p+p { margin-top: .9rem; }
.contact { background: radial-gradient(ellipse at 0% 100%, #15475c, transparent 65%), var(--navy); color: #fff; }
.contact-copy h2 { max-width: 12ch; }
.contact-copy > p:not(.label), address { color: #d4e1ea; max-width: 34ch; }
address { margin-top: 2rem; padding-left: 1rem; border-left: 2px solid var(--gold); font-style: normal; }
form { background: white; border-radius: 1.1rem; padding: clamp(1.25rem, 3.2vw, 2.4rem); color: var(--ink); box-shadow: 0 20px 50px #0003; display: grid; gap: 1rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form label, legend { font-weight: 650; }
form small { color: var(--muted); font-size: .875rem; font-weight: 400; }
form input:not([type=radio]), textarea { display: block; width: 100%; margin-top: .25rem; padding: .65rem .8rem; border-radius: .45rem; border: 1px solid #97abb7; background: #f9fbfc; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .4rem; }
.routes { display: grid; grid-template-columns: repeat(4,1fr); gap: .4rem; }
.routes label { display: flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid #aebdc7; border-radius: .45rem; padding: .55rem .25rem; cursor: pointer; font-size: .9rem; }
.routes input { margin: 0; accent-color: #164f70; }
.routes label:has(:checked) { background: #e2f0f5; border-color: #256888; color: #15445f; }
#route-help, .form-status { font-size: .925rem; color: var(--muted); }
form .button { justify-self: start; }
.form-status:empty { display: none; }
.foot { padding-block: 1.25rem; font-size: .875rem; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 1.7rem; }
  .field-art { width: min(100%, 34rem); margin: .4rem auto 0; }
  .field-art img { transform: none; }
  .product, .about, .contact-layout, .services, .platform-lists { grid-template-columns: 1fr; }
  .product figure { padding: .85rem; }
  .services { gap: 1.35rem; }
  .archive ul { columns: 2; }
}
@media (max-width: 540px) {
  html { scroll-padding-top: 7rem; }
  .nav { flex-wrap: wrap; gap: .3rem; padding-block: .5rem; }
  .links { flex-wrap: wrap; gap: .35rem .85rem; font-size: .91rem; }
  .navcontact { padding: .25rem .65rem; }
  .field-pair { grid-template-columns: 1fr; }
  .routes { grid-template-columns: 1fr 1fr; }
  .archive ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product:hover .signal, .product:target .signal { animation: none; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .field-art {
    transform: translate(var(--drift-x, 0px), var(--drift-y, 0px));
    transition: transform 150ms ease-out;
  }
}

#copyright-notice {
  position: fixed;
  z-index: 8;
  inset: auto 1rem 1rem auto;
  width: min(28rem, calc(100% - 2rem));
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: .6rem;
  box-shadow: 0 6px 24px #071b2c33;
}
#copyright-notice button {
  margin-top: .6rem;
  padding: .2rem 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
