/* Plot Therapy marketing site. Cozy Cottage, turned up a little brighter. */
:root {
  --blush: #fbf1ee;
  --cream: #fffaf5;
  --white: #fffdfb;
  --red: #c73a35;
  --red-dark: #a42c28;
  --pink: #f0597f;
  --bubblegum: #ffd5e0;
  --sage: #5f7a5c;
  --sage-dark: #3f5a3e;
  --mint: #d8efd3;
  --butter: #ffd966;
  --butter-soft: #fff0bd;
  --lavender: #dcd2fb;
  --violet: #5a45a8;
  --ink: #2c2320;
  --muted: #65554f;
  --line: rgba(74, 47, 42, .13);
  --wood: #d9a877;
  --shadow: 0 14px 34px rgba(90, 50, 40, .12);
  --serif: "Playfair Display", Georgia, serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
  --sans: "Poppins", -apple-system, "Segoe UI", sans-serif;
  --page: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  background-color: var(--blush);
  background-image:
    linear-gradient(rgba(199, 58, 53, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 58, 53, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--page), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--white); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* type */
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-dark);
}
.script { font-family: var(--script); font-weight: 700; color: var(--red); }
.section-title {
  font-family: var(--script); font-weight: 700; color: var(--red);
  font-size: clamp(3rem, 7vw, 4.75rem); line-height: 1.05; margin-top: 6px;
}
.section-lede { max-width: 58ch; margin-top: 14px; color: var(--muted); font-size: 1.125rem; }
.section-head { margin-bottom: 44px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(199, 58, 53, .28); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-soft { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn-soft:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* store badges: swap the <span class="store"> for an <a class="store"> at launch */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: flex; align-items: center; gap: 12px; min-width: 200px; padding: 10px 20px 10px 16px;
  border-radius: 18px; background: var(--ink); color: #fff; text-decoration: none; line-height: 1.2;
}
.store svg { width: 28px; height: 28px; flex: none; fill: currentColor; }
.store small { display: block; font-size: .72rem; font-weight: 500; color: var(--butter); }
.store b { font-size: 1.05rem; font-weight: 600; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 241, 238, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.wordmark { position: relative; display: inline-block; text-decoration: none; line-height: 1; padding: 4px 6px 8px 0; }
.wordmark b { display: block; font: 700 1.3rem/1 var(--serif); letter-spacing: .1em; color: var(--sage-dark); }
.wordmark i { display: block; margin-top: -7px; margin-left: 12px; font: 700 1.75rem/1 var(--script); color: var(--red); }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 600; }
.site-nav a:not(.btn) { text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--red); }
.login-pending {
  display: inline-flex; align-items: center; min-height: 38px; padding: 4px 14px; border-radius: 999px;
  border: 1.5px dashed rgba(74, 47, 42, .35); font-size: .82rem; font-weight: 600; color: var(--muted); white-space: nowrap;
}

/* hero */
.hero { position: relative; padding: 64px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font: 700 clamp(2.9rem, 6.2vw, 4.75rem)/1.04 var(--serif); margin-top: 14px; letter-spacing: -.01em; }
.hero h1 .script { display: block; font-size: 1.32em; line-height: 1; margin-top: 4px; }
.hero-lede { margin: 22px 0 28px; max-width: 34em; font-size: 1.2rem; color: var(--muted); }
.hero-note { margin-top: 16px; font-size: .95rem; color: var(--muted); }
.hero-note strong { color: var(--sage-dark); }

.hero-art { position: relative; display: flex; justify-content: center; min-height: 620px; }
.hero-art::before {
  content: ""; position: absolute; inset: 40px 0 20px; border-radius: 48% 52% 46% 54%;
  background: var(--butter); transform: rotate(-6deg);
}
.art { position: absolute; z-index: 2; }
.art-cup { width: 150px; left: -34px; bottom: 54px; }
.art-vase { width: 130px; right: -18px; top: 8px; }
.sticker {
  position: absolute; z-index: 3; padding: 8px 16px; border-radius: 999px; background: var(--white);
  font-size: .9rem; font-weight: 700; box-shadow: var(--shadow); border: 2px solid var(--ink); white-space: nowrap;
}
.sticker-1 { top: 14px; left: 4px; transform: rotate(-6deg); background: var(--bubblegum); }
.sticker-2 { bottom: 170px; right: -24px; transform: rotate(5deg); background: var(--mint); }

/* phone mock, rebuilt in HTML so it stays crisp */
.phone {
  position: relative; z-index: 1; width: 318px; align-self: center; padding: 16px 14px 14px; border-radius: 40px;
  background: var(--cream); border: 7px solid var(--ink); box-shadow: 0 26px 50px rgba(70, 30, 25, .26);
  transform: rotate(2.5deg); font-size: .78rem; line-height: 1.35;
}
.phone h2 { font: 700 2.5rem/1 var(--script); color: var(--red); }
.phone-sub { font-size: .62rem; font-weight: 700; letter-spacing: .14em; color: var(--sage-dark); margin: 2px 0 12px; }
.mini-card { border-radius: 18px; padding: 13px; border: 1px solid var(--line); margin-bottom: 10px; background: var(--white); }
.mini-card.rose { background: #fff0ec; }
.mini-label { font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ritual { display: flex; gap: 12px; align-items: center; }
.ring {
  flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: conic-gradient(var(--sage) 70%, var(--mint) 0);
}
.ring span { display: grid; place-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff0ec; font-size: .52rem; line-height: 1.05; }
.ring b { font-size: .95rem; }
.ritual strong { display: block; font-size: .86rem; line-height: 1.25; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; text-align: center; font-size: .58rem; font-weight: 600; color: var(--muted); }
.day { display: grid; place-items: center; width: 27px; height: 27px; margin: 3px auto 0; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--pink); font-size: .85rem; line-height: 1; }
.day.today { border: 2px solid var(--sage); }
.day.rest { background: transparent; border: 1.5px dashed rgba(74, 47, 42, .35); }
.now-reading { display: flex; gap: 12px; align-items: center; }
.cover {
  flex: none; display: flex; align-items: center; justify-content: center; text-align: center; padding: 5px;
  border-radius: 4px; color: #fff; font: 700 .58rem/1.1 var(--serif); box-shadow: 2px 4px 8px rgba(60, 30, 25, .25);
}
.now-reading .cover { width: 60px; height: 88px; background: linear-gradient(160deg, #3f5a8a, #5a45a8); }
.now-title { font: 700 1rem/1.2 var(--serif); margin: 2px 0 5px; }
.bar { height: 6px; border-radius: 6px; background: var(--mint); overflow: hidden; }
.bar i { display: block; height: 100%; width: 62%; background: var(--sage); }
.pill-mini { display: inline-block; margin-top: 7px; padding: 5px 12px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: .7rem; }
.corners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.corners div { padding: 8px 2px; border-radius: 13px; text-align: center; font-size: .6rem; font-weight: 700; line-height: 1.15; border: 1px solid var(--line); }
.corners b { display: block; font: 700 .95rem/1.2 var(--serif); }
.corners div:nth-child(1) { background: var(--mint); }
.corners div:nth-child(2) { background: var(--butter-soft); }
.corners div:nth-child(3) { background: var(--bubblegum); }
.corners div:nth-child(4) { background: var(--lavender); }

/* scrolling strip */
.ticker { background: var(--red); color: #fff; overflow: hidden; transform: rotate(-1deg) scale(1.02); }
.ticker-track { display: flex; width: max-content; animation: drift 46s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { padding: 13px 22px; font: 700 1.65rem/1.2 var(--script); white-space: nowrap; }
.ticker li::after { content: "\2726"; margin-left: 44px; font: 400 .9rem var(--sans); color: var(--butter); }
@keyframes drift { to { transform: translateX(-50%); } }

/* promise */
.promise { padding: 104px 0 96px; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise-card { padding: 26px 22px; border-radius: 26px; border: 2px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); }
.promise-card:nth-child(1) { background: var(--bubblegum); }
.promise-card:nth-child(2) { background: var(--mint); }
.promise-card:nth-child(3) { background: var(--butter); }
.promise-card:nth-child(4) { background: var(--lavender); }
.promise-card h3 { font: 700 1.35rem/1.2 var(--serif); margin-bottom: 8px; }
.promise-card p { font-size: .98rem; }

/* features */
.features { padding: 96px 0; background: var(--cream); position: relative; }
.scallop-top::before, .scallop-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; background-size: 36px 18px; background-repeat: repeat-x;
}
.scallop-top::before { top: -18px; background-image: radial-gradient(circle at 18px 18px, var(--scallop) 17.5px, transparent 18px); }
.scallop-bottom::after { bottom: -18px; z-index: 1; background-image: radial-gradient(circle at 18px 0, var(--scallop) 17.5px, transparent 18px); }
.features { --scallop: var(--cream); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { padding: 28px; border-radius: 28px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.tile h3 { font: 700 2.5rem/1.05 var(--script); color: var(--red); }
.tile .tag { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); margin: 2px 0 10px; }
.tile p { font-size: .98rem; color: var(--ink); }
.tile-demo { margin-top: 20px; }
.t-shelves { grid-column: span 4; background: #ffe7ec; }
.t-log { grid-column: span 2; background: var(--mint); }
.t-radar { grid-column: span 2; background: var(--butter-soft); }
.t-wins { grid-column: span 2; background: var(--bubblegum); }
.t-stats { grid-column: span 2; background: var(--lavender); }
.t-studio { grid-column: span 3; background: var(--butter); }
.t-home { grid-column: span 3; background: #cfe9e4; }

.shelf { margin-top: auto; }
.shelf-row { display: flex; align-items: flex-end; gap: 4px; padding: 0 12px; }
.shelf-board { height: 12px; border-radius: 3px; background: var(--wood); box-shadow: 0 5px 8px rgba(90, 50, 30, .18); }
.spine, .face { flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font: 700 .68rem/1.05 var(--serif); border-radius: 3px 3px 0 0; box-shadow: inset -3px 0 0 rgba(0, 0, 0, .1); }
.spine { width: 34px; writing-mode: vertical-rl; padding: 8px 0; white-space: nowrap; }
.face { width: 86px; height: 128px; padding: 7px; text-align: center; border-radius: 4px 4px 0 0; }
.dots { background-image: radial-gradient(rgba(255, 255, 255, .55) 1.5px, transparent 2px); background-size: 9px 9px; }
.c-red { background-color: var(--red); } .c-sage { background-color: var(--sage); } .c-pink { background-color: var(--pink); }
.c-violet { background-color: var(--violet); } .c-teal { background-color: #2f7f7a; } .c-gold { background-color: #d98a1f; }
.c-brown { background-color: #8a4b3a; } .c-lav { background-color: #9a86d8; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 42px; padding: 7px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line);
  font: 600 .92rem var(--sans); color: var(--ink); cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }
.chip-reply { min-height: 3.3em; margin-top: 12px; font-weight: 600; font-size: .95rem; color: var(--sage-dark); }

.radar-item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--white); }
.radar-item + .radar-item { margin-top: 8px; }
.radar-date { flex: none; width: 48px; height: 52px; border-radius: 10px; display: grid; place-content: center; text-align: center; background: var(--sage); color: #fff; font-size: .62rem; font-weight: 600; line-height: 1.1; }
.radar-date b { display: block; font: 700 1.2rem/1 var(--serif); }
.radar-item strong { display: block; font: 700 .98rem/1.2 var(--serif); }
.radar-item span { font-size: .8rem; color: var(--muted); }

.hearts { display: flex; gap: 6px; flex-wrap: wrap; }
.hearts .day { width: 36px; height: 36px; margin: 0; font-size: 1.15rem; }
.hearts-note { margin-top: 10px; font-size: .88rem; font-weight: 500; }

.stat-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(90, 69, 168, .22); font-weight: 600; font-size: .94rem; }
.stat-list li:last-child { border-bottom: 0; }
.stat-list b { font: 700 1.1rem var(--serif); color: var(--violet); white-space: nowrap; }

.collage { display: flex; justify-content: center; gap: 10px; align-items: center; }
.polaroid { width: 31%; max-width: 150px; padding: 8px 8px 12px; background: var(--white); box-shadow: var(--shadow); text-align: center; font: 700 1.15rem/1 var(--script); color: var(--red); }
.polaroid i { display: block; aspect-ratio: 3 / 4; margin-bottom: 8px; }
.polaroid:nth-child(1) { transform: rotate(-5deg); }
.polaroid:nth-child(2) { transform: rotate(3deg) translateY(-6px); }
.polaroid:nth-child(3) { transform: rotate(-2deg); }

.import-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; }
.import-row span { padding: 10px 18px; border-radius: 14px; background: var(--white); }
.import-row em { font: 700 1.6rem/1 var(--script); color: var(--red); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .86rem; font-weight: 600; }
.swatches li { display: flex; align-items: center; gap: 6px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); }

/* roadmap */
.roadmap { padding: 112px 0 100px; }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stop { position: relative; padding: 28px 26px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stop::before { content: ""; position: absolute; top: -9px; left: 50%; width: 92px; height: 22px; margin-left: -46px; transform: rotate(-2deg); background: var(--tape); opacity: .9; }
.stop:nth-child(1) { --tape: var(--pink); }
.stop:nth-child(2) { --tape: var(--butter); }
.stop:nth-child(3) { --tape: var(--lavender); }
.stop h3 { font: 700 2.3rem/1.1 var(--script); color: var(--red); margin-bottom: 12px; }
.stop li { position: relative; padding-left: 24px; margin-top: 10px; font-size: .98rem; }
.stop li::before { content: "\2661"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.request { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; padding: 22px 28px; border-radius: 24px; background: var(--mint); }
.request strong { font: 700 1.2rem var(--serif); display: block; }

/* creator */
.creator { position: relative; padding: 96px 0; background: var(--bubblegum); --scallop: var(--bubblegum); }
.creator .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.note-card { padding: 22px; background: var(--white); border-radius: 8px; transform: rotate(-3deg); box-shadow: var(--shadow); text-align: center; }
.note-card svg { width: 100%; max-width: 190px; margin: 0 auto 8px; }
.note-card p { font: 700 1.9rem/1.1 var(--script); color: var(--red); }
.creator-copy p { margin-top: 14px; max-width: 60ch; font-size: 1.08rem; }
.creator-copy .btn { margin-top: 24px; }

/* download */
.get { position: relative; padding: 96px 0 84px; text-align: center; }
.get-card { position: relative; padding: 56px 28px; border-radius: 36px; background: var(--red); color: #fff; overflow: hidden; }
.get-card h2 { font: 700 clamp(3rem, 7vw, 4.6rem)/1.05 var(--script); }
.get-card > p { max-width: 42ch; margin: 12px auto 28px; font-size: 1.12rem; }
.get-card .stores { justify-content: center; }
.get-card .store { border: 2px solid transparent; }
.web-login { display: flex; align-items: center; gap: 12px; min-width: 200px; padding: 10px 20px; border-radius: 18px; border: 2px dashed rgba(255, 255, 255, .7); text-align: left; line-height: 1.2; }
.web-login small { display: block; font-size: .72rem; font-weight: 500; color: var(--butter); }
.web-login b { font-size: 1.05rem; font-weight: 600; }

/* footer */
.site-footer { padding: 56px 0 36px; background: var(--ink); color: #f6e9e4; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .wordmark b { color: var(--mint); }
.site-footer .wordmark i { color: #ff9a9f; }
.site-footer h3 { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--butter); margin-bottom: 12px; }
.site-footer li { margin-top: 8px; }
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: var(--butter); }
.tagline { margin-top: 12px; letter-spacing: .16em; font-size: .72rem; font-weight: 600; }
.pending { opacity: .78; }
.pending small { font-size: .78rem; }
.fine { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .84rem; opacity: .85; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { margin-top: 12px; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .t-shelves, .t-studio, .t-home { grid-column: span 6; }
  .t-log, .t-radar, .t-wins, .t-stats { grid-column: span 3; }
  .path { grid-template-columns: 1fr; }
  .creator .wrap { grid-template-columns: 1fr; gap: 36px; }
  .note-card { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav a:not(.btn) { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero { padding: 36px 0 72px; }
  .stores, .store, .web-login { width: 100%; }
  .promise-grid { grid-template-columns: 1fr; }
  .t-log, .t-radar, .t-wins, .t-stats { grid-column: span 6; }
  .tile { padding: 22px; }
  .hero-art { min-height: 590px; }
  .phone { width: 286px; transform: rotate(1.5deg); }
  .art-cup { width: 104px; left: -6px; bottom: 6px; }
  .art-vase { width: 92px; right: -4px; top: 0; }
  .sticker-1 { left: 0; top: 2px; }
  .sticker-2 { right: -4px; bottom: 130px; }
  .face { width: 70px; height: 106px; }
  .spine:nth-child(n+6) { display: none; }
  .login-pending { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; }
}

/* phone-width hero: keep the decorations clear of the mock's content */
@media (max-width: 620px) {
  .hero-art { min-height: 0; padding: 92px 0 84px; }
  .hero-art::before { inset: 70px -8px 40px; }
  .sticker-1 { top: 40px; left: 0; }
  .sticker-2 { right: 0; bottom: 22px; }
  .art-vase { width: 70px; top: 0; right: 4px; }
  .art-cup { width: 88px; left: 0; bottom: 0; }
  .phone h2 { font-size: 2.15rem; }
  .face:last-child { display: none; }
}

@media (max-width: 620px) {
  .creator .section-title { font-size: 2.6rem; }
}
