/* Tools, Custom work, About, Inbox Workshop. Kit tokens only; no glow, no gradients. */

.page-head { padding: 48px 0 56px; }
@media (min-width: 720px) { .page-head { padding: 72px 0 56px; } }   /* was 80 at the bottom: short intros left a big gap (design check 19) */
.ss .page-h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 20px; }
.ss .page-h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 28px; }
.ss .page-line { font-size: 18px; line-height: 1.5; color: var(--ss-text); max-width: 40em; margin: 0 0 20px; }
.ss .page-body { color: var(--ss-text-2); max-width: 52ch; margin: 0 0 28px; }
.ss .prose p { color: var(--ss-text-2); font-size: 17px; line-height: 1.6; max-width: 60ch; margin: 0 0 16px; }
.ss .prose p:first-child { color: var(--ss-text); }

/* Cards */
.card-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
  .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
.pcard { padding: 24px; }
.ss .pcard h3 { margin: 0 0 10px; }
.ss .pcard p { color: var(--ss-text-2); margin: 0; font-size: 15px; line-height: 1.55; }
.ss .pcard .ss-label { margin: 0 0 8px; color: var(--ss-text-2); }
.ss .pcard .plan-price { font-size: 15px; color: var(--ss-text); margin: 0 0 10px; }

/* Custom work: examples in each kind card */
.kind { display: flex; flex-direction: column; }
.ss .pcard .kind-label { max-width: none; margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--ss-line); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ss-text-3); }
.kind-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kind-list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--ss-text); }
/* Desktop: the three cards share one set of rows (subgrid), so the "Things we've built" lines sit at the same height
   in every card however long each description is (Shrav, 2026-10-11). */
@media (min-width: 860px) {
  @supports (grid-template-rows: subgrid) {
    .card-grid.three > .kind { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  }
}
.kind-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--rc, var(--ss-accent)); }

/* Closing block. The rings (_rings.html) are styled in site.css; this is only where they sit. */
.closing { position: relative; overflow: hidden; }
.closing-inner { position: relative; z-index: 1; }
.ss .closing-text { color: var(--ss-text-2); max-width: 52ch; margin: 0 0 28px; }
@media (min-width: 1000px) { .closing .rings { right: -120px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); } }

/* About numbers: 3 x 2 on desktop, 2 x 3 on phones */
.numbers-six { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .numbers-six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; } }
.numbers-six b { display: block; font: 600 32px/1.1 var(--ss-font-head); letter-spacing: -0.02em; color: var(--ss-text); margin-bottom: 6px; }
.numbers-six span { display: block; font-size: 14px; line-height: 1.45; color: var(--ss-text-2); max-width: 24ch; }

/* Inbox Workshop */
.inbox-intro { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .inbox-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; } }
/* ---------- Inbox Workshop (2026-10-12, Shrav's picks A1 / B2 / C1 / D) ---------- */
/* A1: live demo, inbox -> Sheet. Colours per row come from the palette (data-rc -> --rc). */
.iw-demo { display: grid; grid-template-columns: minmax(0, 9fr) 28px minmax(0, 13fr); align-items: stretch; gap: 6px; }
/* The Sheet pane is as tall as the inbox from the start (no jump as rows arrive); empty rows show as faint grid lines */
.iw-pane-sheet { display: flex; flex-direction: column; min-height: 268px; }   /* room for all 6 rows: no jump on phones */
.iw-pane-sheet .iw-grid { flex: 1; background-image: repeating-linear-gradient(to bottom, transparent 0 28px, var(--ss-line) 28px 29px); }
.iw-pane { background: var(--ss-surface); border: 1px solid var(--ss-line-strong); border-radius: var(--ss-r-lg); overflow: hidden; font-size: 12px; }
.iw-pane-h { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--ss-line); font: 500 11px/1 var(--ss-font-mono); color: var(--ss-text-2); }
.iw-pane-h i { width: 8px; height: 8px; border-radius: 50%; background: var(--ss-line-strong); }
.iw-pane-h i:last-of-type { margin-right: 4px; }
.iw-mail { position: relative; padding: 8px 12px 8px 14px; border-bottom: 1px solid var(--ss-line); transition: background .3s; }
.iw-mail:last-child { border-bottom: 0; }
.iw-mail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rc, var(--ss-accent)); opacity: .9; transition: opacity .3s; }
.iw-mail b, .iw-mail span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iw-mail b { font-weight: 600; color: var(--ss-text); }
.iw-mail span { color: var(--ss-text-3); }
.iw-mail.is-read { background: color-mix(in srgb, var(--rc, var(--ss-accent)) 12%, transparent); }
.iw-demo.is-live .iw-mail:not(.is-read)::before { opacity: .25; }
.iw-arrow { color: var(--ss-text-3); display: flex; align-items: center; justify-content: center; }
.iw-sheet { width: 100%; border-collapse: collapse; table-layout: fixed; font: 500 11px/1.3 var(--ss-font-mono); }
.iw-sheet th:nth-child(1) { width: 27%; } .iw-sheet th:nth-child(2) { width: 37%; } .iw-sheet th:nth-child(3) { width: 12%; } .iw-sheet th:nth-child(4) { width: 24%; }
.iw-sheet th { text-align: left; padding: 7px 6px; color: var(--ss-text-2); background: var(--ss-raised); border-bottom: 1px solid var(--ss-line-strong); font-weight: 500; }
.iw-sheet td { padding: 7px 6px; border-bottom: 1px solid var(--ss-line); color: var(--ss-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iw-sheet th + th, .iw-sheet td + td { border-left: 1px solid var(--ss-line); }
.iw-sheet td:first-child { box-shadow: inset 3px 0 0 var(--rc, var(--ss-accent)); }
.iw-sheet tr.is-new td { animation: iw-row .7s ease both; }
@keyframes iw-row { from { opacity: 0; background: color-mix(in srgb, var(--rc, var(--ss-accent)) 30%, transparent); } 40% { opacity: 1; } to { background: transparent; } }
.iw-count { padding: 7px 10px; font-size: 11px; color: var(--ss-text-3); border-top: 1px solid var(--ss-line); }
.iw-demo-wrap .page-motion { margin-top: 4px; }
@media (max-width: 559px) { .iw-demo { grid-template-columns: minmax(0, 1fr); } .iw-arrow { transform: rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .iw-sheet tr.is-new td { animation: none; } }
/* D: "works well for" chips (the steps above use the shared .how look in site.css) */
.ss .iw-uses-h { margin: 48px 0 16px; }
.iw-uses { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.iw-uses li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ss-line-strong); border-radius: var(--ss-r-pill); font-size: 14px; color: var(--ss-text); }
.iw-uses li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rc, var(--ss-accent)); }
/* B2: you bring -> you get */
.iw-flow { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 900px) { .iw-flow { grid-template-columns: minmax(0, 4fr) auto minmax(0, 8fr); } }
.iw-flow-card { padding: 24px; }
.ss .iw-flow-h { margin: 0 0 18px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ss-text-2); }
.iw-flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--ss-text-3); }
@media (max-width: 899px) { .iw-flow-arrow svg { transform: rotate(90deg); } }
/* C1: plans with a colour bar, the price in that colour, and ticks */
.iw-plan { position: relative; overflow: hidden; }
.iw-plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rc, var(--ss-accent)); }
.ss .iw-plan .plan-price { color: var(--rc, var(--ss-accent)); font-weight: 600; }
.iw-ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.iw-ticks li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.45; color: var(--ss-text); }
.iw-ticks li::before { content: ""; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: color-mix(in srgb, var(--rc, var(--ss-accent)) 20%, transparent); }
.iw-ticks li::after { content: ""; position: absolute; left: 7px; top: 4px; width: 4px; height: 8px; border: solid var(--rc, var(--ss-accent)); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plans-btn { margin-top: 32px; }

/* Tools header with orbit map */
.tools-head { padding: 48px 0 24px; overflow: hidden; }
.tools-head-inner { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .tools-head { padding: 64px 0 40px; } .tools-head-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; } }
.tools-orbit-wrap { position: relative; }
.tools-orbit { height: 340px; width: 100%; }
@media (min-width: 900px) { .tools-orbit { height: 420px; } }
@media (max-width: 479px) { .tools-orbit { height: 300px; } }
