:root {
  --ink: #101416;
  --ink-soft: #465155;
  --muted: #6f7b80;
  --reef: #0d6f73;
  --reef-dark: #06484d;
  --aqua: #38c6bd;
  --sand: #f3ead9;
  --shell: #fffaf0;
  --coral: #ff7048;
  --card: rgba(255, 250, 240, 0.86);
  --border: rgba(16, 20, 22, 0.12);
  --shadow: 0 24px 70px rgba(6, 72, 77, 0.16);
  --radius-lg: 30px;
  --radius-md: 20px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Avenir Next", Avenir, "Trebuchet MS", Verdana, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 198, 189, 0.18), transparent 32rem),
    radial-gradient(circle at 95% 18%, rgba(255, 112, 72, 0.14), transparent 30rem),
    linear-gradient(180deg, #f5f1e8 0%, #fffaf0 44%, #eef8f6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(16, 20, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 22, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}

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

a {
  color: var(--reef);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--coral);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 72, 77, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 42px;
  height: 42px;
  padding: 5px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--reef-dark);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.hero,
.page-hero {
  overflow: hidden;
}

.hero-inner,
.page-hero-inner,
.main,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 86px 0 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--reef);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.3vw, 23px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--reef-dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(6, 72, 77, 0.22);
}

.button:hover {
  color: #fff;
  background: var(--coral);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.58);
  color: var(--reef-dark);
  border: 1px solid var(--border);
  box-shadow: none;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  min-height: 58px;
  padding: 10px 18px 10px 14px;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  line-height: 1.05;
  text-decoration: none;
  background: #101416;
  box-shadow: 0 18px 44px rgba(6, 72, 77, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.store-button:hover {
  color: #fff;
  background: var(--reef-dark);
  box-shadow: 0 22px 52px rgba(6, 72, 77, 0.28);
  transform: translateY(-2px);
}

.store-button small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.store-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.collage-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.collage-cloud img,
.review-track img,
.mini-collage img {
  width: 120px;
  aspect-ratio: 3 / 4;
  border: 5px solid #fff;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(16, 20, 22, 0.18);
}

.hero-collage img {
  position: absolute;
  animation: float-card 7s ease-in-out infinite;
}

.hero-collage img:nth-child(1) {
  left: 1%;
  top: 9%;
  transform: rotate(-11deg);
}

.hero-collage img:nth-child(2) {
  right: 3%;
  top: 4%;
  transform: rotate(10deg);
  animation-delay: -1.4s;
}

.hero-collage img:nth-child(3) {
  left: 5%;
  bottom: 9%;
  transform: rotate(8deg);
  animation-delay: -2.8s;
}

.hero-collage img:nth-child(4) {
  right: 0;
  bottom: 14%;
  transform: rotate(-8deg);
  animation-delay: -4.2s;
}

.hero-collage img:nth-child(5) {
  left: 39%;
  top: 0;
  transform: rotate(4deg);
  animation-delay: -5.6s;
}

.home-screenshot-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  height: clamp(430px, 56vh, 560px);
  border-radius: 38px;
  overflow: hidden;
  background: var(--reef-dark);
  box-shadow:
    0 34px 82px rgba(6, 72, 77, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.72);
}

.home-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-visual .orbit-card,
.hero-visual .phone-mock,
.hero-visual .stat-card {
  position: absolute;
}

.orbit-card {
  inset: 8px 8px auto auto;
  width: min(82%, 340px);
  padding: 26px;
  border-radius: 42px;
  background: linear-gradient(145deg, var(--reef-dark), var(--reef));
  color: #fff;
  box-shadow: var(--shadow);
}

.orbit-card img {
  width: 132px;
  height: 132px;
  margin: 0 auto 22px;
  border-radius: 32px;
  background: #fff;
  object-fit: contain;
}

.orbit-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.orbit-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.phone-mock {
  width: min(68%, 250px);
  aspect-ratio: 9 / 16;
  border: 10px solid #121719;
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #07383d, #0d6f73 52%, #f1d49d 53%, #c78a56 100%);
  box-shadow: 0 28px 70px rgba(6, 72, 77, 0.26);
}

.hero-visual .phone-mock {
  left: 0;
  bottom: 0;
}

.app-card .phone-mock {
  position: relative;
  margin: 34px auto 0;
  width: min(240px, 80%);
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 78px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.phone-mock::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  display: flex;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--reef-dark);
  font-weight: 900;
  font-size: 14px;
  word-spacing: 24px;
  display: none;
}

.photo-tile {
  position: absolute;
  inset: 58px 22px 92px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 60% 32%, rgba(255, 255, 255, 0.8), transparent 8%),
    radial-gradient(circle at 42% 52%, rgba(56, 198, 189, 0.85), transparent 16%),
    linear-gradient(150deg, #0d2529, #11858a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.stat-card {
  right: 0;
  bottom: 48px;
  max-width: 220px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  color: var(--coral);
  font-size: 34px;
  line-height: 1;
}

.stat-card span {
  color: var(--ink-soft);
  font-weight: 700;
}

.main {
  padding: 34px 0 84px;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 48px) 0;
}

.section-copy h2,
.mode-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.mode-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.review-strip {
  overflow: hidden;
  min-height: 330px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.74), rgba(238, 248, 246, 0.86)),
    linear-gradient(90deg, rgba(13, 111, 115, 0.12), rgba(255, 112, 72, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.review-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 24px;
  animation: collage-pan 34s linear infinite;
}

.review-track img {
  width: clamp(112px, 13vw, 148px);
  flex: 0 0 auto;
}

.review-track img:nth-child(odd) {
  transform: translateY(-18px) rotate(-4deg);
}

.review-track img:nth-child(even) {
  transform: translateY(24px) rotate(5deg);
}

.mode-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.mode-panel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(6, 72, 77, 0.09);
}

.mode-panel.similar {
  background: linear-gradient(145deg, rgba(238, 248, 246, 0.94), rgba(255, 250, 240, 0.86));
}

.mode-panel.moments {
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.94), rgba(255, 238, 223, 0.86));
}

.mini-collage {
  position: absolute;
  inset: auto 0 0;
  height: 260px;
}

.mini-collage img {
  position: absolute;
  width: clamp(104px, 15vw, 140px);
}

.mini-collage img:nth-child(1) {
  left: 7%;
  bottom: 0;
  transform: rotate(-10deg);
}

.mini-collage img:nth-child(2) {
  left: 25%;
  bottom: 45px;
  transform: rotate(7deg);
}

.mini-collage img:nth-child(3) {
  left: 43%;
  bottom: 0;
  transform: rotate(-4deg);
}

.mini-collage img:nth-child(4) {
  right: 17%;
  bottom: 42px;
  transform: rotate(9deg);
}

.mini-collage img:nth-child(5) {
  right: 5%;
  bottom: 0;
  transform: rotate(-8deg);
}

.home-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-card {
  grid-column: span 2;
}

.card,
.app-card,
.content-card,
.legal {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(6, 72, 77, 0.09);
  backdrop-filter: blur(16px);
}

.card {
  padding: clamp(24px, 4vw, 36px);
}

.app-card,
.content-card {
  padding: clamp(24px, 4vw, 36px);
}

.app-card {
  min-height: 420px;
  background: linear-gradient(145deg, var(--coral), #f0a45c);
  color: #fff;
}

.card.accent {
  background: linear-gradient(145deg, var(--coral), #f0a45c);
  color: #fff;
}

.card h2,
.app-card h2,
.content-card h2,
.legal h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.content-card p + p {
  margin-top: 14px;
}

.app-card h2 {
  color: #fff;
}

.card.accent p {
  color: rgba(255, 255, 255, 0.86);
}

.feature-grid {
  margin-top: 18px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: clamp(26px, 5vw, 46px);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 72, 77, 0.96), rgba(13, 111, 115, 0.88)),
    radial-gradient(circle at 86% 12%, rgba(56, 198, 189, 0.48), transparent 22rem);
  box-shadow: 0 24px 70px rgba(6, 72, 77, 0.18);
}

.download-panel .eyebrow {
  color: var(--aqua);
}

.download-panel h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.download-panel p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.download-actions {
  display: grid;
  gap: 12px;
}

.download-panel .store-button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.download-panel .store-button:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.page-hero {
  background: linear-gradient(135deg, rgba(6, 72, 77, 0.95), rgba(13, 111, 115, 0.82));
  color: #fff;
}

.page-hero-inner {
  padding: 74px 0 68px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.74);
}

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
}

.legal h2 {
  color: var(--reef-dark);
}

.legal h3 {
  margin: 32px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: 0;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 16px;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  padding-left: 1.2rem;
}

.meta {
  color: var(--muted);
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 20px;
  align-items: start;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  padding: 16px;
  border-radius: 22px;
  background: var(--reef-dark);
  color: #fff;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.contact-email:hover {
  color: #fff;
  background: var(--coral);
}

@keyframes float-card {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

@keyframes collage-pan {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-42%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-collage img,
  .review-track {
    animation: none;
  }
}

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 250, 240, 0.54);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--coral);
}

@media (max-width: 860px) {
  .nav {
    width: min(var(--max), calc(100% - 28px));
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 7px 9px;
    font-size: 13px;
  }

  .hero-inner,
  .page-hero-inner,
  .main,
  .footer-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 0 42px;
  }

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

  .home-screenshot-frame {
    width: min(82vw, 320px);
    height: 500px;
  }

  .collage-cloud img {
    width: 108px;
  }

  .story-section,
  .mode-showcase,
  .home-grid,
  .feature-grid,
  .download-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .story-section {
    padding-top: 16px;
  }

  .review-strip {
    min-height: 280px;
  }

  .mode-panel {
    min-height: 500px;
  }

  .download-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-card {
    grid-column: auto;
  }

  .page-hero-inner {
    padding: 52px 0 46px;
  }

  .main {
    padding: 24px 0 58px;
  }
}

@media (max-width: 520px) {
  body {
    line-height: 1.58;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .brand span {
    font-size: 15px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(42px, 16vw, 64px);
  }

  .hero-actions,
  .button,
  .store-button {
    width: 100%;
  }

  .store-button {
    justify-content: flex-start;
    min-width: 0;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

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

  .home-screenshot-frame {
    width: min(86vw, 290px);
    height: 430px;
    border-radius: 30px;
  }

  .hero-collage img:nth-child(5) {
    display: none;
  }

  .collage-cloud img {
    width: 92px;
    border-width: 4px;
    border-radius: 18px;
  }

  .review-track {
    gap: 12px;
    padding: 20px 14px;
  }

  .mode-panel {
    min-height: 470px;
  }

  .mini-collage {
    height: 245px;
  }

  .mini-collage img {
    width: 96px;
    border-width: 4px;
    border-radius: 18px;
  }

  .orbit-card {
    width: 74%;
    padding: 20px;
    border-radius: 32px;
  }

  .orbit-card img {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .phone-mock {
    width: 62%;
    border-width: 8px;
    border-radius: 32px;
  }

  .stat-card {
    max-width: 170px;
    padding: 14px 16px;
  }

  .card,
  .legal {
    border-radius: var(--radius-md);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }
}
