/*
 * Knockin site framework: layout, type scale and shared blocks for the
 * marketing pages. Ported from the v03 site design (Modular Showroom
 * template, MIT; see docs/site-assets/LICENSE-showroom.txt). Colours, fonts
 * and sizes come from /tokens.css; the header lives in /header.css and the
 * footer in /footer.css. The site uses one light palette everywhere.
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--k-header-h) + 24px); }
body { margin: 0; background: var(--k-bg); color: var(--k-ink); font: 400 16px/1.6 var(--k-font-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .4s, color .4s; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--k-accent); color: var(--k-ink); }
:focus-visible { outline: 2px solid var(--k-green); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--k-ink); color: var(--k-bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--k-max); margin: 0 auto; padding: 0 var(--k-pad); }
.narrow { max-width: 760px; }
.sec { padding: clamp(72px, 9vw, 140px) 0; }
.sec.tight { padding: clamp(48px, 6vw, 90px) 0; }
.sec.alt { background: var(--k-bg-2); }
.sec.inv { background: var(--k-inv-bg); color: var(--k-inv-ink); }
.sec.inv .muted, .sec.inv .lead { color: color-mix(in srgb, var(--k-inv-ink) 70%, transparent); }
.kbg { background-image: var(--k-kline); background-size: 72px 76px; }

/* type: Smooch Sans is tall and narrow, so display sizes run larger than usual */
.d1, .d2, .d3, h1, h2, h3 { font-family: var(--k-font-display); font-weight: 300; letter-spacing: -.005em; line-height: .9; margin: 0; }
.d1 { font-size: clamp(66px, 10vw, 150px); }
.d2 { font-size: clamp(50px, 6.4vw, 98px); }
.d3 { font-size: clamp(34px, 3.4vw, 50px); font-weight: 400; line-height: .95; }
.d1 em, .d2 em, .d3 em { font-style: normal; color: var(--k-green-text); }
.sec.inv .d1 em, .sec.inv .d2 em, .s-green em { color: var(--k-accent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--k-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--k-ink-2); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--k-accent); clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--k-ink-2); max-width: 48ch; margin: 0; }
.muted { color: var(--k-ink-2); }
.small { font-size: 13.5px; }
.mono { font-family: var(--k-font-mono); font-size: 12px; letter-spacing: .06em; }
p { margin: 0; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 34px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--k-ink); background: var(--k-ink); color: var(--k-bg); font-size: 15px; font-weight: 500; transition: transform .3s var(--k-ease), background .3s, color .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--k-ink); }
.btn.ghost:hover { background: var(--k-ink); color: var(--k-bg); }
.btn.lime { background: var(--k-accent); border-color: var(--k-accent); color: var(--k-ink); }
.btn.light { background: var(--k-bg); color: var(--k-ink); border-color: var(--k-bg); }
.btn.line-light { background: transparent; color: var(--k-bg); border-color: rgb(245 242 234 / .6); }
.btn .arr { transition: transform .3s var(--k-ease); }
.btn:hover .arr { transform: translateX(4px); }
.link { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link .arr { transition: transform .3s var(--k-ease); }
.link:hover .arr { transform: translateX(4px); }
.row-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; background: var(--k-bg-2); border-radius: var(--k-radius); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.r169 { aspect-ratio: 16/9; } .r43 { aspect-ratio: 4/3; } .r34 { aspect-ratio: 3/4; } .r11 { aspect-ratio: 1; } .r45 { aspect-ratio: 4/5; }
/* a stage: brand-pattern background that holds a UI mock-up and/or an IP pose */
.stage { position: relative; border-radius: var(--k-radius); background: var(--k-bg-2) var(--k-kline); background-size: 72px 76px; display: grid; place-items: center; overflow: hidden; padding: clamp(22px, 3vw, 44px); }
.stage .ip { position: absolute; width: clamp(90px, 24%, 190px); bottom: 0; right: 4%; filter: drop-shadow(0 18px 24px rgb(4 48 37 / .16)); pointer-events: none; }
.stage .ip.l { right: auto; left: 4%; }
.ip-float { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- shared blocks ---------- */
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.head .lead { max-width: 42ch; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.card { display: grid; gap: 12px; align-content: start; }
.card h3 { font: 500 19px/1.25 var(--k-font-text); letter-spacing: -.01em; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--k-ink-2); }
.box { background: var(--k-surface); border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: clamp(22px, 2.4vw, 32px); }
.box .num { font: 500 12px var(--k-font-mono); color: var(--k-ink-3); }
.sec.alt .box { background: var(--k-bg); }

/* page hero (inner pages): text left, IP or UI right */
.phero { padding: clamp(48px, 7vw, 110px) 0 clamp(40px, 6vw, 80px); }
.phero .grid2 { align-items: end; }
.phero .d1 { max-width: 12ch; font-size: clamp(58px, 7vw, 112px); }
.phero .head .d1 { max-width: 14ch; }
.phero .lead { margin-top: 26px; }
.phero .row-btns { margin-top: 32px; }
.phero .stage { min-height: 380px; }
.crumb { font: 500 12px var(--k-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--k-ink-3); margin-bottom: 18px; }
.crumb a:hover { color: var(--k-ink); }

/* steps strip */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--k-line); }
.steps > div { padding: 28px 28px 0 0; display: grid; gap: 12px; align-content: start; }
.steps > div + div { border-left: 1px solid var(--k-line); padding-left: 28px; }
.steps .n { font: 300 64px/.8 var(--k-font-display); color: var(--k-green-text); }
.steps h3 { font: 500 19px/1.3 var(--k-font-text); }
.steps img { height: 96px; width: auto; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { position: relative; overflow: hidden; display: grid; align-content: end; padding: 22px; border-radius: var(--k-radius); background: var(--k-bg-2) var(--k-kline); background-size: 72px 76px; color: var(--k-ink); transition: background-color .4s; }
.tile:hover { background-color: var(--k-bg-3); }
.tile { grid-template-rows: minmax(0, 1fr) auto; }
.tile img { height: clamp(120px, 13vw, 200px); width: auto; max-width: 88%; object-fit: contain; justify-self: center; align-self: end; margin: 26px 0 16px; transition: transform .8s var(--k-ease); filter: drop-shadow(0 16px 20px rgb(4 48 37 / .14)); }
.tile:hover img { transform: translateY(-6px) rotate(-2deg); }
.tile b { font: 300 clamp(36px, 3vw, 48px)/.9 var(--k-font-display); }
.tile span { font-size: 14px; color: var(--k-ink-2); }
.tile .arr { position: absolute; top: 20px; right: 22px; font-size: 18px; transition: transform .3s; }
.tile:hover .arr { transform: translate(3px, -3px); }

/* CTA band with mascot */
.cta { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid var(--k-line); border-bottom: 1px solid var(--k-line); }
.cta img { width: clamp(70px, 8vw, 110px); }
.cta .d2 { font-size: clamp(42px, 5vw, 76px); }

/* accordion */
.acc { border-top: 1px solid var(--k-line); }
.acc details { border-bottom: 1px solid var(--k-line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 14px; height: 14px; position: relative; flex: none; margin-top: 6px; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; height: 1px; background: currentColor; transition: transform .35s var(--k-ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0); }
.acc .ans { padding: 0 0 24px; color: var(--k-ink-2); max-width: 70ch; }
.acc .ans a { color: var(--k-ink); border-bottom: 1px solid; }

/* chips / filters / segmented switch */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--k-line); background: none; font-size: 14px; transition: all .3s; }
.chips button.on, .chips button:hover { background: var(--k-ink); color: var(--k-bg); border-color: var(--k-ink); }
.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--k-bg-2); border: 1px solid var(--k-line); }
.switch button { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-size: 14px; }
.switch button.on { background: var(--k-ink); color: var(--k-bg); }

/* forms */
.field input { width: 100%; border: 0; border-bottom: 1px solid var(--k-line); background: none; padding: 12px 0; font-size: 16px; outline: none; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgb(4 28 22 / .94); display: grid; place-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s; padding: 72px 20px 112px; }
.lb.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lb .lbx { max-width: min(92vw, 520px); width: 100%; transform: scale(.96); transition: transform .5s var(--k-ease); }
.lb.open .lbx { transform: none; }
.lb .cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
.lb > button { position: absolute; background: none; border: 0; color: #fff; font-size: 28px; width: 56px; height: 56px; }
.lb .x { top: 12px; right: 12px; } .lb .pv { left: 10px; top: 50%; } .lb .nx { right: 10px; top: 50%; }
.lb .lbx { max-height: calc(100svh - 184px); overflow-y: auto; }
.lb .cap { padding-inline: 20px; }
@media (max-width: 600px) { .lb .pv { left: calc(50% - 64px); top: auto; bottom: 54px; } .lb .nx { right: calc(50% - 64px); top: auto; bottom: 54px; } }

/* ======================================================================
   Product UI mock-ups — redrawn from the real app (dev.knockin.info, 2026-11-03/06).
   All names and content in them are fictional examples.
   ====================================================================== */
.ui { --u-bg: var(--k-surface); --u-ink: #10231D; --u-ink2: #5F6E68; --u-line: #E6E1D4; --u-soft: #F3F0E7;
  background: var(--u-bg); color: var(--u-ink); border-radius: 20px; border: 1px solid var(--u-line); box-shadow: 0 30px 60px -28px rgb(4 48 37 / .35), 0 2px 6px rgb(4 48 37 / .06); font-size: 14px; line-height: 1.45; width: 100%; max-width: 380px; position: relative; z-index: 2; text-align: left; }
.ui .bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--u-line); font-size: 13px; }
.ui .bar b { font-weight: 600; }
.ui .bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--k-green); }
.ui .bar .sp { flex: 1; }
.ui .body { padding: 16px; display: grid; gap: 10px; }
.ui .tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--u-soft); font-size: 12px; color: var(--u-ink2); }
.ui .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ui .av { width: 34px; height: 34px; border-radius: 50%; flex: none; background: #E9F3EE center / cover; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--k-ink); overflow: hidden; }
.ui .av img { width: 120%; height: 120%; object-fit: cover; object-position: 50% 18%; }
.ui .btnu { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--u-line); background: #fff; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.ui .btnu.p { background: #10231D; color: #fff; border-color: #10231D; }
.ui .btnu.g { background: var(--k-ink); color: var(--k-bg); border-color: var(--k-ink); }
/* card */
.ui-card { padding: 26px 22px 22px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.ui-card .face { width: 74px; height: 74px; border-radius: 50%; background: #E3EFE9; display: grid; place-items: center; font: 300 34px/1 var(--k-font-display); color: var(--k-ink); position: relative; }
.ui-card .face::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--k-green); border: 2px solid var(--u-bg); }
.ui-card h4 { margin: 0; font: 400 36px/.9 var(--k-font-display); }
.ui-card .role { color: var(--u-ink2); font-size: 13px; }
.ui-card .talk { width: 100%; height: 50px; border-radius: 14px; background: var(--k-ink); color: var(--k-bg); display: flex; align-items: center; gap: 10px; padding: 0 8px 0 8px; font-size: 14px; font-weight: 500; margin-top: 6px; }
.ui-card .talk .av { width: 36px; height: 36px; background: var(--k-bg); }
.ui-card .talk .go { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; background: var(--k-accent); color: var(--k-ink); display: grid; place-items: center; }
.ui-card .fine { font-size: 11.5px; color: var(--u-ink2); }
/* chat */
.msgs { display: grid; gap: 10px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; }
.msg.v { justify-self: end; background: #10231D; color: #fff; border-bottom-right-radius: 5px; }
.msg.a { justify-self: start; background: var(--u-soft); border-bottom-left-radius: 5px; }
.msgrow { display: flex; gap: 8px; align-items: end; }
.msgrow .av { width: 28px; height: 28px; }
.src { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 11.5px; color: var(--u-ink2); margin-top: 2px; }
.src span { height: 22px; padding: 0 8px; border-radius: 6px; background: #fff; border: 1px solid var(--u-line); display: inline-flex; align-items: center; gap: 4px; }
.src span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--k-green); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--u-ink2); opacity: .4; animation: tp 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 30% { opacity: 1; transform: translateY(-2px); } }
.composer { display: flex; gap: 8px; align-items: center; margin: 4px 16px 16px; height: 42px; border-radius: 12px; border: 1px solid var(--u-line); padding: 0 6px 0 12px; color: var(--u-ink2); font-size: 13px; }
.composer .sp { flex: 1; }
.composer .send { width: 30px; height: 30px; border-radius: 9px; background: #10231D; color: #fff; display: grid; place-items: center; font-size: 13px; }
/* handoff */
.ui-hand { padding: 16px; display: grid; gap: 12px; }
.ui-hand .hd { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; }
.ui-hand .hd i { width: 26px; height: 26px; border-radius: 8px; background: #FFF4C2; display: grid; place-items: center; font-style: normal; }
.ui-hand .q { background: var(--u-soft); border-radius: 12px; padding: 12px; font-size: 13.5px; }
.ui-hand .q small { display: block; color: var(--u-ink2); font-size: 11.5px; margin-bottom: 4px; }
.ui-hand .acts2 { display: flex; gap: 8px; justify-content: flex-end; }
/* booking */
.ui-book { padding: 16px; display: grid; gap: 10px; }
.ui-book .when { display: flex; gap: 12px; align-items: center; }
.ui-book .cal { width: 52px; border-radius: 12px; overflow: hidden; border: 1px solid var(--u-line); text-align: center; flex: none; }
.ui-book .cal small { display: block; background: var(--k-ink); color: var(--k-bg); font-size: 10.5px; letter-spacing: .08em; padding: 3px 0; }
.ui-book .cal b { display: block; font: 400 26px/1.3 var(--k-font-display); }
.ui-book .ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--k-green-deep); font-weight: 600; }
.ui-book .ok::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: #DDF1E8; display: grid; place-items: center; font-size: 11px; }
.ui-book .brief { border-top: 1px dashed var(--u-line); padding-top: 10px; font-size: 13px; color: var(--u-ink2); }
.ui-book .brief b { color: var(--u-ink); }
/* who's there */
.ui-who { padding: 22px; display: grid; gap: 12px; text-align: center; justify-items: center; }
.ui-who h4 { margin: 0; font: 400 34px/.9 var(--k-font-display); }
.ui-who .in { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--u-line); display: flex; align-items: center; padding: 0 12px; color: var(--u-ink2); font-size: 13.5px; }
.ui-who .in b { color: var(--u-ink); font-weight: 500; }
.ui-who .in i { width: 1px; height: 18px; background: var(--u-ink); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* search (Discover) */
.ui-search { padding: 22px 18px; display: grid; gap: 12px; }
.ui-search h4 { margin: 0; text-align: center; font: 400 34px/.95 var(--k-font-display); }
.ui-search .box2 { border: 1px solid var(--u-line); border-radius: 14px; padding: 12px; display: grid; gap: 14px; background: #fff; }
.ui-search .box2 p { color: var(--u-ink2); font-size: 13px; min-height: 20px; }
.ui-search .box2 .tl { display: flex; justify-content: space-between; align-items: center; color: var(--u-ink2); }
.ui-search .mic { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--u-line); display: grid; place-items: center; }
.ui-search .mic svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.ui-search .res { display: grid; gap: 8px; }
.ui-search .res .r { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--u-line); border-radius: 12px; background: #fff; font-size: 13px; }
.ui-search .res .r small { display: block; color: var(--u-ink2); font-size: 11.5px; }
.ui-search .res .r .sp { flex: 1; }
.ui-search .res .r code { font: 500 10.5px var(--k-font-mono); color: var(--u-ink2); background: var(--u-soft); padding: 2px 6px; border-radius: 5px; }
/* knowledge list */
.ui-know .li { display: flex; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--u-line); align-items: start; font-size: 13px; }
.ui-know .li:last-child { border-bottom: 0; }
.ui-know .li i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 12px; flex: none; background: #E3EFE9; color: var(--k-ink); }
.ui-know .li small { display: block; color: var(--u-ink2); font-size: 12px; }
/* contact */
.ui-contact .rows { display: grid; gap: 0; }
.ui-contact .rw { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--u-line); font-size: 13px; }
.ui-contact .rw span { color: var(--u-ink2); }
/* concierge picker */
.ui-pick .opt { display: flex; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--u-line); cursor: pointer; transition: background .2s; }
.ui-pick .opt:hover { background: var(--u-soft); }
.ui-pick .opt.on { background: #EEF6F1; box-shadow: inset 3px 0 0 var(--k-green); }
.ui-pick .opt .av { width: 40px; height: 40px; background: var(--u-soft); }
.ui-pick .opt small { display: block; color: var(--u-ink2); font-size: 12px; }
.ui-pick .opt .ck { margin-left: auto; color: var(--k-green-text); opacity: 0; }
.ui-pick .opt.on .ck { opacity: 1; }
/* UI in dark mode keeps its own light surface (it's a screenshot of the app) */
.ui-stack { position: relative; display: grid; gap: 14px; justify-items: center; width: 100%; z-index: 2; }
.ui-stack .ui:nth-child(2) { margin-left: 18%; max-width: 330px; }
.label-ex { font: 500 10.5px var(--k-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--k-ink-3); }

/* ---------- real app screens (assets/img/app, sources in 来源.json) ----------
   .shot.m = phone screen, .shot.pc = desktop screen in a browser bar. Screens never overlap each other or the IP. */
.shot { margin: 0; display: grid; gap: 10px; justify-items: center; align-content: start; width: 100%; position: relative; z-index: 2; }
.shot img { width: 100%; height: auto; background: #fff; }
.shot.m img { max-width: 290px; border-radius: 32px; border: 7px solid #fff; box-shadow: 0 0 0 1px var(--k-line), 0 34px 60px -34px rgb(4 48 37 / .45); }
.shot.sm img { max-width: 250px; }
.shot.pc .frame { width: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--k-line), 0 34px 60px -34px rgb(4 48 37 / .4); }
.shot.pc .frame::before { content: ""; display: block; height: 26px; background: #F1EEE6 radial-gradient(circle at 14px 13px, #D8D2C4 4px, transparent 4.5px), radial-gradient(circle at 28px 13px, #D8D2C4 4px, transparent 4.5px), radial-gradient(circle at 42px 13px, #D8D2C4 4px, transparent 4.5px); border-bottom: 1px solid var(--k-line); }
.shot.panel img { max-width: 340px; border-radius: 18px; box-shadow: 0 0 0 1px var(--k-line), 0 30px 50px -32px rgb(4 48 37 / .4); }
.shot figcaption { font: 500 11px var(--k-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--k-ink-3); text-align: center; }
.shots { display: flex; gap: clamp(12px, 2vw, 24px); justify-content: center; align-items: start; width: 100%; position: relative; z-index: 2; }
.shots .shot { width: auto; flex: 1 1 0; min-width: 0; }
.shots .shot.m img { max-width: 250px; }
.stage > .solo { width: min(54%, 300px); height: auto; filter: drop-shadow(0 22px 26px rgb(4 48 37 / .16)); position: relative; z-index: 2; }
@media (max-width: 760px) { .shots { gap: 10px; } .shots .shot.m img { border-width: 4px; border-radius: 22px; } }

/* ---------- app replicas: dev.knockin.info screens rebuilt as HTML (assets/replicas), scaled to fit ---------- */
.replica { position: relative; width: 100%; overflow: hidden; border-radius: 14px; background: #f0f0f0; box-shadow: 0 0 0 1px var(--k-line), 0 34px 60px -34px rgb(4 48 37 / .4); z-index: 2; }
.replica > .kr { position: absolute; top: 0; left: 0; transform-origin: 0 0; pointer-events: none; user-select: none; text-align: left; }
/* keep site styles out of the replica: it carries its own computed styles */
.kr h1, .kr h2, .kr h3, .kr h4, .kr h5, .kr h6 { font-family: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; font-size: inherit; margin: 0; }
.kr img { display: inline; max-width: none; }
.kr button, .kr input, .kr textarea { font: inherit; color: inherit; }
.kr a { color: inherit; }
.kr ::selection { background: transparent; }
.replica.panel { max-width: 360px; margin: 0 auto; border-radius: 22px; }
.replica:not(:has(.kr)) { aspect-ratio: 16 / 10; }
.replica.m:not(:has(.kr)) { aspect-ratio: 390 / 844; }
.replica.panel:not(:has(.kr)) { aspect-ratio: 560 / 760; }
.shots .replica.m { max-width: 280px; }
.shot.rep { width: 100%; }
.shot.rep .replica { width: 100%; }
.slide .vis .shot.rep { max-width: 600px; }
.slide .vis .shots .shot.rep { width: auto; flex: 1 1 0; }
.rep-cap { font: 500 11px var(--k-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--k-ink-3); text-align: center; margin-top: 10px; }

/* ---------- combo: an illustration + one real app screen ----------
   The app screen is the main thing and is shown near its real size (--uw is set by knockin.js
   to about 85% of the screen's real CSS width), so its text stays readable.
   The illustration sits behind it, on the other side, and the screen only overlaps its plinth or outer edge. */
.stage:has(> .combo) { background: none; padding: 0; overflow: visible; min-height: 0 !important; display: block; }
.combo { position: relative; width: 100%; }
.combo .art { position: relative; z-index: 1; border-radius: var(--k-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--k-bg); box-shadow: 0 0 0 1px rgb(4 48 37 / .05); width: 66%; }
.combo .art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--k-ease); }
.combo:hover .art img { transform: scale(1.025); }
.combo .float { position: relative; z-index: 3; width: min(var(--uw, 600px), 100%); margin: -8% 0 0 auto; transition: transform .6s var(--k-ease); }
.combo:has(.float.l) .art { margin-left: auto; }
.combo .float.l { margin: -8% auto 0 0; }
.combo:hover .float { transform: translateY(-6px); }
/* beside: phones and tall panels stand next to the illustration */
.combo:has(.float.phone), .combo:has(.float.panelw) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 20px; }
.combo:has(.float.phone) .art, .combo:has(.float.panelw) .art { width: auto; margin: 0; }
.combo .float.phone, .combo .float.panelw { width: 100%; max-width: var(--uw, 330px); margin: 0; justify-self: end; }
.combo .float.l.phone, .combo .float.l.panelw { order: -1; margin: 0; justify-self: start; }
/* the UI surfaces */
.combo .float .replica, .combo .float .appimg { display: block; width: 100%; height: auto; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgb(4 48 37 / .08), 0 30px 54px -20px rgb(4 48 37 / .38); }
.combo .float .replica.panel { max-width: none; border-radius: 16px; }

/* ---------- phone: real 390 x 844 screen, bezel, Dynamic Island, status bar ---------- */
.replica.m, .pframe { position: relative; display: block; aspect-ratio: 390 / 844 !important; width: 100%; max-width: 330px; margin: 0 auto;
  border-radius: 13.5% / 6.2%; overflow: hidden; background: #fff; isolation: isolate;
  box-shadow: 0 0 0 9px #161a19, 0 0 0 10px #4a504e, 0 40px 70px -28px rgb(4 48 37 / .55) !important; }
.replica.m::after, .pframe::after { content: ""; position: absolute; z-index: 6; top: 1.4%; left: 50%; width: 31%; height: 4.1%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.combo .float .replica.m, .combo .float .pframe { max-width: none; border-radius: 13.5% / 6.2%; }
.combo .float .pframe .appimg, .pframe .appimg { border-radius: 0; box-shadow: none; }
.pframe img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.replica.m .sbar { position: absolute; z-index: 5; top: 0; left: 0; width: 390px; height: 47px; transform-origin: 0 0; display: flex; align-items: center; justify-content: space-between; padding: 4px 30px 0 34px; font: 600 16px/1 -apple-system, "SF Pro Text", Inter, system-ui, sans-serif; color: #111; background: inherit; }
.replica.m .sbar svg { height: 12px; width: auto; display: block; }
.replica.m .sbar span { display: flex; gap: 6px; align-items: center; }
.shot .replica.m { max-width: 330px; }

.art-solo { border-radius: var(--k-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--k-bg); }
.art-solo.tall { aspect-ratio: 4 / 5; }
.art-solo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--k-ease); }
.art-solo:hover img, a:hover .art-solo img { transform: scale(1.03); }
#personality .stage:has(> .combo) { max-width: 900px; margin: 0 auto; }
/* rows with an app screen give the screen the wider column */
.mrow:has(.combo) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.mrow.rev:has(.combo) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 760px) {
  .mrow:has(.combo), .mrow.rev:has(.combo) { grid-template-columns: minmax(0, 1fr); }
  .mrow > *, .grid2 > *, .phero .stage { min-width: 0; }
  .combo:has(.float.phone), .combo:has(.float.panelw) { display: block; }
  .combo .art, .combo:has(.float.phone) .art, .combo:has(.float.panelw) .art { width: 100%; }
  .combo .float, .combo .float.l { width: 100%; margin: 20px 0 0; }
  .combo .float.phone, .combo .float.l.phone { width: min(300px, 82%); max-width: none; margin: 28px auto 0; }
  .combo .float.panelw, .combo .float.l.panelw { width: min(var(--uw), 100%); max-width: none; margin: 20px auto 0; }
}

/* ---------- page sections shared by home and inner pages ---------- */
.mrow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 5vw, 80px); padding: clamp(24px, 3vw, 44px) 0; }
.mrow + .mrow { border-top: 1px solid var(--k-line); }
.mrow.rev .stage { order: 2; }
.mrow .stage { min-height: 380px; }
.mrow .mtxt { display: grid; gap: 16px; }
.mrow .mtxt p { color: var(--k-ink-2); max-width: 44ch; line-height: 1.7; }
@media (max-width: 760px) { .mrow { grid-template-columns: 1fr; } .mrow.rev .stage { order: 0; } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 28vw, 400px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--k-pad) 8px; scroll-padding-inline: var(--k-pad); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail > * { scroll-snap-align: start; }
.scene .stage { aspect-ratio: 4 / 4.4; padding: 0; align-items: end; }
.scene .stage img { width: 64%; margin-top: 12%; transition: transform .8s var(--k-ease); }
.scene:hover .stage img { transform: translateY(-6px); }
.scene .q { position: absolute; top: 18px; left: 18px; right: 18px; background: var(--k-surface); border-radius: 14px 14px 14px 4px; padding: 10px 13px; font-size: 13.5px; box-shadow: 0 10px 24px -14px rgb(4 48 37 / .4); }
.scene h3 { font: 300 38px/.9 var(--k-font-display); margin-top: 18px; }
.scene p { color: var(--k-ink-2); font-size: 14.5px; margin-top: 6px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--k-line); background: none; font-size: 18px; transition: all .3s; }
.rail-nav button:hover { background: var(--k-ink); color: var(--k-bg); }

.ethos-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--k-line); }
.ethos-row article { padding: 40px 40px 10px 0; display: grid; gap: 14px; align-content: start; }
.ethos-row article + article { border-left: 1px solid var(--k-line); padding-left: 40px; }
.ethos-row article { position: relative; }
.ethos-row .eth-ip { position: absolute; right: 24px; top: 26px; height: 84px; width: auto; transition: transform .5s var(--k-ease); }
.ethos-row article:hover .eth-ip { transform: translateY(-6px) rotate(-4deg); }
.ethos-row article h3, .ethos-row article p { padding-right: 96px; }
.contact2 > div:has(.price-ip) { position: relative; }
.price-ip { position: absolute; right: 8%; top: 40px; height: 130px; width: auto; }
.ethos-row .num { font: 500 12px var(--k-font-mono); color: var(--k-ink-3); }
@media (max-width: 760px) { .ethos-row { grid-template-columns: 1fr; } .ethos-row article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--k-line); } }

.contact2 { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--k-line); }
.contact2 > div { padding: clamp(36px, 5vw, 64px) clamp(0px, 3vw, 50px) 0 0; display: grid; gap: 18px; align-content: start; }
.contact2 > div + div { border-left: 1px solid var(--k-line); padding-left: clamp(20px, 3vw, 50px); }
.price-big { font: 300 clamp(80px, 9vw, 140px)/.8 var(--k-font-display); }
.price-big small { font: 400 16px var(--k-font-text); color: var(--k-ink-2); margin-left: 6px; }
@media (max-width: 760px) { .contact2 { grid-template-columns: 1fr; } .contact2 > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--k-line); margin-top: 36px; } }

/* ---------- card template previews (templates page + home) ---------- */
.tpl { --t-bg: var(--k-surface); --t-ink: var(--k-ink); --t-acc: var(--k-green); --t-btn: var(--k-ink); --t-btn-ink: var(--k-bg);
  width: 100%; border-radius: 20px; background: var(--t-bg); color: var(--t-ink); padding: 24px 22px 20px; display: flex; flex-direction: column; position: relative; overflow: hidden; border: 1px solid rgb(4 48 37 / .08); box-shadow: 0 24px 40px -26px rgb(4 48 37 / .35); text-align: left; }
.tpl .tt { font: 500 10px var(--k-font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.tpl .nm { font: 300 clamp(34px, 2.9vw, 46px)/1 var(--k-font-display); }
.tpl > div { width: 100%; }
.tpl .rl { font-size: 14px; opacity: .75; margin-top: 6px; }
.tpl .go { min-height: 40px; border-radius: 12px; background: var(--t-btn); color: var(--t-btn-ink); display: flex; align-items: center; gap: 8px; padding: 6px; font-size: 12.5px; font-weight: 500; margin-top: auto; }
.tpl .go img { width: 30px; height: 30px; border-radius: 50%; background: var(--k-bg); object-fit: cover; object-position: 50% 15%; }
.tpl .deco { align-self: center; height: 210px; width: 100%; max-width: 84%; object-fit: contain; margin: 24px 0; pointer-events: none; filter: drop-shadow(0 14px 18px rgb(4 48 37 / .16)); transition: transform .8s var(--k-ease); }
.tpl:hover .deco, .card:hover .tpl .deco { transform: translateY(-6px) rotate(-2deg); }
.tpl .chips2 { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tpl .chips2 span { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--t-ink) 9%, transparent); }
.tpl.paper { --t-bg: var(--k-bg); }
.tpl.sage { --t-bg: #E4ECE3; --t-ink: var(--k-ink); --t-btn: var(--k-ink); --t-btn-ink: var(--k-bg); }
.tpl.lime { --t-bg: var(--k-accent); --t-ink: var(--k-ink); }
.tpl.orange { --t-bg: #F6E4DA; --t-ink: #5A2414; --t-btn: var(--k-orange); --t-btn-ink: #fff; }
.tpl.sand { --t-bg: #EFE6D6; --t-ink: #3A2E22; --t-btn: #3A2E22; --t-btn-ink: var(--k-bg); }
.tpl.mint { --t-bg: #DDEFE6; --t-ink: #0B3D2E; --t-btn: var(--k-green); --t-btn-ink: #fff; }
.tpl.lavender { --t-bg: #EAE5EE; --t-ink: #46384E; --t-btn: #685174; --t-btn-ink: #fff; }
.tpl.sky { --t-bg: #DFEAF0; --t-ink: #294858; --t-btn: #294858; --t-btn-ink: #fff; }
.tpl.editorial .nm { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1; }
.cast-avatar { width: 28px; height: 28px; flex: 0 0 28px; display: block; overflow: hidden; border-radius: 50%; background: var(--k-bg); }
.tpl .go .cast-avatar img, #people .cast-avatar img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; transform: scale(2); transform-origin: 50% 15%; background: none; }
#people .cast-avatar { width: 46px; height: 46px; flex-basis: 46px; }
@media (max-width: 600px) {
  .tpl { padding: 18px 14px 14px; }
  .tpl .nm { font-size: 32px; }
  .tpl.editorial .nm { font-size: 25px; }
  .tpl .rl { font-size: 12px; }
  .tpl .chips2 { gap: 4px; margin-top: 8px; }
  .tpl .chips2 span { font-size: 10px; padding: 3px 6px; }
  .tpl .deco { height: 146px; margin: 16px 0; }
  .tpl .go { font-size: 10.5px; gap: 5px; }
  .tpl .cast-avatar { width: 23px; height: 23px; flex-basis: 23px; }
}

/* small IP on text boxes, plans and article cards */
.box-ip { height: 64px; width: auto; object-fit: contain; justify-self: start; filter: drop-shadow(0 10px 12px rgb(4 48 37 / .14)); transition: transform .6s var(--k-ease); }
.box:hover .box-ip { transform: translateY(-4px) rotate(-3deg); }
.box { transition: transform .5s var(--k-ease), box-shadow .5s var(--k-ease); }
a.box:hover, .box:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgb(4 48 37 / .35); }
.plan .box-ip { position: absolute; right: 20px; bottom: 14px; height: 104px; width: auto; transition: transform .5s var(--k-ease); }
.plan:hover .box-ip { transform: translateY(-6px) rotate(-3deg); }
.faq-art { display: block; width: min(100%, 440px); height: auto; margin-top: 34px; border-radius: 18px; }
.plan { position: relative; }

/* scroll reveal (added by knockin.js only, so the page reads fine without JS) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--k-ease), transform .9s var(--k-ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid2, .grid3, .steps { grid-template-columns: 1fr; }
  .steps > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--k-line); }
  .steps > div { padding-bottom: 24px; }
  .cta { grid-template-columns: 1fr; }
  .head { align-items: start; }
  .phero .stage { min-height: 300px; }
  .ui-stack .ui:nth-child(2) { margin-left: 8%; }
}
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tile { padding: 14px; } .tile img { height: 104px; margin: 18px 0 10px; } .tile b { font-size: 28px; } .tile span { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* last slot of a post grid: the blog itself */
.more-card { background: var(--k-bg-2); }
.more-card img { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; }

/* phones: wide app screens keep a readable size and scroll sideways instead of shrinking */
@media (max-width: 760px) {
  .combo .float:not(.phone):has(.replica:not(.readable)), .shot.rep:has(.replica:not(.m):not(.readable)) { overflow-x: auto; scrollbar-width: none; border-radius: 14px; box-shadow: 0 0 0 1px rgb(4 48 37 / .08), 0 24px 40px -22px rgb(4 48 37 / .35); }
  .combo .float:not(.phone):has(.replica)::-webkit-scrollbar, .shot.rep::-webkit-scrollbar { display: none; }
  .combo .float:not(.phone) .replica:not(.m):not(.readable), .shot.rep .replica:not(.m):not(.readable) { width: calc(var(--rw, 600) * .62px); max-width: none; box-shadow: none; }
}

/* Reflowed excerpts of the exported Message UI: original copy and colours, readable at every width. */
.replica.readable { aspect-ratio: auto; background: #f7f7f7; }
.replica.readable > .kr { position: relative; width: 100%; height: auto; transform: none; }
.focus-app { padding: clamp(18px, 3vw, 28px); color: #303541; background: #f7f7f7; font: 400 16px/1.5 Inter, system-ui, sans-serif; display: grid; gap: 18px; }
.focus-app .focus-row { display: flex; align-items: flex-end; gap: 12px; }
.focus-app .focus-avatar { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #8fc8a9; color: #fff; font-size: 11px; font-weight: 600; }
.focus-app .focus-avatar.assistant { background: #009f78; }
.focus-app .focus-bubble { padding: 14px 16px; background: #ededed; border-radius: 16px; max-width: calc(100% - 46px); }
.focus-app .focus-bubble.answer { background: #e6f0ed; }
.focus-app .focus-task { margin-left: 46px; padding: 20px; border: 1px solid #eee; border-radius: 16px; background: #fff; display: grid; gap: 16px; }
.focus-app .focus-task-title { display: flex; gap: 12px; align-items: center; font-weight: 510; font-size: 16px; color: #3f3f3f; }
.focus-app .focus-task-title svg { width: 22px; height: 22px; flex: 0 0 22px; color: #c4a318; }
.focus-app .focus-task p { color: #6a6a6a; font-size: 14px; margin-top: 4px; }
.focus-app .focus-actions { display: flex; justify-content: flex-end; gap: 8px; }
.focus-app .focus-actions span { display: inline-flex; padding: 8px 20px; background: #eaeaea; border-radius: 999px; color: #050e0b; font-size: 15px; }
.focus-app .focus-actions .reply { background: #1b201f; color: #fff; }
@media (max-width: 480px) {
  .focus-app { font-size: 14px; gap: 14px; padding: 16px; }
  .focus-app .focus-row { gap: 9px; }
  .focus-app .focus-avatar { width: 28px; height: 28px; flex-basis: 28px; }
  .focus-app .focus-bubble { max-width: calc(100% - 37px); padding: 12px; }
  .focus-app .focus-task { margin-left: 0; padding: 16px; }
}

/* Current dev UI exports (2026-11-09). Native labels, controls and styling are retained.
   Fixed viewport positioning and empty flex space are removed so each complete panel fits the website. */
.combo.product-detail .art { width: 44%; max-width: 300px; margin-left: auto; }
.combo.product-detail .float { width: 100%; max-width: none; margin: 18px 0 0; }
.combo.product-detail .replica { border-radius: 22px; box-shadow: 0 0 0 1px rgb(4 48 37 / .09), 0 24px 48px -30px rgb(4 48 37 / .3); }
.live-ui-export { width: 100%; }
.live-ui-export > * { width: 100%; }
.live-ui-export textarea { width: 100%; resize: none; }
.live-ui-export [data-ui="contact-v2-column"] { width: 100%; margin-inline: auto !important; }
.live-ui-export [style*="display:grid"] { grid-template-columns: minmax(0, 1fr) !important; }
.live-contact [data-ui="contact-detail-top-bar"] > div,
.live-contact [data-ui="conversationContactInfoCopySlot"] { margin-left: auto !important; }
.live-contact [data-ui="contact-action-bar"] > div { margin-inline: auto !important; }
.live-ui-export [data-ui="contact-detail-scroll"] { flex: none !important; }
.live-ui-export [data-ui="conversationContactInfoRow"] a { overflow-wrap: anywhere; white-space: normal !important; }
.live-goals { background: #f7f7f7; }
@media (max-width: 600px) {
  .live-ui-export [data-ui="contact-v2-column"] { padding-block: 18px !important; }
}

/* AI Concierge page: personality picker */
.pick-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.pv { display: grid; justify-items: center; gap: 14px; text-align: center; }
.pv img { width: clamp(160px, 18vw, 240px); height: auto; filter: drop-shadow(0 20px 26px rgb(4 48 37 / .2)); }
.pv .say { background: var(--k-surface); border: 1px solid var(--k-line); border-radius: 18px 18px 18px 4px; padding: 14px 18px; max-width: 40ch; font-size: 15px; }
.ui-pick { max-width: 420px; max-height: 470px; overflow: auto; }
@media (max-width: 760px) { .pick-wrap { grid-template-columns: 1fr; } }

/* Header shadow once the page scrolls (set by /site.js). */
html.scrolled .knockinHeader { box-shadow: 0 6px 30px rgb(4 48 37 / 6%); }

/* ---------- CJK locales ----------
   Smooch Sans has no Chinese or Korean glyphs, so display type falls back to
   the system CJK face. Those glyphs are about twice as wide as Smooch's, so
   the scale comes down, lines get normal leading, and widths measured in
   Latin `ch` are lifted so words are not split across lines. */
:is(html:lang(zh), html:lang(ko)) :is(.d1, .d2, .d3, h1, h2, h3) { line-height: 1.14; letter-spacing: 0; text-wrap: balance; }
:is(html:lang(zh), html:lang(ko)) .d1 { font-size: clamp(42px, 5.2vw, 78px); }
:is(html:lang(zh), html:lang(ko)) .d2 { font-size: clamp(32px, 3.8vw, 56px); }
:is(html:lang(zh), html:lang(ko)) .d3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; }
:is(html:lang(zh), html:lang(ko)) :is(.phero .d1, .trust .d1) { font-size: clamp(42px, 5.2vw, 78px); max-width: 13em; }
:is(html:lang(zh), html:lang(ko)) .hero-main .d1 { font-size: clamp(40px, 4vw, 60px); max-width: 13em; }
:is(html:lang(zh), html:lang(ko)) .home-copy .d2 { font-size: clamp(32px, 3vw, 46px); line-height: 1.15; max-width: 14em; }
:is(html:lang(zh), html:lang(ko)) .home-flow h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; }
:is(html:lang(zh), html:lang(ko)) :is(.phero .head .d1, .intro .d2) { max-width: 16em; }
:is(html:lang(zh), html:lang(ko)) .cta .d2 { font-size: clamp(30px, 3.4vw, 50px); }
:is(html:lang(zh), html:lang(ko)) :is(.tile b, .scene h3, .tpl .nm) { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; }
:is(html:lang(zh), html:lang(ko)) :is(.lead, .hero-main .promise, .head .lead, .mrow .mtxt p) { max-width: 34em; }
@media (max-width: 480px) {
  :is(html:lang(zh), html:lang(ko)) :is(.d1, .hero-main .d1, .phero .d1, .trust .d1) { font-size: clamp(36px, 10vw, 46px); }
  :is(html:lang(zh), html:lang(ko)) .d2 { font-size: clamp(28px, 8vw, 38px); }
}

/* /features index of product and capability pages. */
.product-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.product-pages a { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--k-radius); background: #fff; color: inherit; text-decoration: none; }
.product-pages strong { font: 500 18px/1.3 var(--k-font-text); }
.product-pages span { color: var(--k-ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .product-pages { grid-template-columns: 1fr; } }
