:root {
  --bg: #0d1614;
  --bg-elevated: #141f1d;
  --fg: #e8f0ee;
  --muted: #a7c2bd;
  --dim: #6f8f8a;
  --accent: #00bfb3;
  --accent-soft: rgba(0, 191, 179, 0.16);
  --line: rgba(167, 194, 189, 0.22);
  --max: 70rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --focus: #7ef0e6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #5fe0d6;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 100;
  transform: translateY(-120%);
  padding: 0.65rem 0.9rem;
  border-radius: 0.55rem;
  background: var(--accent);
  color: #041312;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0.75rem);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand__icon {
  display: block;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand__accent {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border-radius: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn--compact {
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.92rem;
  border-radius: 999px;
}

.btn--primary {
  color: #041312;
  background: linear-gradient(135deg, #22d3c5 0%, var(--accent) 55%, #009a90 100%);
  box-shadow:
    0 0 0 1px rgba(0, 191, 179, 0.35),
    0 10px 28px rgba(0, 191, 179, 0.2);
}

.btn--primary:hover {
  color: #041312;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 191, 179, 0.5),
    0 14px 32px rgba(0, 191, 179, 0.28);
}

.btn--ghost {
  color: var(--fg);
  background: rgba(20, 31, 29, 0.72);
  border-color: rgba(0, 191, 179, 0.35);
}

.btn--ghost:hover {
  color: var(--fg);
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 4.25rem);
  display: flex;
  align-items: center;
  overflow: clip;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      55% 50% at 12% 20%,
      rgba(0, 104, 116, 0.42),
      transparent 70%
    ),
    radial-gradient(
      45% 40% at 88% 30%,
      rgba(0, 191, 179, 0.16),
      transparent 65%
    ),
    radial-gradient(70% 45% at 50% 100%, rgba(0, 70, 78, 0.35), transparent 70%),
    var(--bg);
}

.hero__layout {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding-top: 0.5rem;
    padding-bottom: 2.5rem;
  }

  .hero__visual {
    justify-items: end;
    padding-left: 1rem;
  }

  .device--primary {
    width: min(17rem, 100%);
  }

  .device--secondary {
    width: min(14.5rem, 78%);
    transform: translate(-14%, 12%) rotate(-9deg);
  }
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 28rem;
  animation: rise 0.7s ease both;
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  overflow: visible;
}

.hero__mark {
  flex: 0 0 auto;
  width: clamp(3.25rem, 9vw, 4.5rem);
  height: auto;
}

.hero__title-text {
  display: block;
  min-width: 0;
  padding-block: 0.06em 0.12em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: clamp(1.9rem, 9.5vw, 2.6rem);
  }

  .hero__mark {
    width: 3rem;
  }
}

@media (max-width: 380px) {
  .hero__title-text {
    white-space: normal;
  }
}

.hero__lede {
  margin: 1.05rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
}

.hero__actions {
  margin-top: 1.6rem;
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-height: 22rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: rise 0.85s 0.08s ease both;
}

.device {
  margin: 0;
  width: min(15.5rem, 62vw);
  border-radius: 1.55rem;
  padding: 0.4rem;
  background: linear-gradient(
    165deg,
    rgba(232, 240, 238, 0.2),
    rgba(20, 31, 29, 0.95) 45%,
    #0a1211
  );
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(0, 191, 179, 0.18);
}

.device img {
  width: 100%;
  border-radius: 1.2rem;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-elevated);
}

.device--primary {
  position: relative;
  z-index: 2;
}

.device--secondary {
  position: absolute;
  z-index: 1;
  width: min(13.25rem, 52vw);
  transform: translate(-12%, 10%) rotate(-8deg);
  opacity: 0.78;
  filter: saturate(0.92);
}

@media (max-width: 700px) {
  .device--secondary {
    display: none;
  }

  .hero__visual {
    min-height: 0;
    overflow: visible;
  }
}

.section {
  padding: 4rem 1.25rem;
  border-top: 1px solid var(--line);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
}

.section__lede {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}

.section__heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.features {
  background:
    radial-gradient(
      55% 40% at 100% 0%,
      rgba(0, 104, 116, 0.16),
      transparent 70%
    ),
    var(--bg);
}

.feature-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 760px) {
  .feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.feature-list li {
  padding-top: 1rem;
  border-top: 2px solid rgba(0, 191, 179, 0.5);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.98rem;
}

.gallery {
  padding-bottom: 2.25rem;
}

.gallery__hint {
  margin: 0;
  color: var(--dim);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (min-width: 1100px) {
  .gallery__hint {
    display: none;
  }
}

.shot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12rem, 15.5rem);
  gap: 1rem;
  margin-top: 1.75rem;
  overflow-x: auto;
  padding: 0.35rem 0.1rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot-rail:focus-visible {
  border-radius: 0.75rem;
}

.shot-rail::-webkit-scrollbar {
  height: 0.45rem;
}

.shot-rail::-webkit-scrollbar-thumb {
  background: rgba(0, 191, 179, 0.4);
  border-radius: 999px;
}

.shot {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 191, 179, 0.14);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

.cta-band {
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.cta-band__panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 42rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .cta-band__panel {
    max-width: var(--max);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .cta-band__copy {
    max-width: 34rem;
  }
}

.site-footer {
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  background: #0a1210;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.site-footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__meta {
  margin: 0;
  color: var(--dim);
  font-size: 0.9rem;
}

.site-footer__meta a {
  color: var(--muted);
}

.legal-page {
  padding: 1.75rem 1.25rem 3.5rem;
}

.legal {
  max-width: 42rem;
  margin: 0 auto;
}

.legal__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.legal__meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal__meta a {
  color: var(--accent);
}

.legal h2 {
  margin: 1.85rem 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin: 1.35rem 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.legal p,
.legal li {
  color: var(--fg);
}

.legal p {
  margin: 0 0 0.9rem;
}

.legal ul,
.legal ol {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal li::marker {
  color: var(--accent);
}

.legal strong {
  font-weight: 700;
}

.legal code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background: var(--bg-elevated);
  color: var(--muted);
}

.legal table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--bg-elevated);
  color: var(--muted);
  font-weight: 600;
}

.legal__nav {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.legal__nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.legal__nav a:hover {
  color: #5fe0d6;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__copy,
  .hero__visual,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
