.license-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--license-border);
}

.license-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.license-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--license-primary-dark);
  font-size: 1.15rem;
}

.license-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.license-nav a {
  text-decoration: none;
  color: var(--license-text);
}

.license-nav a:hover {
  color: var(--license-primary);
}

.license-menu-button {
  display: none;
  border: 1px solid var(--license-border);
  background: var(--license-surface);
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
}

.license-main {
  min-height: 70vh;
}

.license-section {
  padding: 56px 0;
}

.license-section--muted {
  background: #fff;
  border-block: 1px solid var(--license-border);
}

.license-section__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 24px;
}

.license-section__header h2,
.license-section__header p {
  margin: 0;
}

.license-section__header h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.license-section__header p {
  color: var(--license-muted);
}

.license-footer {
  background: #031b3d;
  color: #e2e8f0;
  padding: 48px 0;
}

.license-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.license-footer a {
  display: block;
  color: #dbeafe;
  text-decoration: none;
  margin: 0.25rem 0;
}

.license-footer h2 {
  font-size: 1rem;
  margin: 0 0 0.6rem;
}

.license-footer p {
  color: #bfdbfe;
  font-size: 0.92rem;
}

.license-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.license-hero {
  background:
    radial-gradient(circle at 75% 20%, rgba(37, 99, 235, 0.14), transparent 35%),
    linear-gradient(180deg, #ffffff, #eff6ff);
  border-bottom: 1px solid var(--license-border);
  padding: 72px 0 64px;
}

.license-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.license-eyebrow {
  display: inline-flex;
  color: var(--license-primary-dark);
  background: var(--license-primary-soft);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin: 0 0 1rem;
}

.license-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.065em;
  margin: 0 0 1rem;
}

.license-hero h1 span {
  color: var(--license-primary);
}

.license-hero__lead {
  color: var(--license-muted);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 0 1.6rem;
}

.license-hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.license-hero-illustration {
  position: relative;
  min-height: 320px;
  border-radius: 32px;
  background: rgba(255,255,255,.64);
  box-shadow: var(--license-shadow);
  overflow: hidden;
}

.license-hero-illustration__circle {
  position: absolute;
  inset: 28px;
  border-radius: 999px;
  background: #dbeafe;
}

.license-hero-illustration__person {
  position: absolute;
  font-size: 8rem;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
}

.license-hero-illustration__plant {
  position: absolute;
  font-size: 4rem;
  right: 24px;
  bottom: 18px;
  opacity: .55;
}

.license-page-hero {
  padding: 36px 0;
  background: linear-gradient(180deg, #fff, #eff6ff);
  border-bottom: 1px solid var(--license-border);
}

.license-page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin: 0.4rem 0 0.5rem;
}

.license-page-hero p {
  color: var(--license-muted);
  margin: 0;
}

.license-breadcrumb {
  font-size: 0.85rem;
  color: var(--license-primary) !important;
}

.license-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.license-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .license-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    padding: 16px;
    border-radius: var(--license-radius-sm);
    border: 1px solid var(--license-border);
    background: var(--license-surface);
    box-shadow: var(--license-shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .license-nav.is-open {
    display: flex;
  }

  .license-menu-button {
    display: inline-flex;
  }

  .license-hero__grid,
  .license-tool-layout,
  .license-content-layout,
  .license-footer__grid {
    grid-template-columns: 1fr;
  }

  .license-hero {
    padding: 44px 0;
  }

  .license-hero-illustration {
    min-height: 200px;
  }

  .license-hero-illustration__person {
    font-size: 5rem;
  }
}

@media (max-width: 640px) {
  .license-section {
    padding: 36px 0;
  }

  .license-section__header {
    display: block;
  }

  .license-hero__actions .license-btn,
  .license-form-actions .license-btn {
    width: 100%;
  }
}


.license-hero-panel {
  display: grid;
  gap: 16px;
  min-height: 320px;
  border-radius: 32px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--license-shadow);
  padding: 28px;
  align-content: center;
  border: 1px solid rgba(191, 219, 254, .9);
}

.license-hero-panel__row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--license-border);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.license-hero-panel__row strong,
.license-hero-panel__row small {
  display: block;
}

.license-hero-panel__row small {
  color: var(--license-muted);
}

.license-breadcrumb a {
  color: var(--license-primary);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 900px) {
  .license-hero-panel { min-height: auto; }
}


.license-hero-dashboard {
  background: rgba(255,255,255,.88);
  border: 1px solid #bfdbfe;
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--license-shadow);
  display: grid;
  gap: 16px;
  max-width: 360px;
  margin-inline: auto;
}

.license-hero-dashboard__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: var(--license-primary-soft);
  border-radius: 18px;
  padding: 16px;
}

.license-hero-dashboard__top span,
.license-hero-dashboard__row small {
  color: var(--license-muted);
  font-weight: 800;
}

.license-hero-dashboard__top strong {
  color: var(--license-primary-dark);
  font-size: 2rem;
}

.license-hero-dashboard__row {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  border: 1px solid var(--license-border);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.license-hero-dashboard__row strong,
.license-hero-dashboard__row small {
  display: block;
}

.license-hero-dashboard__meter {
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.license-hero-dashboard__meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--license-primary), var(--license-accent));
}

.license-footer__note {
  border-top: 1px solid rgba(226,232,240,.18);
  margin-top: 28px;
  padding-top: 18px;
}

.license-breadcrumb a {
  color: var(--license-primary);
  text-decoration: none;
  font-weight: 800;
}

.license-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.license-breadcrumb span[aria-hidden="true"] { color: var(--license-muted); }

.license-breadcrumb__separator { color: var(--license-muted); margin: 0 0.35rem; }
