:root {
  color-scheme: dark;
  --bg: #0b0f17;
  --panel: #121826;
  --panel-2: #172033;
  --text: #e7edf7;
  --muted: #9aa7bd;
  --border: #26324a;
  --accent: #7cc4ff;
  --accent-2: #7cfc98;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 980px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(circle at top, #142039 0, var(--bg) 420px);
}

header,
footer {
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
  padding-bottom: 15px;
}

footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 14px;
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.25;
  color: #fff;
}

a {
  color: var(--accent);
}

.topnav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--accent);
  text-decoration: none;
}

.topnav a:hover {
  text-decoration: underline;
}

.menu {
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  color: var(--accent);
  user-select: none;
}

.menu summary:hover {
  text-decoration: underline;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 170px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 50;
  display: none;
}

.menu[open] .menu-panel {
  display: grid;
  gap: 6px;
}

.menu-panel a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
}

.menu-panel a:hover {
  background: var(--panel-2);
  text-decoration: none;
}

.panel,
.plan,
.box,
.hero-card {
  background: rgba(18, 24, 38, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

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

.plan {
  display: flex;
  flex-direction: column;
}

.plan .platform-badges {
  margin-top: auto;
  padding-top: 12px;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-2);
}

.note,
.small {
  color: var(--muted);
  font-size: 14px;
}

a.button,
button {
  display: inline-block;
  background: linear-gradient(135deg, #2374d1, #48a7ff);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  text-decoration: none;
  margin-top: 10px;
  cursor: pointer;
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

input,
select {
  font: inherit;
  padding: 10px;
  margin-top: 4px;
  min-width: 300px;
  max-width: 100%;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

label {
  color: #fff;
  font-weight: 600;
}

code {
  background: var(--panel-2);
  padding: 2px 5px;
  border-radius: 5px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.logo {
  max-height: 120px;
  width: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  margin: 10px 0;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
}

.screenshot {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.badge {
  display: inline-block;
  color: var(--accent-2);
  border: 1px solid rgba(124, 252, 152, 0.35);
  background: rgba(124, 252, 152, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.key {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-2);
  word-break: break-all;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .topnav {
    gap: 10px;
  }

  .menu {
    width: 100%;
  }

  .menu summary {
    display: inline-block;
    padding: 6px 0;
  }

  .menu-panel {
    position: static;
    margin-top: 6px;
    min-width: 0;
    width: 100%;
    box-shadow: none;
  }

  .hero-brand {
	flex-direction: column;
	align-items: center;
	text-align: center;
   }

	.badge {
		text-align: center;
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}	
}

.platform-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.platform-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  background: rgba(50, 200, 200, 0.52); /*var(--panel-2);*/
  border: 1px solid var(--border);
}

.subtitle-shot {
    display: block;
    margin: 20px auto 0 auto;
    max-height: 700px;
    width: auto;
    max-width: 100%;
}

.hero-image {
    margin: 30px 0 40px 0;
    text-align: center;
}

.hero-screenshot {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.hero-single {
    display: block;
}

.hero-single > div {
    max-width: none;
    width: 100%;
}

.hero-single h1 {
    max-width: 900px;
}

.hero-single p {
    max-width: 900px;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo {
    height: 140px;
    width: auto;
}

.badge {
    margin: 0;
    text-align: center;
}

/* Learning Center */

.learn-header {
  margin-bottom: 28px;
}

.learn-header h1 {
  font-size: clamp(32px, 5vw, 50px);
  margin-bottom: 12px;
}

.learn-header > p {
  max-width: 820px;
  font-size: 18px;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.learn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: start;
}

.learn-article {
  min-width: 0;
}

.learn-article h2 {
  margin-top: 38px;
  padding-top: 6px;
}

.learn-article h3 {
  margin-top: 28px;
}

.learn-article > h2:first-child {
  margin-top: 0;
}

.learn-article li {
  margin-bottom: 8px;
}

.learn-article img {
  max-width: 100%;
  height: auto;
}

.learn-sidebar {
  position: sticky;
  top: 20px;
}

.learn-sidebar h2 {
  margin-top: 0;
  font-size: 18px;
}

.learn-sidebar nav {
  display: grid;
  gap: 8px;
}

.learn-sidebar a {
  text-decoration: none;
}

.learn-sidebar a:hover {
  text-decoration: underline;
}

.learn-summary {
  margin: 24px 0;
}

.learn-summary ul {
  margin-bottom: 0;
}

.learn-step {
  margin: 28px 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.learn-step h2,
.learn-step h3 {
  margin-top: 0;
}

.learn-step-number {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.learn-tip,
.learn-warning,
.learn-note {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 10px;
}

.learn-tip {
  background: rgba(124, 252, 152, 0.08);
  border: 1px solid rgba(124, 252, 152, 0.35);
}

.learn-note {
  background: rgba(124, 196, 255, 0.08);
  border: 1px solid rgba(124, 196, 255, 0.35);
}

.learn-warning {
  background: rgba(255, 183, 77, 0.08);
  border: 1px solid rgba(255, 183, 77, 0.4);
}

.learn-tip strong,
.learn-note strong,
.learn-warning strong {
  color: #fff;
}

.learn-video {
  position: relative;
  width: 100%;
  margin: 26px 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-2);
}

.learn-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.learn-video-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin: 26px 0;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: var(--panel-2);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.learn-screenshot {
  margin: 26px 0;
}

.learn-screenshot img {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.3);
}

.learn-screenshot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.learn-screenshot-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: var(--panel-2);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.learn-related {
  margin-top: 38px;
}

.learn-related ul {
  display: grid;
  gap: 8px;
}

.learn-meta {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.learn-category-card {
  display: flex;
  flex-direction: column;
}

.learn-category-card h2 {
  margin-top: 0;
}

.learn-category-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.guide-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.guide-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.guide-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.guide-list a {
  font-weight: 700;
  text-decoration: none;
}

.guide-list a:hover {
  text-decoration: underline;
}

.guide-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .learn-layout {
    grid-template-columns: 1fr;
  }

  .learn-sidebar {
    position: static;
    order: -1;
  }

  .learn-step {
    padding-left: 14px;
  }
}

.learn-screenshot-small {
    display: block;
    margin: 24px auto;
    text-align: center;
}

.learn-screenshot-small img {
    width: auto;
    max-width: 280px;
    height: auto;
}

.learn-screenshot-medium {
    text-align:center;
}

.learn-screenshot-medium img {
    max-width:700px;
    width:100%;
}

.comparison-section {
  margin-top: 28px;
  padding: 28px;
  background: var(--panel-bg, #181818);
  border: 1px solid var(--border-color, #333);
  border-radius: 10px;
}

.comparison-heading {
  max-width: 850px;
  margin-bottom: 24px;
}

.comparison-heading h2 {
  margin-top: 0;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color, #333);
  border-radius: 8px;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.12);
}

.comparison-table th,
.comparison-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border-color, #333);
  border-right: 1px solid var(--border-color, #333);
  text-align: left;
  vertical-align: top;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-table thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.comparison-table tbody th[scope="row"] {
  width: 34%;
  font-weight: 600;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table .comparison-group th {
    padding: 14px 16px;
    background: rgba(214, 140, 39, 0.18);
    color: #f0b45a;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-top: 1px solid rgba(214, 140, 39, 0.4);
    border-bottom: 1px solid rgba(214, 140, 39, 0.4);
}


.comparison-table .comparison-dacapo {
  background: rgba(255, 255, 255, 0.045);
  font-weight: 600;
}

.comparison-table thead .comparison-dacapo {
  background: rgba(255, 255, 255, 0.1);
}

.comparison-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
  opacity: 0.72;
}

.resolve-section {
  margin-top: 28px;
}

.resolve-section h2 {
  margin-top: 0;
}

@media (max-width: 720px) {
  .comparison-section {
    padding: 20px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 11px 12px;
  }
}

.timeline-status-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  border-radius: 6px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  vertical-align: -4px;
  margin: 0 4px;
}

.timeline-status-symbol--green {
  background: #34a853;
  color: #fff;
}

.timeline-status-symbol--orange {
  background: #f28c00;
  color: #fff;
}

.timeline-status-symbol--violet {
  background: #6574e8;
  color: #fff;
}

.timeline-status-symbol--red {
  background: #d9363e;
  color: #fff;
}


.timeline-status-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}

/* Symbols used inside normal text */
p .timeline-status-symbol,
li .timeline-status-symbol {
  vertical-align: middle;
  position: relative;
  top: -1px;
  margin: 0 3px;
}

/* Symbols used in headings */
.timeline-status-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.timeline-status-heading .timeline-status-symbol {
  margin: 0;
}

.timeline-status-symbol.dcp,
.timeline-status-symbol.unlocked {
  background: #35a84a;
}

.timeline-status-symbol.modified,
.timeline-status-symbol.warning,
.timeline-status-symbol.offline {
  background: #f28a00;
}

.timeline-status-symbol.virtual {
  background: #6977ef;
}

.timeline-status-symbol.error,
.timeline-status-symbol.missing,
.timeline-status-symbol.locked {
  background: #dc3545;
}

.timeline-symbol-reference {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.timeline-symbol-reference-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-symbol-reference-item .timeline-status-symbol {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  font-size: 17px;
  margin: 0;
}
