:root {
  color-scheme: light dark;
  --canvas: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --surface-dark: #07102f;
  --text: #10182b;
  --muted: #596579;
  --border: #dce2eb;
  --border-strong: #c8d0dd;
  --primary: #0a1743;
  --primary-hover: #13265f;
  --accent: #0c8da0;
  --accent-soft: #dff4f5;
  --gold: #c69528;
  --gold-soft: #fff3d7;
  --status: #167052;
  --status-bg: #e1f5ec;
  --focus: #0a7fc3;
  --shadow-sm: 0 8px 24px rgba(10, 23, 67, 0.07);
  --shadow-lg: 0 24px 70px rgba(10, 23, 67, 0.12);
  --radius-sm: 0.75rem;
  --radius: 1.125rem;
  --radius-lg: 1.75rem;
  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-height: 4.5rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #070b18;
    --surface: #0d1427;
    --surface-2: #121c32;
    --text: #f2f5fb;
    --muted: #aab5c8;
    --border: #263149;
    --border-strong: #34415d;
    --primary: #f1c655;
    --primary-hover: #ffda78;
    --accent: #57cad2;
    --accent-soft: #11353b;
    --gold: #f1c655;
    --gold-soft: #322918;
    --status: #83e0ba;
    --status-bg: #12382c;
    --focus: #71d4ff;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --canvas: #070b18;
  --surface: #0d1427;
  --surface-2: #121c32;
  --text: #f2f5fb;
  --muted: #aab5c8;
  --border: #263149;
  --border-strong: #34415d;
  --primary: #f1c655;
  --primary-hover: #ffda78;
  --accent: #57cad2;
  --accent-soft: #11353b;
  --gold: #f1c655;
  --gold-soft: #322918;
  --status: #83e0ba;
  --status-bg: #12382c;
  --focus: #71d4ff;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; min-width: 20rem; overflow-x: hidden; background: var(--canvas); color: var(--text); font-size: 1rem; line-height: 1.65; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.skip-link { position: fixed; z-index: 1000; top: 0.75rem; left: 0.75rem; transform: translateY(-150%); padding: 0.7rem 1rem; border-radius: 0.5rem; background: var(--text); color: var(--canvas); font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - (2 * var(--gutter)), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 7vw, 5.25rem); }
.section-muted { background: var(--surface-2); }
.eyebrow { margin: 0 0 0.8rem; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.55rem); }
h3 { font-size: clamp(1.18rem, 2.5vw, 1.45rem); }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }
.section-heading { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-heading .lead { margin-top: 1rem; }
.stack { display: grid; gap: 1.1rem; }
.stack-lg { display: grid; gap: 1.75rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent); font-weight: 750; text-underline-offset: 0.25rem; }
.text-link::after { content: "\2192"; transition: transform 180ms ease; }
.text-link:hover::after { transform: translateX(0.22rem); }

.site-header { position: sticky; z-index: 100; top: 0; min-height: var(--header-height); border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent); background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(18px); }
.nav-shell { position: relative; min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 0.7rem; color: var(--text); text-decoration: none; }
.brand-mark {
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.7rem;
    background: transparent;
    box-shadow: none;
}
.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: static;
}
.brand-name { overflow: hidden; font-size: clamp(0.82rem, 2.8vw, 0.98rem); font-weight: 850; letter-spacing: 0.08em; text-overflow: ellipsis; white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 0.45rem; }
.nav-toggle, .theme-toggle { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; }
.nav-toggle:hover, .theme-toggle:hover { border-color: var(--border-strong); background: var(--surface-2); }
.nav-toggle svg, .theme-toggle svg { width: 1.15rem; height: 1.15rem; }
.theme-toggle .sun, :root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } }
.site-nav { position: absolute; top: calc(100% + 0.5rem); right: 0; left: 0; display: none; padding: 0.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); }
.site-nav[data-open="true"] { display: grid; }
.site-nav a { min-height: 2.9rem; display: flex; align-items: center; padding: 0.6rem 0.85rem; border-radius: 0.65rem; color: var(--muted); font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.desktop-cta { display: none; }

.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.72rem 1.15rem; border: 1px solid transparent; border-radius: 999px; background: var(--primary); color: var(--canvas); font-weight: 800; line-height: 1.1; text-align: center; text-decoration: none; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); background: var(--primary-hover); }
.button-secondary { border-color: var(--border-strong); background: transparent; color: var(--text); }
.button-secondary:hover { background: var(--surface); }
.button-light { background: #fff; color: #07102f; }
.button-light:hover { background: #f4f7fb; }
.button-ghost-light { border-color: rgba(255,255,255,.24); background: transparent; color: #fff; }
.button-ghost-light:hover { background: rgba(255,255,255,.08); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 8rem); }
.hero::before { content: ""; position: absolute; width: 34rem; height: 34rem; top: -18rem; right: -14rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%); pointer-events: none; }
.hero-grid { display: grid; align-items: center; gap: clamp(3rem, 7vw, 6rem); }
.hero-copy { position: relative; z-index: 2; max-width: 48rem; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 43rem; margin-top: 1.5rem; }
.hero .button-row { margin-top: 2rem; }
.hero-visual { position: relative; min-height: clamp(20rem, 60vw, 30rem); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; background: #07102f; box-shadow: var(--shadow-lg); isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 2rem 2rem; mask-image: linear-gradient(to bottom right, #000, transparent 78%); }
.hero-visual svg { position: absolute; inset: 8%; width: 84%; height: 84%; }
.visual-label { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 0.85rem; background: rgba(7,16,47,.72); color: #dfe8ff; font-size: 0.8rem; backdrop-filter: blur(10px); }
.signal { display: inline-flex; align-items: center; gap: 0.5rem; }
.signal::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #67ddac; box-shadow: 0 0 0 0.25rem rgba(103,221,172,.12); }

.product-grid, .principles-grid, .capability-grid, .contact-grid { display: grid; gap: 1rem; }
.card { position: relative; overflow: hidden; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.product-card { min-height: 22rem; display: flex; flex-direction: column; }
.product-card::after { content: ""; position: absolute; width: 11rem; height: 11rem; right: -4rem; top: -5rem; border-radius: 50%; background: var(--product-wash, var(--accent-soft)); opacity: 0.75; }
.product-card h3 { margin-top: 1.4rem; font-size: clamp(1.65rem, 4vw, 2.2rem); }
.product-card p { margin-top: 1rem; color: var(--muted); }
.product-card .text-link { margin-top: auto; padding-top: 2rem; }
.product-index { color: var(--muted); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; }
.badge { width: fit-content; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.65rem; border: 1px solid color-mix(in srgb, var(--status) 28%, transparent); border-radius: 999px; background: var(--status-bg); color: var(--status); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.035em; }
.badge::before { content: ""; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: currentColor; }
.card-icon { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; margin-bottom: 1.4rem; border-radius: 0.8rem; background: var(--accent-soft); color: var(--accent); }
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.card h3 + p { margin-top: 0.75rem; color: var(--muted); }

.split { display: grid; align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.number-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--border); }
.number-item { min-height: 9rem; display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem; background: var(--surface); }
.number-item strong { font-size: clamp(1.45rem, 5vw, 2.1rem); letter-spacing: -0.04em; }
.number-item span { color: var(--muted); font-size: 0.84rem; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(2rem, 7vw, 4.5rem); border-radius: var(--radius-lg); background: #07102f; color: #fff; }
.cta-panel::after { content: ""; position: absolute; width: 26rem; height: 26rem; right: -12rem; bottom: -18rem; border: 1px solid rgba(241,198,85,.3); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(12,141,160,.08), 0 0 0 8rem rgba(241,198,85,.04); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel p { max-width: 43rem; margin: 1rem 0 1.75rem; color: #b8c5dd; font-size: 1.08rem; }

.page-hero { padding-block: clamp(3.5rem, 9vw, 7rem); border-bottom: 1px solid var(--border); }
.page-hero .lead { max-width: 47rem; margin-top: 1.35rem; }
.page-hero .badge { margin-bottom: 1.25rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; color: var(--muted); font-size: 0.82rem; }
.breadcrumb a { text-underline-offset: 0.2rem; }
.breadcrumb span::before { content: "/"; margin-right: 0.4rem; color: var(--border-strong); }
.content-grid { display: grid; gap: 1.5rem; }
.prose { max-width: 48rem; }
.prose h2 { margin-top: 2.8rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose ul { margin-top: 1rem; color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.5rem; }
.prose a { color: var(--accent); }
.notice { padding: 1.25rem; border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface); }
.notice p { color: var(--muted); }
.feature-list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 0.75rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.feature-list li::before { content: "\2713"; flex: 0 0 auto; color: var(--status); font-weight: 900; }
.snapshot { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--border); }
.snapshot > div { display: grid; gap: 0.25rem; padding: 1rem 1.2rem; background: var(--surface); }
.snapshot dt { color: var(--muted); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.snapshot dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.corporate-list > div { padding: 1.2rem; }
.address { font-style: normal; }
.director-list { margin: 0; padding: 0; list-style: none; }
.contact-card { min-height: 14rem; display: flex; flex-direction: column; }
.contact-card .text-link { margin-top: auto; padding-top: 1.5rem; overflow-wrap: anywhere; }
.legal-meta { margin-top: 1rem; color: var(--muted); font-size: 0.88rem; }

.site-footer { padding-block: clamp(3rem, 7vw, 5rem) 1.5rem; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand { max-width: 22rem; }
.footer-logo { width: 6rem; height: 6rem; border-radius: 1rem; }
.footer-brand p { margin-top: 1rem; color: var(--muted); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem 1rem; }
.footer-nav h2 { margin-bottom: 0.9rem; color: var(--muted); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-nav ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 0.25rem; }
.footer-bottom { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; }
.footer-bottom p { margin: 0; }

@media (min-width: 38rem) {
  .product-grid, .capability-grid, .principles-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snapshot { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 55rem) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 0.15rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .site-nav a { min-height: 2.6rem; padding-inline: 0.75rem; font-size: 0.9rem; }
  .desktop-cta { display: inline-flex; min-height: 2.7rem; padding: 0.62rem 1rem; font-size: 0.84rem; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1.1fr) minmax(21rem, .9fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .capability-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .75fr); gap: clamp(2.5rem, 7vw, 6rem); }
  .footer-grid { grid-template-columns: minmax(16rem, 1.1fr) minmax(28rem, .9fr); }
}

@media (min-width: 75rem) {
  .brand-name { letter-spacing: 0.11em; }
  .hero-visual { min-height: 32rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
