:root {
  color-scheme: dark;
  --base: #11111f;
  --text: #f4f6ff;
  --muted: #b8c0d1;
  --cyan: #5bcee7;
  --line: #30354b;
  --ink: #141d2e;
  --paper: #f1f5f8;
  --gutter: clamp(20px, 5vw, 72px);
  --display: Bahnschrift, "DIN Alternate", "Trebuchet MS", sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  font: 16px/1.55 "Trebuchet MS", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--base); }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #1687a4; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
section[id], article[id] { scroll-margin-top: 26px; }
.wrap { width: min(100% - 2 * var(--gutter), 1260px); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 12px; left: 12px; padding: 10px 16px; background: var(--base); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); background: var(--base); }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; width: 143px; height: 42px; flex: none; overflow: hidden; }
.brand img { width: 150%; height: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.topbar nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px clamp(14px, 3vw, 44px); }
.topbar nav a, .footer a { font-weight: 600; font-size: .89rem; text-decoration: none; }
.topbar nav a:hover, .footer a:hover { color: var(--cyan); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 9px 20px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-weight: 700; font-size: .94rem; line-height: 1.25; }
.button-small { min-height: 41px; padding-inline: 14px; }
.button-outline { border-color: #4a576c; }
.button-outline:hover { color: var(--cyan); border-color: var(--cyan); }
.button-dark { background: var(--base); color: var(--text); }
.button-dark:hover { background: #26344a; }

.hero {
  padding-block: clamp(38px, 6vw, 86px);
  background-color: #101925;
  background-image:
    linear-gradient(90deg, #101925 0%, #10192510 82%),
    linear-gradient(#87c3d41a 1px, transparent 1px),
    linear-gradient(90deg, #87c3d41a 1px, transparent 1px),
    radial-gradient(ellipse at 70% 42%, #19384c, transparent 66%);
  background-size: auto, 32px 32px, 32px 32px, auto;
  border-bottom: 1px solid var(--line);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.eyebrow, .quick-grid a > span { font: 600 .74rem/1.4 var(--mono); letter-spacing: .1em; }
.eyebrow { color: var(--cyan); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--cyan); vertical-align: .08em; }
h1, h2, h3 { font-family: var(--display); }
.hero h1 { margin-top: 18px; font-size: clamp(3rem, 5.65vw, 5.5rem); line-height: .99; letter-spacing: -.032em; font-weight: 650; }
.hero h1 em { display: block; font-style: normal; color: var(--cyan); }
.intro { max-width: 36ch; margin-top: 20px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-trace { display: block; width: min(100%, 285px); height: auto; margin-top: 26px; color: #569aae; stroke: currentColor; }
.hero-trace circle, .hero-trace rect { fill: #142431; }

.products { display: grid; gap: 10px; }
.product {
  --product-accent: var(--cyan);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  padding: clamp(14px, 1.6vw, 24px);
  border: 1px solid #395365;
  border-inline-start: 3px solid var(--product-accent);
  border-radius: 0 5px 5px 0;
  background: #162634;
}
.product:nth-child(2) { --product-accent: #94dfbd; }
.product:nth-child(3) { --product-accent: #b9c6ff; }
.product-icon { width: 42px; height: 42px; padding: 8px; border: 1px solid #436981; border-radius: 3px; color: var(--product-accent); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.product .eyebrow { color: var(--product-accent); font-size: .68rem; }
.product h2 { margin-block: 4px 6px; font-size: clamp(1.22rem, 2.15vw, 1.85rem); letter-spacing: -.015em; line-height: 1.12; }
.product-copy p:last-child { color: var(--muted); font-size: .94rem; }
.product .button { min-height: 44px; padding-inline: 12px; border-color: var(--product-accent); color: var(--product-accent); font-size: .85rem; }
.product .button:hover { background: var(--product-accent); color: #12202d; }

.quick-links { background: #162631; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick-grid a { display: flex; align-items: center; gap: 10px; padding: 20px clamp(8px, 2vw, 24px); border-left: 1px solid var(--line); color: var(--text); font-size: .86rem; font-weight: 600; text-decoration: none; }
.quick-grid a:last-child { border-right: 1px solid var(--line); }
.quick-grid a:hover { background: #253249; }
.quick-grid a > span, .quick-grid b { color: var(--cyan); }
.quick-grid b { margin-left: auto; }

.section { padding-block: clamp(54px, 7.5vw, 108px); }
.light { color-scheme: light; background: var(--paper); color: var(--ink); }
.ink-accent { color: #0b647b; }
.section h2, .policy h1 { margin-top: 12px; max-width: 20ch; font-weight: 650; font-size: clamp(2.1rem, 4vw, 3.65rem); letter-spacing: -.028em; line-height: 1.06; }
.section-lead { max-width: 54ch; margin-top: 15px; font-size: 1.08rem; }
.services-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 6vw, 90px); }
.offering h3 { font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.2; }
.offering-list { border-top: 1px solid #9aafb9; }
.offering-list .offering { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid #9aafb9; }
.offering:target { outline: 2px solid #1687a4; outline-offset: 3px; }
.text-link { color: #0a6379; font-weight: 700; }
.text-link:hover { color: #15344a; }

.catalog { background: #121e2a; }
.catalog-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.offering-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; border: 1px solid #426070; background: #426070; gap: 1px; }
.catalog .offering { padding: clamp(16px, 2.2vw, 28px); background: #162634; }
.catalog .offering h3 { margin-bottom: 8px; }
.catalog .offering p { color: var(--muted); }
.contact-grid { display: grid; gap: clamp(24px, 6vw, 90px); }
.contact { color-scheme: light; background: #c9f1f8; color: var(--ink); }
.contact-grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
.contact-actions { display: grid; justify-items: start; gap: 10px; justify-self: end; }
.contact-actions > a:not(.button) { font-weight: 650; }
.footer-row { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-row > span { color: var(--muted); font-size: .86rem; }
.policy { min-height: calc(100vh - 83px); }
.policy .wrap { max-width: 800px; }
.policy p { margin-top: 14px; }
.policy h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.035em; margin-top: 34px; max-width: none; }

@media (max-width: 950px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 30px; }
  .product { grid-template-columns: auto minmax(0, 1fr); }
  .product .button { grid-column: 2; justify-self: start; }
  .offering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero-layout, .services-layout { grid-template-columns: 1fr; }
  .hero-trace { display: none; }
  .product { grid-template-columns: auto minmax(0, 1fr) auto; }
  .product .button { grid-column: auto; }
}

@media (max-width: 600px) {
  .topbar { min-height: 70px; gap: 12px; flex-wrap: wrap; padding-block: 13px; }
  .topbar nav { order: 1; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 11px; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 3.4rem); }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid a { border-bottom: 1px solid var(--line); font-size: .79rem; }
  .quick-grid a:nth-child(even) { border-right: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { justify-self: start; }
  .footer-row { padding-block: 22px; align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .product { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .product .button { grid-column: 2; }
  .offering-list .offering { grid-template-columns: 1fr; gap: 5px; }
}
