/* ── Home hero: centred copy + CTAs, three cards along the bottom, and a notch cut out of
      the bottom of the frame (like the reference) holding the AI chat chip ── */
.hm-hero--notch .hm-ctas { display: flex !important; }
.hm-hero--notch .hm-hero__frame { overflow: hidden; }
.hn { position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: 6; width: min(660px, calc(100% - 96px)); padding: 12px 12px 0; background: #fff; border-radius: 28px 28px 0 0; }
.hn::before, .hn::after { content: ""; position: absolute; bottom: 0; width: 28px; height: 28px; pointer-events: none; background: radial-gradient(circle at 0 0, transparent 27.5px, #fff 28px); }
.hn::before { left: -28px; transform: scaleX(-1); }
.hn::after { right: -28px; }
.hn .mc-dock { width: 100%; margin: 0 !important; }

/* the chip: one row, spark, question, starter prompts, mic, send */
.hn .mcp { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; background: #f4f4f6; border: 1px solid transparent; box-shadow: none; }
.hn .mcp:focus-within { background: #fff; border-color: rgba(166,29,33,.4); box-shadow: 0 0 0 4px rgba(166,29,33,.06); }
.hn .mcp::before { content: ""; flex: none; width: 18px; height: 18px; background: #A61D21; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.6 4.6a3 3 0 0 0 1.8 1.8L20 11l-4.6 1.6a3 3 0 0 0-1.8 1.8L12 19l-1.6-4.6a3 3 0 0 0-1.8-1.8L4 11l4.6-1.6a3 3 0 0 0 1.8-1.8z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l1.6 4.6a3 3 0 0 0 1.8 1.8L20 11l-4.6 1.6a3 3 0 0 0-1.8 1.8L12 19l-1.6-4.6a3 3 0 0 0-1.8-1.8L4 11l4.6-1.6a3 3 0 0 0 1.8-1.8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hn .mcp textarea { flex: 1; min-width: 0; min-height: 0 !important; height: 24px !important; padding: 0; font-size: 15px; line-height: 24px; white-space: nowrap; overflow: hidden; }
.hn .mcp__row { flex: none; gap: 6px; }
.hn .mcp__quick { display: none; }
.hn .mcp__menu span { display: none; } .hn .mcp__menu { padding: 0 10px; background: #fff; }
.hn .mcp__mic { margin-left: 0; }
.hn .mcp__send { width: 40px; height: 40px; }
.hn .mcp__pop { top: auto; bottom: calc(100% + 10px); max-height: 60vh; overflow: auto; }
.hn .mcp__resume { position: absolute; bottom: calc(100% + 10px); left: 50%; translate: -50% 0; margin: 0; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(0,0,0,.25); }
.hn-note { margin: 8px 0 10px; text-align: center; font: 400 12px/1.3 "Geist", sans-serif; color: #8a8a90; }

/* when a conversation starts, the notch grows up into the chat */
.hn .mc.is-inline { height: min(440px, calc(100svh - 300px)); min-height: 320px; border-radius: 22px 22px 0 0; border: 0; border-bottom: 0; box-shadow: none; background: #fff; animation: hn-grow .5s cubic-bezier(.22,1,.36,1) both; }
@keyframes hn-grow { from { height: 72px; opacity: .6; } }
.hn .mc.is-inline .mc__head { border-bottom: 1px solid #f0f0f2; }
.hm-hero--notch.is-talking .hm-ctas, .hm-hero--notch.is-talking .hm-lead { display: none !important; }
.hm-hero--notch.is-talking .hm-deck { opacity: .45; }

@media (max-width: 680px) {
	.hn { width: calc(100% - 32px); padding: 8px 8px 0; border-radius: 22px 22px 0 0; }
	.hn::before, .hn::after { width: 22px; height: 22px; background: radial-gradient(circle at 0 0, transparent 21.5px, #fff 22px); }
	.hn::before { left: -22px; } .hn::after { right: -22px; }
	.hn .mcp__mic { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hn .mc.is-inline { animation: none; } }
.hm-hero--notch.is-talking .hn-note { display: none; }

/* v2: a smooth S-curve cut (like the reference) and cards that fade into the grey frame so the cut reads */
.hn { border-radius: 0; padding: 14px 16px 0; }
.hn::before, .hn::after { width: 72px; height: 100%; bottom: 0; transform: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 C45 100 50 0 100 0 L100 100Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.hn::before { left: -71px; }
.hn::after { right: -71px; transform: scaleX(-1); }
.hm-hero--notch .hm-hero__frame { background-color: #ececee; }
@media (max-width: 680px) { .hn::before, .hn::after { width: 40px; } .hn::before { left: -39px; } .hn::after { right: -39px; } }
.hn { padding-bottom: 14px; }
/* v4: curves keep a fixed height at the bottom; when the chat opens the tab rises with rounded top corners */
.hn::before, .hn::after { height: 64px; top: auto; }
.hn { border-radius: 0; transition: border-radius .3s; }
.hn:has(.mc.is-inline) { border-radius: 24px 24px 0 0; padding: 0; }
.hn .mc.is-inline { border-radius: 24px 24px 0 0; }
@media (max-width: 680px) { .hn::before, .hn::after { height: 52px; } }

/* v5: original cards, lower cut; when the chat opens it floats as a rounded card above the cut */
.hn { padding: 6px 10px 6px; }
.hn .mcp { padding: 3px 3px 3px 14px; }
.hn .mcp__send { width: 34px; height: 34px; } .hn .mcp__menu { height: 28px; } .hn .mcp__mic { width: 32px; height: 32px; }
.hn::before, .hn::after { height: 52px; width: 64px; } .hn::before { left: -63px; } .hn::after { right: -63px; }
.hn:has(.mc.is-inline) { border-radius: 0; padding: 6px 10px 6px; }
.hn .mc.is-inline { position: absolute; left: 0; right: 0; bottom: calc(100% + 12px); height: min(460px, calc(100svh - 280px)); border-radius: 24px; box-shadow: 0 30px 70px -30px rgba(20,20,30,.35), 0 0 0 1px rgba(0,0,0,.06); animation: hn-pop .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes hn-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.hn .mc-dock.is-talking .mcp { display: flex !important; }
/* the chip in the cut stays as the composer; the card above shows the conversation */
.hn .mc.is-inline .mc__bar { display: none; }
.hn .mc.is-inline .mc__foot { padding-bottom: 14px; }
.hn .mc-dock.is-talking .mcp__resume { display: none !important; }
/* v6: curves fill the cut's full height (no step), and the cut takes the light grey of the strip below */
.hn::before, .hn::after { height: 100% !important; }
.hm-hero--notch { background: #f4f4f6; padding-bottom: 8px; }
.hn, .hn::before, .hn::after { --cut: #f4f4f6; }
.hn { background: var(--cut); }
.hn::before, .hn::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 C45 100 50 0 100 0 L100 100Z' fill='%23f4f4f6'/%3E%3C/svg%3E"); }
.hn .mcp { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.05); }
.hm-hero--notch .hm-hero__frame { background-color: #e9e9ec; }
/* v7: wider chip, more room above it; the "continue" pill lives inside the chip as an icon */
.hn { width: min(780px, calc(100% - 96px)); padding: 14px 14px 10px; }
.hn .mcp__resume { display: none !important; }
.hn .mcp__row { gap: 8px; }
.hm-hero--notch > .my-logos--clients { background: transparent !important; }
/* the section after the hero shares the cut colour so the hero flows into it */
.hm-hero--notch + .hm-about, .hm-hero--notch ~ .hm-about { background: #f4f4f6; }

/* logo strip spans the full hero width, lined up with the hero's inner edges */
.hm-hero--notch > .my-logos--clients { max-width: none !important; width: auto; margin: 0 16px !important; padding: 20px 40px 12px !important; display: flex; align-items: center; gap: 40px; }
.hm-hero--notch > .my-logos--clients .my-logos__title { padding-left: 0 !important; flex: none; }
.hm-hero--notch > .my-logos--clients .my-marquee { flex: 1; min-width: 0; }
@media (max-width: 680px) { .hm-hero--notch > .my-logos--clients { margin: 0 8px !important; padding: 12px 8px 6px !important; } }

/* about section back to white; chip in the cut is grey */
.hm-hero--notch + .hm-about, .hm-hero--notch ~ .hm-about { background: #fff; }
.hn .mcp { background: #ebebee !important; box-shadow: none !important; }
.hn .mcp:focus-within { background: #fff !important; box-shadow: 0 0 0 1px rgba(166,29,33,.4), 0 0 0 4px rgba(166,29,33,.06) !important; }
.hn .mcp__menu { background: #fff; }
/* hero surroundings and the cut back to white */
.hm-hero--notch { background: #fff; }
.hn { background: #fff; }
.hn::before, .hn::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 C45 100 50 0 100 0 L100 100Z' fill='%23fff'/%3E%3C/svg%3E"); }
.hn { filter: drop-shadow(0 -6px 14px rgba(166,29,33,.14)) drop-shadow(0 -1px 0 rgba(166,29,33,.12)); }
.hn { filter: drop-shadow(0 -4px 10px rgba(166,29,33,.08)) drop-shadow(0 -1px 0 rgba(166,29,33,.08)); }
.hn .mcp { background: #f2f2f4 !important; }
/* red glow only on the cut shape, not on the dropdown or the open chat */
.hn { filter: none !important; box-shadow: 0 -6px 12px -8px rgba(166,29,33,.14), 0 -1px 0 rgba(166,29,33,.08); }
.hn::before, .hn::after { filter: drop-shadow(0 -4px 8px rgba(166,29,33,.08)) drop-shadow(0 -1px 0 rgba(166,29,33,.08)); }
.hn { box-shadow: 0 -8px 10px -9px rgba(166,29,33,.16); width: min(920px, calc(100% - 96px)); }
.hn .mcp { background: #f6f6f8 !important; }
/* shape back to its size; only the chip reaches further into the curves */
.hn { width: min(780px, calc(100% - 96px)); padding-left: 0; padding-right: 0; }
.hn .mc-dock { width: calc(100% + 56px) !important; margin: 0 -28px !important; }
@media (max-width: 680px) { .hn .mc-dock { width: calc(100% + 24px) !important; margin: 0 -12px !important; } }

/* domain hero in the same layout */
.hm-hero--dom .dm-crumbs ol { justify-content: center; margin-bottom: 16px; }
.hm-hero--dom .hm-h1 { font-size: clamp(34px, 4vw, 60px); max-width: 20ch; margin-left: auto; margin-right: auto; }
.hm-hero--dom .hm-lead { max-width: 64ch; }
.dh-case { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-top: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.dh-case b { flex: none; min-width: 56px; font: 500 18px/1 "Geist", sans-serif; letter-spacing: -.03em; color: #A61D21; }
.dh-case span { display: block; font: 500 12.5px/1.3 "Geist", sans-serif; color: #16161a; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dh-case small { font-size: 11px; color: #8a8a90; }
.dh-proof { margin: 12px 0; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.dh-proof b { display: block; font: 500 34px/1 "Geist", sans-serif; letter-spacing: -.04em; color: #A61D21; }
.dh-proof span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: #6b6b70; }
.hm-hero--dom .ui-kv li span { font-size: 12.5px; }
.dh-case b { min-width: 0; max-width: 80px; font-size: 16px; }
/* chip only slightly wider than the cut's inner space */
.hn { padding-left: 4px !important; padding-right: 4px !important; }
.hn .mc-dock { width: 100% !important; margin: 0 !important; }
/* no side shadow on the cut (it showed as a faint line beside the chip); the glow sits on the top edge only */
.hn { box-shadow: none !important; }
.hn .mc-dock { position: relative; }
.hn .mc-dock::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 2px; border-radius: 2px; box-shadow: 0 -5px 10px rgba(166,29,33,.12); pointer-events: none; }
/* draw the red edge as a thin line along the curve itself (no blur on the joins, so no seams) */
.hn::before, .hn::after { filter: none !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 C45 100 50 0 100 0 L100 100Z' fill='%23fff'/%3E%3Cpath d='M0 100 C45 100 50 0 100 0' fill='none' stroke='rgba(166,29,33,.22)' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") !important; }
.hn .mc-dock::before { left: -4px; right: -4px; height: 1px; border-radius: 0; background: rgba(166,29,33,.22); box-shadow: 0 -4px 10px rgba(166,29,33,.08); }
/* the red line fades out toward the bottom of each curve */
.hn::before, .hn::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='100' x2='100' y2='0'%3E%3Cstop offset='0' stop-color='%23A61D21' stop-opacity='0'/%3E%3Cstop offset='.65' stop-color='%23A61D21' stop-opacity='.22'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 100 C45 100 50 0 100 0 L100 100Z' fill='%23fff'/%3E%3Cpath d='M0 100 C45 100 50 0 100 0' fill='none' stroke='url(%23g)' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") !important; }

/* domain hero: same layout as home, but its own backdrop, dot grid, the domain's mark and icon in outline, a warmer tint */
.hm-hero--dom .hm-hero__bg::before { background-image: radial-gradient(circle, rgba(0,0,0,.13) 1px, transparent 1.4px) !important; background-size: 24px 24px !important; }
.hm-hero--dom .hm-hero__frame { background: radial-gradient(60% 50% at 85% 0%, rgba(166,29,33,.07), transparent 70%), radial-gradient(50% 40% at 10% 20%, rgba(166,29,33,.04), transparent 70%), linear-gradient(180deg, #f3f2f2, #ebebed) !important; }
.dh-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.dh-word { position: absolute; left: 50%; top: 4%; translate: -50% 0; font: 600 clamp(220px, 30vw, 460px)/.8 "Geist", sans-serif; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(166,29,33,.1); white-space: nowrap; }
.dh-ic { position: absolute; right: -60px; top: 40px; color: rgba(0,0,0,.035); transform: rotate(-12deg); }
.dh-ic .ic { width: 420px; height: 420px; stroke-width: .6; }
.hm-hero--dom .hm-hero__copy, .hm-hero--dom .hm-deck, .hm-hero--dom .hn { z-index: 2; }
@media (max-width: 680px) { .dh-ic { display: none; } .dh-word { top: 12%; } }
.dh-ic { color: rgba(0,0,0,.028); } .dh-word { -webkit-text-stroke-color: rgba(166,29,33,.14); }
.hm-hero--dom .hm-scene .iso-ic path, .hm-hero--dom .hm-scene .iso-ic circle, .hm-hero--dom .hm-scene .iso-ic rect, .hm-hero--dom .hm-scene .iso-ic line { stroke-width: 1.25 !important; }
.dh-ic .ic path { stroke-width: .5 !important; }
.dh-ic { display: none !important; }
.dh-word { left: -24px; translate: none; top: auto; bottom: 22%; -webkit-text-stroke-color: rgba(166,29,33,.12); }
.dh-word { bottom: 38%; }
/* breathing room between the logo strip and the next section */
.hm-hero--notch { padding-bottom: 72px !important; }
@media (max-width: 680px) { .hm-hero--notch { padding-bottom: 40px !important; } }
/* domain hero: no red tint in the background, only the AI outline */
.hm-hero--dom .hm-hero__frame { background: linear-gradient(180deg, #f3f3f4, #ececee) !important; }

/* landing: the cut rises out of the hero's edge, then the chip drops into it with a little sway */
.hn { transform-origin: 50% 100%; animation: hn-cut .8s cubic-bezier(.22,1,.36,1) .5s both; }
.hn .mc-dock { animation: hn-drop 1.1s cubic-bezier(.34,1.3,.5,1) 1.05s both; transform-origin: 50% 0; }
@keyframes hn-cut { from { transform: scaleY(0); } to { transform: none; } }
@keyframes hn-drop {
	0% { opacity: 0; transform: translateY(-56px) rotate(-3deg); }
	45% { opacity: 1; transform: translateY(4px) rotate(1.6deg); }
	65% { transform: translateY(-2px) rotate(-.8deg); }
	82% { transform: translateY(1px) rotate(.3deg); }
	100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hn, .hn .mc-dock { animation: none; } }

/* the faint word behind domain/service heroes, a touch darker */
.dh-word { -webkit-text-stroke-color: rgba(166,29,33,.22) !important; }
/* chip rises out of the finished cut and settles, no drop, no sway */
.hn .mc-dock { animation: hn-in .55s cubic-bezier(.22,1,.36,1) 1.25s both !important; transform-origin: 50% 100%; }
@keyframes hn-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* ── landing sequence v3 (driven by chat.js): cut forms → red outline draws → mini spark → chip widens → text types → icons sway in ── */
.hn::before, .hn::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 C45 100 50 0 100 0 L100 100Z' fill='%23fff'/%3E%3C/svg%3E") !important; }
.hn .mc-dock::before { display: none !important; }
.hn .mc-dock { animation: none !important; }
.hn__line { position: absolute; left: -63px; right: -63px; top: 0; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.hn__line path { fill: none; stroke: rgba(166,29,33,.42); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.hn.is-lineprep .hn__line path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.hn.is-lineprep.is-line .hn__line path { transition: stroke-dashoffset 1s cubic-bezier(.45,0,.2,1); stroke-dashoffset: 0; }
.hn.is-intro .mcp { max-width: 48px; height: 48px; padding: 0 !important; margin: 0 auto; overflow: hidden; justify-content: center; opacity: 0; transform: scale(.6); }
.hn.is-intro .mcp > *, .hn.is-intro .mcp__row > * { opacity: 0; }
.hn.is-intro .mcp::before { margin: 0 auto; }
.hn.is-mini .mcp { opacity: 1; transform: none; transition: opacity .3s, transform .45s cubic-bezier(.34,1.4,.5,1); }
.hn.is-wide .mcp { max-width: 2000px; height: auto; padding: 3px 3px 3px 14px !important; overflow: visible; transition: max-width .7s cubic-bezier(.65,0,.25,1), padding .3s; }
.hn.is-wide .mcp::before { margin: 0; }
.hn.is-wide .mcp textarea { opacity: 1; transition: opacity .2s; }
.hn .mcp__row > .is-pop { animation: hn-sway .7s cubic-bezier(.34,1.5,.5,1) both; }
@keyframes hn-sway { 0% { opacity: 0; transform: translateY(8px) rotate(-14deg) scale(.6); } 60% { opacity: 1; transform: translateY(-2px) rotate(6deg) scale(1.05); } 100% { opacity: 1; transform: none; } }
.hn::before, .hn::after { z-index: 0; }
.hn__line { z-index: 2; }
.hn .mc-dock { position: relative; z-index: 3; }
.hn.is-wide .mcp { max-width: 820px; }
.hn__line { width: calc(100% + 126px); height: 100%; right: auto; }
.hn.is-intro .mcp { width: 100%; }
.hn__line { max-width: none !important; }
/* intro polish: spark visible in the mini circle, smoother growth */
.hn.is-intro:not(.is-wide) .mcp textarea, .hn.is-intro:not(.is-wide) .mcp__row { display: none; }
.hn.is-intro .mcp::before { width: 20px; height: 20px; }
.hn.is-intro .mcp { transform: scale(.4); transition: none; }
.hn.is-mini .mcp { opacity: 1; transform: none; transition: opacity .45s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.hn.is-wide .mcp { transition: max-width 1s cubic-bezier(.76,0,.24,1), padding .5s ease; }
.hn.is-wide .mcp textarea { animation: hn-fade .4s ease .5s both; }
@keyframes hn-fade { from { opacity: 0; } }
.hn .mcp.is-typing textarea::placeholder { color: #6b6b70; }
.hn .mcp__row > .is-pop { animation: hn-sway .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes hn-sway { 0% { opacity: 0; transform: translateY(6px) rotate(-10deg) scale(.7); } 100% { opacity: 1; transform: none; } }
.hm-hero--notch > .my-logos--clients { margin-top: 32px !important; padding-top: 24px !important; }
@media (max-width: 680px) { .hm-hero--notch > .my-logos--clients { margin-top: 20px !important; } }
/* spark stays put: same left inset in the mini circle and the full chip, so it travels smoothly with the edge */
.hn.is-intro .mcp { justify-content: flex-start !important; padding: 0 0 0 14px !important; }
.hn.is-intro .mcp::before, .hn.is-wide .mcp::before { margin: 0 !important; width: 20px; height: 20px; }
.hn.is-wide .mcp { padding: 3px 3px 3px 14px !important; }
.hn .mcp::before { width: 20px; height: 20px; }
/* right-side controls slide in from the right, one after another */
.hn .mcp__row > .is-pop { animation: hn-from-right .75s cubic-bezier(.22,1,.36,1) both !important; }
@keyframes hn-from-right { 0% { opacity: 0; transform: translateX(28px) rotate(10deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
/* keep the chip the same height through the whole intro, so the cut never resizes */
.hn .mcp { min-height: 40px; box-sizing: border-box; }
.hn.is-intro .mcp { max-width: 40px; height: 40px !important; padding: 0 0 0 10px !important; }
.hn.is-wide .mcp { max-width: 820px; height: 40px !important; padding: 3px 3px 3px 14px !important; }
.hn .mcp { height: 40px; padding-top: 3px; padding-bottom: 3px; } .hn .mcp__send { width: 34px !important; height: 34px !important; }
.hn .mcp__row > .is-pop { animation: hn-from-right2 .9s cubic-bezier(.16,1,.3,1) both !important; }
@keyframes hn-from-right2 { from { opacity: 0; transform: translateX(18px) scale(.92); } to { opacity: 1; transform: none; } }
.hn.is-intro .mcp__row > * { transition: none !important; }
.hn.is-intro.is-wide .mcp__row { opacity: 1 !important; }
.hn.is-wide .mcp { transition: max-width .85s cubic-bezier(.76,0,.24,1), padding .4s ease !important; }
.hn.is-lineprep.is-line .hn__line path { transition: stroke-dashoffset .85s cubic-bezier(.45,0,.2,1); }
.hn .mcp__row > .is-pop { animation-duration: .75s !important; }
/* typing cue: a red caret, and the hint fades back when the field is focused */
.mcp textarea { caret-color: var(--red, #a61d21); }
.mcp textarea:focus::placeholder { color: #c9c9ce; transition: color .25s; }
/* landing waits until the bar is on screen; the spark drops into the cut with a little sway */
.hn.is-wait { animation-play-state: paused !important; }
.hn.is-wait .mcp { opacity: 0 !important; }
.hn.is-mini .mc-dock { animation: hn-drop 1s cubic-bezier(.34,1.3,.5,1) both !important; transform-origin: 50% 0; }
@media (prefers-reduced-motion: reduce) { .hn.is-mini .mc-dock { animation: none !important; } }
/* quicker landing */
.hn { animation-duration: .6s; animation-delay: .15s; }
.hn.is-mini .mc-dock { animation-duration: .75s !important; }
.hn.is-wide .mcp { transition: max-width .6s cubic-bezier(.76,0,.24,1), padding .3s ease !important; }
.hn.is-lineprep.is-line .hn__line path { transition: stroke-dashoffset .7s cubic-bezier(.45,0,.2,1); }
