
:root {
  --background: #f7f8fb;
  --foreground: #15161a;
  --muted: #69707c;
  --line: #e7e9ef;
  --brand: #f7b731;
  --brand-strong: #e69b14;
  --ink: #1d2430;
  --panel: #ffffff;
  --soft: #fff7df;
  --deep: #17191f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid rgba(231, 233, 239, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 122px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #3d4350;
  font-size: 15px;
  white-space: nowrap;
}

.nav a,
.header-cta,
.button {
  transition: transform 160ms ease, color 160ms ease, background 160ms ease,
    border-color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand-strong);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta {
  padding: 0 18px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
}

.primary {
  background: var(--brand);
  color: #1d1a12;
}

.secondary {
  border-color: #d9dde7;
  background: #ffffff;
  color: var(--ink);
}

.light {
  background: #ffffff;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 86px) 44px;
  background:
    radial-gradient(circle at 12% 8%, rgba(247, 183, 49, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f6f7fb 48%, #fff6db 100%);
}

.hero-copy {
  max-width: 680px;
}

.kicker,
.section-label,
.product-card p,
.course-card p {
  margin: 0;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: #101114;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: #111318;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: #15181f;
  font-size: 22px;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-text,
.section > p,
.centered > p,
.totara-copy p,
.timeline-heading p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #5a606b;
}

.hero-metrics strong {
  color: var(--ink);
  font-size: 22px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(222, 226, 235, 0.92);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(31, 37, 49, 0.13);
}

.hero-visual::before {
  content: "";
  display: block;
  height: 38px;
  border-bottom: 1px solid #eceff5;
  background:
    radial-gradient(circle at 22px 19px, #ff5f57 0 5px, transparent 6px),
    radial-gradient(circle at 42px 19px, #febc2e 0 5px, transparent 6px),
    radial-gradient(circle at 62px 19px, #28c840 0 5px, transparent 6px),
    #fbfcff;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 700 / 550;
  object-fit: cover;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: 94px clamp(20px, 5vw, 86px) 34px;
}

.section.centered {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 48px;
  text-align: center;
}

.product-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 86px) 100px;
}

.product-card,
.course-card,
.feature-item,
.timeline-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.course-card {
  transition: border-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.product-card {
  overflow: hidden;
}

.product-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.72;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(247, 183, 49, 0.3), transparent 28%),
    linear-gradient(135deg, #f9fbff 0%, #eef3f8 58%, #fff2c7 100%);
}

.product-visual::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 78px;
  height: 78px;
  border: 16px solid rgba(247, 183, 49, 0.86);
  border-left-color: rgba(36, 51, 77, 0.18);
  border-radius: 50%;
  content: "";
}

.visual-window {
  display: flex;
  gap: 7px;
  width: min(86%, 360px);
  height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(219, 225, 236, 0.95);
  border-radius: 8px 8px 0 0;
  background: #ffffff;
}

.visual-window span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7deea;
}

.visual-body {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  width: min(86%, 360px);
  min-height: 178px;
  border: 1px solid rgba(219, 225, 236, 0.95);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(33, 42, 58, 0.12);
}

.visual-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 14px;
  border-right: 1px solid #e7ebf2;
  background: #f5f7fb;
}

.visual-sidebar span {
  height: 10px;
  border-radius: 999px;
  background: #cdd6e4;
}

.visual-main {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.visual-pill,
.visual-line,
.visual-grid span {
  border-radius: 8px;
}

.visual-pill {
  width: 52px;
  height: 18px;
  background: var(--brand);
}

.visual-line {
  width: 58%;
  height: 10px;
  background: #cdd6e4;
}

.visual-line.wide {
  width: 82%;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.visual-grid span {
  height: 46px;
  background: #eef2f7;
}

.product-visual-authoring {
  background:
    radial-gradient(circle at 80% 18%, rgba(95, 180, 132, 0.28), transparent 30%),
    linear-gradient(135deg, #fffaf0 0%, #f7fbf8 56%, #e8f6ee 100%);
}

.product-visual-authoring .visual-grid span:nth-child(1),
.product-visual-authoring .visual-grid span:nth-child(4) {
  background: #dff0e6;
}

.product-visual-enterprise {
  background:
    radial-gradient(circle at 18% 22%, rgba(64, 92, 144, 0.22), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #f3f0ff 54%, #fff4dc 100%);
}

.product-visual-enterprise .visual-body {
  grid-template-columns: 92px minmax(0, 1fr);
}

.product-visual-enterprise .visual-grid span {
  background: #ece8fb;
}

.product-card > div {
  padding: 24px;
}

.product-card span,
.course-card span,
.feature-item p,
.timeline-list p,
footer p {
  color: var(--muted);
  line-height: 1.72;
}

.band {
  padding: 0 clamp(20px, 5vw, 86px) 96px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%),
    var(--background);
}

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

.feature-item {
  padding: 24px;
}

.feature-item img {
  width: 100%;
  height: 190px;
  margin-bottom: 24px;
  object-fit: contain;
}

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.capability-strip span {
  padding: 10px 14px;
  border: 1px solid #efd898;
  border-radius: 8px;
  background: #fff9e8;
  color: #705312;
  font-weight: 700;
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 26px;
}

.course-card h3 {
  margin-top: 16px;
}

.course-card strong {
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand-strong);
  font-size: 15px;
}

.course-card:hover,
.course-card:focus-visible {
  border-color: #efca66;
  box-shadow: 0 18px 38px rgba(31, 37, 49, 0.09);
  transform: translateY(-2px);
}

.totara {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 96px clamp(20px, 5vw, 86px);
  background: #ffffff;
}

.totara-logo {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafc;
  padding: clamp(24px, 4vw, 52px);
}

.timeline {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 84px);
  padding: 104px clamp(20px, 5vw, 86px);
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-list article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
}

.timeline-list strong {
  color: var(--brand-strong);
  font-size: 22px;
}

.timeline-list p {
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(20px, 5vw, 86px) 96px;
  padding: clamp(34px, 5vw, 64px);
  border-radius: 8px;
  background: var(--deep);
  color: #ffffff;
}

.contact h2,
.contact .section-label {
  color: #ffffff;
}

.contact p {
  max-width: 760px;
  margin-bottom: 0;
  color: #c9ced8;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 86px);
  background: #111318;
}

footer img {
  width: 116px;
}

footer p {
  margin-bottom: 4px;
  color: #d4d8e1;
}

footer p:last-child {
  color: #8f96a3;
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .section,
  .totara,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-grid,
  .feature-list,
  .course-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand img {
    width: 108px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero,
  .section,
  .band,
  .totara,
  .timeline {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .product-grid,
  .feature-list,
  .course-grid {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-item img {
    height: 150px;
  }

  .timeline-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact,
  footer {
    grid-template-columns: 1fr;
  }

  .contact {
    margin-left: 16px;
    margin-right: 16px;
  }
}
