/* Piper Social landing page.
   Palette is sampled from the logo: coral circle, navy script, honey hair, on the logo's own off-white.
   The one loud idea is the die-cut sticker: thick white edge, soft drop shadow, a slight tilt. Everything else is quiet. */
:root {
  --paper: #fcfcfc;      /* the logo's background, so the mascot sits on the page with no visible box */
  --ink: #071832;        /* navy from the wordmark */
  --ink-2: #3d4a63;
  --coral: #fb767e;      /* the circle behind Piper */
  --rose: #d63f5c;       /* deeper coral for text and links that must pass contrast */
  --blush: #ffe9ea;
  --honey: #f3c378;
  --honey-soft: #fdf1dc;
  --line: #e9e4e6;
  --radius: 22px;
  --sticker: 0 0 0 5px #fff, 0 10px 24px rgba(7, 24, 50, .16);
  --display: "Fredoka", "Trebuchet MS", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.script { font-family: var(--script); font-weight: 400; color: var(--rose); letter-spacing: 0; white-space: nowrap; padding-right: .08em; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin-bottom: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 17px; text-decoration: none; color: #fff; background: var(--ink); padding: 14px 26px; border-radius: 999px; box-shadow: 0 4px 0 #000d22; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #000d22; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #000d22; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--blush); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.small { font-size: 15px; padding: 10px 20px; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 8px clamp(16px, 4vw, 48px); background: rgba(252, 252, 252, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 64px; height: 64px; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--ink); letter-spacing: -.01em; }
.wordmark i { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.18em; margin-right: 2px; }
.nav nav { display: flex; gap: 26px; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--rose); }
.signin { color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; }
.signin:hover { background: var(--blush); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(20px, 4vw, 56px); max-width: 1240px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); font-weight: 700; }
.hero h1 .script { font-size: 1.16em; line-height: .9; display: inline-block; transform: rotate(-3deg); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34em; margin: 22px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.networks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 34px 0 0; }
.networks li { font-family: var(--mono); font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink-2); }
.hero-art { position: relative; justify-self: center; width: min(100%, 560px); }
.mascot { width: 100%; animation: settle .8s cubic-bezier(.2, .9, .3, 1.2) both; }
.sticker { position: absolute; font-family: var(--display); font-weight: 600; font-size: clamp(13px, 1.2vw, 16px); padding: 9px 16px; border-radius: 999px; box-shadow: var(--sticker); white-space: nowrap; animation: stick .5s cubic-bezier(.2, .9, .3, 1.4) both; }
.s1 { top: 9%; left: -4%; background: var(--honey); color: var(--ink); transform: rotate(-7deg); animation-delay: .5s; }
.s2 { top: 34%; right: -5%; background: var(--ink); color: #fff; transform: rotate(6deg); animation-delay: .7s; }
.s3 { bottom: 27%; left: -7%; background: var(--coral); color: var(--ink); transform: rotate(4deg); animation-delay: .9s; }
@keyframes settle { from { opacity: 0; transform: scale(.9) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes stick { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }

/* ---------- shared section head ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
.section-head p:not(.eyebrow) { color: var(--ink-2); margin-top: 14px; }

/* ---------- Piper's day ---------- */
.day { background: var(--blush); padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); border-radius: 48px 48px 0 0; }
.timeline { list-style: none; max-width: 860px; margin: 0 auto; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 132px; top: 14px; bottom: 14px; width: 3px; background: repeating-linear-gradient(var(--coral) 0 8px, transparent 8px 16px); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; column-gap: 54px; padding: 0 0 30px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 123px; top: 7px; width: 21px; height: 21px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px #fff, 0 3px 8px rgba(7, 24, 50, .18); }
.timeline time { font-family: var(--mono); font-weight: 500; font-size: 14.5px; text-align: right; padding-top: 5px; color: var(--ink); grid-row: span 2; }
.timeline h3 { font-size: 22px; font-weight: 600; }
.timeline p { color: var(--ink-2); margin-top: 4px; grid-column: 2; }
.timeline li.you::before { background: var(--honey); }
.timeline li.you h3 { color: var(--rose); }

/* ---------- features ---------- */
.features { background: var(--blush); padding: 0 clamp(16px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.features .section-head { padding-top: clamp(32px, 5vw, 64px); border-top: 3px dotted rgba(214, 63, 92, .35); max-width: 1160px; }
.features .section-head h2 { max-width: 760px; margin: 0 auto; }
.group { max-width: 1160px; margin: 0 auto clamp(34px, 5vw, 58px); }
.group:last-child { margin-bottom: 0; }
.group-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; margin-bottom: 18px; }
.group-title .script { font-size: 1.5em; margin-right: 6px; display: inline-block; transform: rotate(-3deg); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: var(--radius); padding: 22px 24px 24px; box-shadow: 0 1px 0 rgba(7, 24, 50, .05), 0 8px 22px rgba(214, 63, 92, .08); }
.card h4 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 16px; }

/* ---------- brands ---------- */
.brands { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1160px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px); }
.brands h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; margin-bottom: 18px; }
.brands p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); box-shadow: inset 0 0 0 5px #fff, 0 0 0 2px var(--coral); }
.brand-stack { position: relative; height: 300px; }
.brand-tile { position: absolute; width: min(78%, 300px); padding: 20px 22px; border-radius: 20px; box-shadow: var(--sticker); font-family: var(--display); }
.brand-tile span { display: block; font-size: 22px; font-weight: 600; }
.brand-tile small { font-family: var(--mono); font-size: 12.5px; opacity: .85; }
.t1 { background: var(--ink); color: #fff; top: 6px; left: 4%; transform: rotate(-5deg); }
.t2 { background: var(--coral); color: var(--ink); top: 100px; right: 2%; transform: rotate(4deg); }
.t3 { background: var(--honey); color: var(--ink); bottom: 4px; left: 14%; transform: rotate(-2deg); }

/* ---------- control ---------- */
.control { background: var(--ink); color: #fff; padding: clamp(52px, 7vw, 96px) clamp(16px, 4vw, 48px); border-radius: 48px; margin: 0 clamp(8px, 2vw, 24px); }
.control .eyebrow { color: var(--honey); }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px 40px; max-width: 1100px; margin: 0 auto; }
.rules h3 { font-size: 20px; font-weight: 600; color: var(--honey); margin-bottom: 6px; }
.rules p { color: #cfd6e4; font-size: 16px; }

/* ---------- pricing ---------- */
.pricing { padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px) 0; }
.price-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 22px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.price-card { background: #fff; border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--sticker); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.price-main { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.price-big { font-family: var(--display); font-weight: 700; font-size: clamp(84px, 11vw, 132px); line-height: .85; color: var(--ink); letter-spacing: -.04em; }
.price-big sup { font-size: .42em; vertical-align: top; position: relative; top: .12em; margin-right: 2px; color: var(--rose); }
.price-unit { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2vw, 23px); line-height: 1.25; }
.price-plus { background: var(--honey-soft); border-radius: 16px; padding: 14px 18px; color: var(--ink-2); font-size: 16.5px; }
.price-plus b { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.12em; }
.price-note { font-size: 15px; color: var(--ink-2); border-left: 4px solid var(--coral); padding: 2px 0 2px 14px; }
.price-note b { color: var(--ink); }
.price-card .ticks { margin-top: 0; }
.price-card .btn { margin-top: 4px; }
.price-calc { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.price-calc h3 { font-size: 22px; font-weight: 600; color: var(--honey); }
.price-calc label { font-weight: 600; }
.price-calc output { font-family: var(--display); font-size: 1.25em; color: var(--honey); }
.price-calc input[type=range] { width: 100%; accent-color: var(--coral); height: 28px; }
.price-calc dl { margin: 6px 0 0; display: grid; gap: 10px; }
.price-calc dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 16.5px; color: #cfd6e4; }
.price-calc dd { margin: 0; font-variant-numeric: tabular-nums; }
.price-calc .total { border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; color: #fff; font-family: var(--display); font-weight: 600; font-size: 21px; }
.price-calc .total dd { font-size: 30px; color: var(--honey); }
.price-contact { background: rgba(255,255,255,.08); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.price-contact[hidden] { display: none; }
.price-contact p { color: #fff; font-size: 15.5px; }
.price-contact .btn { background: var(--coral); color: var(--ink); box-shadow: 0 4px 0 #b84a55; }
.price-contact .btn:hover { box-shadow: 0 6px 0 #b84a55; }
.price-calc .fine { font-size: 13.5px; color: #aab4c8; margin-top: auto; }
@media (max-width: 860px) { .price-wrap { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 600; font-size: 20px; padding: 18px 40px 18px 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--rose); transition: transform .15s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 62ch; }

/* ---------- closing ---------- */
.closing { text-align: center; padding: 0 clamp(16px, 4vw, 48px) clamp(64px, 9vw, 120px); max-width: 860px; margin: 0 auto; }
.closing img { margin: 0 auto 10px; width: 150px; }
.closing h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; }
.closing h2 .script { font-size: 1.12em; white-space: normal; }
.closing p { color: var(--ink-2); margin: 18px auto 28px; max-width: 34em; font-size: 18px; }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
footer a { color: var(--ink-2); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; translate: 0 14px; transition: opacity .5s ease, translate .5s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { order: -1; width: min(86%, 400px); }
  .brands { grid-template-columns: 1fr; }
  .brand-stack { height: 280px; max-width: 420px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { width: 52px; height: 52px; }
  .wordmark { font-size: 21px; }
  .btn.small { padding: 9px 15px; font-size: 14px; }
  .nav { gap: 8px; }
  .signin { padding: 8px 8px; font-size: 14px; }
  .brand .wordmark { display: none; }
  .sticker { font-size: 12px; padding: 7px 12px; box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(7, 24, 50, .16); }
  .s1 { left: -8%; } .s2 { right: -9%; } .s3 { left: -10%; }
  .day { border-radius: 30px 30px 0 0; }
  .timeline::before { left: 9px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 38px; }
  .timeline li::before { left: 0; top: 4px; }
  .timeline time { text-align: left; grid-row: auto; padding: 0 0 2px; color: var(--rose); }
  .timeline p { grid-column: 1; }
  .control { border-radius: 30px; }
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot, .sticker { animation: none; }
  .btn { transition: none; }
}

/* Header: links never wrap onto two lines; the section links drop out before they would have to. */
.nav nav a, .signin, .nav .btn { white-space: nowrap; }
.nav nav { gap: clamp(14px, 2vw, 26px); }
@media (max-width: 1120px) { .nav nav { display: none; } }
