/* Beehive Legal: "Who inherits if you die without a Will?" tool page. The tool is the opener (design-plan, Openers). */

/* ---------- Opener: the tool on a slate band ---------- */
.tool { position: relative; overflow: clip; background: var(--slate); color: #fff; padding: 30px 0 26px; }
.tool__comb { opacity: .9; }
.tool__glow { position: absolute; width: 760px; height: 760px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(250, 153, 0, .16), transparent 62%); pointer-events: none; }
.tool__wrap { position: relative; }
.tool__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 16px 40px; align-items: end; margin-bottom: 22px; }
.tool__title { font-size: clamp(2.1rem, 3.4vw, 3.3rem); line-height: 1.06; color: #fff; word-spacing: .05em; }
.tool__intro { margin: 0; color: var(--mist); font-size: 1.05rem; line-height: 1.5; }

.tool__app { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto 1fr; grid-template-areas: "qs board" "cta board"; gap: 26px 32px; align-items: start; }
.qs { grid-area: qs; }
.board { grid-area: board; }
.peek { grid-area: peek; }
.tool__cta { grid-area: cta; align-self: end; display: grid; gap: 14px; }
.tool__cta .btns { gap: 12px 26px; }

/* Questions */
.qs { display: grid; gap: 16px; margin: 0; }
.q { margin: 0; padding: 0; border: 0; min-width: 0; }
.q-slot { overflow: clip; }
.q-slot[hidden] { display: none; }
.q__label { display: block; padding: 0; margin: 0 0 9px; font-weight: 600; font-size: 1.02rem; line-height: 1.35; color: #fff; }
.q__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q__opts--3 { grid-template-columns: repeat(3, 1fr); }
/* Yes or no questions sit on one row: the question, then two compact options */
.q--yn::after { content: ''; display: block; clear: both; }
.q--yn .q__label { float: left; display: flex; align-items: center; width: calc(100% - 232px); min-height: 52px; margin: 0; padding-right: 14px; }
.q--yn .q__opts { width: 232px; margin-left: auto; }
.q--yn .opt__box { min-height: 52px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.opt__box {
  position: relative; display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px; padding: 10px 14px;
  border: 1.5px solid rgba(255, 255, 255, .24); border-radius: var(--r-btn); background: rgba(52, 51, 60, .55);
  overflow: hidden; isolation: isolate; transition: border-color .35s var(--ease), color .35s var(--ease);
}
.opt__box::before {
  content: ''; position: absolute; inset: -2px; z-index: -1; background: var(--honey);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); transition: clip-path .5s var(--ease);
}
/* A sheen runs across the chosen answers now and then (driven by --sh from tool.js) */
.opt__box::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .42) 50%, transparent 65%) var(--sh, 160%) 0 / 260% 100% no-repeat; opacity: 0; transition: opacity .4s; pointer-events: none; }
.opt input:checked + .opt__box::after { opacity: 1; }
.opt:hover .opt__box { border-color: rgba(250, 153, 0, .7); }
.opt input:checked + .opt__box { border-color: var(--honey); color: var(--ink); }
.opt input:checked + .opt__box::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--pollen); outline-offset: 3px; }
.opt__hex { position: relative; flex: none; width: 22px; height: 19px; clip-path: var(--hex); background: rgba(255, 255, 255, .45); transition: background-color .35s; }
.opt__hex::after { content: ''; position: absolute; inset: 2px; clip-path: var(--hex); background: var(--slate); transition: transform .45s var(--ease), background-color .35s; }
.opt input:checked + .opt__box .opt__hex { background: var(--ink); }
.opt input:checked + .opt__box .opt__hex::after { background: var(--pollen); transform: scale(.62); }
.opt__txt { display: grid; line-height: 1.2; }
.opt__txt strong { font-weight: 700; font-size: 1.02rem; }
.opt__txt small { font-size: .9rem; color: rgba(255, 255, 255, .72); margin-top: 2px; transition: color .35s; }
.opt input:checked + .opt__box small { color: rgba(31, 30, 36, .78); }
.q__opts--3 .opt__box { align-items: flex-start; padding-top: 12px; min-height: 76px; }
.q__opts--3 .opt__hex { margin-top: 1px; }

/* Estate slider */
.q--estate { padding: 16px 18px 14px; border-radius: var(--r); background: rgba(52, 51, 60, .55); border: 1px solid var(--line-dark); }
.estate__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.estate__top .q__label { margin: 0; }
.estate__val { font-family: var(--display); font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1; color: var(--pollen); white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.range { --p: 23.08%; position: relative; margin: 14px 0 26px; }
.range input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; position: relative; z-index: 2; }
.range input::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--honey) var(--p), rgba(255, 255, 255, .18) var(--p)); }
.range input::-moz-range-track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.range input::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--honey); }
.range input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 34px; height: 30px; margin-top: -11px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cpolygon points='8.5,1 25.5,1 33,15 25.5,29 8.5,29 1,15' fill='%23FCC31F' stroke='%231F1E24' stroke-width='2'/%3E%3Cpath d='M13 10v10M17 10v10M21 10v10' stroke='%231F1E24' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.range input::-moz-range-thumb { width: 34px; height: 30px; border: 0; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 30'%3E%3Cpolygon points='8.5,1 25.5,1 33,15 25.5,29 8.5,29 1,15' fill='%23FCC31F' stroke='%231F1E24' stroke-width='2'/%3E%3Cpath d='M13 10v10M17 10v10M21 10v10' stroke='%231F1E24' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.range input:focus-visible { outline: 3px solid var(--pollen); outline-offset: 4px; border-radius: 2px; }
.range__mark { position: absolute; top: 9px; left: var(--m, calc(13.949% + 12.26px)); width: 0; height: 26px; pointer-events: none; transition: opacity .4s var(--ease); }
.range__mark i { position: absolute; left: -1px; top: 0; width: 2px; height: 26px; background: rgba(255, 255, 255, .55); }
.range__mark em { position: absolute; top: 30px; left: 0; transform: translateX(-30%); font-style: normal; font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.range__mark.is-off { opacity: 0; }
.estate__note { margin: 0; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .72) !important; }

/* The board: family comb diagram and the plain-English answer */
.board { scroll-margin-top: 92px; position: relative; border-radius: var(--r); background: rgba(31, 30, 36, .55); border: 1px solid var(--line-dark); padding: 10px 22px 20px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.board__diagram { position: relative; }
.board__diagram::before { content: ''; position: absolute; inset: -10px -22px 0; background: var(--comb-dark) center / 84px 48.5px; opacity: .8; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); pointer-events: none; }
.fam { width: 100%; height: auto; overflow: visible; }
.fam text { font-family: var(--body); text-anchor: middle; }
.fam .n-name { font-weight: 600; fill: #fff; transition: fill .45s; }
.fam .n-amt { font-family: var(--display); fill: #fff; transition: fill .45s; font-weight: 600; }
.fam .n-cap { font-weight: 500; fill: rgba(255, 255, 255, .74); transition: fill .45s; }
.fam .n-edge { fill: rgba(52, 51, 60, .92); stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; transition: stroke .45s, fill .45s; }
.fam .n-ring { fill: none; stroke: var(--honey); stroke-width: 2; opacity: 0; }
.fam .honey { fill: var(--honey); }
.fam .honey-hi { fill: var(--pollen); opacity: .55; }
.fam .link-base { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.fam .link-flow { fill: none; stroke: var(--honey); stroke-linecap: round; stroke-dasharray: 12 10; opacity: 0; }
.fam .drop { fill: #FFF1C7; stroke: rgba(31, 30, 36, .55); stroke-width: 1.5; opacity: 0; }
.fam .n.is-heir .n-edge { stroke: var(--honey); fill: rgba(52, 51, 60, .95); }
.fam .n.is-heir .n-ring { opacity: .5; }
.fam .n.is-full .n-name, .fam .n.is-full .n-amt { fill: var(--ink); }
.fam .n.is-zero .n-name, .fam .n.is-none .n-name { fill: rgba(255, 255, 255, .55); }
.fam .n.is-zero .n-amt { fill: rgba(255, 255, 255, .5); }
.fam .n.is-none .n-edge { fill: rgba(52, 51, 60, .4); stroke: rgba(255, 255, 255, .16); stroke-dasharray: 5 6; }
.fam .n.is-none .n-amt { fill: rgba(255, 255, 255, .4); }
.fam .n.is-out .n-edge { fill: rgba(31, 30, 36, .9); stroke: rgba(255, 255, 255, .7); stroke-dasharray: 6 5; }
.fam .n.is-out .n-name { fill: rgba(255, 255, 255, .7); }
.fam .n.is-out .n-amt { fill: #fff; }
.fam .n.is-out .n-cap { fill: var(--pollen); font-weight: 600; }
.fam .n-cross { stroke: var(--pollen); stroke-width: 3; stroke-linecap: round; opacity: 0; }
.fam .n.is-out .n-cross { opacity: 1; }
.fam .n--estate .n-name, .fam .n--estate .n-amt { fill: var(--ink); }
.fam .n--estate .n-edge { stroke: var(--pollen); stroke-width: 2; }

.res { border-top: 1px solid var(--line-dark); padding-top: 16px; display: grid; gap: 10px; }
.res__head { margin: 0; font-family: var(--display); font-size: clamp(1.3rem, 1.75vw, 1.6rem); line-height: 1.22; color: #fff; min-height: 2.44em; font-weight: 600; }
.res__head b { font-weight: 400; color: var(--pollen); white-space: nowrap; }
.res__text { margin: 0; color: var(--mist); font-size: 1rem; line-height: 1.5; min-height: 3em; }

.peek { display: none; }

.tool__static { display: none; }
html.no-js .tool__app { display: none; }
html.no-js .tool__static { display: grid; gap: 18px; justify-items: start; padding: 24px; border-radius: var(--r); background: rgba(52, 51, 60, .7); border: 1px solid var(--line-dark); }
.tool__static-lede { color: var(--mist); }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 28px; }
.rules li { position: relative; padding-left: 30px; color: var(--mist); }
.rules li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 16px; clip-path: var(--hex); background: var(--honey); }
.rules strong { color: #fff; }

.tool__note { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .88rem; line-height: 1.45; color: rgba(255, 255, 255, .7) !important; }
.tool__note::before { content: ''; flex: none; width: 14px; height: 12px; margin-top: 4px; clip-path: var(--hex); background: var(--honey); }

/* Opener intro start states (only while motion runs) */
html.js:not(.no-motion) [data-tool-intro],
html.js:not(.no-motion) .qs > .q,
html.js:not(.no-motion) .qs > .q-slot:not([hidden]),
html.js:not(.no-motion) [data-tool-cta] { opacity: 0; transform: translateY(24px); }
html.js:not(.no-motion) [data-board] { opacity: 0; clip-path: inset(0 0 100% 0 round var(--r)); }

/* ---------- The order the law follows ---------- */
.order { background: var(--paper); }
.order__track { position: relative; --cell: 96px; padding-top: 58px; }
.order__you { position: absolute; top: 0; left: calc(100% / 14); z-index: 2; margin: 0; transform: translateX(-50%); pointer-events: none; transition: left .9s var(--ease); }
@media (prefers-reduced-motion: reduce) { .order__you { transition: none; } }
.order__you span { position: relative; display: block; padding: 8px 14px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.2; white-space: nowrap; }
.order__you span::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 8px; margin-left: -7px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.ostep.is-stop .ostep__cell { box-shadow: none; }
.ostep__cell::after { content: ''; position: absolute; inset: 0; clip-path: var(--hex); background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 60%); opacity: 0; transition: opacity .5s; }
.ostep.is-stop .ostep__cell::after { opacity: 1; }
.ostep.is-stop .ostep__title { color: var(--ink); text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.order__rail { position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: calc(58px + var(--cell) * .433); height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, rgba(31, 30, 36, .22) 0 6px, transparent 6px 12px); }
.order__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--honey), var(--pollen)); transform-origin: left center; }
.order__drop { position: absolute; top: 50%; left: 0; width: 22px; height: 19px; margin: -9.5px 0 0 -11px; clip-path: var(--hex); background: var(--honey); box-shadow: 0 0 0 4px rgba(250, 153, 0, .25); opacity: 0; }
.order__steps { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.ostep { display: grid; justify-items: center; align-content: start; text-align: center; padding: 0 8px; }
.ostep__cell { position: relative; display: grid; place-items: center; width: var(--cell); height: calc(var(--cell) * .866); clip-path: var(--hex); background: var(--ink); margin-bottom: 18px; }
.ostep__cell::before { content: ''; position: absolute; inset: 3px; clip-path: var(--hex); background: var(--paper); }
.ostep__fill { position: absolute; inset: 3px; clip-path: var(--hex); background: linear-gradient(0deg, var(--honey), var(--pollen)); transform-origin: 50% 100%; }
.ostep__cell b { position: relative; z-index: 1; font-family: var(--display); font-weight: 600; font-size: 2.1rem; line-height: 1; color: var(--ink); }
.ostep__title { font-size: 1.36rem; line-height: 1.2; margin-bottom: 8px; }
.ostep__note { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.ostep--crown .ostep__cell { background: var(--teal); }
.ostep--crown .ostep__fill { background: linear-gradient(0deg, var(--teal), #13939c); }
.ostep--crown.is-lit .ostep__cell b { color: #fff; }
.order__foot { margin-top: 38px; }

/* ---------- Who the rules leave out ---------- */
.gaps__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.gaps__media { position: relative; }
.gaps__frame-wrap { width: min(100%, calc(var(--media-cap) * 1.1)); }
.gaps__frame { aspect-ratio: 4 / 4.3; max-height: var(--media-cap); }
.gaps__tag {
  position: absolute; left: -14px; bottom: 34px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 12px 18px 12px 14px; border-radius: var(--r); background: var(--honey); color: var(--ink); font-weight: 700;
  box-shadow: 0 18px 40px rgba(31, 30, 36, .22);
}
.gaps__tag-hex { width: 22px; height: 19px; clip-path: var(--hex); background: var(--ink); }
.gaps__copy h2 { margin-bottom: 16px; }
.gaps__list { position: relative; display: grid; gap: 20px; margin-top: 26px; }
.gaps__list::before { content: ''; position: absolute; left: 25px; top: 30px; bottom: 30px; width: 2px; background: repeating-linear-gradient(180deg, rgba(31, 30, 36, .25) 0 6px, transparent 6px 12px) 0 var(--flow, 0px) / 2px 12px; }
.gaps__frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--lx, 30%) 28%, rgba(255, 214, 140, .38), transparent 46%); mix-blend-mode: screen; }
.gap { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.gap__cell { position: relative; width: 52px; height: 45px; clip-path: var(--hex); background: var(--ink); display: grid; place-items: center; }
.gap__cell::before { content: attr(data-label); position: absolute; inset: 2.5px; clip-path: var(--hex); background: var(--wax); display: grid; place-items: center; font-weight: 700; font-size: .92rem; color: var(--ink); }
.gap__cell[data-label="None"]::before { font-size: .74rem; }
.gap__honey { position: absolute; inset: 2.5px; clip-path: var(--hex); background: linear-gradient(0deg, var(--honey), var(--pollen)); transform-origin: 50% 100%; }
.gap__title { font-size: 1.45rem; margin-bottom: 4px; }
.gap p { margin: 0; color: var(--ink-2); }

/* ---------- Decide for yourself ---------- */
.decide { padding: 0 0 clamp(64px, 6.5vw, 96px); }
.decide__strip { position: relative; overflow: hidden; background: var(--ink); color: var(--honey); margin-bottom: clamp(48px, 5vw, 70px); }
.decide__track { display: flex; width: max-content; }
.decide__track span { display: inline-flex; align-items: center; gap: 26px; padding: 14px 26px 14px 0; font-family: var(--display); font-size: 1.55rem; line-height: 1.2; white-space: nowrap; font-weight: 600; }
.decide__track span::after { content: ''; width: 16px; height: 14px; clip-path: var(--hex); background: var(--pollen); }
.decide__head { margin-bottom: 36px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.decide__side { display: grid; gap: 18px; justify-items: start; }
.decide__side p { margin: 0; font-size: 1.08rem; }
.decide__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dcard { perspective: 900px; }
.dcard a { position: relative; display: grid; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 0 20px 44px rgba(31, 30, 36, .16); transition: box-shadow .4s var(--ease); }
.dcard a:hover { box-shadow: 0 28px 60px rgba(31, 30, 36, .26); }
.dcard__img { display: block; aspect-ratio: 16 / 8.6; overflow: hidden; }
.dcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.dcard a:hover .dcard__img img { transform: scale(1.06); }
.dcard__body { position: relative; display: grid; gap: 8px; padding: 30px 24px 22px; }
.dcard__hex { position: absolute; top: -22px; right: 22px; width: 50px; height: 43px; clip-path: var(--hex); background: var(--ink); }
.dcard__hex::after { content: ''; position: absolute; inset: 9px 11px; clip-path: var(--hex); background: var(--honey); }
.dcard__title { font-size: 1.6rem; }
.dcard__note { color: var(--ink-2); line-height: 1.5; }
.dcard__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--teal); }
.dcard__go .ico { transition: transform .35s var(--ease); }
.dcard a:hover .dcard__go .ico { transform: translateX(6px); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .tool__app { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .q__opts--3 .opt__box { padding-inline: 11px; gap: 9px; }
}
@media (max-width: 1060px) {
  .tool__head { grid-template-columns: 1fr; }
  .tool__app { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "qs" "peek" "board" "cta"; gap: 18px; }
  .order__track { --cell: 62px; padding-top: 0; }
  .order__you { display: none; }
  .order__rail { left: calc(var(--cell) / 2); right: auto; top: 0; bottom: 0; width: 4px; height: auto; margin: 0 0 0 -2px; background: repeating-linear-gradient(180deg, rgba(31, 30, 36, .22) 0 6px, transparent 6px 12px); }
  .order__fill { transform-origin: center top; }
  .order__steps { grid-template-columns: 1fr; gap: 14px; }
  .ostep { grid-template-columns: var(--cell) minmax(0, 1fr); column-gap: 18px; padding-right: 0; justify-items: start; text-align: left; padding: 0; align-items: center; }
  .ostep__cell { grid-row: span 2; margin: 0; }
  .ostep__cell b { font-size: 1.5rem; }
  .ostep__title { font-size: 1.2rem; margin: 0 0 2px; align-self: end; }
  .ostep__note { align-self: start; }
  .gaps__grid { grid-template-columns: 1fr; }
  .gaps__frame { aspect-ratio: 4 / 3; }
  .decide__head { grid-template-columns: 1fr; }
  .decide__grid { grid-template-columns: 1fr; }
  .dcard a { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .dcard__img { aspect-ratio: auto; height: 100%; }
}
@media (max-width: 900px) {
  .peek {
    position: relative; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px;
    border-radius: var(--r); background: var(--slate-2); border: 1.5px solid var(--honey); box-shadow: 0 16px 36px rgba(0, 0, 0, .4);
    color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.3;
  }
  .peek { overflow: hidden; isolation: isolate; }
  .peek-slot { grid-area: peek; }
  .peek.is-float { position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 60; }
  .peek__go { min-height: 44px !important; }
  .peek::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(250, 153, 0, .3) 50%, transparent 65%) var(--sh, 160%) 0 / 260% 100% no-repeat; pointer-events: none; }
  .peek__hex { flex: none; width: 20px; height: 17px; clip-path: var(--hex); background: var(--honey); }
  .peek__txt { flex: 1; min-width: 0; }
  .peek__txt b { font-weight: 700; color: var(--pollen); }
  .peek__go { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 12px; border-radius: var(--r-btn); background: var(--honey); color: var(--ink); font-weight: 700; text-decoration: none; }
  .peek__go .ico { width: 16px; height: 16px; }
}
@media (max-width: 640px) {
  .tool { padding: 22px 0 22px; }
  .tool__title { font-size: clamp(2rem, 9vw, 2.5rem); }
  .tool__head { margin-bottom: 16px; gap: 10px; }
  .tool__intro { font-size: 1rem; }
  .qs { gap: 14px; }
  .q__opts--3 { grid-template-columns: 1fr; gap: 6px; }
  .q__opts--3 .opt__box { min-height: 52px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
  .q__opts--3 .opt__txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
  .opt__box { min-height: 52px; }
  .q--yn .q__label { float: none; width: auto; min-height: 0; margin: 0 0 8px; padding: 0; }
  .q--yn .q__opts { width: 100%; }
  .q--estate { padding: 14px 14px 12px; }
  .board { padding: 4px 12px 16px; }
  .res__head { font-size: 1.3rem; min-height: 0; }
  .res__text { min-height: 0; }
  .tool__cta .btn { width: 100%; }
  .gaps__tag { left: 10px; bottom: 16px; }
  .dcard a { grid-template-columns: 1fr; }
  .dcard__img { aspect-ratio: 16 / 9; }
  .rules { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-tool-intro], html.js .qs > *, html.js [data-tool-cta], html.js [data-board] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .opt__box::before, .opt__hex::after { transition: none; }
}

/* Short laptop screens (1366x768): everything in the tool stays on the first screen */
@media (min-width: 1061px) and (max-height: 860px) {
  .tool { padding: 18px 0 18px; }
  .tool__head { margin-bottom: 12px; align-items: center; }
  .tool__title { font-size: clamp(2rem, 3vw, 2.7rem); }
  .tool__intro { font-size: .98rem; }
  .tool__app { gap: 14px 28px; }
  .qs { gap: 10px; }
  .opt__box { min-height: 46px; padding: 7px 12px; }
  .q--yn .q__label, .q--yn .opt__box { min-height: 46px; }
  .q__label { margin-bottom: 6px; }
  .board { padding: 4px 18px 14px; }
  .board__diagram { max-width: 560px; margin: 0 auto; }
  .tool__cta { gap: 8px; }
}

.order__note { margin: 12px 0 0; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.order__note::before { content: ''; flex: none; width: 14px; height: 12px; margin-top: 5px; clip-path: var(--hex); background: var(--honey); }
