:root {
  --night: #031728;
  --panel: #121d28;
  --panel-soft: #0a253c;
  --blue: #2b6899;
  --sky: #41b0f6;
  --yellow: #f7ba00;
  --white: #ffffff;
  --muted: #8ea4b8;
  --line: rgba(65, 176, 246, 0.28);
  --black: #000000;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--night);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}

.skip-link {
  display: none;
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  border-radius: 12px;
  background: var(--white);
  color: var(--night);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 23, 40, 0.88);
  backdrop-filter: blur(18px);
}

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

.studio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.studio-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sky);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 4px 4px 0 var(--blue);
}

.header-tools,
.site-nav,
.languages {
  display: flex;
  align-items: center;
}

.header-tools {
  gap: 26px;
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.languages {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.languages a {
  min-width: 38px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.languages a[aria-current="true"] {
  background: var(--sky);
  color: var(--night);
}

.arcadoku-logo {
  width: min(100%, 620px);
  height: auto;
}

.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: 76px 92px;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: -28%;
  right: -22%;
  width: min(980px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #004d81;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 6%;
  right: -15%;
  width: min(720px, 76vw);
  aspect-ratio: 1;
  background: url("/arcadoku/assets/star.svg") center / contain no-repeat;
  content: "";
  animation: slow-spin 120s linear infinite;
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.72fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.hero-copy {
  max-width: 680px;
}

.kicker {
  margin: 0 0 20px;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 32px 0 22px;
  font-size: clamp(3rem, 7.7vw, 7.15rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 30px;
  color: #c5d3df;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 2px solid var(--sky);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 6px 6px 0 var(--blue);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--blue);
}

.button.secondary {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  box-shadow: none;
  color: #dce7ef;
}

.store-badge img {
  width: auto;
  height: 54px;
}

.hero-phone {
  width: min(310px, 72vw);
  aspect-ratio: 9 / 18.6;
  justify-self: center;
  overflow: hidden;
  padding: 10px;
  border: 3px solid var(--black);
  border-radius: 42px;
  background: var(--black);
  box-shadow: 14px 14px 0 var(--sky);
  transform: rotate(3deg);
}

.hero-phone img {
  width: 100%;
  height: 100%;
  border-radius: 31px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding-block: 108px;
}

.section-blue {
  background: #004d81;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.support-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.section-heading p,
.support-hero p {
  margin: 0;
  color: #c5d3df;
  font-size: clamp(1rem, 2vw, 1.24rem);
}

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

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 2px solid var(--black);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--sky);
}

.feature-number {
  color: var(--yellow);
  font-size: 3.1rem;
  font-weight: 950;
  line-height: 1;
}

.feature-card h3 {
  margin: 22px 0 10px;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  align-items: start;
  justify-content: center;
  gap: clamp(18px, 4vw, 46px);
}

.shot {
  position: relative;
  margin: 0;
}

.shot:nth-child(2) {
  transform: translateY(-24px);
}

.shot img {
  width: 100%;
  height: 500px;
  border: 3px solid var(--black);
  border-radius: 30px;
  box-shadow: 10px 10px 0 var(--sky);
  object-fit: cover;
  object-position: center;
}

.shot:first-child img {
  object-position: center top;
}

.shot figcaption {
  margin-top: 20px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.cta {
  position: relative;
  overflow: hidden;
  padding-block: 116px;
  text-align: center;
}

.cta::before {
  position: absolute;
  z-index: -1;
  inset: 16% -15%;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  transform: rotate(-3deg);
}

.cta .arcadoku-logo {
  width: min(88%, 610px);
  margin-inline: auto;
}

.cta h2 {
  max-width: 760px;
  margin: 34px auto 24px;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.cta p {
  max-width: 640px;
  margin: 0 auto 30px;
  color: #d7e5ef;
  font-size: 1.12rem;
}

.cta .hero-actions {
  justify-content: center;
}

.support-hero {
  padding-block: 86px 58px;
  text-align: center;
}

.support-hero .arcadoku-logo {
  width: min(82%, 430px);
  margin: 0 auto 46px;
}

.support-hero p {
  max-width: 670px;
  margin-inline: auto;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 28px;
  padding-bottom: 100px;
}

.faq-list,
.contact-card {
  border: 2px solid var(--black);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--blue);
}

.faq-list {
  overflow: hidden;
}

details {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 13px 0 0;
  color: var(--muted);
}

.contact-card {
  align-self: start;
  padding: 28px;
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  line-height: 1.1;
}

.contact-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.contact-card .button {
  width: 100%;
}

.support-meta {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.support-meta a {
  color: var(--white);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 52px 24px;
  background: #020f1b;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-title {
  color: var(--sky);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-col strong {
  margin-bottom: 4px;
  color: var(--white);
}

.footer-col a:hover {
  color: var(--white);
}

.fine-print {
  width: min(calc(100% - 40px), var(--max));
  margin: 36px auto 0;
  color: #587086;
  font-size: 0.75rem;
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-phone {
    width: min(340px, 74vw);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .studio span:last-child {
    display: none;
  }

  .hero {
    overflow: hidden;
    padding-block: 52px 72px;
  }

  .hero::before {
    top: 2%;
  }

  .hero::after {
    top: 8%;
    right: -24%;
    width: 100%;
  }

  .hero-grid {
    margin-bottom: -300px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5.4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .store-badge {
    width: 100%;
  }

  .store-badge {
    display: flex;
    justify-content: center;
  }

  .shots {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .shot,
  .shot:nth-child(2) {
    width: min(78vw, 300px);
    margin-inline: auto;
    transform: none;
  }

  .shot img {
    height: 480px;
  }

  .section,
  .cta {
    padding-block: 78px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::after {
    animation: none;
  }

  .button {
    transition: none;
  }
}
