/* karbarX homepage (resources/views/karbarx/landing.blade.php).
   One motif: the square wall tile, laid with grout, in light / deco / deep rows. It is the hero stage,
   the button and bullet shape, the frame of every screenshot, the trade band and the footer mark.
   No gradients, no resting shadows, no hairlines: tone steps and grout gaps separate everything. */

:root {
  --bg: #f3f6f5;
  --surface: #e3eaee;
  --ink: #0c2a44;
  --muted: #38546b;
  --accent: #1857cf;
  --accent-dark: #0f44a8;
  --accent-ink: #ffffff;
  --light: #d6e4f5;
  --mid: #a9c4ea;
  --deep: #0c2a44;
  --deep-2: #163b5e;
  --deep-ink: #eef3f9;
  --white: #ffffff;

  --r: 4px;              /* one radius: a tile's eased edge */
  --grout: 6px;
  --m: clamp(20px, 4vw, 56px);
  --font: 'Pilcrow Rounded', 'KX Bangla', 'Noto Sans Bengali', system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.5rem, 6.4vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.kl { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 var(--font); }
.kl img { display: block; max-width: 100%; height: auto; }
.kl a { color: inherit; }
.kl h1, .kl h2, .kl h3, .kl p, .kl ul, .kl figure { margin: 0; }
.kl ul { padding: 0; list-style: none; }
.kl :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r); }
.kl ::selection { background: var(--accent); color: var(--accent-ink); }

.kl-display { font-size: var(--step-display); font-weight: 700; line-height: .95; letter-spacing: -.045em; }
.kl-h { font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
:lang(bn) .kl-display, :lang(bn) .kl-h, .kl-display:lang(bn), .kl-h:lang(bn) { letter-spacing: 0; line-height: 1.22; }
.kl-lead { font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 40ch; }
.kl-small { font-size: var(--step-small); color: var(--muted); }

/* The tile shape at text size: a bullet, a swatch. */
.kl-sq { display: inline-block; flex: none; width: .7em; height: .7em; border-radius: 2px; background: var(--accent); }
.kl-sq-light { background: var(--light); }
.kl-sq-deep { background: var(--deep); }

/* Button: a filled tile. */
.kl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r);
  background: var(--accent); color: var(--accent-ink) !important; text-decoration: none;
  font: 500 var(--step-body)/1 var(--font); cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.kl-btn:hover { background: var(--accent-dark); }
.kl-btn:active { transform: translateY(1px); }
.kl-btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.kl-btn-block { width: 100%; }
.kl-link { font-weight: 500; text-decoration: none; color: var(--accent) !important; border-bottom: 2px solid transparent; transition: border-color .15s; }
.kl-link:hover { border-bottom-color: currentColor; }

/* ---------- Navigation ---------- */
.kl-nav { display: flex; align-items: center; gap: 32px; padding: 24px var(--m) 0; position: relative; z-index: 3; }
.kl-brand img { height: 40px; width: auto; }
.kl-nav-links { display: flex; gap: 28px; margin-left: auto; }
.kl-nav-links a, .kl-signin, .kl-lang { font-size: 15px; font-weight: 500; text-decoration: none; transition: color .15s; }
.kl-nav-links a:hover, .kl-signin:hover, .kl-lang:hover { color: var(--accent); }
.kl-nav-end { display: flex; align-items: center; gap: 20px; }
.kl-lang { padding: 8px 12px; border-radius: var(--r); background: var(--surface); }

/* ---------- Hero: headline on paper, a tiled wall bleeding off the bottom-right ---------- */
.kl-hero { position: relative; min-height: min(960px, 100svh); padding: clamp(72px, 9vh, 110px) var(--m) 0; overflow: hidden; }
.kl-hero-copy { position: relative; z-index: 2; max-width: 600px; }
.kl-hero-copy .kl-lead { max-width: 42ch; }
.kl-hero-copy .kl-display { text-wrap: balance; }
.kl-hero-copy .kl-lead { margin-top: 36px; font-size: var(--step-body); color: var(--muted); max-width: 42ch; }
.kl-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.kl-hero-copy .kl-small { margin-top: 18px; }

/* Prayer times + Quran, first thing on the page: today's waqt (live) and the Quran, as two tiles. */
.kl-faith { display: flex; flex-wrap: wrap; gap: var(--grout); margin-bottom: 40px; }
.kl-faith a { position: relative; overflow: hidden; display: grid; gap: 2px; padding: 12px 18px 14px; border-radius: var(--r);
  text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.kl-faith a:hover { transform: translateY(-2px); }
.kl-faith b { font-size: 17px; font-weight: 700; line-height: 1.25; }
.kl-faith span { font-size: 14px; opacity: .85; }
.kl-faith a.kl-faith-salat { background: var(--accent); color: var(--accent-ink); }
.kl-faith a.kl-faith-salat:hover { background: var(--accent-dark); }
.kl-faith a.kl-faith-quran { background: var(--deep); color: var(--deep-ink); }
.kl-faith-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p); background: var(--light); }

.kl-stage {
  --tile: 112px; --notch-w: 200px; --notch-h: 88px;
  position: absolute; left: 47%; right: 0; top: 13%; bottom: 0;
  clip-path: polygon(var(--notch-w) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch-h), var(--notch-w) var(--notch-h));
}
.kl-wall {
  position: absolute; inset: 0; display: grid; gap: var(--grout);
  grid-template-columns: repeat(10, var(--tile)); grid-auto-rows: var(--tile); align-content: end;
}
.kl-t { display: block; border-radius: var(--r); }
.kl-t-light { background: var(--light); }
.kl-t-deco { background: var(--accent); }
.kl-t-deep { background: var(--deep); }

.kl-memo {
  position: absolute; z-index: 1; top: calc(var(--notch-h) + 36px); left: 56px;
  width: min(560px, calc(100% - 80px)); padding: 26px 28px 24px;
  background: var(--white); border-radius: var(--r); color: var(--ink);
}
.kl-memo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.kl-memo-head b { font-size: 18px; }
.kl-memo-head span { font-size: 14px; color: var(--muted); }
.kl-memo-product { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: var(--bg); border-radius: var(--r); }
.kl-memo-product .kl-sq { width: 22px; height: 22px; margin-top: 2px; }
.kl-memo-product b { display: block; font-size: 16px; font-weight: 500; }
.kl-memo-product small { display: block; font-size: 14px; color: var(--muted); }
.kl-memo-qty { display: grid; gap: 6px; margin-top: 16px; }
.kl-memo-qty span { font-size: 14px; color: var(--muted); }
.kl-memo-qty input {
  width: 100%; height: 60px; padding: 0 16px; border: 2px solid var(--accent); border-radius: var(--r);
  background: var(--white); color: var(--ink); font: 700 28px/1 var(--font); letter-spacing: .01em;
}
.kl-memo-qty input:focus { outline: 3px solid var(--light); outline-offset: 0; }
.kl-memo-qty input[aria-invalid="true"] { border-color: #b4232a; }
.kl-memo-reads { margin-top: 10px; font-size: 15px; color: var(--muted); min-height: 1.5em; }
.kl-memo-reads.is-bad { color: #b4232a; }
.kl-memo-sum { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grout); margin-top: 14px; }
.kl-memo-sum div { padding: 12px 16px; background: var(--light); border-radius: var(--r); }
.kl-memo-sum div:last-child { background: var(--deep); color: var(--deep-ink); }
.kl-memo-sum small { display: block; font-size: 13px; opacity: .85; }
.kl-memo-sum b { display: block; font-size: 26px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kl-memo-next { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- A shop owner's day ---------- */
.kl-day { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; padding: 140px var(--m) 140px; }
.kl-day-list { position: sticky; top: 40px; }
.kl-day-names { display: grid; gap: 4px; margin-top: 28px; }
.kl-day-name {
  display: flex; align-items: center; gap: 14px; padding: 6px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: 500 clamp(1.5rem, 1rem + 1.6vw, 2.4rem)/1.15 var(--font); color: var(--muted); transition: color .15s;
}
.kl-day-name::before { content: ''; width: .42em; height: .42em; border-radius: 2px; background: transparent; transition: background-color .2s; flex: none; }
.kl-day-name:hover { color: var(--ink); }
.kl-day-name[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.kl-day-name[aria-selected="true"]::before { background: var(--accent); }
.kl-day-stage { position: relative; }
.kl-day-shot { position: relative; padding: 48px 0 0 48px; overflow: hidden; }
.kl-day-shot + .kl-day-shot { margin-top: 64px; }
.kl-day-tile { position: absolute; top: 0; left: 0; width: min(64vh, 72%); aspect-ratio: 1; border-radius: var(--r); background: var(--light); }
.kl-tone-1 .kl-day-tile { background: var(--accent); }
.kl-tone-2 .kl-day-tile { background: var(--deep); }
.kl-day-shot img {
  position: relative; width: 100%; max-height: 460px; object-fit: cover; object-position: top left;
  border: 8px solid var(--bg); border-radius: calc(var(--r) + 8px); background: var(--white);
}
.kl-day-shot figcaption { position: relative; margin-top: 20px; font-size: 17px; max-width: 52ch; color: var(--muted); }
.kl-day-shot figcaption b { color: var(--ink); margin-right: .3em; }
.js .kl-day-shot { display: none; }
.js .kl-day-shot.is-on { display: block; }
.js .kl-day-shot + .kl-day-shot { margin-top: 0; }
.js .kl-day-shot.is-on img { animation: kl-shutter 1.1s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes kl-shutter { from { clip-path: inset(0 100% 0 0); transform: scale(1.06); transform-origin: left top; } to { clip-path: inset(0 0 0 0); transform: none; } }

/* ---------- A memo's journey: four fields edge to edge ---------- */
.kl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kl-field { display: flex; flex-direction: column; min-height: min(84svh, 780px); padding: 36px 28px 32px; }
.kl-field-0 { background: var(--light); }
.kl-field-1 { background: var(--mid); }
.kl-field-2 { background: var(--accent); color: var(--accent-ink); }
.kl-field-3 { background: var(--deep); color: var(--deep-ink); }
.kl-flow-h { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); }
.kl-card {
  width: 100%; max-width: 290px; margin: auto 0; padding: 18px; border-radius: var(--r);
  background: var(--white); color: var(--ink); font-size: 14px; line-height: 1.4;
  transition: transform .15s ease;
}
.kl-field:hover .kl-card { transform: translateY(-6px); }
.kl-card header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.kl-card header span { color: var(--muted); text-align: right; }
.kl-card-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.kl-card-total { margin-top: 4px; padding: 8px 10px; background: var(--bg); border-radius: var(--r); font-size: 15px; }
.kl-card-paid { margin-top: 6px; padding: 8px 10px; background: var(--light); border-radius: var(--r); }
.kl-card-note { display: flex; gap: 10px; margin-top: 10px; padding: 10px; background: var(--bg); border-radius: var(--r); }
.kl-card-note .kl-sq { margin-top: .35em; }
.kl-card-note b { display: block; font-weight: 500; }
.kl-card-note small { display: block; font-size: 13px; color: var(--muted); }
.kl-card-warn .kl-sq { background: #c2410c; }
.kl-card-ok .kl-sq { background: #15803d; }
.kl-clause { font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; max-width: 14ch; }
.kl-clause:lang(bn), :lang(bn) .kl-clause { letter-spacing: 0; line-height: 1.3; max-width: 17ch; }

/* ---------- The board: close-ups of the interface, cropped by their tiles ---------- */
.kl-board {
  display: grid; gap: 8px; padding: 180px var(--m);
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 104px;
  grid-template-areas:
    "h h h h h h c c c c c c" "h h h h h h c c c c c c"
    "s s s a a a c c c c c c" "s s s a a a c c c c c c"
    "q q q q q q f f f k k k" "q q q q q q f f f k k k"
    "q q q q q q p p p o o o" "q q q q q q p p p o o o";
}
.kl-bt { position: relative; overflow: hidden; border-radius: var(--r); padding: 22px; }
.kl-bt-head { grid-area: h; background: var(--surface); display: flex; align-items: flex-end; }
.kl-bt-head .kl-h { max-width: 14ch; }
.kl-bt-call { grid-area: c; } .kl-bt-score { grid-area: s; } .kl-bt-ask { grid-area: a; } .kl-bt-salat { grid-area: q; }
.kl-bt-afford { grid-area: f; } .kl-bt-keys { grid-area: k; } .kl-bt-price { grid-area: p; } .kl-bt-cost { grid-area: o; }
.kl-on-deep { background: var(--deep); color: var(--deep-ink); }
.kl-on-light { background: var(--light); }
.kl-on-surface { background: var(--surface); }
.kl-on-accent { background: var(--accent); color: var(--accent-ink); }
.kl-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; font-size: 15px; line-height: 1.35; }
.kl-cap b { display: block; font-size: 18px; font-weight: 500; margin-bottom: 2px; }
.kl-on-surface .kl-cap, .kl-on-light .kl-cap { color: var(--ink); }
.kl-cap a { display: inline-block; margin-top: 6px; font-weight: 500; }
.kl-big { position: absolute; }

.kl-bt-call .kl-big { top: 34px; left: 28px; right: -60px; }
.kl-call-said { font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); line-height: 1.35; max-width: 18em; }
.kl-keys { display: flex; gap: var(--grout); margin-top: 26px; }
.kl-keys span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: var(--r); background: var(--deep-2); font-size: 36px; font-weight: 700; }
.kl-keys .is-hit { background: var(--accent); }
.kl-call-keys { margin-top: 14px; font-size: 15px; opacity: .9; }

.kl-score { top: -34px; right: -8px; font-size: 168px; font-weight: 700; line-height: 1; letter-spacing: -.06em; color: var(--accent); }
.kl-score small { font-size: 40px; letter-spacing: 0; color: var(--muted); }

.kl-ask { top: 22px; left: 22px; right: -120px; display: flex; align-items: center; gap: 12px; padding: 0 22px; height: 76px; border-radius: var(--r); background: var(--white); font-size: 28px; }
.kl-ask i { width: 3px; height: 34px; background: var(--accent); animation: kl-caret 1.1s steps(1) infinite; }
@keyframes kl-caret { 50% { opacity: 0; } }

.kl-salat { top: 30px; left: 28px; right: 28px; }
.kl-salat b { display: block; font-size: clamp(3.5rem, 2rem + 5vw, 7.5rem); line-height: 1.05; }
.kl-salat span { display: block; margin-top: 8px; font-size: 22px; }
.kl-salat-bar { display: block; height: 14px; margin-top: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .28); position: relative; overflow: hidden; }
.kl-salat-bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p, 40%); background: var(--white); border-radius: var(--r); }

.kl-afford { top: 20px; left: 22px; right: -40px; }
.kl-afford small { display: block; font-size: 15px; color: var(--muted); }
.kl-afford b { display: inline-block; margin-top: 8px; padding: 6px 22px; border-radius: var(--r); background: #c2410c; color: var(--white); font-size: 40px; }

.kl-caps { top: 18px; right: -20px; display: flex; gap: 10px; }
.kl-caps kbd { display: grid; place-items: center; min-width: 96px; height: 96px; padding: 0 18px; border-radius: var(--r); background: var(--white); font: 700 34px/1 var(--font); color: var(--ink); }

.kl-price { top: 22px; left: 22px; right: -60px; }
.kl-price b { display: block; font-size: 36px; color: var(--ink); }
.kl-price small { display: block; font-size: 15px; color: var(--muted); }

.kl-toggle { top: 24px; left: 22px; right: -30px; display: flex; align-items: center; gap: 16px; font-size: 18px; }
.kl-toggle i { position: relative; flex: none; width: 92px; height: 50px; border-radius: 25px; background: var(--deep-2); }
.kl-toggle i::after { content: ''; position: absolute; top: 6px; left: 6px; width: 38px; height: 38px; border-radius: 50%; background: var(--deep-ink); }

/* ---------- The band: trades and free tools as tiles on a deep wall ---------- */
.kl-band { background: var(--deep); color: var(--deep-ink); padding: 120px var(--m); }
.kl-band-h { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); }
.kl-band-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--grout); margin-top: 28px; }
.kl-band-tools { margin-bottom: 0; }
.kl-band-row + .kl-band-h { margin-top: 72px; }
.kl-bandtile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 20px;
  border-radius: var(--r); background: var(--deep-2); color: var(--deep-ink) !important; text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.kl-bandtile:hover { background: var(--accent); transform: translateY(-4px); }
.kl-go { align-self: flex-end; font-size: 26px; line-height: 1; }
.kl-bandtile b { font-size: 19px; font-weight: 500; line-height: 1.25; order: -1; }

/* ---------- Everything inside: group tabs, banded rows ---------- */
.kl-mods { padding: 140px var(--m) 160px; }
.kl-mods-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.kl-mods-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; margin-top: 56px; align-items: start; }
.kl-mods-tabs { display: grid; gap: var(--grout); position: sticky; top: 24px; }
.kl-mods-tab {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 0 18px;
  border: 0; border-radius: var(--r); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer;
  font: 500 17px/1.25 var(--font); transition: background-color .15s;
}
.kl-mods-tab small { font-size: 14px; color: var(--muted); }
.kl-mods-tab:hover { background: var(--light); }
.kl-mods-tab[aria-selected="true"] { background: var(--deep); color: var(--deep-ink); }
.kl-mods-tab[aria-selected="true"] small { color: var(--deep-ink); }
.kl-mods-grp + .kl-mods-grp { margin-top: 48px; }
.kl-mods-grp-h { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.kl-mods-shot { width: 100%; max-height: 300px; object-fit: cover; object-position: top left; margin-bottom: 14px; border: 8px solid var(--surface); border-radius: calc(var(--r) + 8px); background: var(--white); }
.js .kl-mods-grp { display: none; }
.js .kl-mods-grp.is-on { display: block; animation: kl-fade .35s ease both; }
.js .kl-mods-grp + .kl-mods-grp { margin-top: 0; }
.js .kl-mods-grp-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kl-mod { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 8px 32px; padding: 18px 22px; border-radius: var(--r); }
.kl-mod:nth-child(odd) { background: var(--surface); }
.kl-mod b { font-weight: 500; }
.kl-mod span { color: var(--muted); font-size: 17px; }
@keyframes kl-fade { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Prices: plans that step up ---------- */
.kl-pricing { padding: 160px var(--m); }
.kl-plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; align-items: end; margin-top: 48px; }
.kl-plan {
  position: relative; display: flex; flex-direction: column; min-height: calc(380px + var(--i) * 70px);
  padding: 28px 24px 96px; border-radius: var(--r); background: var(--surface);
}
.kl-plan-1 { background: var(--light); }
.kl-plan-2 { background: var(--mid); }
.kl-plan-3 { background: var(--deep); color: var(--deep-ink); }
.kl-plan h3 { font-size: 26px; font-weight: 700; }
.kl-plan-price { margin-top: 10px; font-size: clamp(2.2rem, 1.4rem + 1.8vw, 3.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kl-plan-price small { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.kl-plan-yr { font-size: 15px; margin-top: 4px; opacity: .9; }
.kl-plan ul { display: grid; gap: 8px; margin-top: 22px; font-size: 17px; }
.kl-plan li { display: flex; gap: 10px; align-items: baseline; }
.kl-plan li::before { content: ''; flex: none; width: .55em; height: .55em; border-radius: 2px; background: currentColor; opacity: .75; transform: translateY(-.05em); }
.kl-plan-go {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; height: 64px; padding: 0 24px;
  border-radius: 0 0 var(--r) var(--r); background: rgba(12, 42, 68, .1); font-weight: 500; text-decoration: none;
  transition: background-color .15s;
}
.kl-plan-go:hover { background: var(--accent); color: var(--accent-ink) !important; }
.kl-plan-3 .kl-plan-go { background: var(--deep-2); }
.kl-pricing-note { margin-top: 28px; font-size: 16px; max-width: 70ch; }

/* ---------- Questions ---------- */
.kl-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: 120px var(--m) 180px; align-items: start; }
.kl-faq-h { position: sticky; top: 96px; max-width: 9ch; }
.kl-faq-list { display: grid; gap: 8px; }
.kl-faq-list details { border-radius: var(--r); background: var(--surface); transition: background-color .2s; }
.kl-faq-list summary {
  position: relative; display: block; padding: 22px 64px 22px 24px; cursor: pointer; list-style: none;
  font-size: 20px; font-weight: 500; line-height: 1.35;
}
.kl-faq-list summary::-webkit-details-marker { display: none; }
.kl-faq-list summary::before, .kl-faq-list summary::after {
  content: ''; position: absolute; right: 26px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: currentColor; transition: transform .2s;
}
.kl-faq-list summary::after { transform: rotate(90deg); }
.kl-faq-list details[open] { background: var(--accent); color: var(--accent-ink); }
.kl-faq-list details[open] summary::after { transform: rotate(0); }
.kl-faq-list details p { padding: 0 24px 24px; max-width: 60ch; font-size: 17px; }

/* ---------- Lift the shutter ---------- */
.kl-start {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center;
  min-height: min(76svh, 700px); padding: 96px var(--m); background: var(--accent); color: var(--accent-ink);
}
.kl-start-copy { align-self: end; }
.kl-start-h { font-size: clamp(3.5rem, 7vw, 7rem); line-height: .92; }
.kl-start .kl-lead { margin-top: 24px; color: var(--accent-ink); font-size: var(--step-body); max-width: 44ch; }
.kl-dialog {
  justify-self: end; width: min(100%, 440px); padding: 30px; border-radius: 8px;
  background: var(--white); color: var(--ink); box-shadow: 0 24px 60px rgba(6, 20, 50, .3); /* taste-skill-ignore: the sign-up dialog floats over its field */
}
.kl-dialog h3 { font-size: 24px; font-weight: 700; }
.kl-dialog label { display: block; margin-top: 20px; font-size: 14px; color: var(--muted); }
.kl-dialog input {
  width: 100%; height: 54px; margin-top: 6px; padding: 0 14px; border: 2px solid var(--surface); border-radius: var(--r);
  font: 500 18px var(--font); color: var(--ink); background: var(--bg);
}
.kl-dialog input:focus { border-color: var(--accent); outline: none; }
.kl-dialog .kl-btn { margin-top: 16px; min-height: 54px; }
.kl-dialog p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Footer: the mark built from tiles ---------- */
.kl-foot { padding: 72px var(--m) 40px; background: var(--surface); }
.kl-mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 200px; max-height: 340px; }
.kl-mark-t {
  flex: 1; height: var(--h); display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  border-radius: var(--r); color: var(--white); font: 700 clamp(4rem, 12vw, 13rem)/.78 var(--font); letter-spacing: -.05em;
}
.kl-mark-t.kl-t-light { color: var(--ink); }
.kl-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 32px; margin-top: 56px; }
.kl-foot-cols h2 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.kl-foot-cols nav a, .kl-foot-contact a, .kl-foot-contact span { display: block; padding: 4px 0; font-size: 15px; text-decoration: none; color: var(--muted); }
.kl-foot-cols nav a:hover, .kl-foot-contact a:hover { color: var(--accent); }
.kl-foot-contact { font-style: normal; }
.kl-socials { display: flex; gap: 10px; margin-top: 12px; }
.kl-socials .kx-soc { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r); background: var(--bg); color: var(--ink); text-decoration: none; font-size: 14px; }
.kl-socials .kx-soc svg { width: 18px; height: 18px; }
.kl-foot-last { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 56px; font-size: 14px; color: var(--muted); }
.kl-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-right: auto; }
.kl-legal a { text-decoration: none; }
.kl-legal a:hover { color: var(--accent); }

/* ---------- Motion ---------- */
.js .kl-t { animation: kl-lay .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--row) * 110ms + var(--c) * 28ms); }
@keyframes kl-lay { from { opacity: 0; transform: translateY(18px) scale(.94); } }
.js .kl-memo { animation: kl-rise .7s cubic-bezier(.2, .7, .2, 1) .55s both; }
.js .kl-hero-copy > * { animation: kl-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .kl-hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .kl-hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .kl-hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes kl-rise { from { opacity: 0; transform: translateY(22px); } }
.js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .kl-faith a { transition: none; }
  html { scroll-behavior: auto; }
  .js .kl-t, .js .kl-memo, .js .kl-hero-copy > *, .js .kl-day-shot.is-on img, .js .kl-mods-grp.is-on, .kl-ask i { animation: none; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .kl-btn, .kl-card, .kl-bandtile { transition: none; }
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1180px) {
  .kl-nav-links { display: none; }
  .kl-nav-end { margin-left: auto; }
  .kl-stage { left: 44%; --tile: 96px; }
  .kl-memo { left: 28px; }
  .kl-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .kl-hero { min-height: 0; padding-top: 48px; }
  .kl-hero-copy .kl-display { font-size: clamp(2.6rem, 10vw, 4rem); }
  .kl-stage {
    position: relative; left: auto; top: auto; bottom: auto; margin: 48px calc(-1 * var(--m)) 0; min-height: 600px;
    --tile: 76px; --notch-w: 72px; --notch-h: 48px;
  }
  .kl-stage { padding: 72px 16px 140px; }
  .kl-memo { position: relative; top: auto; left: auto; width: auto; padding: 20px; }
  .kl-memo-qty input { font-size: 24px; }

  .kl-day { grid-template-columns: 1fr; gap: 32px; padding: 120px var(--m) 96px; }
  .kl-day-list { position: static; }
  .kl-day-names { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .kl-day-name { font-size: 20px; }
  .no-js .kl-day-names, html:not(.js) .kl-day-names { display: none; }
  .kl-day-shot { padding: 32px 0 0 24px; }
  .kl-day-tile { width: 78%; }

  .kl-flow { grid-template-columns: 1fr; }
  .kl-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 290px); grid-template-areas: "h h" "t c"; align-items: end; min-height: 0; padding: 48px var(--m); gap: 24px 32px; }
  .kl-flow-h { grid-area: h; }
  .kl-card { grid-area: c; margin: 0; }
  .kl-clause { grid-area: t; align-self: end; }

  .kl-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(100px, 19vw, 132px); gap: 6px; padding: 120px var(--m);
    grid-template-areas: "h h" "h h" "c c" "c c" "c c" "c c" "s a" "s a" "q q" "q q" "q q" "f k" "f k" "p o" "p o";
  }
  .kl-bt { padding: 16px; }
  .kl-cap { left: 16px; right: 16px; bottom: 14px; font-size: 14px; }
  .kl-cap b { font-size: 16px; }
  .kl-bt-head .kl-h { font-size: 9vw; }
  .kl-score { font-size: 120px; top: -20px; }
  .kl-keys span { width: 60px; height: 60px; font-size: 26px; }
  .kl-call-said { font-size: 22px; }
  .kl-ask { height: 60px; font-size: 20px; top: 14px; left: 14px; }
  .kl-caps kbd { min-width: 70px; height: 70px; font-size: 26px; }
  .kl-afford b { font-size: 28px; }
  .kl-price b { font-size: 26px; }
  .kl-toggle span { display: none; }
  .kl-salat b { font-size: 16vw; }

  .kl-band { padding: 96px var(--m); }
  .kl-band-row { grid-template-columns: 1fr; }
  .kl-bandtile { flex-direction: row; align-items: center; min-height: 72px; }
  .kl-bandtile b { font-size: 17px; }
  .kl-go { align-self: center; }

  .kl-mods { padding: 120px var(--m) 96px; }
  .kl-mods-body { grid-template-columns: 1fr; gap: 20px; }
  .kl-mods-tabs { position: static; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
  .kl-mods-tab { min-height: 52px; }
  .kl-mod { grid-template-columns: 1fr; padding: 16px; }

  .kl-plans { grid-template-columns: 1fr; }
  .kl-plan { min-height: 0; }
  .kl-plan-price { font-size: 44px; }

  .kl-faq { grid-template-columns: 1fr; padding: 96px var(--m) 120px; }
  .kl-faq-h { position: static; max-width: none; }
  .kl-faq-list summary { font-size: 18px; padding: 20px 56px 20px 20px; }

  .kl-start { grid-template-columns: 1fr; align-items: start; min-height: 84svh; }
  .kl-start-copy { align-self: start; }
  .kl-start-h { font-size: 13vw; }
  .kl-dialog { justify-self: stretch; width: 100%; }

  .kl-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kl-foot-contact { grid-column: 1 / -1; }
  .kl-mark { height: 22svh; min-height: 140px; }
}

@media (max-width: 560px) {
  .kl-field { grid-template-columns: 1fr; grid-template-areas: "h" "c" "t"; }
  .kl-card { max-width: none; }
}

@media (max-width: 520px) {
  .kl-signin { font-size: 14px; white-space: nowrap; }
  .kl-nav { gap: 12px; }
  .kl-nav-end { gap: 10px; }
  .kl-brand img { height: 34px; }
  .kl-memo-sum b { font-size: 22px; }
}
