/* fondly.app: one stylesheet for the home page and the blog. */
:root {
  --pink: #FE8DC6; --pink-text: #B8407F; --ink: #1A1A1A; --muted: #555966;
  --blush: #FFF0F7; --peach: #FED1C7; --bg: #FFFCFD; --line: #E8DFE5; --card: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,252,253,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }
.logo img { height: 30px; display: block; filter: brightness(0); }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; color: var(--muted); font-size: 16px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--pink-text); }
.soon-pill { display: inline-flex; align-items: center; border: 2px dashed var(--pink-text); color: var(--pink-text); font-weight: 800; padding: 10px 18px; border-radius: 999px; font-size: 15px; white-space: nowrap; }

/* Buttons and labels */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--pink); color: var(--ink); font-weight: 800; padding: 12px 22px; border-radius: 999px; font-size: 16px; }
.btn.ghost { background: transparent; border: 2px solid var(--pink); color: var(--pink-text); }
.eyebrow { display: inline-block; background: rgba(255,255,255,.75); color: var(--pink-text); font-weight: 800; font-size: 14px; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; }
.eyebrow.tagline { font-size: 17px; letter-spacing: .02em; padding: 7px 16px; }

/* Store badges (not live before launch) */
.stores { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.stores img { height: 54px; display: block; }
.soon { position: relative; display: inline-block; }
.soon img { filter: grayscale(1); opacity: .5; }
.soon::after { content: "Coming soon"; position: absolute; right: -8px; top: -11px; background: var(--ink); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--peach) 0%, #FEB8D4 55%, var(--pink) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 40px; }
.hero h1 { font-size: 62px; line-height: 1.04; margin: 18px 0; font-weight: 900; letter-spacing: -.02em; }
.lead { font-size: 21px; line-height: 1.5; color: #3b2a33; max-width: 520px; margin: 0 0 30px; }
.note { margin-top: 16px; font-size: 15px; color: #5b3a4b; font-weight: 600; }
.cities { position: relative; height: 420px; width: 100%; max-width: 560px; margin: 0 auto; --w: 160px; --step: 100px; }
.city { position: absolute; top: 0; left: calc(50% - var(--w) / 2 + var(--i) * var(--step)); width: var(--w); aspect-ratio: 768/1344; border-radius: 26px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 24px 50px rgba(91,30,60,.25); transform: translateY(calc(var(--a) * 34px)) rotate(calc(var(--i) * 6deg)); z-index: calc(10 - var(--a)); }
.city img { width: 100%; height: 100%; object-fit: cover; display: block; }
.city span { position: absolute; left: 50%; transform: translateX(-50%); top: 10px; background: rgba(255,255,255,.92); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
/* Even fan: --i is the position from the middle, --a how far from it. */
/* Labels sit on the side of each photo that stays in view. */
.c1 span, .c2 span { left: 10px; transform: none; } .c4 span, .c5 span { left: auto; right: 10px; transform: none; }
.c1 { --i: -2; --a: 2; } .c2 { --i: -1; --a: 1; } .c3 { --i: 0; --a: 0; } .c4 { --i: 1; --a: 1; } .c5 { --i: 2; --a: 2; }

/* Sections */
section { padding: 96px 0; }
h2 { font-size: 42px; font-weight: 900; margin: 0 0 14px; letter-spacing: -.01em; line-height: 1.15; }
.sub { font-size: 19px; color: var(--muted); max-width: 640px; line-height: 1.55; margin: 0 0 44px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.step { background: var(--card); border-radius: 28px; padding: 30px; box-shadow: 0 6px 22px rgba(120,40,80,.07); }
.step .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--blush); display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 17px; }
.num { color: var(--pink-text); font-weight: 900; font-size: 14px; letter-spacing: .08em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tinted { background: var(--blush); }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; font-size: 18px; line-height: 1.5; }
.list b { display: block; }
.tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; font-weight: 900; font-size: 15px; }
.frame { border-radius: 32px; overflow: hidden; box-shadow: 0 20px 50px rgba(120,40,80,.16); }
.frame img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 60%; display: block; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust > div { border: 1px solid var(--line); border-radius: 24px; padding: 24px; background: var(--card); }
.trust h3 { margin: 10px 0 6px; font-size: 18px; }
.trust p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.trust .e { font-size: 26px; }

/* Article cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: block; background: var(--card); border-radius: 26px; overflow: hidden; box-shadow: 0 6px 22px rgba(120,40,80,.07); transition: transform .15s ease; }
.post:hover { transform: translateY(-3px); }
.post img { width: 100%; height: 190px; object-fit: cover; display: block; }
.post .bd { padding: 20px 22px 24px; }
.tag { color: var(--pink-text); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.post h3 { margin: 8px 0; font-size: 21px; line-height: 1.3; }
.post p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }

/* Closing banner */
.cta { background: var(--ink); color: #fff; border-radius: 36px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { margin: 0; color: #d8cbd2; font-size: 18px; }
.cta .stores { flex-wrap: nowrap; flex: none; }

/* Footer */
.site-footer { padding: 48px 0 60px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-weight: 600; }
.site-footer a:hover { color: var(--pink-text); }
.mail { color: var(--pink-text); font-weight: 700; }

/* Blog */
.blog-head { padding-top: 64px; padding-bottom: 24px; }
.blog-head h1 { font-size: 48px; font-weight: 900; margin: 0 0 10px; }
article.post-page { max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
.crumbs { color: var(--muted); font-weight: 700; font-size: 15px; }
.crumbs a:hover { color: var(--pink-text); }
.crumbs b { color: var(--pink-text); }
.post-page h1 { font-size: 48px; line-height: 1.1; font-weight: 900; margin: 14px 0 16px; letter-spacing: -.01em; }
.meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 15px; font-weight: 600; margin-bottom: 30px; }
.meta .av { width: 34px; height: 34px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; color: #fff; font-weight: 900; }
.cover { width: calc(100% + 120px); margin: 0 -60px 10px; border-radius: 28px; display: block; aspect-ratio: 16/8.5; object-fit: cover; height: auto; }
.cap { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.prose p, .prose li { font-family: "Source Serif 4", Georgia, serif; font-size: 20px; line-height: 1.7; color: #2a2427; }
.prose p { margin: 0 0 22px; }
.prose ul { padding-left: 22px; margin: 0 0 22px; }
.prose li { margin-bottom: 6px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.callout { background: var(--blush); border-radius: 24px; padding: 26px 28px; margin: 34px 0; }
.callout b { display: block; font-size: 20px; margin-bottom: 4px; }
.callout span { color: var(--muted); font-size: 16px; }
.more { max-width: 1060px; margin: 30px auto 80px; padding: 0 24px; }
.more h2 { font-size: 26px; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .site-nav { display: none; }
  .soon-pill { margin-left: auto; padding: 8px 14px; font-size: 14px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; gap: 0; }
  .hero h1 { font-size: 42px; }
  .lead { font-size: 18px; }
  .stores img { height: 46px; }
  .hero .wrap > div:first-child { order: 1; }
  .cities { order: 2; height: 230px; margin-top: 32px; --w: 100px; --step: 63px; }
  .city { border-width: 3px; border-radius: 18px; transform: translateY(calc(var(--a) * 18px)) rotate(calc(var(--i) * 6deg)); }
  .city span { font-size: 10px; padding: 3px 7px; top: 6px; }
  .c1 span, .c2 span { left: 6px; } .c4 span, .c5 span { right: 6px; }
  section { padding: 64px 0; }
  h2 { font-size: 32px; }
  .sub { font-size: 17px; margin-bottom: 28px; }
  .steps, .split, .trust, .posts { grid-template-columns: 1fr; gap: 16px; }
  .split { gap: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; border-radius: 28px; }
  .cta .stores { flex-wrap: wrap; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .blog-head h1, .post-page h1 { font-size: 34px; }
  article.post-page { padding: 32px 16px; }
  .cover { width: 100%; margin: 0 0 10px; border-radius: 20px; }
  .prose p, .prose li { font-size: 18px; }
  .more { padding: 0 16px; }
}
