:root {
  --navy: #1b2a6b;
  --navy-deep: #0d1a4a;
  --yellow: #ffca16;
  --ink: #0f172a;
  --muted: rgba(255, 255, 255, 0.72);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: #fff;
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 15% 20%, rgba(255, 202, 22, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(43, 77, 184, 0.5), transparent 50%),
    linear-gradient(165deg, #14235c 0%, var(--navy-deep) 45%, #08122e 100%);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(8, 18, 46, 0.55);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 202, 22, 0.25);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: #fff;
}

.top-cta {
  color: var(--navy) !important;
  background: var(--yellow);
  border-radius: 999px;
  padding-inline: 1rem !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease !important;
}

.top-cta:hover {
  color: var(--navy) !important;
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(255, 202, 22, 0.35);
}

.top-cta:active {
  transform: scale(0.96);
}

.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100svh - 5rem);
}

.hero-copy {
  max-width: 34rem;
}

.brand-hero {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--yellow);
  opacity: 0;
  animation: rise 0.7s ease 0.05s forwards;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
  opacity: 0;
  animation: rise 0.7s ease 0.15s forwards;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 28rem;
  opacity: 0;
  animation: rise 0.7s ease 0.25s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.7s ease 0.35s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 10px 30px rgba(255, 202, 22, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 36px rgba(255, 202, 22, 0.4);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-phones {
  position: relative;
  min-height: 280px;
  opacity: 0;
  animation: rise 0.85s ease 0.3s forwards;
}

.phone {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 28px 60px rgba(0, 0, 0, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.12);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.phone-back {
  position: absolute;
  width: min(78%, 420px);
  right: 0;
  top: 12%;
  transform: rotate(4deg);
  opacity: 0.88;
}

.phone-front {
  position: relative;
  width: min(88%, 480px);
  z-index: 2;
  margin-top: 8%;
  transform: rotate(-2deg);
}

.strip {
  overflow: hidden;
  padding: 0.5rem 0 2.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.strip-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 55s linear infinite;
  padding-inline: 1.5rem;
}

.strip-track:hover {
  animation-play-state: paused;
}

.strip-track img {
  height: 180px;
  width: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  outline: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  padding-inline: 1.5rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.flow {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.feature-reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-reverse .feature-copy {
  order: 2;
}

.feature-reverse .feature-media {
  order: 1;
}

.step {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.feature-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 28rem;
}

.feature-media {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

.feature-media img {
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  outline: 1px solid rgba(255, 255, 255, 0.1);
}

.shot-phone,
.shot-wide {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.feature-media-wide img {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.feature-media-duo img {
  width: min(48%, 280px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.feature-media-trio img {
  width: min(32%, 220px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tile {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.tile:active {
  transform: scale(0.98);
}

.tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.75rem 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(transparent, rgba(8, 18, 46, 0.92));
}

.links {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.links h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.link-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.link-list a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 202, 22, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.2);
}

.link-list a:active {
  transform: scale(0.98);
}

.link-label {
  font-weight: 700;
}

.link-url {
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.foot {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.foot a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.foot a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-phones {
    min-height: 240px;
    max-width: 520px;
    margin: 0 auto;
  }

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

  .feature-reverse .feature-copy,
  .feature-reverse .feature-media {
    order: initial;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .top-nav a:not(.top-cta) {
    display: none;
  }

  .strip-track img {
    height: 120px;
  }

  .feature-media-trio,
  .feature-media-duo {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .feature-media-trio img,
  .feature-media-duo img {
    width: 200px;
    flex-shrink: 0;
  }

  .link-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.email-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.email-card {
  background: #fff;
  color: #1f2937;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.email-card-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
}

.email-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 0.2rem;
  background: var(--yellow);
}

.email-card-body {
  padding: 1.15rem 1.15rem 1.35rem;
}

.email-subject {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.email-card-body h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  color: #0f172a;
}

.email-card-body p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6b7280;
}

.email-code {
  text-align: center;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  background: #f8faff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 0.85rem 0.5rem;
}

.email-cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
  border-radius: 0.85rem;
}

@media (max-width: 760px) {
  .email-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-hero,
  .hero h1,
  .lead,
  .cta-row,
  .hero-phones,
  .strip-track {
    animation: none !important;
    opacity: 1 !important;
  }

  .strip-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}
