:root {
  --bg-deep: #060608;
  --bg-panel: rgba(12, 12, 16, 0.92);
  --text: #f2f2f5;
  --text-muted: rgba(242, 242, 245, 0.72);
  --accent: #c1a250;
  --accent-hover: #dcc063;
  --radius: 12px;
  --site-brand-heading-size: clamp(0.82rem, 2.8vw, 0.98rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg-deep);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-bg-image {
  background-image: url("chrono91_background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.site-bg-image::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 4vw, 2rem);
}

.site-header {
  text-align: center;
  padding-bottom: clamp(1.35rem, 3.8vw, 2.5rem);
}

.site-title {
  font-size: var(--site-brand-heading-size);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.main-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5.75vw, 3rem);
  text-align: center;
  max-width: min(520px, 100%);
  margin-inline: auto;
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(440px, 95%);
}

.logo-link img:first-of-type {
  display: block;
  align-self: stretch;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.55));
}

.logo-trapezium {
  display: block;
  flex-shrink: 0;
  width: min(140%, calc(100vw - 2 * clamp(1rem, 4vw, 2rem)));
  height: auto;
  margin-top: clamp(1.35rem, 4.75vw, 1.95rem);
}

.logo-link .logo-trapezium {
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.55));
}

.product-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(280px, 95%);
  margin-inline: auto;
}

.product-logo img:first-of-type {
  display: block;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.45));
}

.product-logo .logo-trapezium {
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.45));
  margin-top: 0.95rem;
  width: min(140%, 100%);
  width: min(140%, 100cqw);
}

.product-screenshot {
  max-width: min(360px, 88vw);
  margin-inline: auto;
  margin-bottom: 1.35rem;
}

.product-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
}

.text-center {
  text-align: center;
}

.play-inline {
  align-items: flex-start;
}

.tagline-link {
  font-size: clamp(1rem, 3.6vw, 1.18rem);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  max-width: min(42ch, 92vw);
}

.tagline-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.play-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.play-badge {
  display: block;
  width: calc(60px * 646 / 250); /* same footprint width as official badge at 60px height */
  height: auto;
}

.site-footer {
  text-align: center;
  margin-top: clamp(0.75rem, 2vw, 1rem);
  padding-top: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer-back {
  margin: 0 0 0.6rem;
}

.site-footer-back a {
  font-size: clamp(0.82rem, 2.8vw, 0.98rem);
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  color: var(--text);
}

.site-footer-back a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.site-footer-contact {
  margin: 0;
}

.site-footer-contact:empty {
  display: none;
}

.site-footer-copy {
  margin: 0.75rem 0 0;
  font-size: min(0.85rem, var(--site-brand-heading-size));
  letter-spacing: 0.08em;
}

.site-footer a {
  color: var(--text);
}

.site-footer a:hover {
  color: var(--accent-hover);
}

/* Inner pages */
.page-inner {
  max-width: 40rem;
  margin-inline: auto;
}

.panel {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  container-type: inline-size;
}

.by-at80 {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.section {
  margin-top: 1.75rem;
}

.page-inner .panel > .section:first-of-type {
  padding-bottom: clamp(0.65rem, 2vw, 1rem);
}

.section h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.section#faq h2 {
  text-transform: none;
  letter-spacing: 0.1em;
}

.intro-copy {
  margin-top: 1.35rem;
  font-size: 1rem;
}

.intro-copy p + p {
  margin-top: 0.85rem;
}

.features-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.feature-block {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

p.feature-kicker {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.feature-block p:not(.feature-kicker) {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item-anchor {
  scroll-margin-top: 1.25rem;
}

.faq-q {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.faq-a p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.faq-a p + p {
  margin-top: 0.65rem;
}

.faq-steps {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.faq-steps li + li {
  margin-top: 0.35rem;
}

.placeholder-block {
  padding: 1rem 1.1rem;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-back {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1.25rem;
  font-size: clamp(0.82rem, 2.8vw, 0.98rem);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.nav-back-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-back .nav-back-label::first-letter {
  letter-spacing: 0;
  margin-inline-end: 0.45em;
}

.nav-back:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* fade cycle */

.product-screenshot.fade-cycle {
  position: relative;
}

.product-screenshot.fade-cycle img {
  display: block;
  width: 100%;
}

.product-screenshot.fade-cycle img:nth-child(2) {
  position: absolute;
  inset: 0;
  z-index: 1;

  opacity: 0;
  animation: fadeTop 12s infinite;
}

@keyframes fadeTop {
  0% { opacity: 0; }
  17% { opacity: 0; }
  33% { opacity: 1; }
  67% { opacity: 1; }
  83% { opacity: 0; }
}