/* BlueKaktus website layer: the homepage (site-home.js) */

/* ---------- 1 · Try it yourself: three cards ---------- */
.x16-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x16-tab .bk-soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #e8f7ec; color: #1f7a34;
  font: 700 10px/1.7 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; vertical-align: 2px; white-space: nowrap; }
/* the sign-up window */
.bk-st .bk-st-b { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.bk-st-f { border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; background: #fff; }
.bk-st-f small { display: block; font-size: 11px; color: var(--muted); }
.bk-st-f b { display: block; min-height: 21px; font-size: 15px; color: var(--navy); }
.bk-st-go { align-self: flex-start; margin-top: 2px; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 9px 18px;
  transition: transform .2s, box-shadow .2s; }
.bk-st.press .bk-st-go { transform: scale(.96); box-shadow: 0 0 0 6px rgba(47, 158, 68, .18); }
.bk-st-steps { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; }
.bk-st-l { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.bk-st-l.ok { opacity: 1; transform: none; }
.bk-st-l i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--green); }
.bk-st-l i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 900px) {
  .x16-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .bk-st .bk-st-b { padding: 14px 16px; gap: 7px; }
  .bk-st-f { padding: 5px 10px; }
  .bk-st-f b { font-size: 14px; min-height: 19px; }
  .bk-st-go { font-size: 13px; padding: 7px 14px; }
  .bk-st-steps { gap: 6px; margin-top: 4px; }
  .bk-st-l { font-size: 13px; }
  .x16-strip { gap: 8px; }
  .x16-tab { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 8px 14px; }
  .x16-tab .xt2 b { font-size: 13px; }
  .x16-tab .bk-soon { display: block; width: max-content; margin: 5px auto 0; }
}

/* ---------- 3 · phones ---------- */
@media (max-width: 1000px) {
  .h28-logo { display: none; }   /* the header already shows the logo */
}

/* the top strip's items: a swipeable row under the header */
.bk-mnav { display: none; }
@media (max-width: 1000px) {
  .bk-mnav { display: block; border-top: 1px solid var(--line); background: #fff; }
  .bk-mnav-in { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .bk-mnav-in::-webkit-scrollbar { display: none; }
  .bk-mp { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
    background: #fff; color: var(--navy); font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; }
  .bk-mp.ai { background: var(--navy); border-color: var(--navy); color: #fff; }
  .bk-mp .cv { opacity: .55; }
  .bk-mp.on { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 48, 107, .12); }
}

/* a menu from the row: a sheet from the bottom with the same content as the desktop menu */
.bk-sheet { position: fixed; inset: 0; z-index: 400; visibility: hidden; transition: visibility 0s .3s; }
.bk-sheet.open { visibility: visible; transition: none; }
.bk-sheet-bg { position: absolute; inset: 0; background: rgba(8, 23, 47, .45); opacity: 0; transition: opacity .25s; }
.bk-sheet.open .bk-sheet-bg { opacity: 1; }
.bk-sheet-in { position: absolute; left: 0; right: 0; bottom: 0; max-height: 84vh; display: flex; flex-direction: column; background: #fff;
  border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px rgba(8, 23, 47, .25); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.bk-sheet.open .bk-sheet-in { transform: none; }
.bk-sheet-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid var(--line); }
.bk-sheet-hd b { font-size: 17px; color: var(--navy); }
.bk-sheet-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; color: var(--navy); cursor: pointer; }
.bk-sheet-body { overflow-y: auto; padding: 16px 18px calc(20px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
html.bk-lock, html.bk-lock body { overflow: hidden; }
.bk-sheet .v27dd.bk-sd { position: static; display: block; opacity: 1; visibility: visible; transform: none; pointer-events: auto; width: auto; min-width: 0; max-width: none;
  margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.bk-sheet .v27dd.bk-sd::before { display: none; }
.bk-sheet .bk-sd .v27dd-in { display: flex; flex-direction: column; gap: 14px; width: auto; min-width: 0; padding: 0; }
.bk-sheet .bk-sd .v27dd-in > * { width: auto; min-width: 0; max-width: none; }
.bk-sheet .bk-sd .h31-inert { cursor: default; }
.bk-sd .v27card { display: block; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #12306b, #1e4fa8); color: #fff; text-decoration: none; }
.bk-sd .v27card .who { display: block; font: 700 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8ff0a4; }
.bk-sd .v27card > b { display: block; margin-top: 6px; font-size: 18px; line-height: 1.25; }
.bk-sd .v27card p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.bk-sd .v27card .mets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.bk-sd .v27card .mets > span { display: block; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.bk-sd .v27card .mets b { display: block; font-size: 17px; color: #8ff0a4; }
.bk-sd .v27card .mets em { display: block; margin-top: 2px; font-size: 12px; font-style: normal; color: rgba(255, 255, 255, .78); }
.bk-sd .v27col { display: flex; flex-direction: column; gap: 2px; }
.bk-sd .v27col .h, .bk-sd .v27on > span { font: 700 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-sd .v27col .h { margin: 4px 0 4px; }
.bk-sd .v27l { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 12px; color: var(--navy); text-decoration: none; }
.bk-sd .v27l i { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #f2f5fb; color: var(--navy); }
.bk-sd .v27l span { display: flex; flex-direction: column; min-width: 0; }
.bk-sd .v27l b { font-size: 15px; }
.bk-sd .v27l small { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.bk-sd .v27l[role="button"] { background: #eef9f1; }
.bk-sd .v27l[role="button"] i { background: var(--green); color: #fff; }
.bk-sd .v27l.sm { padding: 6px; }
.bk-sd .v27l.sm i { width: 28px; height: 28px; }
.bk-sd .v27col.ind { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.bk-sd .v27col.ind .h { grid-column: 1 / -1; }
.bk-sd .v27on { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bk-sd .v27on > span { flex-basis: 100%; margin-bottom: 2px; }
.bk-sd .v27on a { padding: 6px 11px; border-radius: 999px; background: #f2f5fb; color: var(--navy); font-size: 13px; font-weight: 600; text-decoration: none; }
.bk-sd .p28-suite { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); text-decoration: none; }
.bk-sd .p28-suite b { color: var(--navy); }

/* the ticker: the whole line, on two lines if it needs them */
@media (max-width: 760px) {
  .promo .wrap { height: auto; min-height: 38px; padding: 6px 14px; gap: 10px; }
  .promo .pt { white-space: normal; font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* customer logos: in their own colours (site-home.js), two rows on phones so five or more are on screen at once */
@media (max-width: 760px) {
  .h28 .h28-logos { height: auto; padding: 12px 0; }
  .h28 .h28-logos .g { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, 34px); align-items: center; gap: 12px 26px; padding-right: 26px; }
  .h28 .h28-logos .lg { justify-content: center; }
  .h28 .h28-logos .lg img { width: auto !important; height: auto !important; max-width: 86px; max-height: 30px; }
}

/* the five industries: all on screen, three over two */
@media (max-width: 760px) {
  html body #i17rb { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 6px; overflow: visible; width: 100%; }
  html body #i17rb .rb-i { grid-column: span 2; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 0; text-align: center; }
  html body #i17rb .rb-i:nth-child(4) { grid-column: 2 / span 2; }
  html body #i17rb .rb-i:nth-child(5) { grid-column: 4 / span 2; }
  html body #i17rb .rb-i b { white-space: normal; font-size: 12.5px; line-height: 1.25; }
}

/* ---------- 6 · the demo form ---------- */
.bk-df .field label i { font-style: normal; color: #d64545; }
.bk-df .d16-g { align-items: end; }   /* a label that wraps does not push its box out of line */
.bk-df .d16-g .bk-em, .bk-df .d16-g .bk-full { grid-column: 1 / -1; }   /* room for the Verify button and the longer choices */
.bk-df .field select { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink);
  font-family: inherit; font-size: 14px; }
.bk-df .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 48, 107, .1); }
.bk-em-row { display: flex; gap: 8px; }
.bk-em-row input { flex: 1; min-width: 0; }
.bk-vbtn { flex: none; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-family: inherit;
  font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.bk-vbtn:disabled { cursor: default; opacity: .6; }
.bk-em.ok .bk-vbtn { opacity: 1; border-color: var(--green); color: var(--green-2); background: #eef9f1; }
.bk-em.ok input[name="email"] { border-color: var(--green); }
.bk-otp { display: flex; gap: 8px; margin-top: 8px; }
.bk-otp[hidden] { display: none; }
.bk-otp input { flex: 1; min-width: 0; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.bk-resend { flex: none; border: 0; background: none; padding: 0 4px; color: var(--navy); font-family: inherit; font-size: 12.5px; font-weight: 600;
  text-decoration: underline; cursor: pointer; }
.bk-resend:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.bk-em-note { display: block; margin-top: 5px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.bk-em-note:empty { display: none; }
.bk-em-note.err { color: #c43d3d; }
.bk-em-note.ok { color: var(--green-2); font-weight: 600; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bk-cap { margin: 4px 0 8px; }
.bk-cap:empty { display: none; }
.bk-need { margin: 0 0 8px; font-size: 13px; color: #c43d3d; }
.bk-need:empty { display: none; }
.bk-go { display: flex; align-items: center; gap: 14px; margin-top: 4px; flex-wrap: wrap; }
.bk-go small { font-size: 12.5px; color: var(--muted); }
.bk-priv { margin: 10px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.d16.bk-flash { animation: bk-flash 1.6s ease; }
@keyframes bk-flash { 0%, 100% { box-shadow: var(--shadow-2); } 25% { box-shadow: 0 0 0 4px rgba(47, 158, 68, .35), var(--shadow-2); } }
@media (max-width: 560px) {
  .bk-df .d16-g { grid-template-columns: 1fr; }
}
