:root {
  --bg-a: #dce4ed;
  --bg-b: #f7d4d8;
  --bg-c: #cde5c0;
  --ink: #243140;
  --ink-soft: #4a5968;
  --line: #ffffff80;
  --glass: #ffffff66;
  --glass-deep: #ffffff88;
  --accent: #e67d00;
  --accent-strong: #d15700;
  --shadow: #12314f22;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: linear-gradient(125deg, var(--bg-a) 0%, var(--bg-b) 44%, var(--bg-c) 100%);
}

body {
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
}

.orb-a {
  display: none;
}

.orb-b {
  width: 380px;
  height: 380px;
  background: #f44570;
  top: 18%;
  right: -130px;
}

.orb-c {
  width: 360px;
  height: 360px;
  background: #7ec91f;
  bottom: -130px;
  left: 24%;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(#fff 1px, transparent 0);
  background-size: 4px 4px;
}

.glass-panel {
  background: linear-gradient(145deg, #ffffff75, #ffffff4d);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 40px var(--shadow);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  margin-top: 18px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand img {
  width: 34px;
  height: 34px;
}

.top-nav {
  display: flex;
  gap: 14px;
  margin-left: auto;
  flex-wrap: nowrap;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.top-nav a svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.hero {
  margin-top: 20px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.hero-copy {
  padding: clamp(20px, 3vw, 34px);
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  font-weight: 800;
}

.hero h1 {
  margin: 10px 0 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.1vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: var(--accent-strong);
}

.hero p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.store-chips {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--glass-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.store-chip.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.chip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip-icon svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}

.hero-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
}

.device-stack {
  width: min(100%, 430px);
  position: relative;
  min-height: 560px;
}

.device-card {
  margin: 0;
  width: min(100%, 360px);
  padding: 8px;
  border-radius: 30px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
}

.device-card.small {
  width: min(80%, 280px);
  top: auto;
  bottom: 8px;
  left: auto;
  right: 6px;
  transform: rotate(7deg);
}

.device-card img {
  border-radius: 22px;
  aspect-ratio: 10 / 17;
  object-fit: cover;
}

.tag {
  background: #ffffff88;
  border: 1px solid var(--line);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 700;
  font-size: 0.9rem;
}

.story,
.new-features,
.contact {
  margin-top: 34px;
}

.story {
  padding: 18px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  align-items: center;
}

.story-image {
  margin: 0;
  max-width: 250px;
  width: 100%;
  justify-self: center;
  padding: 8px;
  border-radius: 24px;
}

.story-image img {
  border-radius: 16px;
  aspect-ratio: 10 / 17;
  object-fit: cover;
}

.story h2,
.new-features h2,
.contact h2 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
}

.story p,
.new-features p,
.contact p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.story ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.new-features > p {
  max-width: 72ch;
}

.carousel {
  margin-top: 18px;
  max-width: 880px;
  margin-inline: auto;
  --carousel-fade: 24px;
}

.carousel-head {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}

.carousel-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff8c;
  border-radius: 999px;
  background: #ffffffab;
  color: #33465a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  display: block;
  margin: 0;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (2 * 12px)) / 3);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 18px 10px 34px;
  margin: -10px -10px -20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--carousel-fade),
    #000 calc(100% - var(--carousel-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--carousel-fade),
    #000 calc(100% - var(--carousel-fade)),
    transparent 100%
  );
}

.carousel .feature-card.glass-panel {
  box-shadow: none;
}

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

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #ffffff79;
  cursor: pointer;
  padding: 0;
  transition: background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.carousel-dot.is-active {
  background: #ffffffd1;
  box-shadow: 0 0 0 2px #ffffff42;
}

.feature-card {
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  scroll-snap-align: start;
}

.feature-card img {
  border-radius: 14px;
  aspect-ratio: 10 / 17;
  object-fit: cover;
  max-height: 340px;
}

.feature-card h3 {
  margin: 12px 4px 0;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 8px 4px 2px;
  font-size: 0.98rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact article {
  padding: 16px;
}

.contact a,
.footer a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}

.footer {
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer p {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
}

.footer small {
  color: var(--ink-soft);
}

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

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .hero,
  .story,
  .contact {
    grid-template-columns: 1fr;
  }

  .device-stack {
    min-height: 520px;
  }

  .carousel-track {
    grid-auto-columns: calc((100% - 14px) / 2);
  }

  .carousel {
    max-width: 640px;
    --carousel-fade: 16px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  .topbar {
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    font-size: 0.98rem;
    gap: 8px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .top-nav {
    gap: 6px;
  }

  .top-nav a {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    justify-content: center;
    background: #ffffff7a;
    border: 1px solid #ffffff82;
    gap: 0;
  }

  .top-nav a svg {
    width: 15px;
    height: 15px;
  }

  .top-nav .nav-label {
    display: none;
  }

  .device-stack {
    min-height: 490px;
  }

  .device-card {
    width: min(100%, 320px);
  }

  .device-card.small {
    width: min(70%, 230px);
    right: -2px;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .carousel {
    max-width: 340px;
    --carousel-fade: 10px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
