/* unscrolled.me — shared styles. Paper-collage look borrowed from the StoryBloom app. */
@font-face { font-family: "Fredoka"; src: url(/fonts/fredoka.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Andika"; src: url(/fonts/andika-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Andika"; src: url(/fonts/andika-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/fonts/caveat.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #fbf6ec; --paper2: #f3ead8; --sand: #efe0c2; --ink: #2f2a3b; --ink-soft: #5d5670;
  --yellow: #f7cf4a; --butter: #fff3c4; --pink: #f29bb8; --teal: #4fb7b3; --orange: #f6a04d; --green: #7cc28a; --night: #1d2350;
  --ui: "Fredoka", system-ui, sans-serif; --read: "Andika", system-ui, sans-serif; --hand: "Caveat", "Comic Sans MS", cursive;
  --shadow: 4px 5px 0 var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--read); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
h1, h2, h3 { font-family: var(--ui); line-height: 1.12; margin: 0 0 .4em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 7vw, 68px); }
h2 { font-size: clamp(30px, 4.6vw, 46px); }
h3 { font-size: 23px; }
p { margin: 0 0 1em; }
.hand { font-family: var(--hand); font-size: 1.45em; line-height: 1.1; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; position: relative; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.lead { font-size: 21px; color: var(--ink-soft); max-width: 640px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(251, 246, 236, .92); backdrop-filter: blur(6px); border-bottom: 2px dashed rgba(47, 42, 59, .15); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { font-family: var(--ui); font-weight: 600; font-size: 24px; text-decoration: none; letter-spacing: -.02em; }
.brand span { color: var(--orange); }
.top nav { display: flex; gap: 18px; align-items: center; font-family: var(--ui); font-size: 17px; }
.top nav a { text-decoration: none; }
.top nav .ig, .top nav .wide { display: none; }
.top .btn { white-space: nowrap; }
@media (min-width: 520px) { .top nav .wide { display: inline; } }
@media (min-width: 720px) { .top nav .ig { display: inline; } }

/* buttons */
.btn { display: inline-block; font-family: var(--ui); font-weight: 600; font-size: 19px; text-decoration: none; color: var(--ink); background: var(--yellow);
  border: 3px solid var(--ink); border-radius: 26px 30px 24px 28px / 28px 22px 30px 24px; padding: 13px 26px; box-shadow: var(--shadow); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: #fff; }
.btn.small { font-size: 16px; padding: 8px 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* paper bits */
.card { background: #fff; border: 3px solid var(--ink); border-radius: 22px 28px 24px 26px; box-shadow: var(--shadow); }
.tape { position: absolute; width: 96px; height: 26px; background: rgba(247, 207, 74, .72); top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg); border-left: 2px dashed rgba(255,255,255,.6); border-right: 2px dashed rgba(255,255,255,.6); }
.tape.pink { background: rgba(242, 155, 184, .75); }
.tape.teal { background: rgba(79, 183, 179, .6); }
.sticker { position: absolute; filter: drop-shadow(2px 3px 0 rgba(47, 42, 59, .18)); pointer-events: none; }

/* hero */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero .grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.05fr 1fr; } }
.kicker { display: inline-block; font-family: var(--ui); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--butter); border: 2px solid var(--ink); border-radius: 20px; padding: 4px 12px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(242, 155, 184, .6) 62%); padding: 0 4px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.hero .note { font-family: var(--hand); font-size: 25px; color: var(--ink-soft); transform: rotate(-2deg); }
.polaroid { position: relative; background: #fff; border: 3px solid var(--ink); padding: 12px 12px 14px; box-shadow: var(--shadow); border-radius: 6px; }
.polaroid .cap { font-family: var(--hand); font-size: 24px; text-align: center; margin-top: 6px; }
.hero .art { position: relative; max-width: 520px; margin: 0 auto; }
.hero .art .main { transform: rotate(2deg); }
.hero .art .side { position: absolute; width: 40%; left: -4%; bottom: -16%; transform: rotate(-6deg); }
@media (max-width: 600px) { .hero .art { margin: 10px 8px 30px; } .hero .art .side { width: 36%; bottom: -20%; } .polaroid .cap { font-size: 20px; } }

/* promise strip */
.strip { background: var(--ink); color: var(--paper); padding: 16px 0; font-family: var(--ui); font-size: 18px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center; }
.strip li::before { content: "✿ "; color: var(--yellow); }

/* founder note */
.letter { position: relative; max-width: 760px; margin: 0 auto; background: #fffdf7; padding: 44px 30px 34px; transform: rotate(-.6deg);
  background-image: repeating-linear-gradient(transparent, transparent 33px, rgba(79, 183, 179, .18) 34px); }
.letter p { font-size: 19px; }
.letter .sign { font-family: var(--hand); font-size: 30px; margin-top: 10px; }

/* inside */
.inside { display: grid; gap: 26px; margin-top: 36px; }
@media (min-width: 700px) { .inside { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .inside { grid-template-columns: repeat(3, 1fr); } }
.feature { position: relative; overflow: visible; }
.feature img { border-radius: 18px 24px 0 0; border-bottom: 3px solid var(--ink); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.feature .txt { padding: 16px 20px 20px; }
.feature .txt p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.feature .num { font-family: var(--hand); font-size: 26px; color: var(--orange); display: block; margin-bottom: 2px; }
.feature:nth-child(odd) { transform: rotate(-.7deg); }
.feature:nth-child(even) { transform: rotate(.8deg); }
.feature.tall { display: flex; flex-direction: column; justify-content: center; padding: 26px; background: var(--butter); }

/* gulf */
.gulf { background: var(--sand); }
.gulf .stories { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
@media (min-width: 900px) { .gulf .stories { grid-template-columns: repeat(4, 1fr); } }
.gulf .polaroid:nth-child(1) { transform: rotate(-2deg); } .gulf .polaroid:nth-child(2) { transform: rotate(1.5deg); }
.gulf .polaroid:nth-child(3) { transform: rotate(-1deg); } .gulf .polaroid:nth-child(4) { transform: rotate(2.2deg); }
.gulf .polaroid .cap { font-size: 21px; }

/* promises */
.promises { display: grid; gap: 22px; margin-top: 34px; }
@media (min-width: 800px) { .promises { grid-template-columns: repeat(4, 1fr); } }
.promise { padding: 22px; position: relative; }
.promise b { font-family: var(--ui); font-size: 21px; display: block; margin-bottom: 6px; }
.promise span { color: var(--ink-soft); font-size: 17px; }

/* pricing */
.pricing { display: grid; gap: 26px; margin-top: 34px; align-items: start; }
@media (min-width: 860px) { .pricing { grid-template-columns: 1fr 1fr; } }
.plan { padding: 30px 26px; position: relative; }
.plan.feature-plan { background: var(--butter); }
.plan .price { font-family: var(--ui); font-size: 52px; font-weight: 600; line-height: 1; margin: 6px 0; }
.plan .price small { font-size: 20px; color: var(--ink-soft); font-weight: 500; }
.plan ul { padding-left: 20px; margin: 14px 0 0; }
.plan li { margin-bottom: 6px; }
.spots { display: inline-block; font-family: var(--ui); font-weight: 600; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 3px 12px; font-size: 15px; }
.bar { height: 14px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; overflow: hidden; margin: 10px 0 0; }
.bar i { display: block; height: 100%; background: var(--pink); }

/* forms */
.formcard { padding: 28px 24px; max-width: 560px; margin: 34px auto 0; position: relative; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--ui); font-weight: 500; font-size: 16px; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], select, textarea {
  width: 100%; font: 18px var(--read); padding: 12px 14px; border: 2.5px solid var(--ink); border-radius: 14px; background: #fffdf7; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; margin: 6px 0 16px; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.row2 { display: grid; gap: 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.formmsg { min-height: 24px; font-size: 16px; margin: 6px 0 0; }
.formmsg.err { color: #c4473a; }
.done { text-align: center; padding: 10px 0; }
.done .big { font-size: 54px; }
.hp { position: absolute; left: -9999px; }

/* faq */
.faq { max-width: 780px; margin: 30px auto 0; }
.faq details { background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; margin-bottom: 12px; padding: 4px 18px; }
.faq summary { font-family: var(--ui); font-weight: 600; font-size: 19px; cursor: pointer; padding: 12px 0; list-style: none; }
.faq summary::after { content: "+"; float: right; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* renew / notice banner */
.notice { margin: 20px auto 0; max-width: 760px; padding: 22px 24px; background: var(--butter); position: relative; }

footer { border-top: 2px dashed rgba(47, 42, 59, .2); padding: 34px 0 50px; font-size: 16px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--ink-soft); }

/* simple pages */
.page { padding: 50px 0 70px; }
.page .card { padding: 30px 26px; max-width: 760px; margin: 0 auto; }
.page h2 { font-size: 26px; margin-top: 1.2em; }
.codebox { font-family: var(--ui); font-weight: 600; font-size: clamp(21px, 6.4vw, 40px); letter-spacing: 1.5px; white-space: nowrap; background: var(--butter); border: 3px dashed var(--ink); border-radius: 18px; padding: 16px; text-align: center; margin: 18px 0; user-select: all; }

/* brand home */
.crumb { font-family: var(--ui); font-size: 16px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
@media (max-width: 420px) { .crumb { display: none; } }
.bloom-hero { width: 120px; right: -18px; bottom: -40px; }
@media (max-width: 600px) { .bloom-hero { width: 96px; right: -6px; bottom: -34px; } }
.bloom-art { max-width: 420px; }
.bloom-card { position: relative; padding: 26px 20px 12px; text-align: center; transform: rotate(1.5deg); background: #fffdf7; }
.bloom-card img { width: min(340px, 92%); margin: -10px auto -6px; }
.bloom-card .hand { font-size: 30px; margin: 4px 0 0; }
.products { display: grid; gap: 28px; margin-top: 36px; align-items: stretch; }
@media (min-width: 900px) { .products { grid-template-columns: 2fr 1fr; } }
.product { position: relative; display: grid; overflow: visible; }
@media (min-width: 700px) { .product:not(.next) { grid-template-columns: 1fr 1fr; } }
.pimg img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px 0 0 22px; }
@media (max-width: 699px) { .pimg img { border-radius: 18px 24px 0 0; aspect-ratio: 4/3; border-bottom: 3px solid var(--ink); } }
@media (min-width: 700px) { .pimg { border-right: 3px solid var(--ink); } }
.ptxt { padding: 24px 22px; }
.ptxt h3 { font-size: 32px; margin: 8px 0 8px; }
.ptxt p { color: var(--ink-soft); }
.ptxt .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pmeta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.status { font-family: var(--ui); font-weight: 600; font-size: 14px; background: #d8f0ee; border: 2px solid var(--ink); border-radius: 16px; padding: 2px 10px; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2f9e78; margin-right: 6px; vertical-align: 1px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.product.next { background: transparent; box-shadow: none; border-style: dashed; padding: 28px 22px; text-align: center; align-content: center; }
.promises.three { }
@media (min-width: 800px) { .promises.three { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .status::before { animation: none; } html { scroll-behavior: auto; } }
