:root {
  --bg: #f5f3f1;
  --surface: #ffffff;
  --surface-soft: #fbf7f4;
  --text: #151314;
  --muted: #6f6865;
  --line: #e7dfda;
  --accent: #df7c63;
  --accent-soft: #f5d1c6;
  --success: #58bf88;
  --shadow: 0 24px 64px rgba(28, 22, 18, 0.08);
  --radius: 28px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro Display", "Avenir Next", "Helvetica Neue", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

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

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(20, 14, 12, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-downloads {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
}

.download-badge {
  min-width: 160px;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 12px;
  color: #fff;
  background: #17131a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(24, 17, 17, 0.14);
}

.download-badge.secondary {
  background: #1b1d22;
}

.download-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.download-copy small {
  display: block;
  font-size: 10px;
  opacity: 0.8;
}

.download-copy strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0 56px;
}

.hero-copy {
  padding-right: 10px;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid #d9d1cb;
  background: rgba(255, 255, 255, 0.72);
}

.proof-avatars {
  display: flex;
  margin-right: 2px;
}

.proof-avatar {
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border-radius: 999px;
  border: 2px solid var(--surface);
  background: linear-gradient(135deg, #e9ded7 0%, #cdb7ad 100%);
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 22px 0 14px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 16px;
}

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, #ea8d74 0%, var(--accent) 100%);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero-art {
  position: relative;
  min-height: 640px;
}

.phone-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone {
  position: absolute;
  border-radius: 46px;
  background: #151414;
  padding: 14px;
  box-shadow: 0 36px 80px rgba(17, 13, 13, 0.16);
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: #0a0909;
  z-index: 2;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #efe4dd 0%, #ead9d0 100%);
}

.phone.large {
  width: 310px;
  height: 612px;
  left: 10%;
  top: 50px;
  transform: rotate(-7deg);
}

.phone.small {
  width: 280px;
  height: 556px;
  right: 2%;
  top: 4px;
  transform: rotate(6deg);
}

.screen-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 22px 24px;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.ghost-dot {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.camera-preview {
  margin-top: 36px;
  flex: 1;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(62, 49, 38, 0.12), rgba(62, 49, 38, 0.08)),
    radial-gradient(circle at 60% 28%, rgba(255, 215, 186, 0.55), transparent 16%),
    linear-gradient(180deg, #876651 0%, #9f7a60 18%, #cba586 60%, #ead5c7 100%);
  position: relative;
  overflow: hidden;
}

.camera-preview::before {
  content: "";
  position: absolute;
  inset: 20% 18%;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
}

.camera-preview::after {
  content: "";
  position: absolute;
  width: 54%;
  height: 46%;
  left: 23%;
  top: 24%;
  border-radius: 46% 46% 42% 42%;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.05) 56%),
    linear-gradient(180deg, #f4ece7 0%, #f7f2ee 100%);
  box-shadow: inset 0 -16px 26px rgba(222, 173, 150, 0.18);
}

.camera-preview .drop {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 62px;
  border: 6px solid #df7c63;
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  clip-path: polygon(50% 0%, 92% 42%, 74% 100%, 26% 100%, 8% 42%);
}

.bottom-pill {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.screen-card {
  margin-top: auto;
  padding: 18px;
  border-radius: 28px 28px 24px 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 24px rgba(30, 22, 18, 0.08);
}

.screen-card h3 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.screen-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.metric {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.metric strong {
  display: block;
  font-size: 14px;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.floating-note {
  position: absolute;
  z-index: 3;
  min-width: 118px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 40px rgba(25, 20, 20, 0.12);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.note-one {
  left: 4%;
  top: 235px;
}

.note-two {
  right: 2%;
  top: 148px;
}

.note-three {
  right: 11%;
  top: 352px;
}

.swirl {
  position: absolute;
  width: 170px;
  height: 120px;
  right: 32%;
  top: 420px;
  border-bottom: 4px solid #161415;
  border-radius: 0 0 100px 100px;
  transform: rotate(10deg);
}

.swirl::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 90px;
  left: -42px;
  top: -36px;
  border: 4px solid #161415;
  border-right: 0;
  border-bottom: 0;
  border-radius: 80px 0 0 0;
  transform: rotate(-38deg);
}

.section-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 48px;
}

.feature {
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal {
  padding: 24px 0 56px;
}

.legal-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal h2 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
}

.footer {
  padding: 14px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

  .hero-art {
    min-height: 680px;
  }
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    margin-left: auto;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .topbar {
    position: relative;
  }

  .topbar {
    position: relative;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(20, 14, 12, 0.12);
  }

  .menu-toggle:checked ~ .nav {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: var(--bg);
  }

  .nav-downloads {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav-downloads .download-badge {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand {
    font-size: 22px;
  }

  .hero {
    padding-top: 14px;
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .lead {
    font-size: 16px;
  }

  .hero-art {
    min-height: 540px;
  }

  .phone.large {
    width: 240px;
    height: 474px;
    left: 0;
    top: 44px;
  }

  .phone.small {
    width: 212px;
    height: 420px;
    right: 0;
    top: 0;
  }

  .floating-note {
    min-width: 90px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .note-one {
    top: 198px;
  }

  .note-two {
    top: 112px;
  }

  .note-three {
    top: 284px;
  }

  .swirl {
    display: none;
  }

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

  .legal-card {
    padding: 24px;
  }
}
