:root {
  --primary-color: #47545c;
  --secondary-color: #5b8bb0;
  --accent-color: #d9ac34;
  --text-dark: #3d3d3d;
  --text-light: #666666;
  --background: #ffffff;
  --gray-100: #fafafa;
  --gray-200: #f5f5f5;
  --border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Open Sans", "Lato", "Inter", "Work Sans", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--background);
}

h1,h2,h3,h4,h5,h6 { font-family: "Lato", sans-serif; color: var(--primary-color); }

a { color: inherit; }
img { max-width: 100%; display: block; }

.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.min-h-screen { min-height: 100vh; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.bg-white { background: #fff; }
.border-top { border-top: 1px solid var(--border); }
.subtle { border-top-color: #f3f4f6; }

.section { padding: 64px 0; }

.section-title {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.section-title.center { text-align: center; }

.text-muted { color: var(--text-light); }
.link { color: var(--primary-color); text-decoration: underline; font-weight: 600; }
.link:hover { color: var(--secondary-color); }

.mt-2 { margin-top: 8px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-12 { margin-bottom: 48px; }

.maxw-4 { max-width: 900px; margin: 0 auto; }
.maxw-3 { max-width: 820px; }

.space-y p + p { margin-top: 12px; }

.img-responsive {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  height: auto;
}

.hexagon-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23c4cdd4' fill-opacity='0.4'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-color: #edf1f4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-link:hover,
.dropdown-btn:hover {
  color: var(--secondary-color);
  background: rgba(0,0,0,0.03);
}

.chev { font-size: 12px; line-height: 1; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  padding: 8px 0;
  display: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #374151;
  font-size: 14px;
}
.dropdown-menu a:hover { background: rgba(0,0,0,0.04); }
.dropdown:hover .dropdown-menu { display: block; }

.icon-btn {
  border: 0;
  background: transparent;
  font-size: 22px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: #4b5563;
}
.icon-btn:hover { background: rgba(0,0,0,0.04); }

.mobile-panel {
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
}

.m-link, .m-toggle, .m-sublink {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
}

.m-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.m-sub { padding-left: 14px; }
.m-sublink { font-weight: 500; color: #4b5563; }

.desktop { display: flex; }
.mobile { display: none; }

.hero { padding: 80px 0; }
.hero-h1 {
  font-family: "Lato", sans-serif;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 22px;
}
.hero-h2 {
  font-family: "Lato", sans-serif;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero-divider {
  width: 96px;
  height: 4px;
  background: var(--secondary-color);
  margin: 0 auto 18px;
}
.hero-sub {
  font-size: 18px;
  color: var(--primary-color);
  max-width: 900px;
  margin: 0 auto;
  font-weight: 600;
}

.announcement-banner {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 12px 0;
}
.announcement-banner a {
  color: #90caf9;
  text-decoration: underline;
  margin: 0 6px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-box { padding: 32px 0; }
.stat-border { border-right: 1px solid var(--border); }

.stat-number {
  font-size: 5rem;
  font-weight: 300;
  color: var(--primary-color);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--secondary-color);
  letter-spacing: 1px;
  font-weight: 700;
}

.opportunity {
  display: flex;
  align-items: center;
  gap: 48px;
}
.pie-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.pie-item { text-align: center; }
.pie-svg { width: 128px; height: 128px; }
.pie-text { fill: var(--primary-color); font-weight: 700; }
.pie-label {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--secondary-color);
}
.opportunity-text { flex: 1; max-width: 520px; }

.reco-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--primary-color);
}
.reco-sub {
  color: var(--secondary-color);
  font-size: 18px;
  margin-left: 6px;
}

.chart-wrap { margin-top: 28px; }
.chart-box {
  position: relative;
  border: 1px solid #d1d5db;
  background: #fff;
  padding: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.badge {
  position: absolute;
  left: 18px;
  top: 18px;
  text-align: left;
}
.badge-big {
  font-size: 56px;
  font-weight: 300;
  color: var(--secondary-color);
  line-height: 1;
}
.badge-x { font-size: 28px; }
.badge-small {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: 1px;
}

.bars {
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
  padding-top: 90px;
}

.bar-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bar-top { font-size: 12px; color: #6b7280; }
.bar-top.strong { color: var(--secondary-color); font-weight: 800; }

.bar { width: 56px; }
.h-20 { height: 80px; }
.h-24 { height: 96px; }
.h-28 { height: 112px; }
.h-32 { height: 128px; }
.h-44 { height: 176px; }

.b-yellow { background: #f59e0b; }
.b-yellow2 { background: #fbbf24; }
.b-cyan { background: #22d3ee; }
.b-orange { background: #fb923c; }
.b-spark { background: #5bbbe0; }

.bar-logo { font-size: 12px; color: #9ca3af; height: 32px; display: flex; align-items: center; }
.bar-logo-img img { height: 20px; width: auto; }

.blocked { position: relative; }
.blocked-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #ef4444;
}
.blocked-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: #ef4444;
  transform: translate(-50%, -50%) rotate(45deg);
}

.baseline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.baseline-text { font-size: 12px; color: #6b7280; text-align: right; }
.sap-tag {
  background: #0f2a5f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.chart-caption { margin-top: 10px; font-size: 13px; color: #6b7280; }
.video-card { max-width: 900px; margin: 0 auto; margin-top: 26px; }
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.practice-card {
  background: linear-gradient(135deg, #5b8bb0 0%, #4a7799 100%);
  color: white;
  padding: 34px 24px 26px;
  position: relative;
  border-radius: 6px;
}
.practice-number {
  position: absolute;
  top: -18px;
  left: 18px;
  width: 46px;
  height: 46px;
  background: #e67e22;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.practice-title { font-size: 18px; font-weight: 700; color: #fff; }
.practice-highlight { color: #fde047; font-weight: 900; }
.practice-sub { margin-top: 6px; font-size: 13px; opacity: 0.85; }

.table-wrap { overflow-x: auto; margin-top: 18px; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12px;
}
.comparison-table .left { text-align: left; }
.row-alt { background: var(--gray-100); }

.icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.icon.ok { background: #22c55e; }
.icon.no { background: #f87171; }
.icon.partial {
  background: #facc15;
  border-radius: 999px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}
.site-footer p { font-size: 13px; color: #6b7280; }
.site-footer strong { color: var(--primary-color); }

@media (max-width: 992px) {
  .opportunity { flex-direction: column; text-align: center; }
  .opportunity-text { max-width: 720px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stat-border { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-number { font-size: 3.5rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .badge { position: static; text-align: center; margin-bottom: 10px; }
  .bars { padding-top: 30px; height: auto; }
  .chart-box { padding-top: 18px; }
}

@media (max-width: 1024px) {
  .desktop { display: none; }
  .mobile { display: inline-flex; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }
