:root {
  --bg: #0e0e12;
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.6);
  --ink-dimmer: rgba(255, 255, 255, 0.35);
  --accent: #ff4d6d;
  --hairline: rgba(255, 255, 255, 0.14);
  --card-bg: #ffffff;
  --card-ink: #0e0e12;
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

/* Dotted overlay — mirrors the in-app DottedBackground. */
.dots {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────── HERO ──────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 64px;
  gap: 14px;
}

.logo {
  width: 112px;
  height: 112px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.brand {
  margin: 0;
  font-size: clamp(56px, 12vw, 96px);
  letter-spacing: -2px;
  line-height: 1;
  padding-right: 18px;
}

.brand-bold {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.brand-light {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--ink-dim);
  font-size: 1.1em;
  letter-spacing: 1px;
}

.tagline {
  margin: 0;
  color: var(--ink-dim);
  font-family: 'Caveat', cursive;
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: 0.3px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 11px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.appstore-btn img {
  display: block;
  width: 180px;
  height: 60px;
}

.appstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  transition: background 0.18s ease, transform 0.18s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-nav {
  margin-top: 36px;
  display: flex;
  gap: 10px;
  color: var(--ink-dimmer);
  font-size: 13px;
}

.hero-nav a {
  color: var(--ink-dim);
  transition: color 0.18s ease;
}

.hero-nav a:hover {
  color: var(--ink);
}

/* ──────────── SECTIONS ──────────── */
section {
  padding: 100px 0;
}

.section-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: var(--ink-dim);
  margin: 0 0 8px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--ink-dim);
  font-size: 15px;
  margin: 0 0 36px;
  line-height: 1.5;
}

/* ──────────── FEATURES ──────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Paper-cut sticker card — same triple-layer recipe as the in-app date pill. */
.feature-card {
  position: relative;
  background: var(--card-bg);
  color: var(--card-ink);
  border-radius: 24px;
  padding: 26px 22px 22px;
  box-shadow:
    0 0 0 2px #0e0e12,
    0 0 0 5px #ffffff,
    var(--shadow-lift);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:nth-child(odd) {
  transform: rotate(-0.6deg);
}

.feature-card:nth-child(even) {
  transform: rotate(0.5deg);
}

.feature-card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow:
    0 0 0 2px #0e0e12,
    0 0 0 5px #ffffff,
    0 18px 40px rgba(0, 0, 0, 0.55);
}

.feature-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(14, 14, 18, 0.06);
  border: 1.5px solid #0e0e12;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: 0.3px;
  line-height: 1.05;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(14, 14, 18, 0.7);
}

/* ──────────── SCREENSHOTS ──────────── */
.shot-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 8px 32px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  scrollbar-width: none;
}

.shot-rail::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 auto;
  width: 260px;
  aspect-ratio: 9 / 19;
  scroll-snap-align: center;
  background: #16161d;
  border-radius: 28px;
  overflow: hidden;
  margin: 0;
  position: relative;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    var(--shadow-lift);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot:hover {
  transform: translateY(-6px) scale(1.02);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  font-family: 'Caveat', cursive;
  font-size: 18px;
  text-align: center;
}

.shot-placeholder span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
}

.shot-placeholder figcaption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.55);
}

/* ──────────── FEEDBACK ──────────── */
.feedback-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card-bg);
  color: var(--card-ink);
  border-radius: 28px;
  padding: 28px 24px 24px;
  box-shadow:
    0 0 0 2px #0e0e12,
    0 0 0 5px #ffffff,
    var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--card-ink);
  letter-spacing: -0.1px;
}

.field-label em {
  font-style: normal;
  color: rgba(14, 14, 18, 0.45);
  font-weight: 400;
  margin-left: 4px;
}

.field input,
.field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--card-ink);
  background: #ffffff;
  border: 1.5px solid #0e0e12;
  border-radius: 14px;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
  outline: none;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(14, 14, 18, 0.4);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.2);
}

.submit-btn {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e0e12;
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.submit-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-arrow {
  font-size: 16px;
  line-height: 1;
}

.form-msg {
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  color: rgba(14, 14, 18, 0.7);
}

.form-msg.success {
  color: #138a3d;
}

.form-msg.error {
  color: #c2253e;
}

/* ──────────── FOOTER ──────────── */
footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.footer-nav {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-dim);
}

.footer-nav a {
  color: var(--ink-dim);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--ink-dimmer);
}

/* ──────────── TOAST ──────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #0e0e12;
  color: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 50;
  max-width: 92vw;
  text-align: center;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  border-color: rgba(255, 77, 109, 0.55);
}

/* ──────────── PRIVACY PAGE ──────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 0 100px;
}

.legal h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--ink-dimmer);
  font-size: 13px;
  margin: 0 0 32px;
}

.legal h2 {
  margin: 36px 0 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.legal p,
.legal li {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.1px;
}

.legal ul {
  padding-left: 22px;
  margin: 8px 0 16px;
}

.legal a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-dim);
  font-size: 13px;
  margin-bottom: 36px;
  transition: color 0.18s ease;
}

.back-link:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  section {
    padding: 72px 0;
  }
  .hero {
    padding: 60px 0 48px;
  }
  .feature-card {
    transform: none !important;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
