/* mijndag.nl/zeg-het/ — "Zeg het maar", the try-it page (growth night 19-11-2026, uitvoerlijst task 1).
   Site look from /css/site.css (linked, not copied). The "Klopt dit?" panel carries the app's own tokens from
   apps/planner/src/app/klopt-simpel.css (.kp tokens, .kp-g-h, .kp-tile tones, .kp-it rows) and the app's ground from
   apps/planner/src/app/ground.css (--gl-bg / --gl-light at morning, --gl-k = .35). Light only. */

.zh {
  --kp-ink: #14233c;
  --kp-soft: rgb(20 35 60 / 0.64);
  --kp-quiet: rgb(20 35 60 / 0.42);
  --kp-sun: #e8983f;
  --kp-sun-ink: #8c5310;
  --kp-ok: #2f7d4f;
  --kl-rim:
    inset 0 1.5px 0 rgb(255 255 255 / 0.95), inset 0 -1px 0 rgb(255 255 255 / 0.55),
    inset 1.5px 0 0 rgb(255 205 160 / 0.7), inset -1.5px 0 0 rgb(170 195 255 / 0.65),
    inset 6px 0 10px -6px rgb(255 160 190 / 0.32), inset -6px 0 10px -6px rgb(120 220 215 / 0.3),
    inset 0 12px 18px -14px rgb(255 255 255 / 0.9), inset 0 -16px 22px -18px rgb(90 60 30 / 0.18);
  --kl-lift: 0 1px 1px rgb(90 60 30 / 0.05), 0 14px 30px -16px rgb(90 60 30 / 0.38);
  --kl-rim-soft: inset 0 2px 3px -1px rgb(255 255 255 / 0.95), inset 0 -6px 12px -6px rgb(255 255 255 / 0.55), inset 0 0 14px rgb(255 255 255 / 0.35);
  --kl-btn-lift: 0 10px 22px -14px rgb(90 60 30 / 0.45);
  --kl-sheen: linear-gradient(170deg, rgb(255 255 255 / 0.55) 0%, rgb(255 255 255 / 0.12) 22%, rgb(255 255 255 / 0) 40%);
  --gl-bg: #eeece9;
  --gl-light:
    radial-gradient(120% 34% at 0% 0%, rgb(247 188 136 / 0.33), rgb(247 188 136 / 0) 72%),
    radial-gradient(115% 30% at 100% 34%, rgb(250 214 178 / 0.32), rgb(250 214 178 / 0) 72%),
    radial-gradient(120% 30% at 0% 68%, rgb(246 202 156 / 0.31), rgb(246 202 156 / 0) 72%),
    radial-gradient(115% 28% at 100% 100%, rgb(248 198 152 / 0.3), rgb(248 198 152 / 0) 72%);
  --c-agenda: #3c67a6;
  --c-todo: #e8983f;
  --c-lijst: #3d8a5b;
  --c-notitie: #7556b8;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  display: block;
  padding: clamp(12px, 3vw, 40px) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(60% 40% at 96% 0%, rgb(246 205 160 / 0.42), transparent 70%),
    radial-gradient(50% 36% at 0% 22%, rgb(206 220 240 / 0.32), transparent 70%);
}
.zh svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- grid: phone = one column in reading order; desktop = demo left, panel right */
.zh-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "say" "panel" "pick" "own" "cta"; }
.zh-intro { grid-area: intro; }
.zh-say { grid-area: say; }
.zh-pick { grid-area: pick; min-width: 0; }
.zh-panel { grid-area: panel; }
.zh-own { grid-area: own; }
.zh-cta { grid-area: cta; }
@media (min-width: 960px) {
  .zh-grid {
    column-gap: clamp(32px, 4vw, 72px); row-gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    grid-template-areas: "intro panel" "say panel" "pick panel" "own panel" "cta cta";
    grid-template-rows: auto auto auto 1fr auto;
  }
  /* the panel stays in view while you go down the sentences */
  .zh-panel { align-self: start; position: sticky; top: 92px; }
  .zh-own { align-self: start; }
}

.zh-h1 { margin-top: 6px; font-size: clamp(46px, 12vw, 92px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; }
.zh-sub { margin-top: 12px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink2); max-width: 34ch; }

/* ---------- what you say: the app's "Ik hoor" card with the amber microphone disc */
.zh-say {
  position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px 16px 14px; border-radius: 24px;
  background: var(--kl-sheen), rgb(255 255 255 / 0.62); box-shadow: var(--kl-rim), var(--kl-lift);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  min-height: 112px;
}
.zh-disc {
  position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--navy);
  background: radial-gradient(circle at 35% 28%, #ffd7a3, #f2a854 55%, #de8a2e);
  box-shadow: inset 0 1.5px 1px rgb(255 255 255 / 0.7), inset 0 -3px 5px rgb(150 80 10 / 0.35), 0 10px 18px -8px rgb(190 105 25 / 0.7);
}
.zh-disc svg.i { width: 22px; height: 22px; transition: opacity 0.2s; }
.zh-wave { position: absolute; inset: 0; display: flex; gap: 3px; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.zh-wave i { width: 3.5px; height: 6px; border-radius: 2px; background: var(--navy); }
.zh-say.on .zh-wave { opacity: 1; }
.zh-say.on .zh-disc svg.i { opacity: 0; }
.zh-say.on .zh-wave i { animation: zh-bar 0.62s ease-in-out infinite alternate; }
.zh-say.on .zh-wave i:nth-child(2) { animation-delay: -0.18s; }
.zh-say.on .zh-wave i:nth-child(3) { animation-delay: -0.4s; }
.zh-say.on .zh-wave i:nth-child(4) { animation-delay: -0.07s; }
.zh-say.on .zh-wave i:nth-child(5) { animation-delay: -0.29s; }
@keyframes zh-bar { from { height: 5px; } to { height: 20px; } }
.zh-say-t { flex: 1; min-width: 0; }
.zh-say-t small { display: block; font-size: 13.5px; font-weight: 700; color: var(--kp-soft); margin-bottom: 2px; }
.zh-words { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; overflow-wrap: break-word; text-wrap: pretty; }
.zh-words .zh-ph { color: var(--kp-quiet); }
/* first reserve (zeg-het.js measures the real one): the longest example is 4 lines on a phone, 2 wider up */
.zh-words { min-height: calc(2 * 1.45em); }
/* Reserve what js reserve() measures for the longest example (zinnen.json), so nothing moves when it arrives
   (layout shift on load was 0.064 at 320 px). The script still sets the exact heights. */
@media (max-width: 559px) { .zh-words { min-height: calc(4 * 1.45em); } }
@media (max-width: 380px) { .zh-words { min-height: calc(5 * 1.45em); } }
@media (min-width: 960px) and (max-width: 1180px) { .zh-words { min-height: calc(5 * 1.45em); } }
.zh-words .w { display: inline; transition: opacity 0.35s ease, filter 0.35s ease, background-size 0.5s var(--ease-out); }
.zh-words .w.pre { opacity: 0; filter: blur(4px); }
/* sorted words get their place's colour under them, like the app's "Ik hoor" underline */
.zh-words .w[data-plek] { background: linear-gradient(var(--u), var(--u)) 0 100% / 0 2.5px no-repeat; }
.zh-words .w[data-plek].u { background-size: 100% 2.5px; }
.zh-words .w[data-plek="agenda"] { --u: rgb(60 103 166 / 0.85); }
.zh-words .w[data-plek="todo"] { --u: rgb(232 152 63 / 0.95); }
.zh-words .w[data-plek="lijst"] { --u: rgb(61 138 91 / 0.85); }
.zh-words .w[data-plek="notitie"] { --u: rgb(117 86 184 / 0.85); }

/* ---------- the sentences */
.zh-pick-l { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sunText); margin: 4px 0 8px; }
.zh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zh-chip {
  font: inherit; color: var(--navy); border: 0; cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  min-height: 48px; padding: 10px 16px; border-radius: 18px; font-size: 15.5px; font-weight: 600; line-height: 1.3;
  background: linear-gradient(175deg, rgb(255 255 255 / 0.82), rgb(255 255 255 / 0.5));
  box-shadow: var(--kl-rim-soft), var(--kl-btn-lift), 0 0 0 0.5px rgb(20 35 60 / 0.08);
  transition: transform 0.18s var(--ease-out), background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.zh-chip:active { transform: scale(0.96); }
.zh-chip[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 10px 20px -10px rgb(20 35 60 / 0.7); }
.zh-chip:focus-visible, .zh-own-go:focus-visible, .zh-share:focus-visible, .zh-link:focus-visible, .zh-btn:focus-visible, .zh-own input:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (hover: hover) { .zh-chip:not([aria-pressed="true"]):hover { background: #fff; } }
/* phone: one swipeable row (the page itself never scrolls sideways); each sentence wraps, never cut off */
@media (max-width: 959px) {
  .zh-chips {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * max(24px, env(safe-area-inset-left, 0px))); padding: 6px max(24px, env(safe-area-inset-left, 0px)) 14px;
    scroll-padding-inline: max(24px, env(safe-area-inset-left, 0px));
  }
  .zh-chips::-webkit-scrollbar { display: none; }
  .zh-chip { flex: none; width: min(72vw, 300px); scroll-snap-align: start; }
}
.zh-nojs { font-size: 16px; color: var(--ink2); }

/* ---------- the panel: the app's "Klopt dit?" screen on the app's own ground */
.zh-panel {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 34px; padding: 22px 14px 14px; color: var(--kp-ink);
  background: var(--gl-light), var(--gl-bg);
  box-shadow: 0 0 0 0.5px rgb(20 35 60 / 0.08), 0 40px 70px -40px rgb(20 35 60 / 0.45);
}
.zh-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.zh-light i { position: absolute; border-radius: 50%; filter: blur(30px); }
.zh-light .o1 { width: 240px; height: 200px; left: -70px; top: 90px; background: rgb(246 176 110 / 0.45); }
.zh-light .o2 { width: 220px; height: 220px; right: -80px; top: 240px; background: rgb(255 214 170 / 0.6); }
.zh-light .o3 { width: 160px; height: 140px; right: 30px; top: -30px; background: rgb(196 186 240 / 0.32); }
.zh-k-head { text-align: center; padding: 0 8px; }
.zh-k-h { font-size: 30px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.zh-k-sub { margin-top: 4px; font-size: 15px; color: var(--kp-soft); line-height: 1.4; }
.zh-cards { min-height: 474px; margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
@media (max-width: 559px) { .zh-cards { min-height: 406px; } }
@media (max-width: 380px) { .zh-cards { min-height: 479px; } }
.zh-card {
  position: relative; min-width: 0; border-radius: 22px; padding: 10px 8px 8px;
  background: rgb(255 255 255 / 0.28); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.55);
  transition: opacity 0.35s ease;
}
.zh-card.empty { opacity: 0.55; }
.zh-g-h { display: flex; align-items: center; gap: 8px; margin: 0 4px 8px; font-size: 15.5px; font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.zh-g-h .zh-n { margin-left: auto; font-size: 14px; color: var(--kp-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.zh-tile { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; box-shadow: inset 0 1.5px 1px rgb(255 255 255 / 0.45), inset 0 -2px 4px rgb(0 0 0 / 0.12); }
.zh-tile svg.i { width: 15px; height: 15px; }
.t-agenda { background: linear-gradient(160deg, #4a7fd0, #2f5fa8); }
.t-todo { background: linear-gradient(160deg, #f3ac5c, #e08a2c); }
.t-lijst { background: linear-gradient(160deg, #5aa877, #3d8a5b); }
.t-notitie { background: linear-gradient(160deg, #9a7ad6, #7556b8); }
.zh-card.bump .zh-tile { animation: zh-bump 0.5s var(--ease-out); }
@keyframes zh-bump { 40% { transform: scale(1.18); } }
.zh-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zh-it {
  position: relative; display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px 9px 12px; border-radius: 16px; min-height: 48px;
  background: var(--kl-sheen), rgb(255 255 255 / 0.6); box-shadow: var(--kl-rim), var(--kl-lift);
}
.zh-it::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--c); opacity: 0.85; }
.zh-it[data-plek="agenda"] { --c: var(--c-agenda); }
.zh-it[data-plek="todo"] { --c: var(--c-todo); }
.zh-it[data-plek="lijst"] { --c: var(--c-lijst); }
.zh-it[data-plek="notitie"] { --c: var(--c-notitie); }
.zh-tm { display: flex; flex-direction: column; flex: none; font-size: 15px; font-weight: 700; line-height: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zh-tm span { font-size: 13px; font-weight: 600; opacity: 0.72; line-height: 16px; }
.zh-it-t { flex: 1; min-width: 0; overflow-wrap: break-word; hyphens: manual; }
/* a narrow card (phone): the time on its own line above the name, so a name never breaks inside a word */
.zh-card { container-type: inline-size; }
@container (max-width: 240px) {
  .zh-it { flex-direction: column; gap: 1px; }
  .zh-tm { flex-direction: row; gap: 6px; }
  .zh-tm span::before { content: "– "; }
}
.zh-it-t b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.zh-it-t small { display: block; font-size: 13px; color: var(--kp-soft); line-height: 1.3; margin-top: 1px; }
.zh-none { display: none; margin: 2px 6px 4px; font-size: 13.5px; color: var(--kp-quiet); font-weight: 600; }
.zh-card.empty .zh-none { display: block; }
.zh-done { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin-top: 10px; font-size: 15.5px; font-weight: 700; color: var(--kp-ink); opacity: 0; transition: opacity 0.3s ease; }
.zh-done.on { opacity: 1; }
.zh-okc { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgb(47 125 79 / 0.15); color: var(--kp-ok); }
.zh-okc svg.i { width: 15px; height: 15px; stroke-width: 2.6; }
@media (min-width: 560px) and (max-width: 959px) { .zh-panel { padding: 26px 18px 16px; } }
/* phone: sentence and result on one screen; the sentences to pick sit right under the result */
@media (max-width: 559px) {
  .zh-sub { margin-top: 6px; font-size: 17px; }
  .zh-panel { padding: 16px 10px 10px; border-radius: 30px; }
  .zh-k-h { font-size: 26px; }
  .zh-k-sub { font-size: 14px; }
  .zh-cards { margin-top: 10px; gap: 8px; }
  .zh-done { min-height: 32px; margin-top: 6px; }
  .zh-card { padding: 8px 6px 6px; border-radius: 20px; }
  .zh-g-h { margin: 0 4px 6px; font-size: 15px; }
  .zh-tile { width: 26px; height: 26px; border-radius: 8px; }
  .zh-rows { gap: 5px; }
  .zh-it { min-height: 0; padding: 6px 8px 6px 11px; border-radius: 14px; }
  .zh-it::before { top: 8px; bottom: 8px; }
  .zh-it-t b { font-size: 14.5px; }
  .zh-it-t small { font-size: 12.5px; }
  .zh-tm { font-size: 14px; line-height: 18px; }
}

/* your own sentence: the honest state, over the cards, in the same space (nothing moves) */
.zh-own-state {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 28px; text-align: center;
  background: rgb(238 236 233 / 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.zh-own-state[hidden] { display: none; }
.zh-own-h { font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; max-width: 22ch; text-wrap: balance; }
.zh-link { font: inherit; border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 10px; color: var(--navy); font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }

.zh-fake { margin-top: 2px; font-size: 13.5px; color: var(--kp-soft); text-align: center; }
@media (min-width: 960px) { .zh-h1 { font-size: clamp(64px, 6.2vw, 96px); } .zh-chip { min-height: 44px; padding: 9px 15px; font-size: 15px; border-radius: 16px; } }

.zh-own label { display: block; font-size: 15px; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.zh-own-row { display: flex; gap: 8px; }
.zh-own input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 0; font: inherit; font-size: 16px; color: var(--navy);
  background: #fff; box-shadow: 0 0 0 1px rgb(20 35 60 / 0.14);
}
.zh-own-go { flex: none; font: inherit; font-weight: 600; font-size: 16px; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 0; cursor: pointer; color: var(--navy); background: #fff; box-shadow: 0 0 0 1px rgb(20 35 60 / 0.14); transition: transform 0.18s var(--ease-out); }
.zh-own-go:active { transform: scale(0.97); }

/* ---------- the one ask */
.zh-cta { margin-top: clamp(24px, 4vw, 48px); padding: clamp(26px, 4vw, 56px); border-radius: clamp(30px, 4vw, 44px); background: linear-gradient(160deg, #fff0dc, #fbddb6); text-align: left; }
.zh-cta-h { font-size: clamp(30px, 4.4vw, 58px); letter-spacing: -0.035em; line-height: 1.03; max-width: 18ch; }
.zh-cta-p { margin-top: 12px; font-size: 18px; color: #3e3220; max-width: 46ch; }
.zh-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.zh-btn { justify-content: center; transition: transform 0.18s var(--ease-out), box-shadow 0.2s; box-shadow: 0 14px 26px -12px rgb(20 35 60 / 0.75); }
.zh-btn:active { transform: scale(0.97); }
.zh-btn-big { min-height: 58px; padding: 0 34px; font-size: 18px; border-radius: 16px; }
.zh-share { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 16px; color: var(--navy); background: rgb(255 255 255 / 0.7); box-shadow: 0 0 0 1px rgb(20 35 60 / 0.12); transition: transform 0.18s var(--ease-out); }
.zh-share:active { transform: scale(0.97); }
.zh-fine { margin-top: 14px; font-size: 14.5px; color: #5d4e38; }
@media (max-width: 700px) { .zh-cta-row .zh-btn-big { flex: 1 1 100%; } .zh-share { flex: 1 1 100%; justify-content: center; } }

/* ---------- phone: the ask always under the thumb (fixed, so it never moves the page) */
.zh-bar { display: none; }
@media (max-width: 700px) {
  .zh-bar {
    display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(rgb(244 238 230 / 0), rgb(244 238 230 / 0.94) 34%);
    transition: transform 0.32s var(--ease-out), opacity 0.25s ease;
  }
  .zh-bar .zh-btn { width: 100%; min-height: 56px; font-size: 17.5px; border-radius: 16px; }
  .zh-bar.off { transform: translateY(110%); opacity: 0; pointer-events: none; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- toast (always with ×) */
.zh-toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border-radius: 18px; max-width: calc(100vw - 32px);
  background: var(--navy); color: #fff; font-size: 15.5px; font-weight: 600; box-shadow: 0 18px 36px -16px rgb(20 35 60 / 0.7);
}
.zh-toast[hidden] { display: none; }
.zh-toast button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 12px; }
.zh-toast svg.i { width: 18px; height: 18px; }
@media (min-width: 701px) { .zh-toast { bottom: 32px; } }

/* the travelling piece (fixed, outside the layout) */
.zh-fly {
  position: fixed; z-index: 50; left: 0; top: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 12px 7px 9px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--kp-ink, #14233c);
  background: rgb(255 255 255 / 0.92); box-shadow: 0 12px 26px -12px rgb(20 35 60 / 0.55), inset 0 0 0 1px rgb(255 255 255 / 0.8);
  will-change: transform, opacity;
}
.zh-fly i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }

@media (prefers-reduced-motion: reduce) {
  .zh-say.on .zh-wave i, .zh-card.bump .zh-tile { animation: none; }
  .zh-words .w { transition: opacity 0.15s ease; }
  .zh-words .w.pre { filter: none; }
  .zh-bar, .zh-chip, .zh-btn, .zh-share, .zh-own-go { transition: opacity 0.15s ease; }
  .zh-chip:active, .zh-btn:active, .zh-share:active, .zh-own-go:active { transform: none; }
}
