/* guide.css — Stop 50: the opening screen below its first screen (the guide prices, item 6; how your cabinets are
   made, item 7) and the guide prices in Design help. Paper, hairlines and the heading face, as the opening screen
   above it; no motion. */

/* The opening screen is now taller than the window: its first screen keeps the words and the row centred in the
   window, as before (opening.css), and the sections follow it. */
#s-landing.active { justify-content: flex-start; }
.op-first { display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - var(--hdr-h, 64px)); min-height: calc(100dvh - var(--hdr-h, 64px)); }

.op-sec { box-sizing: border-box; width: 100%; max-width: 960px; margin: 0 auto; padding: clamp(40px, 7vh, 72px) 16px 0; }
.op-guide { scroll-margin-top: calc(var(--hdr-h, 64px) + 24px - clamp(40px, 7vh, 72px)); }   /* "Guide prices ↓" brings its heading 24 px under the sticky header */
.op-guide .op-h2:focus { outline: none; }   /* (focused by "Guide prices ↓", for the keyboard's next Tab; a heading is not a control) */

/* Under the opening screen's row (Stop 51 item 17): "Guide prices" and a down arrow, small and quiet, centred — a
   44 px target; shown only with the guide (guide-prices.js). */
.op-next { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; padding: 0 16px;
  position: relative; z-index: 1;   /* (above the row, whose foot room it shares) */
  margin-top: calc(-1 * clamp(8px, 1.2vh, 12px)); }   /* (into the row's own foot room, clear of its names and their bob: on a 390 × 844 phone it stays on the first screen) */
.op-down { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--t-mid); text-decoration: none; }
/* Join early access (Stop 51 item 18): beside it, the gold-edged outline the app uses for a second way on — 44 px. */
.op-early { min-height: 44px; padding: 0 18px; text-decoration: none; }
.op-early:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.op-down[hidden] { display: none; }
.op-down svg { flex: none; transition: transform 0.2s; }
.op-down:hover { color: var(--t-dark); }
.op-down:hover svg { transform: translateY(2px); }
.op-down:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.op-sec:last-of-type { padding-bottom: clamp(40px, 7vh, 72px); }
.op-h2 { margin: 0; text-align: center; font-family: var(--f-head); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; color: var(--t-dark); }
.op-sec-lede { margin: 10px auto 0; max-width: 36em; text-align: center; font-size: 15px; line-height: 1.55; color: var(--t-mid); text-wrap: balance; }

/* The table: finishes down, cabinets across, the figures in one column of tabular numbers. */
.gp { margin-top: 24px; }
.gp-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.gp-table caption { caption-side: top; padding: 0 0 8px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-sub); }
.gp-table th, .gp-table td { padding: 11px 8px; border-bottom: 1px solid var(--b-faint); text-align: right; font-size: 15px; line-height: 1.3; color: var(--t-dark); }
.gp-table thead th, .gp-table thead td { vertical-align: bottom; border-bottom-color: var(--b-light); font-size: 13px; font-weight: 600; color: var(--t-mid); }
.gp-table th:first-child { padding-left: 0; text-align: left; }
.gp-table td:last-child, .gp-table th:last-child { padding-right: 0; }
.gp-table tbody th { font-weight: 500; }
.gp-kits { list-style: none; margin: 20px 0 0; padding: 0; }
.gp-kit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--b-faint); font-size: 15px; line-height: 1.4; }
.gp-kit-name { color: var(--t-dark); }
.gp-kit-range { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--t-dark); }
.gp-note, .gp-wait { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--t-sub); }
.gp-join { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--t-dark); }

/* A phone, and the Design help sheet (400 wide): the same table, closer set. */
@media (max-width: 520px) {
  .gp-table th, .gp-table td { padding: 9px 4px; font-size: 13px; }
  .gp-table thead th { font-size: 12px; }
  .gp-kit { font-size: 14px; }
}
/* How your cabinets are made (item 7): five short points, each its name in the heading face beside its sentence,
   between hairlines; one above the other on a phone. */
.op-points { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--b-light); }
.op-points li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6px 32px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--b-faint); }
.op-pt-t { margin: 0; font-family: var(--f-head); font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--t-dark); }
.op-pt-p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--t-mid); }
@media (max-width: 640px) {
  .op-points li { grid-template-columns: 1fr; padding: 16px 0; }
  .op-pt-t { font-size: 20px; }
  .op-pt-p { font-size: 15px; }
}

/* Prices for members (item 5): "Sign in to see your price", and the way in beside it — Sign in · Early access — in the
   price bar's note, the plan's edit box, the basket and the checkout; underlined, in the text's own colour. */
.price-signin, .price-early { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* The bar's words take their own room (a figure's stand-in is shorter than they are): in the line, not over the note. */
.cta-price.quiet.signin::before { content: none; }
.cta-price.signin .cta-price-words { position: static; transform: none; }
.price-signin:hover, .price-early:hover { text-decoration-thickness: 2px; }
.price-signin:focus-visible, .price-early:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.help-guide { margin: 0 0 18px; padding-top: 16px; border-top: 1px solid var(--b-faint); }
.help-guide .gp { margin-top: 12px; }
.help-guide .gp-table th, .help-guide .gp-table td { padding: 8px 4px; font-size: 13px; }
.help-guide .gp-table thead th { font-size: 12px; }
.help-guide .gp-kit { font-size: 14px; }
