:root {
  --red: #b91c1c;
  --red-dark: #8f1717;
  --red-bright: #dc2626;
  --red-soft: #fef2f2;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --paper: #ffffff;
  --surface: #f8fafc;
  --footer: #1f2937;
  --radius: 8px;
  --shadow: 0 18px 40px rgba(17, 24, 39, 0.1);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes glow-line {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 10px 28px rgba(185, 28, 28, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: auto;
  height: 48px;
}

.brand small {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
}

.nav a {
  opacity: 0.92;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-button::before {
  transform: translateY(-7px);
}

.menu-button::after {
  transform: translateY(7px);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(185, 28, 28, 0.07), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(220, 38, 38, 0.16), transparent 32%),
    linear-gradient(180deg, #fff, var(--surface));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 52px;
  min-height: 640px;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section-heading h2,
.cgv h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 7vw, 5.2rem);
}

.accent {
  background: linear-gradient(120deg, var(--red), var(--red-bright), var(--red-dark));
  background-size: 180% 180%;
  color: var(--red);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow-line 4s ease-in-out infinite alternate;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  content: "";
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(120%);
}

.button.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.24);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: var(--red);
  color: var(--red);
  background: #fff;
}

.button.secondary:hover {
  background: var(--red-soft);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: float-soft 7s ease-in-out infinite;
}

.hero-visual img {
  width: min(100%, 520px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-badge {
  position: absolute;
  right: 8px;
  bottom: 28px;
  width: min(260px, 72%);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(12px);
}

.floating-badge strong,
.floating-badge span {
  display: block;
}

.floating-badge strong {
  color: var(--red);
}

.floating-badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--red);
  font-size: 1.55rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 84px 0;
  background: #fff;
}

.section.alt {
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.cgv h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card,
.config-card,
.contact-panel,
.info-panel,
.cgv-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}

.card {
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card:hover {
  border-color: rgba(185, 28, 28, 0.32);
  box-shadow: 0 24px 46px rgba(185, 28, 28, 0.12);
  transform: translateY(-6px);
}

.card-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.45rem;
  transition: transform 180ms ease, background 180ms ease;
}

.card:hover .card-icon {
  background: var(--red);
  color: #fff;
  transform: rotate(-5deg) scale(1.08);
}

.card h3,
.config-copy h3,
.contact-panel h3,
.info-panel h3,
.cgv h2 {
  margin: 0 0 10px;
}

.card p,
.config-copy p,
.contact-panel p,
.info-panel p,
.cgv p,
.cgv li {
  color: var(--muted);
  line-height: 1.68;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.config-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.config-card:hover {
  border-color: rgba(185, 28, 28, 0.32);
  box-shadow: 0 24px 46px rgba(185, 28, 28, 0.12);
  transform: translateY(-6px);
}

.config-media {
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(185, 28, 28, 0.1), transparent 42%),
    linear-gradient(180deg, #fff, #f3f4f6);
}

.config-media img {
  width: min(88%, 320px);
  height: 260px;
  object-fit: contain;
  transition: opacity 180ms ease, transform 420ms ease;
}

.config-card:hover .config-media img {
  transform: scale(1.03);
}

.config-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.config-copy h3 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

.config-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.specs {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.specs li::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  content: "";
  flex: 0 0 auto;
}

.support-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #111827, #7f1d1d 58%, #b91c1c);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 34px;
}

.support-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.support-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.72;
}

.support-copy .eyebrow {
  color: #fecaca;
}

.support-note {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.download-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.download-card {
  display: flex;
  min-height: 258px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 22px 42px rgba(17, 24, 39, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-card:hover {
  box-shadow: 0 30px 54px rgba(17, 24, 39, 0.24);
  transform: translateY(-6px);
}

.download-card h3 {
  margin: 14px 0 8px;
  font-size: 1.14rem;
}

.download-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

.download-icon {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
}

.release-link {
  grid-column: 1 / -1;
  justify-self: end;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.contact-panel,
.info-panel {
  padding: 30px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 800;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hours td {
  color: var(--muted);
  text-align: right;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 46px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2,
.site-footer h3,
.site-footer p {
  margin: 0;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #d1d5db;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.page {
  display: none;
}

.page.active {
  display: block;
  animation: fade-up 420ms ease both;
}

.cgv {
  padding: 56px 0 84px;
}

.cgv-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
}

.cgv h1 {
  margin-bottom: 28px;
  text-align: center;
}

.cgv section {
  margin-top: 30px;
}

.cgv h2 {
  color: var(--red);
  font-size: 1.45rem;
}

.cgv ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.notice {
  margin-top: 34px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-inner,
  .config-grid,
  .contact-grid,
  .footer-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 20px;
    background: var(--red-dark);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .brand small {
    display: none;
  }

  .hero {
    background: #fff;
  }

  .hero-visual {
    animation: none;
  }

  .hero-inner,
  .section {
    padding: 48px 0;
  }

  .floating-badge {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .stats,
  .cards {
    grid-template-columns: 1fr;
  }

  .config-media {
    min-height: 240px;
  }

  .config-media img {
    height: 220px;
  }

  .config-copy,
  .contact-panel,
  .info-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
