/* aunit base foundation — Palette 03, crisp opaque architectural surfaces, unified typography & enterprise controls. */
@font-face {
  font-family: "Manrope";
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+2000-206F, U+20AC, U+2122, U+2190-21FF;
}

:root {
  --frost: #f4f6fb;
  --white: #ffffff;
  --surface-tint: #eef2fa;
  --ink: #12162b;
  --muted: #4a5168;
  --violet: #232a5c;
  --mint: #2f63c8;
  --ice: #a8c8ff;
  --lavender: #dce3f5;
  --line: rgba(18, 22, 43, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --omnia-mark-primary: #232a5c;
  --omnia-mark-accent: #2f63c8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--frost);
  scroll-padding-top: 92px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 42, 92, 0.24) transparent;
}

body {
  margin: 0;
  background: var(--frost);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html:has(.welcome),
body.welcome-visible,
html.js body:not(.site-ready) {
  overflow: hidden;
}

html.js body:not(.site-ready) #site {
  visibility: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

input,
textarea {
  caret-color: #2f63c8;
}

button,
summary {
  cursor: pointer;
}

button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
h4,
blockquote {
  margin: 0;
}

h1,
h2 {
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
}

h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

p {
  line-height: 1.65;
}

svg {
  display: block;
}

button svg,
a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: #232a5c;
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid #2f63c8;
  outline-offset: 2px;
}

main:focus,
section:focus,
h1:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

.svg-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden,
.h-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.container {
  width: min(1240px, calc(100% - 88px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  background: #12162b;
  color: #ffffff;
  border: 1px solid #232a5c;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 650;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

.skip:focus {
  transform: none;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 660;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* ---------- Shell Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 12px;
  padding-bottom: 10px;
  background: linear-gradient(180deg, #f4f6fb 0%, #f4f6fb 68%, rgba(244, 246, 251, 0) 100%);
  border: 0;
}

.header-inner {
  min-height: 58px;
  padding: 0 10px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #ffffff;
  border: 1px solid rgba(18, 22, 43, 0.09);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(18, 22, 43, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--violet);
  flex-shrink: 0;
}

.brand svg,
.brand img {
  width: 28px;
  height: 29px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.header nav a {
  position: relative;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 580;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}

.header nav a:hover,
.header nav a[aria-current] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(18, 22, 43, 0.1);
  border-radius: 8px;
  background: var(--frost);
  color: var(--violet);
  font-size: 13px;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.lang-switch:hover {
  background: var(--surface-tint);
  border-color: rgba(47, 99, 200, 0.3);
}

.small-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #12162b;
  border-radius: 8px;
  background: #12162b;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 640;
  white-space: nowrap;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 160ms var(--ease);
}

.small-cta svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  transition: transform 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .small-cta:hover {
    background: #232a5c;
    border-color: #232a5c;
  }
  .small-cta:hover svg {
    transform: translateX(2px);
  }
}

.small-cta:active {
  transform: scale(0.98);
}

.menu {
  display: none;
}

/* ---------- Tailored Enterprise Button ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid #12162b;
  background: #12162b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 640;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(18, 22, 43, 0.12);
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    transform 160ms var(--ease),
    box-shadow 180ms var(--ease);
}

.button-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  transition: transform 180ms var(--ease);
}

.button-symbol svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: #232a5c;
    border-color: #232a5c;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(18, 22, 43, 0.18);
  }
  .button:hover .button-symbol {
    transform: translateX(3px);
  }
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

/* ---------- Invitation & Inquiry Form ---------- */
.invitation {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 88px);
  scroll-margin-top: 84px;
}

.invitation-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #12162b;
}

.invitation-copy > .section-kicker {
  margin-bottom: 14px;
}

.invitation-copy p {
  margin-top: 18px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}

.invitation-copy p + p {
  margin-top: 16px;
}

.inquiry-form {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(18, 22, 43, 0.1);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px -12px rgba(18, 22, 43, 0.12), 0 2px 6px rgba(18, 22, 43, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  min-width: 0;
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 640;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(18, 22, 43, 0.14);
  border-radius: 10px;
  background: #f4f6fb;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.45;
  transition:
    border-color 180ms var(--ease),
    background-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #575f7a;
}

@media (hover: hover) and (pointer: fine) {
  .field input:hover,
  .field select:hover,
  .field textarea:hover {
    border-color: rgba(35, 42, 92, 0.28);
  }
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #2f63c8;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 99, 200, 0.16);
  outline: none;
}

.field input[aria-invalid],
.field select[aria-invalid],
.field textarea[aria-invalid] {
  border-color: #9e2a47;
  background: #fff9fa;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 20px;
}

.form-footer .button {
  flex-shrink: 0;
}

.form-footer p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 32ch;
}

.form-footer p a {
  color: var(--mint);
  font-weight: 600;
  text-decoration: underline;
}

.form-status {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 560;
  line-height: 1.5;
  color: var(--muted);
  background: #f4f6fb;
}

.form-status[data-state="error"] {
  color: #9e2a47;
  background: #fdf2f5;
  border: 1px solid rgba(158, 42, 71, 0.22);
}

.form-status[data-state="success"] {
  color: #166e48;
  background: #effaf4;
  border: 1px solid rgba(22, 110, 72, 0.22);
}

.form-status:empty {
  display: none;
}

/* ---------- FAQ Disclosures ---------- */
.questions {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 88px);
  padding-block: 64px;
}

.closing-questions {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 24px;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: 0;
  border-top: 1px solid var(--line);
}

.questions h2,
.closing-questions h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #12162b;
}

.question-list details {
  border-bottom: 1px solid var(--line);
}

.question-list details:first-child {
  border-top: 1px solid var(--line);
}

.question-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  font-size: 16px;
  font-weight: 640;
  line-height: 1.45;
  color: var(--ink);
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  content: "";
}

.detail-plus {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid rgba(35, 42, 92, 0.22);
  border-radius: 50%;
  background: #ffffff;
  color: var(--violet);
  font-size: 0;
  transition:
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    color 200ms var(--ease);
}

.detail-plus::before,
.detail-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 220ms var(--ease);
}

.detail-plus::before {
  width: 11px;
  height: 1.5px;
}

.detail-plus::after {
  width: 1.5px;
  height: 11px;
}

details[data-expanded="true"] .detail-plus,
details[open] .detail-plus {
  background: var(--violet);
  border-color: var(--violet);
  color: #ffffff;
}

details[data-expanded="true"] .detail-plus::after,
details[open] .detail-plus::after {
  transform: scaleY(0);
}

@media (hover: hover) and (pointer: fine) {
  summary:hover .detail-plus {
    border-color: var(--violet);
    background: var(--surface-tint);
  }
  details[data-expanded="true"] summary:hover .detail-plus,
  details[open] summary:hover .detail-plus {
    background: var(--violet);
  }
}

.disclosure-body {
  overflow: hidden;
}

.disclosure-content {
  display: flow-root;
}

.disclosure-body.is-animating {
  will-change: height;
}

.question-list p {
  padding: 0 38px 22px 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Base Legal / Utility Footer (privacy.html) ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 0;
  overflow: hidden;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 28px;
}

.footer-top > .brand {
  font-size: 21px;
}

.footer-top > .brand svg {
  width: 28px;
  height: 29px;
}

.footer-top > p {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-word {
  display: block;
  width: 100%;
  font-size: min(30vw, 420px);
  font-weight: 760;
  line-height: 0.86;
  height: 0.68em;
  padding-top: 16px;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.035em;
  color: #dce3f5;
  user-select: none;
}

/* ---------- Responsive Foundation & Mobile HIG (<= 760px) ---------- */
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 56px);
  }
}

@media (max-width: 900px) {
  .invitation,
  .questions {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .header {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header-inner {
    position: relative;
    min-height: 56px;
    padding: 0 6px 0 14px;
    gap: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-switch {
    min-height: 44px;
    padding: 0 11px;
    font-size: 12.5px;
  }

  .small-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .header .small-cta svg {
    display: none;
  }

  .menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(18, 22, 43, 0.12);
    border-radius: 9px;
    background: #f4f6fb;
    color: var(--ink);
  }

  .menu span {
    width: 18px;
    height: 1.75px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 200ms var(--ease);
  }

  .menu[aria-expanded="true"] span:first-child {
    transform: translateY(3.35px) rotate(45deg);
  }

  .menu[aria-expanded="true"] span:last-child {
    transform: translateY(-3.35px) rotate(-45deg);
  }

  .header nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #ffffff;
    border: 1px solid rgba(18, 22, 43, 0.12);
    border-radius: 12px;
    box-shadow: 0 18px 40px -12px rgba(18, 22, 43, 0.22);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 200ms var(--ease), transform 220ms var(--ease);
  }

  .header nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15.5px;
  }

  .button {
    min-height: 48px;
  }

  .inquiry-form {
    padding: 20px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .question-list summary {
    min-height: 48px;
    padding: 16px 0;
    font-size: 15.5px;
  }

  .question-list p {
    padding-right: 16px;
    font-size: 14.5px;
  }
}

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