/* Lush Lane Creators — /how-to-post (recipe R9 · Clean Blue)
   Only this page loads this file. Everything is prefixed hp-.
   The shapes follow the content: the intro sits beside a drawn post with numbered parts (no photos), making a post is a
   set of step cards, free vs paid is two facing cards, the post check is a tear-off ticket, captions are an
   "instead of / try" swap list, the rules are a plain warning list, and the team's part is one line of six stations
   (a rail on phones, two rows of three from 1024px). No motion beyond the site's own hovers. */

/* ---------- Intro: title beside the parts of a post ---------- */
.hp-intro { position: relative; padding: 40px 0 56px; overflow: hidden; isolation: isolate; }
.hp-intro::before {
  /* the recipe's dotted grid, fading out away from the drawn post */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  z-index: -1;
  background-image: radial-gradient(rgba(31, 91, 255, .2) 1.1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 82% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 82% 30%, #000 10%, transparent 75%);
  opacity: .6;
  pointer-events: none;
}
.hp-intro__grid { display: grid; gap: 36px; }
.hp-eyebrow { color: var(--blue-700); font: 600 12px/1.5 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.hp-intro h1 {
  margin-top: 16px;
  max-width: 13em;
  font-size: clamp(2.3rem, 10vw, 4rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.hp-accent { color: var(--blue); }
.hp-lead { margin-top: 20px; max-width: 38rem; color: var(--muted); font-size: 1.06rem; line-height: 1.62; }
.hp-updated { margin-top: 16px; color: var(--muted); font: 600 12px/1.5 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }

/* the drawn post: a white card with grey bars for text and a soft blue media panel; blue pins number the parts */
.hp-anatomy { margin: 0; align-self: center; }
.hp-anatomy__cap { color: var(--blue); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hp-mock {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.hp-mock__head { display: flex; align-items: center; gap: 10px; }
.hp-mock__avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--grad); }
.hp-mock__lines { display: grid; gap: 6px; flex: 1; }
.hp-mock__lines span, .hp-mock__caption > span:not(.hp-pin) { display: block; height: 8px; border-radius: 99px; background: var(--bg-3); }
.hp-mock__lines span:first-child { width: 42%; background: var(--border-2); }
.hp-mock__lines span:last-child { width: 26%; }
.hp-mock__media {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 14px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--blue-soft), #dfe9ff 60%, #d7f4ff);
  color: var(--blue);
}
.hp-mock__media .icon { width: 44px; height: 44px; stroke-width: 1.6; opacity: .7; }
.hp-mock__caption { position: relative; display: grid; gap: 7px; margin-top: 14px; padding-right: 40px; }
.hp-mock__caption > span:nth-child(1) { width: 88%; }
.hp-mock__caption > span:nth-child(2) { width: 56%; }
.hp-mock__tools { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.hp-tool { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-2); color: var(--muted); }
.hp-tool .icon { width: 19px; height: 19px; }
.hp-mock__post { margin-left: auto; padding: 9px 16px; border-radius: 10px; background: var(--blue); color: #fff; font: 600 .86rem/1 var(--font-display); }
.hp-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font: 700 .72rem/1 var(--font-display);
  box-shadow: 0 0 0 3px #fff;
}
.hp-tool .hp-pin { top: -9px; right: -9px; }
.hp-pin--media { top: 12px; left: 12px; }
.hp-pin--caption { top: -4px; right: 0; }
.hp-anatomy__key { display: grid; gap: 8px; margin-top: 16px; counter-reset: hp-key; }
.hp-anatomy__key li { position: relative; padding-left: 32px; color: var(--muted); font-size: .94rem; line-height: 1.45; counter-increment: hp-key; }
.hp-anatomy__key li::before {
  content: counter(hp-key);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font: 700 .72rem/1 var(--font-display);
}
.hp-anatomy__key strong { color: var(--text); font-weight: 600; }
@media (min-width: 560px) {
  .hp-anatomy__key { grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (min-width: 900px) {
  .hp-intro { padding: 72px 0 88px; }
  .hp-intro__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 64px; align-items: center; }
  .hp-lead { font-size: 1.14rem; }
  .hp-mock { padding: 20px; }
}

/* ---------- Step by step: numbered cards, two or three across on wide screens ---------- */
.hp-steps { display: grid; gap: 14px; counter-reset: hp-step; }
.hp-steps li {
  position: relative;
  padding: 20px 20px 22px 70px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  counter-increment: hp-step;
}
.hp-steps li::before {
  content: counter(hp-step);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font: 700 1rem/1 var(--font-display);
}
.hp-steps__tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hp-steps__tag--soft { background: var(--blue-soft); color: var(--blue-700); }
.hp-steps__tag--dark { background: var(--text); }
.hp-steps h3 { margin-top: 10px; font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; }
.hp-steps p:not(.hp-steps__tag) { margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.hp-steps li:last-child { border-color: var(--blue-line); background: var(--blue-soft); }
.hp-steps li:last-child::before { background: var(--text); }
@media (min-width: 760px) { .hp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hp-steps li:last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .hp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* ---------- Free or paid: two facing cards ---------- */
.hp-compare { display: grid; gap: 18px; max-width: 980px; margin-inline: auto; }
.hp-side { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.hp-side__head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; background: var(--blue-soft); color: var(--blue-700); font: 700 1.2rem/1.2 var(--font-display); letter-spacing: -.02em; }
.hp-side--paid { border-color: var(--blue-line); box-shadow: var(--shadow); }
.hp-side--paid .hp-side__head { background: var(--grad-deep); color: #fff; }
.hp-side dl { display: grid; padding: 6px 22px 10px; }
.hp-side dl > div { padding: 14px 0; }
.hp-side dl > div + div { border-top: 1px solid var(--border); }
.hp-side dt { color: var(--blue); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hp-side dd { margin: 4px 0 0; color: var(--text); font-size: .98rem; line-height: 1.5; }
@media (min-width: 760px) { .hp-compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.hp-note { margin: 22px auto 0; max-width: 44rem; color: var(--muted); font-size: .96rem; text-align: center; }
.hp-note--left { margin-inline: 0; max-width: none; text-align: left; }

/* ---------- Posts that bring fans in: copy beside a tear-off ticket ---------- */
.hp-check { display: grid; gap: 32px; }
.hp-check__copy h2 { font-size: clamp(2rem, 8.4vw, 3.1rem); line-height: 1.07; letter-spacing: -.035em; }
.hp-check__copy p { margin-top: 14px; max-width: 38rem; color: var(--muted); font-size: 1.03rem; }
.hp-ticket {
  position: relative;
  padding: 24px 22px 10px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.hp-ticket::before, .hp-ticket::after {
  /* the two notches of a tear-off ticket, cut out with the section's tint */
  content: "";
  position: absolute;
  top: 58px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--blue-line);
  border-radius: 50%;
  background: var(--bg-2);
}
.hp-ticket::before { left: -10px; clip-path: inset(0 0 0 50%); }
.hp-ticket::after { right: -10px; clip-path: inset(0 50% 0 0); }
.hp-ticket__title { padding-bottom: 18px; border-bottom: 2px dashed var(--border-2); font: 700 1.24rem/1.2 var(--font-display); letter-spacing: -.02em; }
.hp-ticket li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 14px 0; color: var(--muted); line-height: 1.45; }
.hp-ticket li + li { border-top: 1px solid var(--border); }
.hp-ticket li strong { color: var(--text); font-weight: 600; }
.hp-ticket .icon { width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 6px; border: 1.5px solid var(--blue); color: var(--blue); stroke-width: 3; }
@media (min-width: 900px) {
  .hp-check { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; }
  .hp-ticket { padding: 28px 30px 12px; }
  .hp-ticket::before, .hp-ticket::after { top: 64px; }
}

/* ---------- Prose sections: one readable column ---------- */
.hp-prose { max-width: 760px; }
.hp-prose h2 { font-size: clamp(2rem, 8.4vw, 3.1rem); line-height: 1.07; letter-spacing: -.035em; }
.hp-prose > p { margin-top: 14px; color: var(--muted); font-size: 1.03rem; }

/* captions: "instead of / try" pairs */
.hp-swap { margin: 26px 0 8px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.hp-swap__label, .hp-swap li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.hp-swap__label { background: var(--bg-3); border-bottom: 1px solid var(--border); color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hp-swap__label span, .hp-swap li span { padding: 12px 18px; }
.hp-swap li + li { border-top: 1px solid var(--border); }
.hp-swap li span:first-child { color: var(--dim); text-decoration: line-through; text-decoration-color: var(--border-2); }
.hp-swap li span:last-child { border-left: 1px solid var(--border); color: var(--text); font-family: var(--font-display); font-weight: 500; }
.hp-swap__label span:last-child { border-left: 1px solid var(--border); color: var(--blue-700); }
@media (max-width: 559px) { .hp-swap__label span, .hp-swap li span { padding: 12px 14px; } }
.hp-swap__note { padding: 10px 18px; border-top: 1px dashed var(--border-2); color: var(--dim); font-size: .82rem; }

/* rules: a plain warning list */
.hp-rules { margin-top: 22px; border-top: 1px solid var(--border); }
.hp-rules li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--muted); line-height: 1.5; }
.hp-rules li strong { color: var(--text); font-weight: 600; }
.hp-rules .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--blue); }

/* ---------- Scheduling: copy beside a link card to the timing guide ---------- */
.hp-sched { display: grid; gap: 28px; }
.hp-sched h2 { font-size: clamp(2rem, 8.4vw, 3.1rem); line-height: 1.07; letter-spacing: -.035em; }
.hp-sched p { margin-top: 14px; max-width: 38rem; color: var(--muted); font-size: 1.03rem; }
.hp-next-card {
  display: grid;
  gap: 10px;
  align-self: center;
  padding: 24px 24px 22px;
  border-radius: var(--radius);
  background: var(--grad-deep);
  color: #fff;
  box-shadow: var(--shadow-blue);
  transition: transform .2s var(--ease);
}
.hp-next-card__label { color: rgba(255, 255, 255, .78); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hp-next-card__title { font: 700 1.36rem/1.2 var(--font-display); letter-spacing: -.02em; }
.hp-next-card__go { display: inline-flex; align-items: center; gap: .5em; margin-top: 6px; font: 600 .96rem/1 var(--font-display); }
.hp-next-card__go .icon { transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .hp-next-card:hover { transform: translateY(-2px); }
  .hp-next-card:hover .hp-next-card__go .icon { transform: translateX(3px); }
}
@media (min-width: 900px) {
  .hp-sched { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; }
  .hp-next-card { padding: 30px 30px 28px; }
}

/* ---------- The team's part: six stations on one line ---------- */
.hp-line { position: relative; display: grid; gap: 0; counter-reset: hp-line; }
.hp-line li { position: relative; padding: 0 0 26px 52px; counter-increment: hp-line; }
.hp-line li::before {
  content: counter(hp-line);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue-700);
  font: 700 .95rem/1 var(--font-display);
}
.hp-line li::after {
  /* the lane between stations, dashed like the road on the logo's lane */
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 0;
  border-left: 2px dashed var(--blue-line);
}
.hp-line li:last-child::after { display: none; }
.hp-line li:first-child::before, .hp-line li:last-child::before { background: var(--blue); color: #fff; }
.hp-line__who { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-700); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hp-line h3 { margin-top: 8px; font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; }
.hp-line p:not(.hp-line__who) { margin-top: 6px; max-width: 30rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (min-width: 1024px) {
  .hp-line { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
  .hp-line li { padding: 52px 0 0; }
  .hp-line li::after { left: 40px; right: -28px; top: 16px; bottom: auto; border-left: 0; border-top: 2px dashed var(--blue-line); }
  .hp-line li:nth-child(3n)::after { display: none; }
}
.hp-next { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .98rem; }
.hp-next a { color: var(--blue-700); font-weight: 500; text-decoration: underline; text-decoration-color: var(--blue-line); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .hp-next a:hover { text-decoration-color: var(--blue); } }

/* ---------- Closer: the homepage's panel, with room above it ---------- */
.hp-closer { padding-top: 80px; }
@media (min-width: 1024px) { .hp-closer { padding-top: 112px; } }

/* the footer's legal line carries the page links here */
.footer__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2); }
.footer__legal a:hover { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .hp-next-card, .hp-next-card__go .icon { transition: none; }
}
