:root {
  --bg: #f3f8ff;
  --surface: rgba(255, 255, 255, 0.86);
  --ink: #0e223f;
  --ink-soft: #4f6688;
  --line: rgba(74, 112, 164, 0.24);
  --brand: #1f73d8;
  --brand-2: #19c2d8;
  --brand-strong: #1559ab;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  position: relative;
  background:
    radial-gradient(circle at 10% 4%, rgba(31, 115, 216, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 92% 8%, rgba(25, 194, 216, 0.16) 0%, transparent 34%),
    linear-gradient(140deg, #f4f8ff 0%, #f7fbff 45%, #eef6ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
  background-image: url("assets/triodx-icon.svg");
  background-repeat: no-repeat;
  background-size: 50vw 50vw;
  background-position: right -8vw center;
}

h1,
h2,
h3,
a,
button {
  font-family: "Outfit", sans-serif;
}

a {
  color: inherit;
}

.shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(125, 153, 196, 0.28);
}

.topnav .shell {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-full {
  height: 66px;
  width: auto;
  border-radius: 10px;
}

.menu {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: #1b3560;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 10px;
}

.menu a:hover,
.menu a.active {
  background: #edf4ff;
}

.menu .cta {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
}

.menu .cta:hover {
  background: linear-gradient(120deg, var(--brand-strong), #0da4c4);
}

.hero {
  padding: 52px 0 22px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px;
  min-height: 420px;
}

.hero-video {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 390px;
  background: #0f1b34;
}

.hero-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.detail-spline {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  height: min(72vh, 620px);
  min-height: 420px;
  margin-bottom: 12px;
  background: #0f1b34;
}

.detail-spline iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(19, 50, 106, 0.12);
}

.hero-copy {
  padding: 28px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem);
  line-height: 1.15;
}

.hero-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.hero-visual {
  padding: 28px;
  background: linear-gradient(155deg, #1d3fd6 0%, #2a7ed8 55%, #23c6dc 100%);
  color: #fff;
}

.hero-visual h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.hero-visual ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.85;
}

.section {
  padding: 26px 0;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.section-sub {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.wide-content {
  padding: 22px;
}

.wide-content p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 18px;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--ink-soft);
  margin: 0 0 10px;
  line-height: 1.6;
}

.detail-figure {
  margin: 18px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.detail-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}


.btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn.primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
}

.btn.primary:hover {
  background: linear-gradient(120deg, var(--brand-strong), #1799bb);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.person {
  padding: 16px;
  text-align: center;
}

.avatar {
  margin: 0 auto 10px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(145deg, #3b57ff, #00b6d8);
}

.person-thumb {
  margin: 0 auto 10px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #d7e6ff;
}

.person p {
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.person-link {
  color: #214fe2;
  text-decoration: none;
  font-weight: 600;
}

.person-link:hover {
  text-decoration: underline;
}

.contact {
  padding: 18px;
}

.contact p {
  margin: 8px 0;
}

.contact-map {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  width: min(340px, 100%);
  height: 180px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding: 16px 0 28px;
  color: var(--ink-soft);
}

.login-wrap {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.login-card {
  width: min(440px, 95vw);
  padding: 20px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

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

input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

small,
.muted {
  color: var(--ink-soft);
}

@media (max-width: 940px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-video {
    min-height: 340px;
  }

  .hero-grid,
  .feature-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .detail-spline {
    height: 58vh;
    min-height: 340px;
  }

  .topnav .shell {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
