:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #475569;
  --primary: #006b5b;
  --primary-foreground: #ffffff;
  --accent: #e0f2fe;
  --border: #64748b;
  --soft-border: #e2e8f0;
  --sidebar: #f1f5f9;
  --radius: 0.5rem;
  --font-main: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  height: 64px;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  border-bottom: 1px solid var(--soft-border);
  background: var(--card);
}

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

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.08em;
  line-height: 1;
}

.brand-name {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.topbar-divider {
  width: 1px;
  height: 24px;
  background: var(--soft-border);
}

.product-name {
  color: var(--muted-foreground);
  font-weight: 550;
}

.topbar-status {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-layout {
  display: grid;
  max-width: 1440px;
  min-height: calc(100vh - 64px);
  grid-template-columns: 248px minmax(0, 1fr);
  margin: 0 auto;
}

.sidebar {
  display: flex;
  flex-direction: column;
  padding: 32px 20px 24px;
  border-right: 1px solid var(--soft-border);
  background: var(--sidebar);
}

.sidebar-label {
  margin: 0 0 10px 10px;
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sidebar-label-spaced {
  margin-top: 30px;
}

.sidebar-current,
.sidebar-list li {
  display: flex;
  min-height: 38px;
  align-items: center;
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 13px;
}

.sidebar-current {
  gap: 10px;
  padding: 0 10px;
  background: var(--card);
  box-shadow: 0 1px 2px rgb(15 23 42 / 7%);
  font-weight: 600;
}

.sidebar-dot,
.status-indicator {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary);
}

.sidebar-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-list li {
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px;
  color: var(--muted-foreground);
  font-size: 12px;
}

.coming-soon {
  color: var(--muted-foreground);
  font-size: 10px;
}

.sidebar-note {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  background: var(--card);
}

.sidebar-note p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 11px;
}

.note-icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 700;
}

.main-content {
  width: min(100%, 1080px);
  padding: 30px 48px 20px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted-foreground);
  font-size: 12px;
}

.breadcrumbs [aria-current="page"] {
  color: var(--foreground);
  font-weight: 550;
}

.hero {
  position: relative;
  display: flex;
  min-height: 286px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px 40px;
  border: 1px solid var(--soft-border);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(112deg, var(--card) 40%, color-mix(in srgb, var(--primary) 7%, var(--card)) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 590px;
}

.eyebrow {
  color: var(--primary);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

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

h1 {
  margin: 12px 0 12px;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.hero-description {
  max-width: 570px;
  margin-bottom: 20px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.75;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--soft-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 7%, var(--card));
  color: var(--primary);
  font-size: 11px;
  font-weight: 650;
}

.status-indicator {
  width: 7px;
  height: 7px;
}

.hero-illustration {
  position: relative;
  width: 198px;
  height: 190px;
  flex: 0 0 auto;
  margin: 0 16px 0 24px;
}

.illustration-sheet {
  position: absolute;
  width: 126px;
  height: 158px;
  border: 1px solid var(--soft-border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 12px 30px rgb(15 23 42 / 9%);
}

.sheet-back {
  top: 18px;
  left: 44px;
  transform: rotate(9deg);
  background: color-mix(in srgb, var(--primary) 12%, var(--card));
}

.sheet-front {
  top: 16px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 25px 18px;
  transform: rotate(-5deg);
}

.sheet-line {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 8px;
  background: var(--muted);
}

.sheet-line-short {
  width: 48%;
  height: 9px;
  margin-bottom: 4px;
  background: var(--primary);
}

.sheet-line-medium {
  width: 72%;
}

.sheet-accent {
  width: 31px;
  height: 31px;
  margin-top: 6px;
  border-radius: 9px;
  background: var(--accent);
}

.illustration-spark {
  position: absolute;
  color: var(--primary);
}

.spark-one {
  top: 3px;
  right: 6px;
  font-size: 24px;
}

.spark-two {
  bottom: 5px;
  left: 1px;
  font-size: 20px;
}

.topics {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 12px;
}

.section-count {
  padding: 4px 8px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  color: var(--muted-foreground);
  font-size: 10px;
}

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

.topic-card {
  display: grid;
  min-height: 110px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  background: var(--card);
}

.topic-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  color: var(--primary);
  font-size: 17px;
  font-weight: 700;
}

.topic-copy h3 {
  margin: 1px 0 5px;
  font-size: 13px;
  font-weight: 650;
}

.topic-copy p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.6;
}

.topic-state {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 10px;
  white-space: nowrap;
}

.page-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0 4px;
  margin-top: 30px;
  border-top: 1px solid var(--soft-border);
  color: var(--muted-foreground);
  font-size: 11px;
}

.footer-separator {
  color: var(--border);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #0b1220;
    --foreground: #f8fafc;
    --card: #111827;
    --muted: #1f2937;
    --muted-foreground: #cbd5e1;
    --primary: #5eead4;
    --primary-foreground: #042f2e;
    --accent: #1e3a5f;
    --border: #64748b;
    --soft-border: #334155;
    --sidebar: #0f172a;
  }
}

@media (max-width: 980px) {
  .main-content {
    padding: 28px 28px 20px;
  }

  .hero {
    padding: 30px;
  }

  .hero-illustration {
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  .topbar {
    height: 58px;
    padding: 0 16px;
  }

  .page-layout {
    min-height: calc(100vh - 58px);
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    display: none;
  }

  .main-content {
    padding: 22px 18px 16px;
  }

  .hero {
    min-height: 0;
    padding: 26px 22px;
  }

  .hero-illustration {
    width: 132px;
    margin-left: 8px;
    transform: scale(0.78);
    transform-origin: center right;
  }
}

@media (max-width: 560px) {
  .product-name {
    font-size: 12px;
  }

  .topbar-status {
    padding: 3px 7px;
    font-size: 9px;
  }

  .hero {
    min-height: 0;
  }

  .hero-illustration {
    display: none;
  }

  .topic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-card {
    min-height: 96px;
  }
}
