/* The pages of the 30-Day Puppy Plan on easynowdog.com: /plan (the sales page), /terms, /refunds and the longer /privacy.
   Loaded after site.css and built from its tokens and classes (header, .hero, .side, .formcard, .details, .inside,
   .card, .prose, .btn, .sticker, footer). Only what those pages add lives here.
   The site's Content-Security-Policy allows no inline styles, so every rule is in this file. */

/* ---------- every page that loads this file ---------- */
.msg.ok { display:block; background:#E6F3FC; color:var(--plum); border:2px solid var(--sky); }
button.alt { background:var(--butter); color:var(--plum); }
button.alt:hover { background:#F9D55A; }

/* Long-text pages (/terms, /refunds, /privacy) */
.prose h3 { margin:16px 0 4px; font:800 1.05rem/1.25 var(--body); }
.prose .box { background:var(--butter); border-radius:14px; padding:12px 16px; margin:14px 0; font-weight:600; }
.prose .box p { margin:6px 0; }
.prose .pagelinks { margin:22px 0 0; font-weight:700; }
.prose ol { margin:8px 0; padding-left:22px; }

/* Phones narrower than 375px: the name and the sticker in the header each stay on one line. */
@media (max-width: 374px) {
  header .lock { gap:8px; font-size:1.4rem; white-space:nowrap; }
  header .lock img { width:40px; height:40px; }
  header .sticker { font-size:12.5px; padding:7px 11px 8px; white-space:nowrap; }
}

/* ---------- /plan: the first screen ---------- */
/* Grid children may shrink below their content (the row of phone screens is wider than a phone on purpose). */
main.plan > * { min-width:0; }
/* The buy card is a .formcard with no guide cover on top of it. */
.formcard.buy { padding:22px 20px 18px; }
.buy h2 { margin:0 0 6px; }
.buy .what { margin:0 0 16px; font-weight:700; }
.price { display:flex; align-items:center; gap:18px; margin:0 0 16px; font:800 1.1rem/1.3 var(--body); }
.price .amt { flex:none; font:800 2.4rem/1 var(--disp); background:var(--butter); border:3px solid var(--plum); border-radius:var(--wob);
  padding:8px 16px 10px; transform:rotate(-3deg); box-shadow:4px 4px 0 var(--plum); }
.buy .fine { text-align:left; }

/* ---------- /plan: the sections under the first screen ---------- */
.sec { margin:0 0 46px; scroll-margin-top:16px; }
.sec:last-child { margin-bottom:10px; }
.sec > h2 { margin:0 0 14px; font:800 clamp(1.7rem, 6vw, 2.2rem)/1.08 var(--disp); text-wrap:balance; }
.sec p { margin:0 0 12px; max-width:62ch; }
.sec .note { color:var(--ink2); font-weight:600; font-size:.95rem; }
.sec .inside { margin-bottom:0; }
.sec .inside li { font-weight:400; }
.inside li b { font-weight:800; }
.sec > .note { margin-top:16px; }
.split { display:grid; gap:22px; }
.split > * { min-width:0; }
.split .pic { display:none; }
.split .pic img { display:block; width:100%; height:auto; }

/* Phone screenshots of the plan. On a phone: one row that scrolls sideways inside itself (the page never does). */
.shots { list-style:none; margin:0 -20px 0 -4px; padding:4px 26px 12px 4px; display:grid; grid-auto-flow:column; grid-auto-columns:62%;
  gap:18px; overflow-x:auto; scroll-snap-type:x proximity; scroll-padding-left:4px; -webkit-overflow-scrolling:touch; }
.shots:focus-visible { outline:3px solid var(--plum); outline-offset:2px; }
.shots li { scroll-snap-align:start; }
.shots figure { margin:0; }
.shots img { display:block; width:100%; height:auto; background:#FFFCF5; border:3px solid var(--plum); border-radius:24px; box-shadow:5px 5px 0 var(--plum); }
.shots figcaption { margin:14px 2px 0; font:700 .95rem/1.35 var(--body); }

/* Step drawings */
.art { list-style:none; margin:22px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; }
.art figure { margin:0; }
.art img { display:block; width:100%; height:auto; }
.art figcaption { margin-top:-4px; text-align:center; font:700 .9rem/1.3 var(--body); color:var(--ink2); }

/* One real card of the plan, drawn the way the plan draws it. */
.daycard { background:var(--white); border:3px solid var(--plum); border-radius:22px; padding:20px 18px 18px; box-shadow:6px 6px 0 var(--plum); }
.daycard p { margin:0 0 12px; max-width:none; }
.daycard .head { display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:center; margin:0 0 18px; }
.daycard .num { width:74px; height:74px; border-radius:50%; background:var(--coral); border:3px solid var(--plum); box-shadow:3px 3px 0 var(--plum);
  display:grid; place-content:center; text-align:center; color:#fff; font-family:var(--disp); font-weight:800; transform:rotate(-5deg); }
.daycard .num i { display:block; font-style:normal; font-size:.8rem; line-height:1; }
.daycard .num b { display:block; font-size:1.9rem; line-height:.95; }
.daycard h3 { margin:0 0 4px; font:800 1.35rem/1.12 var(--disp); text-wrap:balance; }
.daycard .mins { margin:0; color:var(--ink2); font-weight:700; font-size:.95rem; }
.daycard h4 { margin:18px 0 10px; font:800 1.15rem/1.2 var(--disp); }
.pill { display:inline-block; background:var(--plum); color:var(--butter); font:800 .95rem/1 var(--disp); padding:6px 12px 7px; border-radius:999px; transform:rotate(-3deg); }
.pill.sky { background:var(--sky); color:var(--plum); transform:none; }
.daycard .goal { background:var(--butter); border-radius:16px; padding:0 16px 12px; margin:28px 0 16px; }
.daycard .goal .pill { position:relative; top:-12px; left:-4px; }
.daycard .goal p { margin:-4px 0 0; font:700 1.08rem/1.4 var(--body); }
.steps { list-style:none; margin:0 0 6px; padding:0; counter-reset:step; display:grid; gap:14px; }
.steps li { counter-increment:step; display:grid; grid-template-columns:38px 1fr; gap:12px; align-items:start; }
.steps li::before { content:counter(step); width:34px; height:34px; border-radius:50%; border:3px solid var(--plum); box-shadow:2px 2px 0 var(--plum);
  display:grid; place-items:center; color:var(--coral-d); background:#fff; font:800 1.05rem/1 var(--disp); }
.daycard .variant { border-left:3px solid var(--plum); border-radius:3px; padding:2px 0 2px 14px; margin:18px 0; }
.daycard .variant p { margin:8px 0 0; }
.daycard .dont { background:#FFE3DF; border-radius:16px; padding:14px 16px 4px; margin:18px 0 16px; }
.daycard .done { border:3px dashed var(--plum); border-radius:16px; padding:2px 16px 14px; margin:18px 0 0; }
.ticks { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.ticks li { display:grid; grid-template-columns:24px 1fr; gap:12px; align-items:start; font-weight:600; }
.ticks li::before { content:""; width:20px; height:20px; margin-top:2px; border:3px solid var(--plum); border-radius:6px; background:#fff; }
.daycard .hard { margin:18px 0 0; padding:12px 16px; background:var(--cream); border-radius:14px; }
.daycard .hard b { font-family:var(--disp); font-weight:800; }

/* "Why Milo's plan looks like this": the plan's own note, as an example. */
.why { background:#FFF1C2; border-radius:20px; padding:20px 18px 18px; }
.why h3 { margin:0 0 12px; font:800 1.3rem/1.15 var(--disp); text-wrap:balance; }
.paws { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.paws li { display:grid; grid-template-columns:24px 1fr; gap:10px; align-items:start; }
.paws li::before { content:""; width:20px; height:20px; margin-top:3px; background:var(--coral);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='5' cy='10' rx='2.6' ry='3.3'/%3E%3Cellipse cx='10' cy='5.2' rx='2.6' ry='3.4'/%3E%3Cellipse cx='15.6' cy='5.6' rx='2.6' ry='3.4'/%3E%3Cellipse cx='20' cy='11' rx='2.5' ry='3.2'/%3E%3Cpath d='M12.3 11.2c-3.4 0-6.6 3.9-6.6 6.9 0 2.2 1.7 3.3 3.5 3.3 1.3 0 2.1-.6 3.1-.6s1.9.6 3.2.6c1.8 0 3.4-1.1 3.4-3.3 0-3-3.2-6.9-6.6-6.9z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='5' cy='10' rx='2.6' ry='3.3'/%3E%3Cellipse cx='10' cy='5.2' rx='2.6' ry='3.4'/%3E%3Cellipse cx='15.6' cy='5.6' rx='2.6' ry='3.4'/%3E%3Cellipse cx='20' cy='11' rx='2.5' ry='3.2'/%3E%3Cpath d='M12.3 11.2c-3.4 0-6.6 3.9-6.6 6.9 0 2.2 1.7 3.3 3.5 3.3 1.3 0 2.1-.6 3.1-.6s1.9.6 3.2.6c1.8 0 3.4-1.1 3.4-3.3 0-3-3.2-6.9-6.6-6.9z'/%3E%3C/svg%3E") center/contain no-repeat; }
.asks { margin:0 0 14px; padding-left:22px; display:grid; gap:4px; font-weight:600; }

/* "What it is not": the same list as .inside, with a cross where the heart is. */
.inside.nots li::before { width:20px; height:20px; margin-top:4px; background:var(--plum);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5L5 19' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5l14 14M19 5L5 19' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* The price, a second time, and the way back in for people who already bought. */
.sec .card { max-width:560px; padding:24px 20px 22px; }
.sec .card .price { margin:18px 0 6px; }
.sec .card ul { margin:14px 0 4px; padding-left:22px; display:grid; gap:6px; font-weight:600; }
.sec .card .fine { text-align:left; margin-top:24px; }
.sec .card h2 { margin:0 0 8px; font:800 1.5rem/1.15 var(--disp); text-wrap:balance; }
.sec .card form { margin-top:14px; }
.sec .card .msg { margin-top:22px; }
.sec .freelink { margin-top:32px; font-weight:600; }
.freelink a { white-space:nowrap; }

.faq { display:grid; gap:20px; }
.faq div { min-width:0; }
.faq h3 { margin:0 0 6px; }
.faq p { margin:0 0 8px; }
.faq p:last-child { margin-bottom:0; }

/* The base layout of site.css (600 to 899px) keeps the form card high with a cover above it. Here there is no cover. */
@media (min-width: 600px) {
  .formcard.buy { padding:26px 24px 20px; max-width:560px; }
  main.plan .lead { margin-top:34px; }
  .shots { margin:0; padding:0 6px 6px 0; grid-auto-flow:row; grid-template-columns:repeat(3, 1fr); gap:24px; overflow:visible; max-width:900px; }
  .art { grid-template-columns:repeat(4, 1fr); gap:6px 18px; max-width:980px; }
  .daycard { padding:26px 26px 24px; max-width:640px; }
  .why { padding:24px 24px 22px; max-width:640px; }
  .faq { grid-template-columns:1fr 1fr; gap:26px 40px; }
}

@media (min-width: 900px) {
  /* Two columns for the first screen only; everything under it runs the full width. */
  main.plan:not(.simple) { grid-template-areas:"hero side" "details details"; grid-template-rows:auto auto; row-gap:64px; align-items:center; }
  main.plan .side { align-self:center; }
  .formcard.buy { padding:30px 28px 24px; }
  .sec { margin-bottom:64px; }
  .split { grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
  .split .pic { display:block; }
  /* Two columns that fill top to bottom, so a long item leaves no hole beside it. */
  .inside.two { display:block; columns:2; column-gap:56px; }
  .inside.two li { break-inside:avoid; margin-bottom:12px; }
  /* The notes beside the example card stay in view while the long card scrolls. */
  .split .beside { position:sticky; top:28px; }
  .faq { gap:30px 64px; }
}
@media (prefers-reduced-motion: reduce) { .price .amt, .pill, .daycard .num { transform:none; } }
