/* Plan step layout and plan cards. */

/* minmax(0,1fr), not 1fr: a wide table must scroll inside its own box, never widen the sheet past the window. */
/* The long read gets the room: left column steps back to 30% (same move as Watch it work) and the sheet widens to
   ~860px so the three-plan table fits without scrolling on a laptop. */
@media (min-width:901px){body.longread .split{grid-template-columns:minmax(300px,30%) minmax(0,1fr)}body.longread .left h1{font-size:34px;line-height:1.15}
  body.longread .rbody{max-width:880px}
  /* A long page must not push Continue off-screen: the sheet is pinned to the viewport and only the body scrolls. */
  body.longread .right{height:100dvh;position:sticky;top:0}}

/* Legend reads as a note to us, not product copy: smaller and muted, so the eye skips it once learned. */
/* Plan cards: the familiar pricing-page shape, because people already know how to
   read it: name → tagline → price → one button → what you get. Hairline columns, not boxes, same as ChatGPT. */
/* Plumb: 12 shared row tracks (name, tagline, price, button, 4 specs, 3 features, note). Each card spans all of them
   through subgrid, so a row that wraps in one card grows that row in all three and every line stays level. */
.pcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(5,auto);column-gap:32px;margin:4px 0 8px}
/* Equal columns: the gap does the spacing and the hairline sits in the middle of it, so all three columns are the same
   width (padding on inner cards only made Plus narrower). */
.pcard{position:relative;display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;padding:18px 0 16px}
.pcard+.pcard::before{content:"";position:absolute;left:-16px;top:0;bottom:0;width:1px;background:var(--line)}
.pcard h3{font:400 30px/1.1 var(--serif);margin:0}
.pc-tag{margin:6px 0 0;color:var(--ink2);line-height:1.3}
/* Price is the one big number in the card; serif matches the app's display face instead of ChatGPT's heavy sans. */
.pc-pr{margin:16px 0 14px;display:flex;align-items:baseline;gap:6px}.pc-pr b{font:400 44px/1 var(--serif)}.pc-pr small{color:var(--mute);font-size:13px}
/* One black pill per card, like ChatGPT. The chosen plan inverts to outline + "Selected" so choice reads without colour. */
.pc-btn{min-height:44px;height:auto;padding:8px 14px;line-height:1.25;white-space:normal;border-radius:999px;background:var(--ink);color:var(--sheet);font-weight:600;font-size:14.5px;width:100%;margin-bottom:10px}
.pc-btn:hover{opacity:.92}.pcard.on .pc-btn{background:var(--sheet);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
/* Specs read like a spec sheet: small muted label over the value, a hairline under each. Same label in every card, so
   the eye reads straight across to compare: the only thing that changes between plans is the value. */
.pc-spec{display:flex;flex-direction:column;gap:2px;padding:11px 0;border-bottom:1px solid var(--line)}
.pc-spec span{font-size:12px;color:var(--mute);letter-spacing:.01em}
.pc-spec b{font-weight:600;font-size:14.5px;line-height:1.35;color:var(--ink)}
/* Features are identical on every plan and say so by repeating on the same lines; checks mark facts, not a pitch. */
.pc-feat{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.4;color:var(--ink2);padding:6px 0}
.pc-feat.first{padding-top:14px}
.pcard .ck{flex:none;margin-top:1px;color:var(--ink2)}
.pc-note{margin:14px 0 0;font-size:12.5px;color:var(--mute);line-height:1.45;align-self:start}
.pc-more{color:var(--mute);text-decoration:underline;text-underline-offset:2px;font-size:12.5px}
.pc-more:hover{color:var(--ink)}
/* The monthly figure sits under the weekly one, quieter: people think about help by the week, the bill is monthly. */
.pc-spec b small{display:block;font-weight:400;font-size:12.5px;color:var(--mute);margin-top:1px}

/* ===== Fit the plan chart on one screen (a 16:9 monitor) =====
   Why each change: the plan step is now ONLY the chart, so the left column steps back to 24% and the sheet widens to
   1180px. Four cards at 168px wrapped every value onto two lines ("24/7, including / weekends"); at ~250px each value
   is one line, which removes most of the height. The vertical rhythm is then tightened so the full chart plus the
   sticky Hire bar fits a 1366×657 laptop viewport, the smallest common one. */
@media (min-width:901px){
  body.longread .split{grid-template-columns:minmax(260px,24%) minmax(0,1fr)}
  body.longread .left h1{font-size:30px}
  body.longread .rbody{max-width:1400px;padding:12px 48px 16px}
  body.longread .rbody h2{margin:0 0 4px}
  body.longread .rbody .lead{margin:0 0 8px;max-width:none}
  body.longread .pcards{column-gap:32px;margin:0}
  body.longread .pcard{padding:6px 0 4px}
  body.longread .pc-pr{margin:8px 0 10px}body.longread .pc-pr b{font-size:38px}
  body.longread .pc-btn{min-height:40px;margin-bottom:4px}
  body.longread .pc-spec{padding:7px 0}
  body.longread .pc-feat{padding:3px 0;font-size:13.5px}body.longread .pc-feat.first{padding-top:10px}
  body.longread .pc-note{margin:8px 0 0}
}

/* Shared rows, said once, laid on the SAME 4 columns and gap as the cards so every item stays inside one plan's column
   and never crosses a hairline. Flow is column-first: 2 items per column, so no column is left empty. */
/* "Every plan includes" must read as a heading, not a caption. Same serif and ink as the plan names,
   one step smaller so the four plans still lead; a darker rule above marks the start of a new section. */
.pc-same{margin:16px 0 0;padding:14px 0 0;border-top:1.5px solid var(--ink)}
.pc-same-h{margin:0 0 6px;font:400 26px/1.1 var(--serif);color:var(--ink);letter-spacing:0}
.pc-same ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,auto);grid-auto-flow:column;column-gap:32px;row-gap:6px}
.pc-same li{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.4;color:var(--ink2);min-width:0}.pc-same li span{min-width:0}.pc-same .ck{flex:none;margin-top:1px;color:var(--ink2)}
/* "Most people" replaces Plus's old note: a small tag beside the name, so it doesn't add a row. */
.pc-pick{font:600 11px/1 var(--sans);font-style:normal;vertical-align:middle;margin-left:6px;padding:4px 8px;border-radius:999px;background:var(--ink);color:var(--sheet)}
/* Short laptop screens (≤700px tall, e.g. 1366×657, 1280×640): the section heading and its rule must still fit with
   the four cards and no scroll, so the card rhythm tightens here only. Taller screens keep the roomier spacing. */
@media (min-width:901px) and (max-height:700px){
  body.longread .rtop{height:48px}
  body.longread .rbody{padding-top:4px}
  body.longread .pc-pr{margin:6px 0 8px}body.longread .pc-pr b{font-size:34px}
  body.longread .pc-spec{padding:5px 0}
  .pc-same{margin-top:12px;padding-top:10px}
}

/* ===== The $10 plan: a fifth card after the four (use your own AI service) =====
   Phone: it stacks like the others. Desktop: it spans the full row under the four, with the plan on the left, the five services in
   the middle and what's included on the right. The services are always shown, so picking one moves nothing. */
.pc-svc{display:grid;gap:8px;margin:2px 0 6px}
.pc-sv{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 14px;border-radius:14px;text-align:left;font-size:14.5px;line-height:1.25;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line2);background:var(--sheet)}
.pc-sv:hover{box-shadow:inset 0 0 0 1px var(--ink2)}
.pc-sv.on{box-shadow:inset 0 0 0 2px var(--ink)}
.pc-lg{flex:none;width:22px;height:22px;display:grid;place-items:center;color:var(--ink2)}.pc-lg img{width:20px;height:20px;border-radius:5px;object-fit:contain}
.pc-byk{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:2px}
.pc-byk li{display:flex;gap:12px;align-items:flex-start;padding:6px 0;font-size:15px;line-height:1.4;color:var(--ink)}.pc-byk .ck{flex:none;margin-top:1px;color:var(--ink)}
.pbyok .pc-note{margin:6px 0 0}

/* ===== Layout of the plan step  =====
   The four plans always sit side by side down to 640px wide, so a landscape phone or a small tablet shows every plan's name,
   price and button at once. Below 640px the plans stack as short boxed cards (name and price on one row, then the button, then
   two facts), so two plans fit on a portrait phone. The facts shared by every plan are said once, under the plans. */
.pc-specs{display:flex;flex-direction:column}
.pcard.pbyok{grid-column:1/-1;grid-row:auto;grid-template-rows:auto;display:grid}
.pbyok .pc-svc{margin:0}
@media (min-width:901px){
  .pcard.pbyok{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);grid-template-rows:repeat(4,auto) 1fr;column-gap:32px;align-items:start;margin-top:8px;border-top:1.5px solid var(--ink);padding:14px 0 6px}
  .pcard.pbyok::before{display:none}
  .pbyok h3,.pbyok .pc-tag,.pbyok .pc-pr,.pbyok .pc-btn{grid-column:1}
  .pbyok .pc-svc{grid-column:2;grid-row:1/span 5;gap:6px}.pbyok .pc-sv{min-height:40px;padding:6px 14px}
  .pbyok .pc-byk{grid-column:3;grid-row:1/span 4;margin:0}.pbyok .pc-byk li{padding:3px 0;font-size:14px}
  .pbyok .pc-note{grid-column:3;grid-row:5;margin-top:4px}
  .pbyok .pc-pr{margin:8px 0 10px}.pbyok .pc-pr b{font-size:38px}
  body.longread .pc-spec{padding:4px 0}
  body.longread .pc-same{margin-top:12px}
}
@media (max-width:900px){
  .pcards{column-gap:20px;margin:0 0 4px}
  .pcard{padding:6px 0 10px}.pcard+.pcard::before{left:-10px}
  .pcard h3{font-size:25px}
  .pc-tag{font-size:13.5px;margin-top:4px}
  .pc-pr{margin:10px 0 10px}.pc-pr b{font-size:34px}.pc-pr small{font-size:12.5px}
  .pc-btn{min-height:44px;padding:6px 10px;font-size:14px;margin-bottom:8px}
  .pc-spec{padding:6px 0}.pc-spec b{font-size:14px}
  .pc-pick{margin-left:4px;padding:3px 7px;font-size:10.5px}
  .pc-same{margin-top:14px;padding-top:12px}.pc-same-h{font-size:22px}
  .pc-same ul{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto);column-gap:24px}
  .pcard.pbyok{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:20px;align-items:start;margin-top:6px;border-top:1.5px solid var(--ink);padding:12px 0 6px}
  .pcard.pbyok::before{display:none}
  .pbyok h3,.pbyok .pc-tag,.pbyok .pc-pr,.pbyok .pc-btn{grid-column:1}
  .pbyok .pc-svc{grid-column:2;grid-row:1/span 4;gap:6px}.pbyok .pc-sv{min-height:40px;padding:6px 12px}
  .pbyok .pc-byk{grid-column:1/-1;margin:4px 0 0}
  .pbyok .pc-note{grid-column:1/-1}
}
@media (max-width:639px){
  .pcards{grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:10px}.pcard+.pcard::before{display:none}
  .pcard,.pcard:first-child{grid-row:auto;grid-template-rows:none;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding:14px 16px 14px;border:1px solid var(--line);border-radius:18px;background:var(--sheet)}
  .pcard.on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
  .pcard h3{grid-column:1;grid-row:1;font-size:26px}
  .pc-tag{grid-column:1;grid-row:2;margin:2px 0 0}
  .pc-pr{grid-column:2;grid-row:1/span 2;align-self:center;margin:0}.pc-pr b{font-size:36px}
  .pc-btn{grid-column:1/-1;margin:10px 0 0}
  .pc-specs{grid-column:1/-1;flex-direction:row;gap:16px;margin-top:8px}
  .pc-spec{flex:1 1 0;min-width:0;padding:0;border:0;gap:0}.pc-spec b{font-size:13.5px}
  .pcard.pbyok,.pcard.pbyok:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid var(--line);border-radius:18px;padding:14px 16px;margin-top:0}
  .pcard.pbyok.on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
  .pbyok h3,.pbyok .pc-tag{grid-column:1}.pbyok .pc-pr{grid-column:2;grid-row:1/span 2}
  .pbyok .pc-btn{grid-column:1/-1;grid-row:3}
  .pbyok .pc-svc{grid-column:1/-1;grid-row:4;margin:10px 0 0}
  .pbyok .pc-byk{grid-column:1/-1;grid-row:5}
  .pbyok .pc-note{grid-column:1/-1;grid-row:6}
  .pc-same{margin-top:16px}.pc-same ul{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
}
/* Short screens (a landscape phone): the heading, lead and pay bar take less height so the plans start higher. */
@media (max-width:900px) and (max-height:600px){
  body.longread .rbody h2{font-size:22px;margin:0 0 2px}
  body.longread .rbody .lead{margin:0 0 10px;font-size:14px;line-height:1.4}
  body.longread .rbody{padding-top:2px;padding-bottom:12px}
  body.longread .pc-pr{margin:6px 0 8px}body.longread .pc-pr b{font-size:30px}
  body.longread .pc-btn{min-height:40px;margin-bottom:4px}
  body.longread .pcard{padding-top:2px}
}
/* Buttons keep room for two lines of label at every width, so picking a plan (the label becomes "Selected") never changes a card's height. */
@media (min-width:640px){.pc-btn,body.longread .pc-btn{height:52px;min-height:52px}}
