:root {
  color-scheme: dark;
  --bg: #101114;
  --panel: #181a20;
  --panel-soft: #20232b;
  --text: #f4f1ec;
  --muted: #aaa5a0;
  --line: rgba(244, 241, 236, 0.12);
  --green: #68d391;
  --coral: #ff7a67;
  --blue: #72a7ff;
  --yellow: #f1c75b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 17, 20, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--yellow));
  box-shadow: 0 12px 26px rgba(255, 122, 103, 0.28);
}

.brand-mark span {
  width: 18px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  transform: rotate(16deg);
}

.top-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
}

.top-nav a:hover,
.footer-links a:hover,
.legal-page a:hover {
  color: var(--text);
}

.nav-button,
.primary-button,
.secondary-button,
.app-store-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 740;
}

.nav-button {
  padding: 0 18px;
  color: #151515 !important;
  background: var(--green);
}

.hero-section {
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.8vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-button {
  padding: 0 22px;
  color: #141414;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(104, 211, 145, 0.22);
}

.secondary-button {
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.phone-stage {
  display: flex;
  justify-content: center;
  min-height: 590px;
}

.phone-frame {
  width: 292px;
  height: 590px;
  position: relative;
  padding: 18px;
  border: 8px solid #2a2d35;
  border-radius: 38px;
  background: #0c0d10;
  box-shadow: var(--shadow);
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: -28px -50px;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 122, 103, 0.22), transparent 31%),
    radial-gradient(circle at 80% 72%, rgba(114, 167, 255, 0.2), transparent 36%);
}

.phone-top {
  width: 78px;
  height: 7px;
  margin: 0 auto 15px;
  border-radius: 999px;
  background: #2a2d35;
}

.app-screen {
  height: calc(100% - 22px);
  overflow: hidden;
  padding: 22px 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #171a20;
}

.screen-header,
.screen-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
}

.screen-header strong,
.screen-footer strong {
  color: var(--text);
}

.photo-stack {
  position: relative;
  height: 340px;
  margin: 28px 0 22px;
}

.photo-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.9) 0 7%, transparent 8%),
    linear-gradient(135deg, var(--blue), var(--coral));
}

.photo-card::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -16%;
  height: 46%;
  border-radius: 50% 50% 0 0;
  background: rgba(23, 92, 62, 0.68);
}

.photo-card span {
  position: relative;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.38);
  font-size: 0.82rem;
  font-weight: 760;
}

.card-one {
  transform: rotate(-5deg) translateX(-9px);
}

.card-two {
  transform: rotate(4deg) translateX(8px) scale(0.96);
  opacity: 0.58;
}

.card-three {
  transform: translateY(18px) scale(0.9);
  opacity: 0.32;
}

.swipe-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.control-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #101114;
  font-size: 1.45rem;
  font-weight: 900;
}

.discard {
  background: var(--coral);
}

.keep {
  background: var(--green);
}

.features-section,
.privacy-section,
.download-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #111;
  background: var(--yellow);
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--blue);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--coral);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--green);
}

.feature-card p,
.privacy-copy p,
.download-panel p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 60px;
  align-items: start;
}

.privacy-copy {
  max-width: 590px;
  font-size: 1.04rem;
}

.privacy-copy a,
.legal-page a {
  color: var(--green);
  font-weight: 740;
}

.download-section {
  text-align: center;
}

.download-panel {
  max-width: 680px;
}

.app-store-button {
  gap: 12px;
  margin-top: 16px;
  padding: 10px 18px 10px 14px;
  color: #fff;
  background: #000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.apple-symbol {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
}

.app-store-button small,
.app-store-button strong {
  display: block;
  line-height: 1.05;
  text-align: left;
}

.app-store-button small {
  font-size: 0.7rem;
  font-weight: 600;
}

.app-store-button strong {
  font-size: 1.08rem;
}

.site-footer {
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #77716b;
  font-size: 0.92rem;
}

.legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 88px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 34px;
}

.legal-page h1 {
  max-width: none;
  margin-bottom: 8px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.legal-page .updated {
  margin-bottom: 38px;
  color: #7f7974;
}

.legal-page h2 {
  margin: 34px 0 8px;
  font-size: 1.12rem;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--panel-soft);
  color: var(--text);
}

@media (max-width: 920px) {
  .hero-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-section {
    min-height: auto;
  }

  .phone-stage {
    min-height: 520px;
    order: -1;
  }

  .phone-frame {
    width: 258px;
    height: 520px;
  }

  .photo-stack {
    height: 292px;
  }

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

@media (max-width: 680px) {
  .container,
  .legal-page {
    width: min(100% - 28px, 760px);
  }

  .header-inner {
    min-height: 62px;
  }

  .top-nav {
    gap: 12px;
  }

  .top-nav a:not(.nav-button) {
    display: none;
  }

  .hero-section,
  .features-section,
  .privacy-section,
  .download-section {
    padding: 56px 0;
  }

  h1 {
    font-size: clamp(2.25rem, 15vw, 3.7rem);
  }

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

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

  .feature-card {
    min-height: 0;
  }

  .footer-inner,
  .footer-links {
    flex-direction: column;
  }

  .footer-links {
    gap: 12px;
  }
}
