/* Seftalab landing page: the palette and type block, then page CSS that only sits inside visuals
   (the drawn Tryout window and its cards). Linked after the Taste Skill kit (system.css, cards.css,
   motion.css, backgrounds.css, layout.css), as layout.css resets --ly-scale.

   Palette: start.mjs brand, from the owner's design reference (DESIGN-cohere.md): white canvas,
   near-black ink, a stone surface and a deep green. The inverse ground is that deep green instead of
   the printed near-black, so the one dark band and the footer are green bands as in the reference. */
:root {
  --p-bg: #ffffff; --p-surface: #eeece7; --p-ink: #17171c; --p-muted: #555555;
  --p-accent: #003c33; --p-accent-ink: #ffffff; --p-action: #003c33; --p-action-ink: #ffffff;
  --p-inv-bg: #003c33; --p-inv-surface: #0c4a40; --p-inv-ink: #ffffff; --p-inv-muted: #b4cbc5;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #17171c; --p-inv-action: #ffffff; --p-inv-action-ink: #17171c;
  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.028em;
  --display-tracking-xl: -0.036em;
  --display-stretch: 96%;
  --ly-scale: 1.04;
}

/* ------------------------------------------------------------------ the drawn Tryout UI
   Seftalab's own screens as live HTML: the Tryout-taking page (header with the countdown and
   Kumpulkan, Section tabs, one Question with its Options), the result card and the review. */
.sl-win, .sl-card { background: #fff; color: #17171c; border-radius: 12px; font: 400 14px/1.4 var(--font-text); text-align: left;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 24px 60px -30px rgb(0 0 0 / .45); }
.sl-win { overflow: hidden; }
.sl-win__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; color: #5d6268; }
.sl-win__dots { display: flex; gap: 6px; }
.sl-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdfe2; }
.sl-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px 10px; }
.sl-top__saved { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #5d6268; }
.sl-top__saved::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #17673f; }
.sl-top__clock { margin-left: auto; font: 500 22px/1 var(--font-mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sl-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: #003c33; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.sl-bar { height: 3px; margin: 0 18px; border-radius: 99px; background: #eceeec; overflow: hidden; }
.sl-bar > i { display: block; width: 27%; height: 100%; background: #003c33; }
.sl-tabs { display: flex; gap: 6px; padding: 12px 18px; font-size: 13px; border-bottom: 1px solid rgb(0 0 0 / .07); }
.sl-tabs span { display: inline-flex; gap: 6px; padding: 5px 11px; border-radius: 99px; color: #5d6268; white-space: nowrap; }
.sl-tabs span b { font-weight: 500; color: inherit; }
.sl-tabs span.is-on { background: #eeece7; color: #17171c; font-weight: 500; }
.sl-q { display: grid; gap: 12px; padding: 16px 18px 20px; }
.sl-q__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sl-q__head b { font: 500 15px/1.2 var(--font-text); }
.sl-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid rgb(0 0 0 / .14); font-size: 13px; color: #3d4247; white-space: nowrap; }
.sl-q__stem { margin: 0; padding-left: 12px; border-left: 3px solid #003c33; font-size: 15px; line-height: 1.5; color: #17171c; }
.sl-opts { display: grid; gap: 8px; }
.sl-opt { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgb(0 0 0 / .1); font-size: 14px; }
.sl-opt > i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f3f3f1; font-style: normal; font-size: 13px; font-weight: 500; color: #3d4247; }
.sl-opt.is-on { border-color: #003c33; background: #edf5f2; }
.sl-opt.is-on > i { background: #003c33; color: #fff; }
.sl-opt em { font-style: normal; font-size: 13px; color: #5d6268; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-opt.is-best em { color: #17673f; font-weight: 500; }

.sl-card { padding: 14px 16px; }
.sl-card h5 { margin: 0; font: 500 14px/1.3 var(--font-text); letter-spacing: 0; color: #17171c; }
.sl-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.sl-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500; background: #e7f4ec; color: #17673f; white-space: nowrap; }
.sl-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sl-chip--warn { background: #fdf0dc; color: #8a5300; }
.sl-chip--miss { background: #fbe6e3; color: #a3271b; }
.sl-chip--idle { background: #eeeeec; color: #4d5257; }
.sl-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid rgb(0 0 0 / .06); font-size: 13px; color: #3d4247; }
.sl-line b { font-weight: 500; color: #17171c; }
.sl-line span { color: #5d6268; white-space: nowrap; }
.sl-line strong { font: 500 14px/1 var(--font-mono); color: #17171c; font-variant-numeric: tabular-nums; }
.sl-note { margin: 0; padding-top: 8px; border-top: 1px solid rgb(0 0 0 / .06); font-size: 13px; line-height: 1.5; color: #3d4247; }
.sl-note b { font-weight: 500; color: #17171c; }
.sl-clock { display: grid; gap: 4px; padding: 6px 0 10px; }
.sl-clock strong { font: 500 34px/1 var(--font-mono); letter-spacing: -0.02em; color: #a3271b; font-variant-numeric: tabular-nums; }
.sl-clock span { font-size: 13px; color: #5d6268; }

/* the hero's art: the window on the lit sage ground with one soft light, the result card over
   its lower left (layout.css places and cuts both) */
.hero__art { background:
    radial-gradient(70% 60% at 18% 12%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
    radial-gradient(60% 50% at 90% 100%, color-mix(in oklab, var(--ground-bg) 80%, var(--ground-accent)), transparent 70%),
    var(--ground-bg); }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.hero__art .sl-q, .hero__art .sl-tabs, .hero__art .sl-top { padding-right: calc(18px + var(--ly-cut-room)); }
.hero__art .sl-bar { margin-right: calc(18px + var(--ly-cut-room)); }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }
/* narrower screens: the frame is shorter, so the window keeps the rows it can show whole */
@media (max-width: 1023px) { .hero__art .sl-opt:nth-child(n+4) { display: none; } }
@media (max-width: 639px) {
  .hero__art .sl-win__bar, .hero__art .sl-top__saved, .hero__art .sl-tabs, .hero__art .sl-opt:not(.is-on) { display: none; }
  .hero__art .sl-top { padding-bottom: 12px; }
}

/* #cara: three open cards, each with an inset panel on the same lit ground */
.open-cards .panel { --p-h: 248px; background:
    radial-gradient(80% 70% at 20% 0%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
    var(--ground-bg); }
.open-cards .sl-card { box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 14px 32px -18px rgb(0 0 0 / .35); }
.open-cards .stage > .at-rise { --ax: 20px; --ay: 28px; --fit-max: 300px; }
.open-cards > .card { grid-column: 1 / -1; }
@media (min-width: 1024px) { .open-cards > .card { grid-column: auto / span 4; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .open-cards > .card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-auto-rows: min-content; column-gap: var(--s-6); align-content: start; }
  .open-cards > .card > :not(.panel) { grid-column: 1; }
  .open-cards > .card > .panel { grid-column: 2; grid-row: 1 / span 4; --p-h: 192px; margin: calc(var(--c-gap) - var(--c-pad)) calc(var(--c-gap) - var(--c-pad)) calc(var(--c-gap) - var(--c-pad)) 0; border-radius: calc(var(--c-r) - var(--c-gap)); }
}
/* a phone: the three cards over two screens (--hm: 2 on the section), each panel showing its whole card */
@media (max-width: 639px) {
  .open-cards .panel { --p-h: 236px; }
  .open-cards .stage > .at-rise { --ay-sm: 20px; }
  .open-cards > .card > .panel { margin-top: var(--s-5); }
}

/* #format: the three Sections of the SKD under the statement, as one spec row on the grid */
.sl-specs { margin-top: var(--s-8); }
.sl-specs > div { display: grid; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line-strong); }
.sl-specs dt { font: 500 var(--t-lead)/1.3 var(--font-text); }
.sl-specs dd { margin: 0; color: var(--ink); max-width: 34ch; }
@media (max-width: 639px) { .sl-specs { margin-top: var(--s-6); } .sl-specs > div { padding-top: var(--s-3); } }

/* #hasil: the review as one app window across the wrap (sections-library.md, app-frame): the list
   of Questions beside the open one, cut by the frame's bottom under a fade */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: #fff; color: #17171c;
  border-radius: 14px; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 30px 70px -30px rgb(0 0 0 / .7); overflow: hidden; }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid rgb(0 0 0 / .08); }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.sl-list__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 18px; border-bottom: 1px solid rgb(0 0 0 / .08); font: 500 14px/1 var(--font-text); }
.sl-list__head span { font-weight: 400; font-size: 13px; color: #5d6268; }
.sl-filter { display: flex; gap: 6px; padding: 10px 18px; font-size: 13px; border-bottom: 1px solid rgb(0 0 0 / .08); }
.sl-filter span { padding: 4px 10px; border-radius: 99px; color: #5d6268; white-space: nowrap; }
.sl-filter span.is-on { background: #eeece7; color: #17171c; font-weight: 500; }
.sl-rows { display: grid; }
.sl-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; }
.sl-row.is-open { background: #f6f5f1; }
.sl-row b { font-weight: 500; color: #17171c; white-space: nowrap; }
.sl-row small { display: block; font-size: 13px; color: #5d6268; white-space: nowrap; }
.sl-list__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: #17171c; }
.sl-open { display: grid; gap: 14px; padding: 18px 22px 0; }
.sl-open__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sl-open__head b { font: 500 16px/1.2 var(--font-text); }
.sl-open .sl-q__stem { font-size: 15px; }
.sl-explain { display: grid; gap: 6px; padding: 14px 16px; border-radius: 10px; background: #f6f5f1; font-size: 14px; line-height: 1.55; color: #17171c; }
.sl-explain b { font-weight: 500; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .sl-filter span:nth-child(n+3) { display: none; }
}
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 232px; }   /* its head, the filter and three whole rows */
  .app > .app__pane--list::after { display: none; }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid rgb(0 0 0 / .08); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
  .sl-open { padding: 14px 14px 0; }
}

/* the nav's one menu card: the result card at the panel's corner */
.menu-card .panel { --p-h: 160px; background: var(--ground-bg); }

/* #pricing: the Paket card as the profile shows it, under the section's words; a plan card's
   border deepens under the pointer (the motion layer leaves plan cards still) */
.sl-plan { max-width: 340px; padding: var(--s-5); border-radius: var(--r-md); background: var(--ground-bg); }
.sl-plan .sl-card { box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 14px 32px -18px rgb(0 0 0 / .35); }
.sl-plan .sl-line { grid-template-columns: minmax(0, 1fr) 0 auto; }
#pricing .card--plan { gap: var(--s-5); padding-block: var(--s-7); }
#pricing .card--plan .checks { gap: var(--s-4); }
.card--plan { transition: border-color .18s ease, box-shadow .18s ease; }
@media (hover: hover) { .card--plan:not(.is-featured):hover { border-color: var(--line-strong); box-shadow: 0 14px 32px -22px rgb(0 0 0 / .35); } .card--plan.is-featured:hover { box-shadow: inset 0 0 0 1px var(--action), 0 14px 32px -22px rgb(0 0 0 / .35); } }
/* a tablet: the words across, the two plans side by side under them, one screen */
@media (min-width: 640px) and (max-width: 1023px) {
  #pricing .grid > .span-4:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-5); align-content: start; }
  #pricing .grid > .span-4:first-child > :not(.sl-plan) { grid-column: 1; }
  #pricing .grid > .span-4:first-child > .sl-plan { grid-column: 2; grid-row: 1 / span 2; justify-self: end; width: 100%; }
  #pricing .card--plan { padding-block: var(--s-6); }
  .faq > .faq__item { padding-block: var(--s-6); }
  #pricing .grid > .card--plan { grid-column: auto / span 6; }
  /* the middle card's rank line goes, so its panel shows whole rows */
  .open-cards .sl-line:nth-of-type(5) { display: none; }
}
@media (max-width: 639px) { #faq .stack-5 > p, .footer__lede { display: none; } }
/* the open Question on narrower screens: its second paragraph goes, and the chosen Option keeps
   only its border, so the frame cuts whole rows and no tinted bar spans the section */
@media (max-width: 1279px) { .sl-explain span + span { display: none; } }
@media (max-width: 1279px) { .app .sl-opt:nth-child(-n+2) { display: none; } }
@media (max-width: 1023px) { .app .sl-opt.is-on { background: none; } .sl-explain { padding: 12px 0 0; border-radius: 0; background: none; border-top: 1px solid rgb(0 0 0 / .08); } }

/* the narrowest phones: the bar keeps the logo and the menu button; the main action is the
   hero's button right under it and stands in the menu sheet */
@media (max-width: 374px) { .nav__actions > .btn { display: none; } }
