:root {
  --bg: #f6f9fc;
  --bg2: #edf3f9;
  --text: #14324a;
  --muted: #607286;
  --card: rgba(255, 255, 255, 0.9);
  --border: rgba(20, 50, 74, 0.1);
  --blue: #2563eb;
  --teal: #0f9b8e;
  --cyan: #0284c7;
  --amber: #b45309;
  --gray: #525150;
  --brown: #7c2d12;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.1),
      transparent 30%
    ),
    radial-gradient(
      circle at top right,
      rgba(2, 132, 199, 0.1),
      transparent 24%
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--brown), var(--brown));
  color: white;
  border-color: transparent;
}    
.video-box {
  width: 55%;
  margin: 16px auto 0;
  border-radius: 18px;
  overflow: hidden;
}

.video-box iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.system-summary {
  width: 100%;
  min-width: 0;
}

.system-summary h3,
.system-summary p {
  margin: 0 0 0 6px;
  width: 100%;
  max-width: none;
  text-align: justify;
  line-height: 1.65;
}

.system-summary h3 {
  margin: 0 0 8px 6px;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: rgb(124, 45, 18);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.2);
}

.topnav {
  display: none;
}

.sys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  font-weight: 700;
}

.folder-bar {
  display: flex;
  gap: 10px;
  align-items: end;
  padding: 0px 10px 0px 26px;
  border-bottom: 1px solid rgba(20, 50, 74, 0.08);
}

.tab-btn {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #eef4fa);
  color: var(--text);
  cursor: pointer;
  border-bottom: none;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 12px 18px;
  position: relative;
  top: 1px;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.04);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.intro-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0;
}

.tab-btn[aria-selected="true"] {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  top: 0;
}

.primary-btn {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
}

.secondary-btn {
  background: white;
  color: var(--blue);
}

.section-title {
  margin: 28px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.section-note {
  color: var(--muted);
  margin: 0 0 18px;
}

.sys-grid {
  display: grid;
  gap: 16px;
}

.system-card {
  padding: 26px;
  display: none;
  scroll-margin-top: 18px;
}

.system-card.active {
  display: block;
}

.system-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.system-top {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
}

.system-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin: 0 0 14px;
  padding: 4px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 50, 74, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.system-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.system-summary h3 {
  margin: 0 0 8px 6px;
}

.system-summary p {
  margin: 0 0 0 6px;
  width: 100%;
  max-width: none;
}

.section-block {
  margin-top: 18px;
}

.section-block h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.section-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.section-list li {
  margin-bottom: 14px;
  text-align: justify;
}

.section-list li:last-child {
  margin-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: white;
}

.system-card h3 {
  margin: 0 0 10px 6px;
  font-size: 1.5rem;
}

.system-card p {
  margin: 0 0 0 6px;
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
  width: 100%;
}

.info-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--text);
}

.info-box strong {
  display: block;
  margin-bottom: 8px;
}

.link-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.info-box .link-row {
  margin-top: 12px;
}
sys-btn {
  color: var(--text);
}

.sys-btn.primary {
  display: inline-flex;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.blue {
  border-left: 10px solid var(--blue);
}
.teal {
  border-left: 10px solid var(--teal);
}
.cyan {
  border-left: 10px solid var(--cyan);
}
.amber {
  border-left: 10px solid var(--amber);
}
.gray {
  border-left: 10px solid var(--gray);
}
.brown {
  border-left: 10px solid var(--brown);
}
.blue .tag {
  background: var(--blue);
}
.teal .tag {
  background: var(--teal);
}
.cyan .tag {
  background: var(--cyan);
}
.amber .tag {
  background: var(--amber);
}
.gray .tag {
  background: var(--gray);
}
.brown .tag {
  background: var(--brown);
}
.blue .primary-btn {
  background: linear-gradient(135deg, var(--blue), #4f83ff);
}
.teal .primary-btn {
  background: linear-gradient(135deg, var(--teal), #21c2b2);
}
.cyan .primary-btn {
  background: linear-gradient(135deg, var(--cyan), #38bdf8);
}
.amber .primary-btn {
  background: linear-gradient(135deg, var(--amber), #d97706);
}

.footer {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .topbar {
    align-items: start;
    flex-direction: column;
  }
  .system-top {
    grid-template-columns: 1fr;
  }
  .system-logo {
    width: 96px;
    height: 96px;
  }
  .hero-card {
    padding: 12px;
  }
  .system-card {
    padding: 12px;
  }
}
