:root {
  color-scheme: dark;
  --bg: #0f0f10;
  --panel: #17223c;
  --panel-soft: #1b2945;
  --line: #2b3954;
  --text: #f5f7fc;
  --muted: #acb8cf;
  --accent: #aebfff;
  --accent-strong: #4866db;
  --accent-hover: #3f5ac3;
}

.back-to-top {
  position: fixed;
  z-index: 12;
  right: clamp(16px, 3vw, 28px);
  bottom: var(--back-to-top-bottom, 24px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #657394;
  border-radius: 11px;
  background: var(--panel-soft);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  cursor: pointer;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { border-color: var(--accent-strong); background: var(--accent-strong); color: #fff; }
.back-to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.back-to-top svg { display: block; width: 18px; height: 18px; fill: currentColor; }

/* Landing-page content patterns shared by the Greek and English editions. */
.hero-product {
  margin: 0 auto 1.15rem;
  color: var(--accent);
  font-size: .88rem;
  font-weight: 650;
}
.hero-support {
  max-width: 670px;
  margin: .75rem auto 0;
  color: #d3dced;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}
.hero-visual {
  width: min(320px, 72vw);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.use-cases.section { padding-top: clamp(5rem, 8vw, 8rem); }
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.use-case {
  grid-column: span 2;
  min-width: 0;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.use-case:nth-child(-n+2) { grid-column: span 3; }
.use-case h3 { margin-bottom: .7rem; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.25; }
.use-case p { max-width: 56ch; margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 1px solid #5369a5; padding-top: 1.4rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: .5rem; font-size: 1.22rem; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.steps-note {
  max-width: 760px;
  margin: 2.25rem auto 0;
  color: #d3dced;
  text-align: center;
}
.screens.screens--featured {
  width: min(100%, 1110px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.faq.faq--stacked { max-width: 850px; margin-inline: auto; grid-template-columns: 1fr; }
.availability-status {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: .88rem;
  font-weight: 700;
}
.footer-identity { display: grid; gap: .2rem; }
.footer-identity strong { color: var(--text); font-size: .94rem; }
.footer-identity small { color: var(--muted); font-size: .84rem; }
.footer-links .footer-language { color: var(--accent); font-weight: 700; }
@media (max-width: 900px) {
  .use-case { grid-column: span 3; }
  .use-case:nth-child(-n+2) { grid-column: span 3; }
  .use-case:last-child { grid-column: 1 / -1; }
  .screens.screens--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 600px); }
}
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(2.45rem, 8vw, 3.3rem); line-height: 1.12; }
  .hero-visual { width: min(290px, 72vw); }
  .use-case-grid, .steps { grid-template-columns: 1fr; }
  .use-case, .use-case:nth-child(-n+2), .use-case:last-child { grid-column: auto; }
  .steps { gap: 2rem; }
  .steps-note { text-align: left; }
  .screens.screens--featured {
    width: 100%;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 275px);
    gap: .8rem;
  }
}
