:root {
  --primary: #0a0a0a;
  --primary-active: #1f1f1f;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --muted-soft: #9a9a9a;
  --hairline: #e5e5e5;
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-strong: #ebe6d6;
  --surface-dark: #0a1a1a;
  --on-primary: #ffffff;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --brand-coral: #ff6b5a;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --section: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 77, 139, 0.09), transparent 260px),
    radial-gradient(circle at 88% 14%, rgba(232, 185, 74, 0.16), transparent 260px),
    var(--canvas);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

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

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

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0;
  background: rgba(255, 250, 240, 0.86);
  border-bottom: 1px solid rgba(229, 229, 229, 0.64);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.5px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.button-on-color {
  width: fit-content;
  color: var(--ink);
  background: var(--canvas);
}

.qr-entry {
  position: relative;
  width: fit-content;
}

.qr-trigger {
  font-family: inherit;
}

.qr-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  width: 188px;
  padding: 12px;
  border: 1px solid rgba(255, 250, 240, 0.72);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--canvas);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transform-origin: left bottom;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  z-index: 2;
}

.qr-popover::after {
  position: absolute;
  left: 24px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--canvas);
  transform: rotate(45deg);
}

.qr-popover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.qr-popover span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.qr-entry:hover .qr-popover,
.qr-entry:focus-within .qr-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.products-section {
  padding: 48px 0 var(--section);
  background:
    radial-gradient(circle at 16% 5%, rgba(255, 176, 132, 0.2), transparent 300px),
    radial-gradient(circle at 92% 16%, rgba(164, 212, 197, 0.16), transparent 280px),
    transparent;
}

.section-header {
  max-width: 1080px;
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
}

h2 span {
  display: block;
  white-space: nowrap;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding: 32px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.feature-card-pink {
  color: var(--on-primary);
  background: var(--brand-pink);
}

.feature-card-teal {
  color: var(--on-primary);
  background: var(--brand-teal);
}

.feature-card-lavender {
  color: var(--ink);
  background: var(--brand-lavender);
}

.card-copy {
  position: relative;
  z-index: 2;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-card);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.badge-pill.dark {
  color: var(--on-primary);
  background: rgba(255, 255, 255, 0.14);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
}

.feature-card p:not(.badge-pill) {
  max-width: 320px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.55;
}

.product-fragment {
  position: relative;
  min-height: 210px;
  margin: 34px 0;
}

.avatar-fragment,
.watermark-fragment {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 240, 0.18);
}

.avatar-fragment img,
.watermark-fragment img {
  display: block;
  width: 100%;
  height: auto;
}

.roadmap-fragment {
  display: grid;
  gap: 14px;
  align-content: center;
}

.roadmap-fragment span {
  display: block;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, 0.42);
}

.roadmap-fragment span:nth-child(2) {
  width: 78%;
}

.roadmap-fragment span:nth-child(3) {
  width: 56%;
}

.footer {
  padding: 22px 0;
  color: var(--body);
  background: var(--surface-soft);
  font-size: 14px;
  line-height: 1.55;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 16px;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .top-nav {
    height: 56px;
  }

  .brand {
    width: min(100% - 32px, 560px);
  }

  .products-section {
    padding: 36px 0 64px;
  }

  h2 {
    font-size: 36px;
    letter-spacing: -1.2px;
  }

  h2 span {
    white-space: normal;
  }

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

  .feature-card {
    min-height: 460px;
  }

  .footer-inner {
    justify-content: center;
  }

  .footer-meta {
    gap: 10px;
    font-size: 12px;
  }
}
