/* spekko.ai features (CORA 10/30): the /features hub and the page per feature. On the home tokens (home.css: ink, mute,
   hairlines, 22px cards, --sec rhythm). One colour per page, --c, from the state Spekko is in for that job: the tag dot, the
   status dots, the rule numbers' bar, the flow line. Text stays ink. Loads after pages.css. */
main { overflow-x: clip; }          /* the shots bleed to the window's edge; never a sideways scroll */
.ft-hero, .hub-hero { padding-block: clamp(20px, 3vw, 36px) clamp(56px, 7vw, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px/1 var(--body); color: var(--mute); margin-bottom: clamp(40px, 6vw, 88px); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.ft-hero-in, .hub-hero, .hub-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ft-tag { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--body); color: var(--ink); margin: 0 0 22px; }
.ft-tag i, .f-st i, .d-next i, .d-ask-t i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--ink)) 20%, transparent); flex: none; }
.ft-hero h1, .hub-hero h1 { font-weight: 700; font-size: clamp(38px, 4.1vw, 58px); line-height: 1.03; letter-spacing: -0.035em; max-width: 17ch; }
.ft-hero .lede, .hub-hero .lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: #464c5a; margin: 22px 0 0; max-width: 40ch; }
.ft-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.ft-cta .btn-ink { margin-top: 0; }
.btn-line { display: inline-flex; font: 600 15px/1 var(--body); color: var(--ink); border: 1px solid rgb(23 19 26 / 18%); border-radius: 999px; padding: 14px 20px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.btn-line:hover { border-color: var(--ink); background: #fff; }
.btn-line:focus-visible, .f-row:focus-visible, .hub-shots a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* the shot: the stage (style.css), cropped at the page's right edge */
.ft-shot { margin: 0 calc(-1 * max(24px, (100vw - 1240px) / 2 + 24px)) 0 0; border-radius: 22px 0 0 22px; overflow: hidden; position: relative;
  box-shadow: 0 2px 4px rgb(23 19 26 / 6%), 0 30px 60px -28px rgb(23 19 26 / 38%); background: #fff; }

/* Try it */
.ft-try, .ft-rules, .ft-flow, .ft-next, .hub-feat, .hub-grp { padding-bottom: var(--sec); }
.ft-try-head { margin-bottom: 28px; }
.ft-try-head h2, .ft-rules h2, .ft-flow h2, .ft-next h2, .hub-grp h2, .hub-feat h2 { font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.ft-try .fine { margin-top: 14px; font-size: 13.5px; }

.demo { --hair2: #eceef3; background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 1px 2px rgb(23 19 26 / 5%), 0 24px 48px -30px rgb(23 19 26 / 30%); font-size: 15px; line-height: 1.5; max-width: 880px; position: relative; }
.demo button { font: inherit; color: inherit; cursor: pointer; }
.demo .pill { cursor: pointer; transition: background-color .15s, border-color .15s, transform .1s; }
.demo .pill:hover { border-color: #c4c7d1; }
.demo .pill.ink:hover { background: #2e2834; }
.demo .pill:active { transform: translateY(1px); }
.demo button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.d-k { display: block; font: 500 12.5px/1 var(--body); color: var(--mute); margin-bottom: 10px; }
.d-hint { color: var(--mute); margin: 0; }
.d-reset { position: absolute; right: 18px; bottom: 14px; border: 0; background: none; color: var(--mute); font-size: 13px !important; text-decoration: underline; text-underline-offset: 3px; }
.d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.d-chips button, .d-seg button { border: 1px solid var(--hair); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 14px !important; transition: border-color .15s, background-color .15s, color .15s; }
.d-chips button:hover, .d-seg button:hover { border-color: #c4c7d1; }
.d-chips button.on, .d-chips [aria-checked="true"], .d-seg [aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.d-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.d-say { display: flex; gap: 10px; align-items: baseline; background: #17131a; color: #fff; border-radius: 12px; padding: 12px 16px; margin-top: 14px; max-width: 560px; }
.d-say b { font: 600 11px/1 var(--mono); letter-spacing: .08em; color: #ffd76a; text-transform: uppercase; flex: none; }
.d-in { animation: d-in .22s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes d-in { from { opacity: 0; transform: translateY(6px); } }
.d-win-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f4f5f8; border-bottom: 1px solid var(--hair2); font-size: 12.5px; color: var(--mute); }
.d-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe1e7; }
.d-win-bar span { margin-left: 8px; }

/* Needs you */
.d-bar { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.d-bar b { font: 700 18px/1 var(--display); letter-spacing: -0.01em; }
.d-bar span { color: var(--mute); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.d-asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.d-ask { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 18px; border: 1px solid var(--hair); border-radius: 12px; padding: 14px 16px; transition: opacity .2s, background-color .2s; }
.d-ask-t { display: flex; gap: 12px; align-items: baseline; }
.d-ask-t i { --c: var(--k); transform: translateY(-2px); }
.d-ask-t b { display: block; font-weight: 600; }
.d-ask-t span { color: var(--mute); font-size: 14px; }
.d-acts { display: flex; gap: 8px; }
.d-ask.is-done { background: #f7f7fa; }
.d-ask.is-done .d-acts { display: none; }
.d-ask .d-done { margin: 0; font-weight: 600; font-size: 14px; }
.d-ask.is-later { opacity: .55; }
.d-clear { margin: 14px 0 0; font-weight: 600; }

/* Do it for me */
.d-req { margin-bottom: 16px; }
.d-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.d-out { border-top: 1px solid var(--hair2); padding-top: 16px; min-height: 120px; }
.d-out ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.d-prog { list-style: none; padding: 0 !important; }
.d-prog li { display: flex; gap: 10px; align-items: center; color: var(--mute); }
.d-prog li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--hair); flex: none; }
.d-prog li.ok { color: var(--ink); }
.d-prog li.ok::before { border-color: var(--c); background: var(--c); box-shadow: inset 0 0 0 2px #fff; }
.d-result { margin: 12px 0 0; font-weight: 600; }
.d-card-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--hair); border-radius: 12px; padding: 14px 16px; margin-top: 4px; }
.d-card-ask .d-k { color: #c21d2f; margin-bottom: 6px; }

/* Skills and routines */
.d-skills { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.d-rt-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.d-rt-h b { font: 700 18px/1.2 var(--display); }
.d-switch { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font-size: 13.5px !important; color: var(--mute) !important; }
.d-switch span { width: 38px; height: 22px; border-radius: 999px; background: var(--ink); position: relative; transition: background-color .18s; }
.d-switch span::after { content: ""; position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .18s cubic-bezier(.2, .8, .2, 1); }
.d-switch[aria-checked="false"] span { background: #cfd2db; }
.d-switch[aria-checked="false"] span::after { left: 3px; }
.d-next { display: flex; align-items: center; gap: 10px; margin: 16px 0 14px; font: 500 14px/1.3 var(--mono); }
.d-skills.paused .d-next { color: var(--mute); }
.d-skills.paused .d-next i { background: #cfd2db; box-shadow: none; }
.d-steps { margin: 0; padding-left: 20px; color: var(--mute); display: grid; gap: 4px; font-size: 14px; }
.d-ready { border-left: 1px solid var(--hair2); padding-left: 22px; }
.d-ready ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.d-ready li { padding: 8px 12px; border-radius: 10px; background: #f7f7fa; }
.d-ready li.on { background: color-mix(in srgb, var(--c) 16%, #fff); font-weight: 600; }

/* Teach mode */
.d-win { border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; max-width: 560px; position: relative; }
.d-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-bottom: 1px solid var(--hair2); }
.d-tools button, .d-save button { border: 1px solid var(--hair); background: #fff; border-radius: 6px; padding: 7px 11px; font-size: 13.5px !important; }
.demo .gold { border-color: #e6b422 !important; box-shadow: 0 0 0 3px rgb(230 180 34 / 28%); animation: d-gold 1.6s ease-in-out infinite; }
@keyframes d-gold { 50% { box-shadow: 0 0 0 6px rgb(230 180 34 / 14%); } }
.d-save { margin: 12px; padding: 12px; border: 1px solid var(--hair); border-radius: 10px; box-shadow: 0 14px 30px -18px rgb(23 19 26 / 40%); }
.d-save b { display: block; margin-bottom: 10px; font-size: 14px; }
.d-save div, .d-check div { display: flex; gap: 8px; }
.d-rows { display: grid; gap: 8px; padding: 14px 12px 18px; }
.d-rows i { height: 10px; border-radius: 5px; background: #eff0f4; }
.d-rows i:nth-child(2n) { width: 72%; }
.d-check { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--hair); border-radius: 12px; max-width: 560px; }
.d-check b { display: block; margin-bottom: 10px; }
.d-check button { border: 1px solid var(--hair); background: #fff; border-radius: 999px; padding: 8px 13px; font-size: 14px !important; }
.d-check button.right { background: color-mix(in srgb, var(--c) 18%, #fff); border-color: var(--c); }

/* What am I looking at? */
.d-screen { position: relative; margin: 16px 0; max-width: 560px; }
.d-w { border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; transition: box-shadow .25s; }
.d-w-b { padding: 16px; }
.d-w-b b { font-weight: 600; }
.d-w-b p { margin: 6px 0 12px; color: var(--mute); font-size: 14px; }
.d-w-btn { display: inline-block; border: 1px solid var(--hair); border-radius: 6px; padding: 6px 12px; font-size: 13px; }
.d-screen.looking .d-w:not([hidden]) { box-shadow: 0 0 0 3px var(--c), 0 0 0 9px color-mix(in srgb, var(--c) 22%, transparent); }
.d-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--mute); font-size: 13.5px; }
.d-press { display: inline-flex; gap: 6px; border: 0; background: none; padding: 0; }
.d-press kbd { font: 600 13px/1 var(--mono); border: 1px solid #cfd2db; border-bottom-width: 3px; border-radius: 7px; padding: 8px 10px; background: #fff; color: var(--ink); }
.d-press:active kbd { border-bottom-width: 1px; transform: translateY(2px); }

/* Chats */
.d-chat { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; }
.d-chat .d-chips { grid-column: 1; }
.d-thread { display: grid; gap: 10px; align-content: start; min-height: 150px; }
.d-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; }
.d-msg.you { justify-self: end; background: #2f6bff; color: #fff; border-bottom-right-radius: 6px; }
.d-msg.him { justify-self: start; background: #f2f3f7; border-bottom-left-radius: 6px; }
.d-typing { justify-self: start; display: flex; gap: 4px; padding: 12px 14px; background: #f2f3f7; border-radius: 16px; }
.d-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a9adb8; animation: d-dot 1s ease-in-out infinite; }
.d-typing i:nth-child(2) { animation-delay: .15s; }
.d-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes d-dot { 50% { transform: translateY(-3px); opacity: .5; } }
.d-mem { grid-column: 2; grid-row: 1 / span 2; border-left: 1px solid var(--hair2); padding-left: 22px; }
.d-mem ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.d-mem li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); font-size: 14px; }
.d-mem li button { border: 0; background: none; color: var(--mute); font-size: 13px !important; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.d-mem .gone { background: #f7f7fa; color: var(--mute); }

/* His own email */
.d-mail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0; padding: 0; overflow: hidden; }
.d-inbox { list-style: none; margin: 0; padding: 10px; border-right: 1px solid var(--hair2); background: #fafafc; }
.d-inbox li { padding: 12px 14px; border-radius: 10px; cursor: pointer; display: grid; gap: 2px; }
.d-inbox li:hover { background: #f1f2f6; }
.d-inbox li[aria-selected="true"] { background: #fff; box-shadow: 0 1px 2px rgb(23 19 26 / 8%), 0 0 0 1px var(--hair); }
.d-inbox b { font-weight: 600; font-size: 14.5px; }
.d-inbox span { color: var(--mute); font-size: 13.5px; }
.d-read { padding: clamp(18px, 2.4vw, 26px); }
.d-read h3 { font: 600 16px/1.3 var(--body); margin: 0 0 4px; }
.d-read .d-from { color: var(--mute); font-size: 13.5px; margin: 0 0 14px; }
.d-tag { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.d-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.d-tag.warn::before { background: #ff3040; }
.d-draft { border: 1px solid var(--hair); border-radius: 12px; padding: 12px 14px; }
.d-draft p { margin: 6px 0 12px; }

/* Talk or text */
.d-talk { display: grid; justify-items: center; background: linear-gradient(180deg, #f7f7fa, #fff); }
.d-phone { width: min(360px, 100%); border: 1px solid var(--hair); border-radius: 28px; padding: 16px; background: #fff; box-shadow: 0 24px 48px -30px rgb(23 19 26 / 35%); }
.d-phone-top { display: grid; justify-items: center; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--hair2); margin-bottom: 12px; }
.d-phone-top span { color: var(--mute); font-size: 12px; }
.d-sms { display: grid; gap: 8px; min-height: 190px; align-content: end; margin-bottom: 12px; }
.d-sms .d-msg { max-width: 82%; }
.d-sms .d-msg.you { background: #2f6bff; }
.d-phone .d-chips button { font-size: 13px !important; padding: 8px 12px; }

/* The morning brief */
.d-brief .d-chips { margin-bottom: 16px; }
.d-card { border: 1px solid var(--hair); border-radius: 14px; padding: 18px; max-width: 560px; background: #fff; }
.d-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.d-lines li { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--hair2); transition: opacity .2s; }
.d-lines li:last-child { border-bottom: 0; }
.d-lines b { font-weight: 600; font-size: 14px; }
.d-lines button { border: 0; background: none; color: var(--mute); font-size: 13px !important; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.d-lines li.less span { font-size: 13px; color: var(--mute); }
.d-lines li.less button { visibility: hidden; }
.d-note { min-height: 22px; margin: 12px 0 0; color: var(--mute); font-size: 14px; }

/* The rules he keeps */
.rules-t { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.rules-t li { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.rules-t .n { font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums; padding-bottom: 8px; border-bottom: 2px solid var(--c); justify-self: start; }
.rules-t .r-h b { display: block; font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; }
.rules-t .r-h span { display: block; color: var(--mute); font-size: 14px; margin-top: 6px; }
.rules-t p { margin: 0; color: #464c5a; font-size: 16px; line-height: 1.6; max-width: 56ch; }
.ft-extra { margin-top: 18px; }

/* How it goes */
.flow { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.flow::before { content: ""; position: absolute; top: 17px; left: 18px; right: 18%; height: 2px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 18%, transparent)); }
.flow li { position: relative; display: grid; gap: 14px; align-content: start; }
.flow span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--mono); background: #fff; border: 2px solid var(--c); color: var(--ink); }
.flow b { font-weight: 600; font-size: 16px; line-height: 1.35; max-width: 16ch; }

/* Keep going, and the hub's rows */
.ft-next-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.ft-all { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.f-rows { border-top: 1px solid var(--hair); }
.f-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 12px 16px 4px; border-bottom: 1px solid var(--hair); text-decoration: none; color: var(--ink); transition: background-color .18s; border-radius: 4px; }
.f-row:hover { background: rgb(255 255 255 / 72%); }
.f-row img { width: 64px; height: auto; transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.f-row:hover img { transform: translateY(-3px) scale(1.04); }
.f-row-t b { display: block; font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; }
.f-row-t span { display: block; color: var(--mute); font-size: 15px; margin-top: 4px; }
.f-st { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.3 var(--mono); font-style: normal; color: var(--mute); text-align: right; }

/* the hub */
.hub-hero { align-items: end; }
.hub-hero .lede { max-width: 34ch; }
.hub-shots { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-right: calc(-1 * max(24px, (100vw - 1240px) / 2 + 24px)); }
.hub-shots a { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 4px rgb(23 19 26 / 6%), 0 24px 48px -28px rgb(23 19 26 / 36%); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.hub-shots a:hover { transform: translateY(-4px); }
.hub-shots .s1 { grid-row: 1 / span 2; }
.hub-shots .ui-stage { height: 100%; aspect-ratio: auto; min-height: 150px; }
.hub-shots .s1 .ui-stage { min-height: 320px; }
.hub-shots .s2, .hub-shots .s3 { border-radius: 18px 0 0 18px; }
.hub-feat { align-items: start; }
.hub-feat .btn-line { margin-top: 26px; }
.hub-grp { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 72px); align-items: start; }
.hub-grp-head { position: sticky; top: 96px; }
.hub-n { display: inline-block; margin-top: 16px; font: 500 13px/1 var(--mono); color: var(--mute); }

@media (max-width: 980px) {
  .ft-hero-in, .hub-hero, .hub-feat, .hub-grp { grid-template-columns: minmax(0, 1fr); }
  .ft-shot, .hub-shots { margin-right: -24px; }
  .hub-grp-head { position: static; }
  .rules-t li { grid-template-columns: 56px minmax(0, 1fr); }
  .rules-t p { grid-column: 2; }
  .d-skills, .d-chat, .d-mail { grid-template-columns: minmax(0, 1fr); }
  .d-ready, .d-mem { border-left: 0; padding-left: 0; grid-column: auto; grid-row: auto; }
  .d-inbox { border-right: 0; border-bottom: 1px solid var(--hair2); }
}
@media (max-width: 720px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flow::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 18%, transparent)); }
  .flow li { grid-template-columns: 36px 1fr; align-items: center; }
  .f-row { grid-template-columns: 52px minmax(0, 1fr); }
  .f-row img { width: 52px; height: auto; }
  .f-st { grid-column: 2; text-align: left; }
  .hub-shots { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hub-shots .s1 { grid-row: auto; }
  .hub-shots .s2, .hub-shots .s3 { display: none; }
  .d-ask { flex-direction: column; align-items: stretch; }
  .d-lines li { grid-template-columns: 70px 1fr; }
  .d-lines button { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .demo .gold, .d-typing i { animation: none; }
  .d-in { animation: none; }
  .f-row img, .hub-shots a, .d-switch span::after { transition: none; }
}

/* ===== Pearl (CORA 10/30, Justin: "MORE PEARL THO THESE ARE FEATURE COLORS ... MORE CORPORATE"). The hero is the sheen,
   the one rule sits on ink, and a feature's colour is only the glow behind Spekko on its stage and tile. */
.ft-hero.sheen { padding-block: clamp(24px, 3vw, 40px) clamp(64px, 8vw, 112px); margin-top: -72px; padding-top: calc(72px + clamp(24px, 3vw, 40px)); }
.ft-hero.sheen + section, .hub-rule + .hub-grp { padding-top: var(--sec); }
.ft-hero h1.slam, .hub-top h1.slam { color: var(--ink); }
.ft-hero.sheen h1 { font-size: clamp(42px, 4.6vw, 68px); max-width: 15ch; }
.ft-shot .ui-stage { border-radius: inherit; }
.page .top { background: rgb(247 248 251 / 82%); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgb(23 19 26 / 6%); }

/* the hub: the claim on the sheen with three stages, the one rule on ink */
.hub-top { padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 104px); margin-top: -72px; padding-top: calc(72px + clamp(32px, 4vw, 56px)); }
.hub-top .hub-hero { padding-block: 0; }
.hub-top h1 { font-size: clamp(46px, 5.4vw, 84px); max-width: 10ch; }
.hub-rule { padding-block: clamp(64px, 8vw, 120px); }
.hub-rule .hub-feat { padding-bottom: 0; }
.hub-rule h2 { font-size: clamp(34px, 3.8vw, 56px); color: #fff; }
.hub-rule .sub { color: rgb(255 255 255 / 70%); }
.hub-rule .ft-tag { color: #fff; }
.hub-rule .ft-tag i { background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 18%); }
.hub-rule .btn-line { color: #fff; border-color: rgb(255 255 255 / 40%); }
.hub-rule .btn-line:hover { background: #fff; color: #17131a; border-color: #fff; }
.hub-rule .demo { color: var(--ink); border-color: transparent; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 70%); }

/* rows: Spekko on a pearl tile, his glow in the feature's colour */
.f-tile { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: end center; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 78%, color-mix(in srgb, var(--g) 34%, transparent), transparent 72%), linear-gradient(165deg, #fff, #eef0f5);
  box-shadow: inset 0 0 0 1px rgb(23 19 26 / 8%); }
.f-row .f-tile img { width: 54px; height: auto; margin-bottom: -6px; }

/* Make a Spekko: the create page, view only (a quiet, corporate sheet; nothing in it is a control) */
.ft-view { position: relative; margin: 0; padding: 0 0 0 56px; }
.ft-view-spk { position: absolute; left: -2%; bottom: 0; width: 140px; height: auto; z-index: 2; filter: drop-shadow(0 18px 22px rgb(40 30 80 / 26%)); }
.ft-view-say { position: absolute; left: 150px; bottom: 34px; z-index: 3; margin: 0; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #17131a; color: #fff;
  font: 500 14px/1.3 var(--body); white-space: nowrap; box-shadow: 0 12px 24px -12px rgb(23 19 26 / 50%); }
.ft-view figcaption { margin-top: 84px; padding-left: 94px; color: var(--mute); font-size: 13.5px; }
.cp { padding: 0; overflow: hidden; max-width: none; font-size: 14px; color: #1f2430; border-radius: 14px; border: 1px solid #d9dce3;
  box-shadow: 0 0 0 1px rgb(23 19 26 / 4%), 0 2px 6px rgb(23 19 26 / 8%), 0 40px 80px -36px rgb(40 30 80 / 45%); user-select: none; }
.cp-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; background: #f3f4f7; border-bottom: 1px solid #e1e4ea; font: 500 12.5px/1 var(--body); color: #5b6272; }
.cp-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dae1; }
.cp-bar span { margin-left: 10px; }
.cp-bar b { font-weight: 400; color: #a3a8b4; margin: 0 6px; }
.cp-bar em { margin-left: auto; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: #5b6272; border: 1px solid #d0d4dc; border-radius: 4px; padding: 5px 7px; }
.cp-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: #fff; }
.cp-rail { list-style: none; margin: 0; padding: 18px 0; border-right: 1px solid #eceef2; background: #fafbfc; counter-reset: cp; }
.cp-rail li { counter-increment: cp; display: flex; align-items: center; gap: 10px; padding: 9px 16px; font: 500 13px/1 var(--body); color: #5b6272; }
.cp-rail li::before { content: counter(cp); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 600 11px/1 var(--mono); background: #e8eaef; color: #5b6272; }
.cp-rail li:not(.on)::before { content: "\2713"; background: #1f2430; color: #fff; }
.cp-rail li.on { color: #1f2430; font-weight: 600; box-shadow: inset 3px 0 0 #1f2430; background: #fff; }
.cp-main { padding: 20px 22px 18px; }
.cp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #eceef2; }
.cp-k { display: block; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #7a8090; margin-bottom: 8px; }
.cp-name { font: 700 24px/1 var(--body); letter-spacing: -0.02em; color: #1f2430; }
.cp-status { font: 600 12px/1 var(--body); color: #0f7a43; background: #e7f5ec; border: 1px solid #bfe5cc; border-radius: 4px; padding: 6px 8px; white-space: nowrap; }
.cp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-bottom: 1px solid #eceef2; }
.cp-grid > div { padding: 12px 12px 12px 0; }
.cp-grid > .wide { grid-column: span 2; }
.cp-grid dt { font: 500 11.5px/1 var(--body); color: #7a8090; margin-bottom: 7px; }
.cp-grid dd { margin: 0; font-weight: 500; color: #1f2430; line-height: 1.4; display: flex; align-items: center; gap: 7px; }
.cp-sw { width: 12px; height: 12px; border-radius: 3px; background: #EAB308; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 12%); }
.cp-sec { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #7a8090; margin: 16px 0 8px; }
.cp-table { border: 1px solid #eceef2; border-radius: 8px; overflow: hidden; }
.cp-table > div { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 10px 12px; }
.cp-table > div + div { border-top: 1px solid #eceef2; }
.cp-table span:first-child { color: #7a8090; }
.cp-table span:nth-child(2) { font-weight: 500; }
.cp-table span:last-child { color: #5b6272; }
.cp-foot { margin: 14px 0 0; font: 500 12px/1 var(--body); color: #8a90a0; }
@media (max-width: 720px) {
  .ft-view { padding-left: 0; }
  .ft-view-say { display: none; }
  .ft-view-spk { width: 92px; left: -6px; }
  .ft-view figcaption { margin-top: 64px; padding-left: 92px; }
  .cp-body { grid-template-columns: minmax(0, 1fr); }
  .cp-rail { display: none; }
  .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-table > div { grid-template-columns: 80px minmax(0, 1fr); }
  .cp-table span:last-child { grid-column: 2; }
}
