﻿:root {
  color-scheme: dark;
  --ink: #f7f5ee;
  --muted: #b9c4d0;
  --dim: #7f8c9a;
  --bg: #0a111d;
  --panel: #142536;
  --panel-2: #1e3845;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #1176f4;
  --green: #02ce68;
  --purple: #8650cf;
  --amber: #f4b353;
  --cream: #f3ddaf;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(244, 179, 83, 0.16), transparent 28rem),
    linear-gradient(140deg, #080e19 0%, #0c1320 45%, #101417 100%);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  background: rgba(10, 17, 29, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 8px;
  object-fit: cover;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
.menu-trigger,
.menu-row {
  white-space: nowrap;
}

nav a:hover {
  color: var(--ink);
}

.menu-tree {
  position: relative;
}

.menu-trigger,
.menu-row {
  min-height: 2.35rem;
  padding: 0 0.8rem;
  color: var(--muted);
  border-color: transparent;
  background: transparent;
  font-weight: 700;
}

.menu-trigger:hover,
.menu-row:hover {
  color: var(--ink);
}

.menu-panel,
.submenu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  display: none;
  min-width: 13rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 25, 39, 0.98);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.32);
}

.menu-panel.open,
.submenu-panel.open {
  display: grid;
  gap: 0.25rem;
}

.menu-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.menu-row::after {
  content: ">";
  color: var(--dim);
}

.submenu-panel {
  top: 0;
  left: calc(100% + 0.45rem);
}

.submenu-panel a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  color: var(--muted);
  white-space: nowrap;
}

.submenu-panel a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

button,
.primary-action,
.secondary-action {
  min-height: 2.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 1rem;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

button {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
}

.lang-toggle {
  min-width: 3.1rem;
}

.product-carousel {
  position: relative;
  min-height: min(790px, calc(100svh - 4rem));
  display: grid;
  align-items: center;
  padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 5vw, 5.5rem) 3rem;
  overflow: hidden;
}

.carousel-stage {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.carousel-card,
.hero {
  min-height: min(760px, calc(100svh - 4rem));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--product-accent, var(--blue)) 16%, transparent), transparent 36%),
    rgba(30, 56, 69, 0.64);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.carousel-copy {
  max-width: 42rem;
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 850;
}

.product-kicker img {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  object-fit: cover;
}

.carousel-copy p {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  line-height: 1.72;
}

.carousel-description {
  margin-top: 0.4rem;
  color: var(--ink);
}

.carousel-media {
  position: relative;
  min-height: clamp(25rem, 44vw, 39rem);
}

.carousel-phone {
  position: absolute;
  width: clamp(9.5rem, 15vw, 17rem);
  max-height: 38rem;
  border-radius: 1.7rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.42);
}

.carousel-phone.shot-1 {
  left: 0;
  top: 2.2rem;
  opacity: 0.72;
}

.carousel-phone.shot-2 {
  left: 50%;
  top: 0;
  z-index: 2;
  transform: translateX(-50%);
}

.carousel-phone.shot-3 {
  right: 0;
  top: 3.5rem;
  opacity: 0.72;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 3rem;
  min-height: 3rem;
  padding: 0;
  transform: translateY(-50%);
  font-size: 2rem;
  line-height: 1;
}

.carousel-button.prev {
  left: clamp(0.5rem, 2vw, 1.8rem);
}

.carousel-button.next {
  right: clamp(0.5rem, 2vw, 1.8rem);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 0.8rem;
  min-width: 0.8rem;
  min-height: 0.8rem;
  padding: 0;
  border-radius: 999px;
}

.carousel-dots button.active {
  width: 2.2rem;
  background: var(--blue);
  border-color: transparent;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.65rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.85rem, 4.6vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-action {
  background: var(--blue);
  border-color: transparent;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.06);
}

.compact-action {
  min-height: 2.6rem;
  white-space: nowrap;
}

.hero-media {
  position: relative;
  min-height: clamp(24rem, 44vw, 38rem);
}

.phone {
  position: absolute;
  width: clamp(10rem, 18vw, 19rem);
  max-height: 39rem;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.phone-front {
  right: 20%;
  top: 0;
  z-index: 2;
}

.phone-back {
  right: 0;
  top: 5.5rem;
  opacity: 0.74;
}

.section,
.feature-band,
footer {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section-heading {
  margin-bottom: 1.6rem;
}

.row-heading,
.split-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.product-card,
.feature-band,
.feature-screen-card,
.link-list a,
.policy-list article,
.support-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(30, 56, 69, 0.72);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 18rem;
  padding: 1.15rem;
}

.product-card.active {
  border-color: rgba(17, 118, 244, 0.72);
  box-shadow: 0 0 0 1px rgba(17, 118, 244, 0.35), 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 8px;
  object-fit: cover;
}

.product-card p,
.feature-copy p,
.policy-card p,
.support-card p,
.policy-card li,
.support-card li {
  color: var(--muted);
  line-height: 1.7;
}

.product-card button {
  margin-top: auto;
  width: fit-content;
}

.about-logo {
  width: min(15rem, 52vw);
  border-radius: 8px;
  margin-bottom: 1.2rem;
}

.status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: rgba(2, 206, 104, 0.12);
  color: #8dffc3;
  font-size: 0.85rem;
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.product-detail-hero {
  margin-top: clamp(1rem, 4vw, 3rem);
}

.feature-copy ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  padding-left: 1.2rem;
  border-left: 0.25rem solid var(--green);
  color: var(--muted);
}

.feature-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-shots img,
.shot-rail img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--panel);
}

.feature-shots img {
  aspect-ratio: 9 / 16;
}

.segmented {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.segmented button {
  min-height: 2.35rem;
  border-color: transparent;
  color: var(--muted);
}

.segmented button.active {
  background: var(--blue);
  color: white;
}

.shot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(13rem, 17rem);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.shot-rail figure {
  margin: 0;
  scroll-snap-align: start;
}

.shot-rail figcaption {
  margin-top: 0.55rem;
  color: var(--dim);
  font-size: 0.9rem;
}

.feature-screen-carousel {
  position: relative;
}

.feature-screen-viewport {
  overflow: visible;
}

.feature-screen-viewport::-webkit-scrollbar {
  display: none;
}

.feature-screen-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
  padding: 0.2rem 0 0.8rem;
}

.feature-screen-card {
  display: grid;
  grid-template-columns: minmax(7.75rem, 34%) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0.8rem;
}

.feature-screen-button {
  display: none;
}

.feature-screen-button.prev {
  left: -1.1rem;
}

.feature-screen-button.next {
  right: -1.1rem;
}

.feature-screen-button:disabled {
  opacity: 0.38;
  cursor: default;
}

.feature-screen-card img {
  width: 100%;
  min-width: 0;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature-screen-card > div {
  min-width: 0;
}

.feature-screen-card h3 {
  margin-top: 0.45rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.feature-screen-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.policy-list {
  display: grid;
  gap: 0.85rem;
  min-width: min(100%, 34rem);
}

.policy-list article {
  padding: 1rem;
}

.policy-list h3 {
  font-size: 1.1rem;
}

.policy-list p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.link-list {
  display: grid;
  gap: 0.85rem;
  min-width: min(100%, 28rem);
}

.link-list a {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
}

.link-list span {
  font-weight: 850;
}

.link-list small {
  color: var(--muted);
  line-height: 1.55;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.content-page {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.content-page h1 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
}

.policy-grid,
.support-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.policy-card,
.support-card {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.policy-card h2,
.support-card h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.policy-card ul,
.support-card ul {
  padding-left: 1.2rem;
}

@media (max-width: 1024px) {
  .carousel-card,
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.9fr);
  }

  .carousel-phone {
    width: clamp(9rem, 18vw, 13rem);
  }

  .feature-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
  }

  .brand span {
    display: inline;
  }

  nav {
    flex: 1;
    justify-content: flex-end;
    gap: 0.75rem;
    font-size: 0.86rem;
  }

  .menu-panel {
    left: auto;
    right: 0;
  }

  .submenu-panel {
    position: static;
    margin-top: 0.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .carousel-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-carousel {
    min-height: 0;
    padding-bottom: 4rem;
  }

  .carousel-media {
    min-height: clamp(22rem, 62vw, 30rem);
  }

  .carousel-phone {
    width: clamp(8.5rem, 28vw, 12rem);
    border-radius: 1.2rem;
  }

  .hero-media {
    min-height: clamp(22rem, 62vw, 30rem);
  }

  .phone {
    width: clamp(9rem, 32vw, 14rem);
  }

  .phone-front {
    left: 10%;
    right: auto;
  }

  .phone-back {
    right: 8%;
    top: 3rem;
  }

  .feature-band,
  .row-heading,
  .split-section {
    display: grid;
  }

  .feature-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-screen-track {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  }

  .feature-screen-card {
    grid-template-columns: minmax(7.25rem, 36%) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.7rem;
    padding-inline: 0.75rem;
  }

  .brand {
    flex: 1;
  }

  .brand span {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 0.85rem;
  }

  .menu-panel {
    left: 0;
    right: auto;
  }

  .product-carousel {
    padding-inline: 0.75rem;
  }

  .carousel-card,
  .hero {
    padding: 1.15rem;
  }

  h1 {
    max-width: 12ch;
  }

  h2 {
    max-width: 13ch;
  }

  .hero-actions a {
    width: 100%;
  }

  .carousel-button {
    top: auto;
    bottom: 1.1rem;
    transform: none;
  }

  .carousel-dots {
    bottom: 1.85rem;
  }

  .feature-shots {
    grid-template-columns: 1fr;
  }

  .feature-screen-track {
    grid-template-columns: 1fr;
  }

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

  .feature-screen-card img {
    width: min(100%, 13rem);
    justify-self: center;
  }

  .section,
  .feature-band,
  footer {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .content-page {
    width: min(900px, calc(100% - 1.5rem));
  }

  footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .feature-screen-card img {
    width: min(100%, 12rem);
    justify-self: center;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .feature-screen-carousel {
    width: 100%;
    overflow: hidden;
  }

  .feature-screen-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: auto;
    scroll-snap-type: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .feature-screen-track {
    display: flex;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: none;
    gap: 0;
    width: 1800%;
    padding: 0.2rem 0 0.8rem;
  }

  .feature-screen-card {
    flex: 0 0 calc(100% / 18);
    width: calc(100% / 18);
    min-width: 0;
    max-width: none;
    grid-template-columns: 1fr;
  }

  .feature-screen-card img {
    width: min(100%, 13rem);
    justify-self: center;
  }

}
