/* ============================================================
   Couple Notes — stickylove.app
   Hand-built static site. Design tokens mirror the iOS app:
   bg #F5F6F8 · subtitle #767575 · accent #FF7899 · pink #FC85B0
   gradient #FF3766 → #FF7C1A · hairline #D9D9D9
   Cards: white, radius 28, shadow 0 11px 12.45px rgba(0,0,0,.07)
   Buttons: black capsule (app "Primary button")
   ============================================================ */

/* ---------- Fonts (self-hosted — no third-party requests) ---------- */

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  --bg: #f5f6f8;
  --ink: #101012;
  --sub: #767575;
  --sub-strong: #5c5b5b; /* long-form body copy, better contrast */
  --accent: #ff7899;
  --pink: #fc85b0;
  --red: #ff3766;
  --orange: #ff7c1a;
  --hairline: #d9d9d9;
  --paper: #fcfcfb;
  --card-radius: 28px;
  --card-shadow: 0 11px 12.45px rgba(0, 0, 0, 0.07);
  --card-shadow-hover: 0 16px 28px rgba(0, 0, 0, 0.09);
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Comic Sans MS", cursive;
  --grad: linear-gradient(180deg, var(--red), var(--orange));
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Soft warm blobs, echoing the app's main-screen background */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42rem 42rem at 8% 6%, rgba(255, 214, 184, 0.5), transparent 62%),
    radial-gradient(38rem 38rem at 96% 20%, rgba(255, 190, 208, 0.42), transparent 60%),
    radial-gradient(46rem 46rem at 50% 105%, rgba(255, 205, 220, 0.45), transparent 65%);
}

::selection {
  background: rgba(255, 120, 153, 0.28);
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

section {
  padding-block: clamp(70px, 9vw, 130px);
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 44px);
}

.section-head p {
  color: var(--sub-strong);
  font-size: clamp(16px, 1.9vw, 19px);
  margin: 14px auto 0;
  max-width: 520px;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  letter-spacing: 0;
  padding-inline: 0.08em;
}

/* ---------- Buttons (mirroring the app's pill styles) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
}

.btn:active {
  transform: scale(0.98);
  opacity: 0.88;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  height: 62px;
  padding-inline: 34px;
  font-size: 17px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  height: 62px;
  padding-inline: 30px;
  font-size: 17px;
  box-shadow: var(--card-shadow);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: var(--card-shadow-hover);
}

.btn-small {
  height: 42px;
  padding-inline: 20px;
  font-size: 14px;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(245, 246, 248, 0.72);
  border-bottom: 1px solid rgba(217, 217, 217, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--sub-strong);
  transition: color 0.14s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: clamp(40px, 6vw, 80px);
  text-align: center;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  max-width: 13ch;
  margin-inline: auto;
}

.hero h1 .hand {
  color: var(--accent);
  font-size: 1.18em;
  line-height: 0;
  padding-inline: 0.06em;
}

.hero-sub {
  color: var(--sub-strong);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 560px;
  margin: 22px auto 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sub);
}

.squiggle {
  position: relative;
  white-space: nowrap;
}

.squiggle svg {
  position: absolute;
  left: 2%;
  bottom: -0.22em;
  width: 96%;
  height: 0.28em;
  overflow: visible;
}

.squiggle svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.85;
}

/* ============================================================
   The two-phone live demo
   ============================================================ */

.demo-stage {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(20px, 7vw, 110px);
  margin-top: clamp(44px, 6vw, 72px);
}

.phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone-tag {
  font-family: var(--font-hand);
  font-size: 24px;
  font-weight: 600;
  color: var(--sub);
  transform: rotate(-2deg);
}

/* --- Phone frame --- */

.phone {
  position: relative;
  width: clamp(252px, 30vw, 306px);
  aspect-ratio: 393 / 812;
  background: #0d0d0f;
  border-radius: clamp(40px, 4.6vw, 50px);
  padding: 9px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.25) inset,
    0 34px 60px -18px rgba(64, 22, 33, 0.35),
    0 10px 22px rgba(64, 22, 33, 0.14);
}

.phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: clamp(32px, 3.9vw, 42px);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone .island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 22px;
  background: #0d0d0f;
  border-radius: 999px;
  z-index: 5;
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 0;
  font-size: 12.5px;
  font-weight: 700;
  height: 34px;
  flex: none;
}

.statusbar svg {
  height: 11px;
  width: auto;
  display: block;
}

/* --- Left phone: the app's edit screen --- */

.screen-app {
  background:
    radial-gradient(16rem 16rem at -20% 42%, rgba(255, 205, 165, 0.55), transparent 65%),
    radial-gradient(17rem 17rem at 120% 62%, rgba(255, 185, 205, 0.6), transparent 65%),
    var(--bg);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 0;
  flex: none;
}

.glass-btn {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.06);
}

.glass-btn svg {
  width: 16px;
  height: 16px;
}

.app-header-title {
  text-align: center;
  line-height: 1.15;
}

.app-header-title strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-header-title span {
  font-size: 10.5px;
  color: var(--sub);
  font-weight: 500;
}

/* --- Sticky note (texture + curled bottom, like StickyNoteView) --- */

.snote {
  position: relative;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.16));
}

.snote-paper {
  position: relative;
  background-color: var(--paper);
  padding: 8% 7% 2%;
  min-height: 0;
}

.snote-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/note-paper-texture.png") repeat;
  background-size: 200px;
  mix-blend-mode: multiply;
  opacity: 0.38;
  pointer-events: none;
}

.snote-curl {
  display: block;
  width: 100%;
  margin-top: -1px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.demo-note {
  margin: 14px 16px 0;
}

.note-eyebrow {
  text-align: center;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}

.snote-text {
  position: relative;
  min-height: 5.4em;
  max-height: 7em;
  overflow: hidden;
  text-align: center;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.28;
  outline: none;
  caret-color: var(--red);
  word-break: break-word;
}

.snote-text:empty::before {
  content: attr(data-placeholder);
  color: #b9b7b4;
  font-weight: 550;
}

.snote-meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  margin-top: 12px;
  padding: 7px 2px 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--sub);
}

.snote-meta .over {
  color: var(--red);
}

.demo-send-wrap {
  margin-top: auto;
  padding: 12px 16px 16px;
}

.demo-send {
  width: 100%;
  height: 46px;
  font-size: 14.5px;
}

.demo-send.sent {
  background: var(--red);
}

/* --- Right phone: their home screen --- */

.screen-home {
  background:
    radial-gradient(15rem 12rem at 18% 8%, rgba(255, 176, 141, 0.85), transparent 60%),
    radial-gradient(18rem 15rem at 88% 32%, rgba(255, 148, 180, 0.75), transparent 62%),
    radial-gradient(20rem 18rem at 40% 110%, rgba(255, 118, 152, 0.65), transparent 65%),
    linear-gradient(180deg, #ffe7dc, #ffd3de);
}

.screen-home .statusbar {
  color: #3c2430;
}

.home-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
  padding: 12px 18px 0;
}

.home-icon {
  aspect-ratio: 1;
  border-radius: 26%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 10px rgba(154, 62, 92, 0.12);
  display: grid;
  place-items: center;
  font-size: 17px;
}

.home-icon.i1 { background: linear-gradient(160deg, #cfe3ff, #a9c8f7); }
.home-icon.i2 { background: linear-gradient(160deg, #d9f4d3, #a9e3a4); }
.home-icon.i3 { background: linear-gradient(160deg, #ffe6b8, #ffc98a); }
.home-icon.i4 { background: linear-gradient(160deg, #e8dcff, #c8b3f5); }
.home-icon.i5 { background: linear-gradient(160deg, #ffffff, #e9edf3); }
.home-icon.i6 { background: linear-gradient(160deg, #ffd9d4, #ffb0a6); }
.home-icon.i7 { background: linear-gradient(160deg, #d6f6f3, #a6e6e0); }
.home-icon.i8 { background: linear-gradient(160deg, #1c1c22, #3a3a44); }

/* --- The widget (mirrors the real home-screen widget) --- */

.widget {
  position: relative;
  margin: 14px 16px 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(154, 62, 92, 0.22);
  padding: 20px 14px 14px;
  text-align: center;
}

.widget::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.6px dashed #ff9fb6;
  border-radius: 15px;
  pointer-events: none;
}

.widget-eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.widget-text {
  font-size: 15.5px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 6px 6px 12px;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
}

.widget-text.waiting {
  color: #b9b7b4;
  font-weight: 550;
}

.widget-update {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  background: #fff;
  border-radius: 999px;
  padding: 6px 13px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  position: relative;
}

.widget-update svg {
  width: 11px;
  height: 11px;
}

.widget-pop {
  animation: widget-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes widget-pop {
  0% { transform: scale(0.92); }
  55% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.home-dock {
  margin-top: auto;
  margin-inline: 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 9px;
}

.home-dock .home-icon {
  box-shadow: none;
}

/* --- Notification banner --- */

.notif {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 8;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(252, 252, 253, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 12px 28px rgba(60, 20, 34, 0.28);
  transform: translateY(-130%);
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.notif.show {
  transform: translateY(0);
}

.notif img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.notif-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sub);
}

.notif-body {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --- Flying note + hearts --- */

.fly-note {
  position: absolute;
  z-index: 40;
  width: 96px;
  padding: 12px 10px 14px;
  background: var(--paper) url("../img/note-paper-texture.png") repeat;
  background-size: 140px;
  box-shadow: 0 14px 24px rgba(64, 22, 33, 0.3);
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
  word-break: break-word;
}

.heart-burst {
  position: absolute;
  z-index: 45;
  font-size: 16px;
  pointer-events: none;
  animation: heart-float 1.15s ease-out forwards;
}

@keyframes heart-float {
  0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translate(var(--dx, 0px), -74px) scale(1.15); opacity: 0; }
}

/* --- Dotted flight path between the phones --- */

.demo-path {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(90px, 12vw, 150px);
  z-index: 1;
  pointer-events: none;
}

.demo-path svg {
  width: 100%;
  overflow: visible;
}

.demo-path path {
  fill: none;
  stroke: var(--pink);
  stroke-width: 3;
  stroke-dasharray: 1 9;
  stroke-linecap: round;
  opacity: 0.9;
}

.demo-path .path-heart {
  fill: var(--accent);
}

@media (max-width: 620px) {
  .demo-stage {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .demo-path {
    display: none;
  }

  .phone {
    width: min(300px, 84vw);
  }
}

/* ============================================================
   Marquee — the wall of little notes
   ============================================================ */

.wall {
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  padding-block: 26px 34px;
}

.marquee + .marquee {
  padding-top: 0;
}

.marquee-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: marquee-scroll var(--speed, 48s) linear infinite;
}

.marquee-track.reverse {
  animation-direction: reverse;
}

.wall:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.mnote {
  position: relative;
  width: 212px;
  flex: none;
  padding: 26px 20px 22px;
  background: var(--paper) url("../img/note-paper-texture.png") repeat;
  background-size: 180px;
  box-shadow: 0 12px 18px rgba(64, 22, 33, 0.12);
  transform: rotate(var(--r, -2deg));
  font-family: var(--font-hand);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.12;
  color: #33312f;
  text-align: center;
}

.mnote::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 74px;
  height: 22px;
  transform: translateX(-50%) rotate(var(--tape, -3deg));
  background: linear-gradient(180deg, rgba(255, 170, 192, 0.62), rgba(255, 150, 178, 0.5));
  box-shadow: 0 2px 4px rgba(64, 22, 33, 0.08);
}

.mnote.pin::before {
  width: 16px;
  height: 16px;
  top: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ff9db8, var(--red) 70%);
  box-shadow: 0 3px 5px rgba(64, 22, 33, 0.28);
}

/* ============================================================
   How it works
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

.step {
  text-align: center;
}

.step-visual {
  position: relative;
  margin-inline: auto;
  margin-bottom: 26px;
  width: min(232px, 74%);
}

.step .phone {
  width: 100%;
  padding: 7px;
  border-radius: 34px;
}

.step .phone .screen {
  border-radius: 28px;
  display: block;
}

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

.step-widgetscape {
  border-radius: 34px;
  padding: 34px 20px;
  aspect-ratio: 393 / 826;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(11rem 9rem at 16% 6%, rgba(255, 176, 141, 0.85), transparent 60%),
    radial-gradient(13rem 11rem at 90% 38%, rgba(255, 148, 180, 0.8), transparent 62%),
    linear-gradient(180deg, #ffe7dc, #ffd0dc);
  box-shadow: 0 26px 44px -16px rgba(64, 22, 33, 0.3);
}

.step-widgetscape img {
  filter: drop-shadow(0 14px 20px rgba(64, 22, 33, 0.2));
}

.step-num {
  position: absolute;
  top: -14px;
  left: -14px;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border-radius: 16px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 16px rgba(255, 55, 102, 0.35);
}

.step h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.step p {
  color: var(--sub-strong);
  font-size: 15.5px;
  margin: 0 auto;
  max-width: 300px;
}

/* ============================================================
   Feature cards
   ============================================================ */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 28px);
}

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

.feature {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: clamp(24px, 3.4vw, 36px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--grad);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 16px rgba(255, 55, 102, 0.28);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  color: var(--sub-strong);
  font-size: 15.5px;
}

/* ============================================================
   Privacy promise — one big sticky note
   ============================================================ */

.privacy-note {
  max-width: 620px;
  margin-inline: auto;
  transform: rotate(-1.2deg);
}

.privacy-note .snote-paper {
  padding: clamp(30px, 5vw, 52px) clamp(24px, 5vw, 56px) clamp(8px, 2vw, 20px);
}

.privacy-note h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  text-align: center;
  margin-bottom: 26px;
}

.promise-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 430px;
  display: grid;
  gap: 14px;
  position: relative;
}

.promise-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 16.5px;
  font-weight: 600;
  color: #2f2e2c;
}

.promise-list li::before {
  content: "♥";
  color: var(--accent);
  flex: none;
  font-size: 15px;
}

.privacy-links {
  position: relative;
  text-align: center;
  margin-top: 30px;
  font-weight: 700;
  font-size: 15.5px;
}

.privacy-links a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.privacy-links a:hover {
  color: var(--red);
}

/* ============================================================
   Final CTA
   ============================================================ */

.cta-final {
  text-align: center;
}

.cta-hand {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.05;
  transform: rotate(-1.6deg);
  margin: 0 0 12px;
  color: var(--ink);
}

.cta-hand .accent {
  color: var(--accent);
}

.cta-final p {
  color: var(--sub-strong);
  font-size: 17px;
  max-width: 440px;
  margin: 0 auto 32px;
}

/* App Store badge */

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 12px 24px 12px 20px;
  text-decoration: none;
  text-align: left;
  line-height: 1.15;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.appstore-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
}

.appstore-badge svg {
  width: 26px;
  height: 30px;
  flex: none;
}

.appstore-badge small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

.appstore-badge strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.appstore-badge[data-coming-soon] {
  cursor: default;
  pointer-events: none;
}

.cta-caption {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sub);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  border-top: 1px solid rgba(217, 217, 217, 0.6);
  padding: 44px 0 40px;
  background: rgba(255, 255, 255, 0.4);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer .brand {
  margin-right: 0;
}

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

.footer-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sub-strong);
}

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

.footer-bottom {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--sub);
}

.footer-bottom .hand {
  font-size: 19px;
  color: var(--accent);
}

/* ============================================================
   Legal pages (privacy / terms)
   ============================================================ */

.legal-main {
  padding-top: clamp(110px, 14vh, 150px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

.legal-wrap {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-head {
  text-align: center;
  margin-bottom: 40px;
}

.legal-head h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.legal-date {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub-strong);
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: var(--card-shadow);
}

/* "The short version" sticky note */

.tldr {
  margin: 0 auto 44px;
  max-width: 560px;
  transform: rotate(-1.2deg);
}

.tldr .snote-paper {
  padding: 30px 30px 12px;
}

.tldr h2 {
  font-family: var(--font-hand);
  font-size: 31px;
  color: var(--red);
  text-align: center;
  margin-bottom: 14px;
  transform: rotate(-0.5deg);
}

.tldr ul {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tldr li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15.5px;
  font-weight: 600;
  color: #2f2e2c;
}

.tldr li::before {
  content: "♥";
  color: var(--accent);
  flex: none;
  font-size: 13px;
}

.tldr-disclaimer {
  position: relative;
  text-align: center;
  font-size: 12.5px;
  color: var(--sub);
  margin-top: 14px;
}

/* Legal body card */

.legal-card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: clamp(26px, 5vw, 56px);
}

.legal-card h2 {
  font-size: 22px;
  margin: 44px 0 14px;
  scroll-margin-top: 90px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h2 .num {
  color: var(--accent);
  margin-right: 6px;
}

.legal-card h3 {
  font-size: 16.5px;
  margin: 26px 0 8px;
}

.legal-card p,
.legal-card li {
  color: #3b3a39;
  font-size: 15.5px;
  line-height: 1.65;
}

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

.legal-card ul {
  padding-left: 22px;
  margin: 0 0 14px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.legal-card strong {
  color: var(--ink);
}

.legal-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 22px;
  font-size: 14.5px;
}

.legal-card th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub-strong);
  padding: 10px 12px;
  border-bottom: 2px solid var(--hairline);
}

.legal-card td {
  padding: 12px;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
  color: #3b3a39;
  line-height: 1.5;
}

.legal-card tr:last-child td {
  border-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
}

.legal-footer-note {
  text-align: center;
  margin-top: 34px;
  font-size: 14px;
  color: var(--sub);
}

.legal-footer-note a {
  color: var(--sub-strong);
  font-weight: 700;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Reduced motion
   ============================================================ */

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

  .marquee-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .notif {
    transition: none;
  }

  .widget-pop,
  .heart-burst {
    animation: none;
  }
}
