:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --text: #1f1f1f;
  --muted: #69707d;
  --line: #e4e7ec;
  --line-strong: #d7dbe2;
  --yellow: #ffdb0d;
  --yellow-soft: #fff8c7;
  --shadow: 0 18px 50px rgba(31, 31, 31, .07);
  --shadow-hover: 0 24px 60px rgba(31, 31, 31, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 219, 13, .14), transparent 28rem),
    linear-gradient(180deg, #f8f9fa 0%, var(--bg) 100%);
  color: var(--text);
}

.topbar {
  height: 86px;
  display: flex;
  align-items: center;
  background: #1f1f1f;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.topbar-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand img {
  display: block;
  width: 205px;
  height: auto;
}

.product-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}

.product-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,219,13,.12);
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 88px;
}
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 0 0 48px;
}

.kicker,
.section-kicker {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7c6a00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.kicker span {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.lead {
  max-width: 720px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.section-kicker {
  margin-bottom: 6px;
  color: #8b9098;
}

.section-heading h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.02em;
}

.module-count {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), #ffe874);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #1f1f1f;
  color: var(--yellow);
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(31,31,31,.15);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card h3 {
  margin: 1px 0 0;
  font-size: 20px;
  letter-spacing: -.02em;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.status {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: #6f5d00;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.card-action {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.card-action span {
  transition: transform .18s ease;
}

.card:hover .card-action span {
  transform: translateX(4px);
}

.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9a9fa7;
  font-size: 12px;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
}
.back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 42px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-hero {
  max-width: 820px;
}

.placeholder-box {
  margin-top: 34px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}

.placeholder-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #1f1f1f;
  color: var(--yellow);
  font-weight: 800;
}

.placeholder-box strong {
  display: block;
  margin-bottom: 5px;
}

.placeholder-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 700px) {
  .topbar { height: 76px; }
  .topbar-inner,
  .shell,
  .footer {
    width: min(100% - 28px, 1160px);
  }

  .brand img { width: 168px; }
  .product-name { font-size: 12px; }

  .shell {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero {
    padding-bottom: 38px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
    padding: 23px;
    gap: 17px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .placeholder-box {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .product-name { display: none; }
  .brand img { width: 182px; }
  .card { grid-template-columns: 1fr; }
}
