/* Brand colour sampled from the original logo. Small dark-mode text uses an accessible tint. */
:root {
  color-scheme: light;
  --bg: #f7f7f9; --surface: #ffffff; --ink: #202027; --muted: #60616d;
  --line: #dedee5; --brand: #e00075; --brand-hover: #c40066; --accent: #c40066;
  --subtle: #efeff3; --brand-wash: #fbe8f1; --radius: 20px;
  font-family: Tahoma, 'Segoe UI', Arial, sans-serif; font-synthesis: none;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #111216; --surface: #191b21; --ink: #f5f5f7; --muted: #a9acb8;
  --line: #30323c; --accent: #f04b9c; --subtle: #21232c; --brand-wash: #2c1925;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
button, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button, a, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 1400; background: var(--surface); padding: 12px; }
.skip:focus { top: 10px; }
h1, h2, h3, p, figure { margin: 0; }
h1[tabindex="-1"]:focus { outline: none; }
main h2.mud-typography { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; letter-spacing: -.045em; font-weight: 700; }

/* Layers: sticky header 1000; MudBlazor popovers/dialogs retain their higher layers. */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 40px; }
.wordmark.mud-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -1.8px; flex-shrink: 0; }
.logo-symbol { position: relative; width: 42px; height: 42px; overflow: hidden; border-radius: 10px; background: transparent; }
.wordmark .logo-symbol img { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; max-width: none; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { position: relative; color: var(--muted); font-size: 14px; font-weight: 500; padding-block: 15px; }
.desktop-nav a:after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.header-preferences { display: flex; align-items: center; gap: 2px; border-left: 1px solid var(--line); padding-left: 18px; }
.menu-button.mud-icon-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%;
  padding: 8px 32px 22px; gap: 4px; background: var(--bg); border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - 78px); overflow-y: auto;
}
.mobile-nav a:not(.mud-button-root) { font-size: 17px; padding: 13px 4px; color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.25fr .85fr; gap: 60px; align-items: center; min-height: 650px; padding-block: 84px 96px; }
.hero-copy { min-width: 0; }
.hero-label { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.hero h1.mud-typography { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.1; letter-spacing: -.06em; font-weight: 700; }
.hero h1 span { display: block; }
.hero h1 .hero-line { overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero h1 .hero-line:last-child { color: var(--brand); }
.hero-body { max-width: 540px; color: var(--muted); font-size: 17px; line-height: 1.85; margin-top: 26px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.quiet-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
.brand-art { min-width: 0; isolation: isolate; display: grid; gap: 24px; }
.brand-stage { position: relative; height: 368px; perspective: 1000px; }
.brand-depth { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--brand-rx, 0deg)) rotateY(var(--brand-ry, 0deg)); }
.brand-art-frame { position: absolute; inset: 36px 22px 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); transform: rotate(7deg) translateZ(-12px); }
.brand-art-inner { position: absolute; inset: 28px 34px 32px 20px; display: grid; place-items: center; background: #f3f3f6; border-radius: var(--radius); transform: rotate(-7deg) translateZ(12px); overflow: hidden; }
.brand-art-inner:before { content: ''; pointer-events: none; position: absolute; z-index: 1; inset: -30% auto -30% -55%; width: 45%; background: linear-gradient(100deg,transparent,#fff7,transparent); opacity: 0; }
.brand-art-inner:after { content: ''; position: absolute; left: 28px; bottom: 26px; width: 40px; height: 4px; border-radius: 2px; background: var(--brand); }
.brand-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.brand-art-footer { display: flex; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; padding-inline: 20px 24px; }
.brand-signature { font-size: clamp(48px, 5vw, 72px); font-weight: 700; letter-spacing: -.07em; line-height: 1.1; white-space: nowrap; }
.brand-signature span { color: var(--brand); }
.brand-caption { font-size: 13px; color: var(--muted); }

.context-section { border-top: 1px solid var(--line); padding-block: 56px 80px; }
.context-content { max-width: 960px; }
.context-label { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.context-content h2.mud-typography { font-size: clamp(28px, 2.7vw, 38px); max-width: 760px; }
.context-columns { display: grid; gap: 16px; max-width: 76ch; margin-top: 24px; }
.context-columns p { font-size: 16px; line-height: 1.85; color: var(--muted); }
.approach-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding-block: 78px 92px; border-top: 1px solid var(--line); }
.approach-section h2 { max-width: 400px; }
.work-section { padding-block: 48px 56px; }
.work-heading { max-width: 760px; margin-bottom: 36px; }
.work-heading p { margin-top: 18px; max-width: 650px; font-size: 16px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; }
.trace-card, .platform-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trace-card { display: grid; grid-template-columns: 1fr .85fr; }
.product-copy { padding: 36px 0 36px 32px; }
.product-category { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.product-status { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 20px; }
.product-status span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.35; }
.product-copy h3.mud-typography { font-size: 30px; font-weight: 700; letter-spacing: -.04em; margin-bottom: 14px; }
.product-copy>p:not(.product-category):not(.product-status), .platform-card>p:not(.product-category):not(.product-status) { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 320px; margin-bottom: 30px; }
.product-image { position: relative; overflow: hidden; margin: 24px 0 0 24px; border: 1px solid var(--line); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.product-image img { height: 100%; width: auto; max-width: none; position: absolute; left: 0; top: 0; object-fit: cover; object-position: left center; }
.platform-card { padding: 36px 32px; display: flex; flex-direction: column; align-items: flex-start; background: var(--brand-wash); }
.platform-wordmark { font-size: 40px; font-weight: 700; letter-spacing: -2px; line-height: 1.05; margin-bottom: 20px; }
.platform-wordmark span { display: block; font-size: 20px; color: var(--accent); font-weight: 400; letter-spacing: -.6px; margin-top: 5px; }
.platform-card .quiet-link { margin-top: auto; }
.platform-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-block: 12px 80px; }
.platform-intro h2.mud-typography { font-size: 24px; max-width: 440px; }
.platform-intro p { font-size: 15px; color: var(--muted); max-width: 540px; }
.contact-section { border-top: 1px solid var(--line); padding-block: 76px 84px; }
.contact-section h2.mud-typography { max-width: 800px; font-size: clamp(34px, 4.2vw, 56px); }
.contact-bottom { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 28px; }
.contact-bottom p { max-width: 580px; font-size: 16px; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding-block: 36px 24px; }
.footer-top { display: flex; align-items: center; gap: 35px; }
.footer-wordmark { font-size: 32px; font-weight: 700; letter-spacing: -1.5px; }
.footer-top p { font-size: 13px; color: var(--muted); }
.footer-top>.quiet-link { margin-left: auto; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; color: var(--muted); font-size: 12px; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 24px; }
  .desktop-nav { gap: 20px; }
  .header-tools { gap: 14px; }
  .header-preferences { padding-left: 12px; }
  .hero { gap: 36px; min-height: 600px; }
  .brand-stage { height: 320px; }
  .approach-section { gap: 48px; }
  .trace-card { grid-template-columns: 1fr; }
  .product-copy { padding: 30px; }
  .product-image { position: relative; margin: 0 0 0 30px; height: 200px; }
  .product-image img { width: 100%; height: auto; }
}
@media (max-width: 960px) {
  .desktop-nav, .header-tools>.login.mud-button-root { display: none; }
  .header-tools { margin-left: auto; }
  .header-preferences { border-left: 0; padding-left: 0; }
  .menu-button.mud-icon-button { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav .brand-button { margin-top: 10px; justify-self: start; }
  .header-inner { min-height: 78px; }
  .hero { grid-template-columns: 1.2fr .8fr; gap: 24px; padding-block: 64px; min-height: 540px; }
  .hero h1.mud-typography { font-size: clamp(38px, 5.1vw, 50px); }
  .hero-body { font-size: 16px; }
  .brand-stage { height: 276px; }
  .brand-art { gap: 18px; }
  .brand-signature { font-size: 48px; }
  .brand-art-footer { flex-wrap: wrap; gap: 8px 16px; padding-inline: 14px; }
  .brand-caption { font-size: 12px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  html { scroll-padding-top: 96px; }
  .header-inner { min-height: 76px; gap: 10px; }
  .wordmark.mud-link { font-size: 27px; gap: 8px; }
  .logo-symbol { width: 36px; height: 36px; border-radius: 8px; }
  .wordmark .logo-symbol img { width: 54px; height: 54px; }
  .header-tools { gap: 8px; }
  .mobile-nav { padding-inline: 20px; }
  .hero { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding-block: 48px 64px; }
  .hero h1.mud-typography { font-size: clamp(36px, 7.4vw, 51px); }
  .hero-label { font-size: 13px; margin-bottom: 22px; }
  .hero-body { max-width: 500px; margin-top: 22px; }
  .hero-actions { gap: 24px; margin-top: 28px; }
  .brand-art { width: min(100%, 430px); margin-inline: auto; gap: 18px; }
  .brand-stage { height: 290px; }
  .brand-art-inner { inset: 28px 32px 30px 22px; }
  .brand-art-frame { inset: 36px 22px 24px 32px; }
  .brand-art-footer { padding-inline: 22px; }
  .brand-signature { font-size: 54px; }
  .context-section { padding-block: 36px 52px; }
  .context-columns { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .approach-section { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 56px; }
  .work-section { padding-block: 30px 40px; }
  .work-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-image { height: 230px; }
  .product-copy, .platform-card { padding: 28px; }
  .platform-intro { grid-template-columns: 1fr; gap: 16px; padding-block: 0 52px; }
  .contact-section { padding-block: 48px 56px; }
  .contact-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-top { flex-wrap: wrap; gap: 14px 24px; }
  .footer-top p { flex: 1; min-width: 180px; }
  .footer-top>.quiet-link { margin-left: 0; }
  .footer-bottom { flex-wrap: wrap; font-size: 11px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .header-tools { gap: 4px; }
  .mobile-nav { padding-inline: 16px; }
  .wordmark.mud-link { font-size: 24px; gap: 6px; }
  .hero h1.mud-typography { font-size: 34px; }
}

.header-preferences .mud-menu { padding: 0; min-width: 0; }
.header-preferences .mud-button-root { padding-inline: 8px; }
.anchor-alias{display:block;position:relative;top:-88px;height:0;visibility:hidden}
.legal-page{max-width:880px;padding-block:36px 100px}
.legal-back{display:inline-block;margin-bottom:36px;color:var(--muted);font-size:13px}
.legal-eyebrow{color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.04em;margin-bottom:8px}
.legal-page h1{font-size:clamp(36px,5vw,58px);line-height:1.1;letter-spacing:-.055em;margin-bottom:24px}
.legal-notice{border-left:3px solid var(--accent);background:var(--surface);padding:16px 18px;margin-bottom:22px;color:var(--ink);font-size:13px;line-height:1.75}
.legal-intro{max-width:70ch;color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:20px}
.legal-section{border-top:1px solid var(--line);padding-block:28px}
.legal-section h2{font-size:clamp(21px,3vw,27px);margin-bottom:15px}
.legal-section p,.legal-section address{max-width:72ch;color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:12px;font-style:normal}
.legal-pending{color:var(--ink)!important}
.footer-social{display:flex;flex-wrap:wrap;gap:16px;margin-left:auto;font-size:11px;color:var(--muted)}
.footer-social .mud-link,.legal-links .mud-link{color:var(--muted)}
.footer-social .mud-link:hover,.legal-links .mud-link:hover{color:var(--accent)}
