:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-2: #0d0c12;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f1e8;
  --muted: rgba(247, 241, 232, 0.72);
  --quiet: rgba(247, 241, 232, 0.54);
  --violet: #8b5cf6;
  --violet-2: #d4c4ff;
  --gold: #e7d7a6;
  --ink: #101014;
  --shell: min(1180px, calc(100vw - clamp(24px, 5vw, 72px)));
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  background:
    radial-gradient(circle at 18% -10%, rgba(139, 92, 246, 0.28), transparent 33rem),
    radial-gradient(circle at 94% 6%, rgba(231, 215, 166, 0.12), transparent 24rem),
    linear-gradient(180deg, #07070b 0%, #09080d 45%, #050509 100%);
  color: var(--text);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  transform: translateY(-140%);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--ink);
  transition: transform 160ms ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
}

.nav {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 9px 10px 9px 12px;
  background: rgba(8, 8, 12, 0.74);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(150%);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.22);
}

.brand-text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 22px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a,
.contact-card,
.footer-inner a {
  transition: color 160ms ease, transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--text);
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.round-link,
.lang-button,
.carousel-button,
.button {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, opacity 170ms ease, color 170ms ease;
}

.round-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.round-link img {
  width: 18px;
  height: 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.055);
}

.lang-button {
  min-width: 38px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.03em;
}

.lang-button.is-active {
  border-color: rgba(255, 255, 255, 0.38);
  background: var(--text);
  color: var(--ink);
}

.round-link:hover,
.round-link:focus-visible,
.lang-button:hover,
.lang-button:focus-visible,
.carousel-button:hover:not(:disabled),
.carousel-button:focus-visible:not(:disabled),
.button:hover,
.button:focus-visible,
.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.11);
}

.hero {
  position: relative;
  padding: clamp(44px, 7vw, 88px) 0 clamp(34px, 7vw, 64px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -20vw auto;
  height: 420px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 58%);
  pointer-events: none;
  filter: blur(12px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 380px);
  align-items: start;
  gap: clamp(26px, 5vw, 72px);
}

.eyebrow,
.card-kicker {
  margin: 0;
  color: var(--violet-2);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.55vw, 1.28rem);
  line-height: 1.58;
  letter-spacing: -0.02em;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 380px);
}

.visual-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%, rgba(139, 92, 246, 0.1));
  pointer-events: none;
  z-index: 1;
}

.luxury-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.86;
}

.logo-stage {
  position: absolute;
  inset: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
}

.logo-frame {
  width: min(84%, 296px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

section {
  position: relative;
  padding: clamp(34px, 6vw, 72px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: clamp(18px, 4vw, 28px);
}

.section-head-centered {
  text-align: center;
}

.section-head-compact h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.carousel {
  margin-top: 18px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.carousel.is-static .carousel-controls,
.carousel-controls[hidden] {
  display: none;
}

.carousel-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-button:disabled {
  cursor: default;
  opacity: 0.32;
}

.dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.dot.is-active {
  width: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.snap-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.app-card,
.story-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.048);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.app-card {
  flex: 0 0 min(860px, calc(100vw - 42px));
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
}

.app-media,
.story-media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.18), transparent 38%),
    rgba(10, 10, 14, 0.92);
}

.app-media {
  min-height: 420px;
}

.story-media {
  min-height: 340px;
}

.app-media img,
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.app-copy,
.story-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
}

.app-copy h3,
.story-copy h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.app-summary,
.story-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.detail-panel {
  display: none;
  min-height: 0;
  max-height: 230px;
  overflow: auto;
  padding-right: 6px;
  color: var(--muted);
}

.detail-panel p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.58;
}

.detail-panel p:last-child {
  margin-bottom: 0;
}

.detail-panel.is-visible {
  display: block;
}

.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.button-primary {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, #ffffff 0%, #efe9dc 100%);
  color: #0d0d12;
  box-shadow: 0 16px 38px rgba(255, 255, 255, 0.08);
}

.button-store {
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
}

.button-store.is-disabled {
  opacity: 0.58;
  cursor: default;
}

.story-track {
  gap: 14px;
}

.story-card {
  flex: 0 0 clamp(286px, 30vw, 370px);
  display: grid;
  grid-template-rows: auto 1fr;
}

.story-copy {
  min-height: 360px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 44px);
  background:
    radial-gradient(circle at 95% 5%, rgba(139, 92, 246, 0.28), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.046);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.contact-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-card span {
  display: block;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  display: inline-block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 760;
}

.site-footer {
  padding: 24px 0 40px;
  color: var(--quiet);
}

.footer-inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

.empty-state {
  width: 100%;
  padding: 24px;
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}

@media (min-width: 1081px) {
  .story-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .story-card {
    flex: none;
  }
}

@media (max-width: 1080px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "links links";
    align-items: center;
    gap: 12px;
    border-radius: 28px;
    padding: 12px;
  }

  .brand {
    grid-area: brand;
  }

  .nav-actions {
    grid-area: actions;
    justify-self: end;
  }

  .nav-links {
    grid-area: links;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-lead,
  .hero-title {
    margin-inline: auto;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 360px);
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-media {
    min-height: 380px;
  }

  .story-track {
    display: flex;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100vw - 16px, calc(100vw - 16px));
  }

  .site-header {
    padding: 8px 0;
  }

  .nav {
    gap: 10px;
    border-radius: 24px;
    padding: 10px;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.84rem;
  }

  .round-link {
    width: 38px;
    height: 38px;
  }

  .lang-button {
    min-width: 34px;
    height: 32px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-title {
    font-size: clamp(2.45rem, 10vw, 3.6rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .visual-card {
    min-height: 320px;
  }

  .logo-frame {
    width: min(76%, 220px);
    border-radius: 24px;
  }

  .section-head-compact h2,
  .contact-panel h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .carousel-controls {
    margin-bottom: 10px;
  }

  .app-card {
    flex-basis: calc(100vw - 20px);
  }

  .app-media {
    min-height: 280px;
  }

  .app-copy,
  .story-copy {
    padding: 18px;
  }

  .app-copy h3,
  .story-copy h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .detail-panel {
    max-height: 190px;
  }

  .story-card {
    flex-basis: calc(100vw - 20px);
  }

  .story-media {
    min-height: 280px;
  }

  .story-copy {
    min-height: 300px;
  }

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

  .footer-inner {
    font-size: 0.84rem;
  }
}
