@font-face {
  font-family: "Poppins";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/Poppins-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-display: swap;
  font-style: normal;
  font-weight: 600;
  src: url("/fonts/Poppins-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/Poppins-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
  src: url("/fonts/CormorantGaramond-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-display: swap;
  font-style: italic;
  font-weight: 400 700;
  src: url("/fonts/CormorantGaramond-Italic-Variable.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: "Poppins", system-ui, sans-serif;
  --blue: #274aaa;
  --blue-deep: #07162d;
  --blue-ink: #0b204a;
  --green: #00a66b;
  --green-soft: #76d6a5;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(3, 16, 37, 0.42);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--blue-deep);
  color: var(--white);
}

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

button {
  font: inherit;
}

.deck {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(118, 214, 165, 0.28), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(39, 74, 170, 0.64), transparent 34rem),
    linear-gradient(135deg, #07162d 0%, #16337c 54%, #082018 100%);
}

.deck::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 76%);
  pointer-events: none;
}

.deck-header,
.deck-controls {
  position: fixed;
  z-index: 20;
  left: clamp(18px, 4vw, 64px);
  right: clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.deck-header {
  top: clamp(18px, 3vw, 42px);
}

.brand,
.slide-count,
.icon-button,
.dot {
  pointer-events: auto;
}

.brand img {
  display: block;
  width: clamp(142px, 18vw, 240px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
}

.slide-count {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  min-width: 76px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.78rem;
  background: rgba(5, 18, 40, 0.46);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  font-size: 0.84rem;
}

.slide-count span:first-child {
  color: var(--white);
  font-weight: 700;
}

.slides {
  position: relative;
  min-height: 100svh;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  pointer-events: none;
  transform: translateX(32px) scale(0.99);
  transition: opacity 520ms ease, transform 620ms ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.slide-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(112px, 13vh, 156px) 0 clamp(92px, 11vh, 132px);
}

.hero-layout,
.split-layout,
.qr-layout {
  display: grid;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(260px, 0.78fr);
}

.split-layout {
  grid-template-columns: minmax(250px, 0.66fr) minmax(0, 1fr);
}

.qr-layout {
  grid-template-columns: minmax(260px, 0.8fr) minmax(220px, 360px);
  align-content: center;
}

.map-field {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(118, 214, 165, 0.2) 48.2% 48.8%, transparent 49%),
    linear-gradient(54deg, transparent 0 58%, rgba(255, 255, 255, 0.14) 58.2% 58.7%, transparent 59%),
    radial-gradient(circle at 56% 48%, rgba(255, 255, 255, 0.12), transparent 22rem);
  opacity: 0.48;
  pointer-events: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(5rem, 10vw, 9.8rem);
}

h2 {
  max-width: 10ch;
  font-size: clamp(4.2rem, 8vw, 8.8rem);
}

.tagline {
  margin-top: clamp(18px, 3vh, 30px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.summary,
.section-copy p,
.qr-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.summary {
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(24px, 4vh, 40px);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.18rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.icon-button:hover,
.dot:hover,
.qr-card:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: #061c19;
  box-shadow: 0 16px 34px rgba(0, 166, 107, 0.3);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: min(68svh, 640px);
  place-items: center;
}

.orbital-mark {
  position: absolute;
  width: min(42vw, 480px);
  aspect-ratio: 1;
  opacity: 0.16;
  transform: rotate(-18deg);
}

.orbital-mark img,
.phone {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.phone {
  position: relative;
  width: min(28vw, 310px);
  height: auto;
  border-radius: 30px;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.42));
}

.section-copy {
  align-self: center;
}

.section-copy p {
  margin-top: 1.4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.feature {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.feature-number {
  display: block;
  margin-bottom: 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--green-soft);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.82;
}

.feature h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}

.feature p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.35vw, 1.08rem);
  line-height: 1.55;
}

.qr-copy {
  align-self: center;
}

.qr-copy p {
  margin-top: 1.25rem;
}

.site-link {
  display: inline-flex;
  margin-top: 2rem;
  color: var(--green-soft);
  font-size: clamp(1.3rem, 2.8vw, 2.4rem);
  font-weight: 700;
}

.qr-card {
  display: grid;
  width: min(100%, 360px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 8px;
  padding: clamp(18px, 2.6vw, 26px);
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  transition: transform 180ms ease;
}

.qr-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.closing-points {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(8px, 2vh, 20px);
}

.closing-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.92rem;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.deck-controls {
  top: clamp(22px, 3vw, 42px);
  bottom: auto;
  left: 50%;
  right: auto;
  width: max-content;
  gap: 0.9rem;
  justify-content: center;
  transform: translateX(-50%);
}

.icon-button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 18, 40, 0.5);
  color: var(--white);
  backdrop-filter: blur(20px);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.icon-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.64rem 0.72rem;
  background: rgba(5, 18, 40, 0.5);
  backdrop-filter: blur(20px);
}

.dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.dot.is-active {
  width: 28px;
  background: var(--green-soft);
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .deck {
    min-height: 100dvh;
  }

  .slide-inner {
    width: min(100% - 34px, 680px);
    min-height: 100dvh;
    padding-top: 132px;
    padding-bottom: 72px;
  }

  .hero-layout,
  .split-layout,
  .qr-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 220px;
    order: -1;
  }

  .phone {
    width: min(34vw, 160px);
  }

  .orbital-mark {
    width: min(76vw, 360px);
  }

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

  .feature {
    min-height: auto;
  }

  .qr-card {
    width: min(78vw, 310px);
  }

  .closing-points {
    justify-content: center;
  }

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

@media (max-width: 640px) {
  .deck-controls {
    top: 64px;
    bottom: auto;
  }
}

@media (max-width: 520px) {
  .deck-header,
  .deck-controls {
    left: 16px;
    right: 16px;
  }

  .brand img {
    width: 138px;
  }

  .slide-count {
    min-width: 68px;
    padding-inline: 0.65rem;
    font-size: 0.76rem;
  }

  .deck-controls {
    left: 50%;
    right: auto;
    gap: 0.48rem;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .dots {
    gap: 0.44rem;
    padding: 0.55rem 0.62rem;
  }

  .dot.is-active {
    width: 22px;
  }

  .hero-visual {
    min-height: 190px;
  }

  .phone {
    width: min(30vw, 120px);
  }

  h1 {
    font-size: clamp(4.5rem, 21vw, 6rem);
  }

  h2 {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .tagline {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button-secondary {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
