/* Talkwyn homepage v3: hero card, product UI, story line, night band, bento, pricing teaser. */

/* ---------- Hero: blush gradient card with the product rising from the bottom ---------- */
.tw-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px) 0 !important; margin-block-start: 8px; text-align: center; }
.tw-hero::before { content: ""; position: absolute; inset: auto -10% -20% -10%; block-size: 70%; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(215, 38, 61, .14), rgba(215, 38, 61, 0)); }
.tw-hero__text { max-inline-size: 1000px; margin-inline: auto; display: grid; justify-items: center; }
.tw-hero__text > * { margin-block: 0; }
.tw-hero__text > * + * { margin-block-start: 22px; }
.tw-hero__title { font-size: var(--tw-text-hero); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; margin-block-start: 26px !important; max-inline-size: 15ch; }
.tw-hero__lede { font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); max-inline-size: 640px; color: var(--tw-n-600); }
.tw-hero .tw-actions { margin-block-start: 32px; }
.tw-hero__fine { font-size: .9375rem; color: var(--tw-n-600); max-inline-size: 620px; }
.tw-hero__fine a { color: var(--tw-red-700); font-weight: 600; }
.tw-hero__chips { list-style: none; margin: 34px 0 0 !important; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tw-hero__chips li { margin: 0; }
/* Rotating language word (only the last word rotates; reduced motion shows "their language."). */
.tw-rotator { display: inline-grid; vertical-align: baseline; justify-items: start; text-align: start; }
.tw-rotator > * { grid-area: 1 / 1; white-space: nowrap; color: var(--tw-red); }
.tw-rotator__word { display: none; }
.tw-motion .tw-rotator__static { display: none; }
.tw-motion .tw-rotator__word { display: inline; transition: opacity 450ms var(--tw-ease-out), transform 550ms var(--tw-ease-out), filter 450ms var(--tw-ease-out); }
.tw-motion .tw-rotator__word:not(.is-active) { opacity: 0; transform: translateY(.35em); filter: blur(6px); pointer-events: none; }
.tw-rotator__u:lang(ar), .tw-rotator__u:lang(hi) { font-weight: 600; }
.tw-rotator__u:lang(ur) { font-size: .8em; line-height: 1.3; font-weight: 400; }
/* The product UI. */
.tw-app-wrap { position: relative; margin: clamp(40px, 6vw, 72px) auto 0; max-inline-size: 1120px; }
.tw-app-wrap::before { content: ""; position: absolute; inset: 18% 8% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(215, 38, 61, .25), rgba(215, 38, 61, 0)); filter: blur(20px); }
.tw-app { background: #FFFFFF; border-radius: 22px 22px 0 0; box-shadow: 0 0 0 1px rgba(26, 15, 18, .06), 0 30px 80px -20px rgba(26, 15, 18, .28); overflow: hidden; text-align: start; font-size: .875rem; color: var(--tw-ink); }
.tw-app__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-block-end: 1px solid var(--tw-border); }
.tw-app__brand { display: inline-flex; align-items: center; gap: 8px; font: 700 .9375rem var(--tw-font-display); }
.tw-app__brand .tw-logo { inline-size: 24px; }
.tw-app__search { flex: 1; max-inline-size: 320px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--tw-r-pill); background: var(--tw-section); color: var(--tw-text-muted); font-size: .8125rem; }
.tw-app__pill { margin-inline-start: auto; padding: 5px 12px; border-radius: var(--tw-r-pill); background: var(--tw-red-50); color: var(--tw-red-700); font: 600 .75rem var(--tw-font-display); }
.tw-app__cols { display: grid; grid-template-columns: 250px minmax(0, 1fr) 240px; min-block-size: 420px; }
.tw-app__list, .tw-app__aside { padding: 14px; background: var(--tw-bg-soft); }
.tw-app__list { border-inline-end: 1px solid var(--tw-border); display: grid; align-content: start; gap: 4px; }
.tw-app__aside { border-inline-start: 1px solid var(--tw-border); display: grid; align-content: start; gap: 12px; }
.tw-app__label { margin: 0 0 6px; font: 600 .6875rem var(--tw-font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--tw-text-muted); }
.tw-app__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; }
.tw-app__row.is-active { background: #FFFFFF; box-shadow: 0 0 0 1px var(--tw-border), var(--tw-shadow-sm); }
.tw-app__avatar { inline-size: 30px; block-size: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tw-red-100); color: var(--tw-red-700); font: 700 .8125rem var(--tw-font-display); }
.tw-app__avatar--lg { inline-size: 44px; block-size: 44px; font-size: 1rem; }
.tw-app__who { display: grid; min-inline-size: 0; }
.tw-app__who b { font-weight: 700; font-size: .8125rem; }
.tw-app__who span { font-size: .75rem; color: var(--tw-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-app__tag { font: 600 .625rem var(--tw-font-display); padding: 2px 6px; border-radius: 6px; background: var(--tw-section); color: var(--tw-n-600); }
.tw-app__convo { padding: 18px; display: flex; flex-direction: column; justify-content: flex-start; }
.tw-chat--bare { box-shadow: none; border-radius: 0; max-inline-size: none; background: transparent; overflow: visible; }
.tw-chat--bare .tw-chat__body { padding: 0; }
.tw-app__card { display: grid; justify-items: start; gap: 6px; padding: 14px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--tw-border); }
.tw-app__card b { font: 700 1rem var(--tw-font-display); }
.tw-app__dl { margin: 0; display: grid; gap: 10px; }
.tw-app__dl div { display: grid; gap: 2px; }
.tw-app__dl dt { font-size: .6875rem; color: var(--tw-text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.tw-app__dl dd { margin: 0; font-weight: 600; font-size: .8125rem; }
@media (max-width: 1099px) { .tw-app__cols { grid-template-columns: 230px minmax(0, 1fr); } .tw-app__aside { display: none; } }
@media (max-width: 719px) {
	.tw-app__cols { grid-template-columns: minmax(0, 1fr); min-block-size: 0; }
	.tw-app__list, .tw-app__search { display: none; }
	.tw-app__pill { font-size: .6875rem; }
	.tw-app__convo { padding: 14px 14px 28px; }
	.tw-hero__title { max-inline-size: none; }
}

/* ---------- Trust strip ---------- */
.tw-trust-section { padding-block: clamp(36px, 5vw, 56px) !important; }
.tw-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.tw-trust li { display: flex; align-items: center; gap: 10px; color: var(--tw-n-600); font-weight: 500; font-size: .9375rem; max-inline-size: none; margin: 0; }
.tw-trust .tw-icon { color: var(--tw-red); flex: none; }
.tw-trust-wrap > * + * { margin-block-start: 28px !important; }

/* ---------- Problem ---------- */
.tw-problem { max-inline-size: 980px; margin-inline: auto; }
.tw-problem > * { margin-block: 0; }
.tw-problem .tw-statement { margin-inline: auto; max-inline-size: 20ch; }
.tw-problem__text { max-inline-size: 620px; margin: clamp(28px, 4vw, 44px) auto 0 !important; }
.tw-problem__text > * { margin-block: 0; font-size: var(--tw-text-lg); line-height: 1.65; color: var(--tw-n-600); }
.tw-problem__text > * + * { margin-block-start: 18px; }
.tw-problem__text .tw-problem__punch { color: var(--tw-ink); font-weight: 600; }

/* ---------- Live demo ---------- */
.tw-demo-section { padding-inline: clamp(16px, 4vw, 48px); }
.tw-demo-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .tw-demo-grid { grid-template-columns: .9fr 1.1fr; } }
.tw-demo-head > * { margin-block: 0; }
.tw-demo-head > * + * { margin-block-start: 18px; }
.tw-demo-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.tw-demo-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; margin: 0; }
.tw-demo-points .tw-icon { color: var(--tw-red); flex: none; inline-size: 36px; block-size: 36px; padding: 8px; box-sizing: border-box; border-radius: 12px; background: #FFFFFF; }
.tw-demo .tw-chat { max-inline-size: 540px; }
.tw-demo .tw-chat__body { block-size: 360px; }
.tw-demo-embed { max-inline-size: 640px; margin-inline: auto; }

/* ---------- How it works ---------- */
.tw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .tw-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tw-step { display: flex; flex-direction: column; gap: 12px; margin: 0; max-inline-size: none; }
.tw-step > * { margin: 0 !important; }
.tw-step h3 { font-size: var(--tw-text-h4); margin-block-start: 6px !important; }
.tw-step p { color: var(--tw-n-600); }
.tw-step .tw-arrow-link { margin-block-start: auto !important; color: var(--tw-red-700); }
.tw-step__num { inline-size: 36px; block-size: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tw-ink); color: #FFFFFF; font: 700 .9375rem var(--tw-font-display); }
.tw-mini-ui { background: #FFFFFF; border-radius: 16px; padding: 16px; box-shadow: 0 0 0 1px var(--tw-border); min-block-size: 132px; display: grid; align-items: center; font-size: .8125rem; }
.tw-scan { display: grid; gap: 10px; }
.tw-scan__btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--tw-r-pill); background: var(--tw-ink); color: #FFFFFF; font: 600 .8125rem var(--tw-font-display); }
.tw-scan__bar { block-size: 6px; border-radius: 6px; background: var(--tw-section); overflow: hidden; }
.tw-scan__bar i { display: block; block-size: 100%; inline-size: 78%; background: var(--tw-red); border-radius: inherit; }
.tw-motion .tw-step .tw-scan__bar i { animation: tw-scan 3.2s var(--tw-ease) infinite; }
@keyframes tw-scan { 0% { inline-size: 6%; } 70%, 100% { inline-size: 100%; } }
.tw-scan ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.tw-scan li { display: inline-flex; gap: 4px; align-items: center; margin: 0; font-weight: 600; }
.tw-scan li .tw-icon { color: var(--tw-success); }
.tw-keys { display: grid; gap: 8px; }
.tw-keys__row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--tw-section); font-weight: 600; }
.tw-keys__row i { font-style: normal; font-weight: 500; font-size: .75rem; color: var(--tw-text-muted); }
.tw-keys__row.is-on i { color: #146345; }
.tw-golive { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.tw-golive__swatches { display: flex; gap: 6px; }
.tw-golive__swatches i { inline-size: 22px; block-size: 22px; border-radius: 50%; background: var(--tw-red); box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--tw-ink); }
.tw-golive__swatches i:nth-child(2) { background: var(--tw-ink); box-shadow: none; }
.tw-golive__swatches i:nth-child(3) { background: #1F8A5B; box-shadow: none; }
.tw-golive__toggle { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #146345; }
.tw-golive__toggle b { inline-size: 38px; block-size: 22px; border-radius: 22px; background: var(--tw-success); position: relative; }
.tw-golive__toggle b::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-end: 3px; inline-size: 16px; block-size: 16px; border-radius: 50%; background: #FFFFFF; }
.tw-golive__bubble { grid-column: 1 / -1; justify-self: start; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--tw-section); }

/* ---------- Story line (glow cards on a thin vertical line) ---------- */
.tw-story-section { padding-block-start: clamp(24px, 4vw, 48px) !important; }
.tw-story__item .tw-row { gap: clamp(24px, 4vw, 56px); }
.tw-story__item h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); letter-spacing: -.035em; }
.tw-story__item .tw-row__text > p:not(.tw-eyebrow) { color: var(--tw-n-600); }
.tw-story__visual { padding: clamp(24px, 4vw, 48px); }
.tw-glow__ui .tw-chat { max-inline-size: 420px; }
.tw-lead-form { align-self: flex-start; display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 10px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--tw-border); max-inline-size: 92%; }
.tw-lead-form__field { display: grid; font-size: .6875rem; color: var(--tw-text-muted); padding: 6px 10px; border-radius: 10px; background: var(--tw-section); }
.tw-lead-form__field i { font-style: normal; color: var(--tw-ink); font-weight: 600; font-size: .8125rem; }
.tw-lead-form__btn { align-self: stretch; display: grid; place-items: center; padding: 0 14px; border-radius: 10px; background: var(--tw-red); color: #FFFFFF; font: 600 .8125rem var(--tw-font-display); }
.tw-fallback { display: grid; gap: 14px; max-inline-size: 420px; margin-inline: auto; }
.tw-fallback__q { justify-self: center; padding: 8px 16px; border-radius: var(--tw-r-pill); background: var(--tw-red); color: #FFFFFF; font: 600 .875rem var(--tw-font-display); }
.tw-fallback__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.tw-fallback__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--tw-border); max-inline-size: none; }
.tw-fallback__list b { font: 700 .9375rem var(--tw-font-display); }
.tw-fallback__list span { font-size: .8125rem; color: var(--tw-text-muted); }
.tw-fallback__list .is-busy { opacity: .7; }
.tw-fallback__list .is-busy b { text-decoration: line-through; text-decoration-color: var(--tw-n-300); }
.tw-fallback__list .is-on { box-shadow: 0 0 0 2px var(--tw-success), var(--tw-shadow-md); }
.tw-fallback__list .is-on span { color: #146345; font-weight: 600; }
.tw-fallback__list .is-local { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tw-n-200); border: 0; }

/* ---------- One night with Talkwyn (Linen band, 4 compact cards) ---------- */
.tw-night-section { padding-inline: clamp(16px, 4vw, 48px); }
.tw-night { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: tw-night; }
@media (min-width: 700px) { .tw-night { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tw-night { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tw-night-card { position: relative; display: grid; gap: 12px; align-content: start; background: #FFFFFF; border-radius: var(--tw-r-lg); padding: 24px; margin: 0; max-inline-size: none; }
.tw-night-card p { margin: 0; color: var(--tw-n-600); }
.tw-night-card__time { justify-self: start; font: 700 1.5rem/1 var(--tw-font-display); letter-spacing: -.03em; color: var(--tw-ink); }
.tw-night-card:last-child { background: var(--tw-ink); }
.tw-night-card:last-child .tw-night-card__time { color: #FF95A2; }
.tw-night-card:last-child p { color: #FFFFFF; }
.tw-night__close { max-inline-size: 640px; margin: clamp(28px, 4vw, 44px) auto 0 !important; font: 600 1.125rem/1.5 var(--tw-font-display); letter-spacing: -.01em; }

/* ---------- Built for your business (bento) ---------- */
.tw-tile { min-block-size: 220px; }
.tw-tile > * { margin: 0 !important; }
.tw-tile h3 { margin-block-start: 6px !important; }
.tw-tile p { color: var(--tw-n-600); }
.tw-tile .tw-card__more { margin-block-start: auto !important; padding-block-start: 12px; }
.tw-tile__visual { margin-block-end: 8px !important; display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: #FFFFFF; }
.tw-tile__chat { display: grid; gap: 6px; }
.tw-tile__product { display: flex; gap: 12px; align-items: center; }
.tw-tile__product b { display: block; font: 700 .9375rem var(--tw-font-display); }
.tw-tile__product i { font-style: normal; font-size: .8125rem; color: #146345; font-weight: 600; }
.tw-tile__img { inline-size: 52px; block-size: 52px; border-radius: 12px; background: linear-gradient(135deg, #FFD3D9, #F7F3F3); flex: none; }
.tw-tile--feature { padding: clamp(22px, 3vw, 32px); }
.tw-u { text-decoration: underline; text-decoration-color: var(--tw-red-200); text-underline-offset: .2em; }
.tw-bento > .tw-bento__full { grid-column: 1 / -1; }
.tw-tile--ink { background: var(--tw-ink); color: #FFFFFF; min-block-size: 0; display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 20px; }
.tw-tile--ink h3, .tw-tile--ink p { grid-column: 2; }
.tw-tile--ink h3, .tw-tile--ink .tw-card__title-link { color: #FFFFFF; }
.tw-tile--ink p { color: var(--tw-on-band-muted); }
.tw-tile--ink .tw-card__icon { background: rgba(255, 255, 255, .1); color: #FF95A2; box-shadow: none; grid-row: 1 / span 2; grid-column: 1; }
.tw-tile--ink .tw-card__more { color: #FF95A2; grid-row: 1 / span 2; grid-column: 3; padding: 0 !important; margin: 0 !important; }
.tw-tile--ink .tw-u { text-decoration-color: rgba(255, 149, 162, .6); }
@media (max-width: 699px) { .tw-tile--ink { grid-template-columns: 1fr; } .tw-tile--ink > * { grid-column: auto !important; grid-row: auto !important; } }

/* ---------- Integrations ---------- */
.tw-integrations-section .tw-section-head .tw-lede { max-inline-size: 680px; }

/* ---------- Why Talkwyn ---------- */
.tw-row--cost { align-items: start; }
.tw-cost > * { margin-block: 0; }
.tw-cost > * + * { margin-block-start: 12px; }
.tw-table--cost { min-inline-size: 520px; }
.tw-why-bento { margin-block-start: clamp(28px, 4vw, 48px) !important; }
.tw-why__card { display: flex; flex-direction: column; gap: 12px; }
.tw-why__card > * { margin: 0 !important; }
.tw-why__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -.03em; }
.tw-why__card.tw-on-ink .tw-card__icon { background: rgba(255, 255, 255, .1); color: #FF95A2; box-shadow: none; }
.tw-why__card.tw-on-ink .tw-badge--pro { background: rgba(255, 149, 162, .16); color: #FFD3D9; }

/* ---------- Pricing teaser ---------- */
.tw-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.tw-tier { display: grid; gap: 8px; align-content: start; margin: 0; max-inline-size: none; padding: 24px; border-radius: var(--tw-r-lg); background: var(--tw-section); }
.tw-tier > * { margin: 0; }
.tw-tier__name { font-size: var(--tw-text-h4); }
.tw-tier__name a { color: var(--tw-ink); }
.tw-tier__price { display: block; font: 800 2.25rem/1.05 var(--tw-font-display); letter-spacing: -.03em; color: var(--tw-ink); }
.tw-tier__per, .tw-tier__desc { color: var(--tw-n-600); font-size: .9375rem; }
.tw-tier--business { background: #FFFFFF; box-shadow: 0 0 0 2px var(--tw-red), var(--tw-shadow-md); }
.tw-tier--free { background: var(--tw-blush-gradient); }
.tw-pricing-section .tw-actions { margin-block-start: 28px !important; }
.tw-partners-line { margin-block-start: 18px !important; color: var(--tw-n-600); }
.tw-partners-line a { font-weight: 600; color: var(--tw-red-700); }
.tw-pricing-section #founding { margin-block-start: clamp(40px, 5vw, 64px) !important; }

/* ---------- FAQ ---------- */
.tw-faq-section .tw-section-head { margin-block-end: 36px; }

/* ---------- Final call to action ---------- */
.tw-final { margin-block-start: clamp(16px, 3vw, 32px); }
.tw-final .tw-cta-band { margin-block-start: 0; }
@media (max-width: 699px) {
	.tw-tile { min-block-size: 0; }
	.tw-demo .tw-chat__body { block-size: 300px; }
}
@media (max-width: 520px) {
	.tw-lead-form { grid-template-columns: 1fr 1fr; max-inline-size: 100%; }
	.tw-lead-form__btn { grid-column: 1 / -1; padding: 8px; }
}

/* ---------- v3.1 problem: text left, visual right ---------- */
.tw-problem { align-items: center; max-inline-size: none; }
.tw-problem .tw-statement { max-inline-size: 16ch; margin: 0; }
.tw-problem__text { max-inline-size: none; margin: 0 !important; }
.tw-problem__text > p:not(.tw-eyebrow) { font-size: var(--tw-text-lg); line-height: 1.65; color: var(--tw-n-600); max-inline-size: 56ch; }
.tw-missed { margin: 0; display: grid; gap: 12px; }
.tw-missed__win { position: relative; background: #FFFFFF; border-radius: var(--tw-r-lg); box-shadow: 0 0 0 1px var(--tw-border), 0 30px 70px -24px rgba(26, 15, 18, .3); overflow: hidden; }
.tw-missed::before { content: ""; position: absolute; }
.tw-missed__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-block-end: 1px solid var(--tw-border); background: var(--tw-bg-soft); }
.tw-missed__brand, .tw-missed__clock { display: inline-flex; align-items: center; gap: 8px; font: 700 .875rem var(--tw-font-display); }
.tw-missed__clock { padding: 4px 10px; border-radius: var(--tw-r-pill); background: var(--tw-ink); color: #FFFFFF; font-size: .8125rem; }
.tw-missed__list { list-style: none; margin: 0; padding: 10px; display: grid; gap: 6px; }
.tw-missed__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0; padding: 12px; border-radius: 14px; max-inline-size: none; }
.tw-missed__list li:nth-child(odd) { background: var(--tw-bg-soft); }
.tw-missed__msg { display: grid; gap: 2px; min-inline-size: 0; }
.tw-missed__msg b { font: 700 .8125rem var(--tw-font-display); }
.tw-missed__msg span { font-size: .9375rem; color: var(--tw-n-600); }
.tw-missed__list em { font-style: normal; font: 600 .75rem var(--tw-font-display); padding: 4px 10px; border-radius: var(--tw-r-pill); background: #FFEDD5; color: #9A3412; white-space: nowrap; }
.tw-missed__auto { margin: 4px 18px 0; padding: 12px 14px; border-radius: 12px; background: var(--tw-section); font-size: .875rem; color: var(--tw-n-600); display: flex; gap: 8px; align-items: center; }
.tw-missed__gone { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding: 14px 18px; background: var(--tw-ink); color: #FFFFFF; font: 600 .875rem var(--tw-font-display); }
.tw-missed__gone .tw-icon { color: #FF95A2; }
.tw-missed figcaption { text-align: center; }
.tw-motion .tw-missed__list li { opacity: 0; transform: translateX(16px); transition: opacity 600ms var(--tw-ease-out), transform 700ms var(--tw-ease-out); }
.tw-motion .tw-missed.is-visible .tw-missed__list li { opacity: 1; transform: none; }
.tw-motion .tw-missed.is-visible .tw-missed__list li:nth-child(2) { transition-delay: 180ms; }
.tw-motion .tw-missed.is-visible .tw-missed__list li:nth-child(3) { transition-delay: 360ms; }

/* ---------- v3.1 demo: shorter chat on the red band ---------- */
.tw-demo .tw-chat__body { block-size: auto; min-block-size: 150px; max-block-size: 320px; }
.tw-problem__text > .tw-statement { font: 700 clamp(2rem, 1.3rem + 2.6vw, 3.25rem)/1.08 var(--tw-font-display); letter-spacing: -.04em; color: var(--tw-ink); margin-block-start: 14px; }
.tw-problem__text > .tw-eyebrow { font: 600 .75rem/1.3 var(--tw-font-display); }
.tw-problem__text > .tw-problem__punch { color: var(--tw-ink); font-weight: 600; }

/* v3.2 problem: the visual is exactly as tall as the text column */
.tw-missed__list li { align-items: start; }
.tw-missed__top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.tw-missed__top time { font-size: .75rem; color: var(--tw-text-muted); }
.tw-missed__bubble { justify-self: start; display: inline-block; margin-block-start: 4px; padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--tw-border); font-size: .9375rem !important; color: var(--tw-ink) !important; }
.tw-missed__bubble[dir="rtl"] { border-radius: 14px 14px 4px 14px; }
.tw-missed__list li:nth-child(even) .tw-missed__bubble { background: var(--tw-bg-soft); }
.tw-missed__list em { margin-block-start: 2px; }
@media (min-width: 900px) {
	.tw-problem { align-items: stretch !important; }
	.tw-problem > .tw-missed { display: flex; flex-direction: column; }
	.tw-missed__win { flex: 1; display: flex; flex-direction: column; }
	.tw-missed__list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; gap: 6px; }
}

/* v3.2 night band on red */
.tw-red .tw-eyebrow--plain { color: #FFD3D9; }
.tw-night-section.tw-red .tw-night-card { background: #FFFFFF; color: var(--tw-ink); }
.tw-night-section.tw-red .tw-night-card p { color: var(--tw-n-600); }
.tw-night-section.tw-red .tw-night-card:last-child { background: var(--tw-ink); }
.tw-night-section.tw-red .tw-night-card:last-child p { color: #FFFFFF; }
.tw-night-section.tw-red .tw-night__close { color: #FFFFFF; }

/* ===================== v3.4 contrast pass ===================== */

/* How it works: linen band between the red demo and the story, white cards, red numbers */
.tw-how-section { padding-inline: clamp(16px, 4vw, 48px); }
.tw-how-section .tw-step { background: #FFFFFF; }
.tw-how-section .tw-step__num { background: var(--tw-red); inline-size: 40px; block-size: 40px; font-size: 1rem; box-shadow: 0 0 0 6px var(--tw-red-50); }
.tw-how-section .tw-mini-ui { background: var(--tw-section); box-shadow: none; }
.tw-how-section .tw-keys__row { background: #FFFFFF; }
.tw-how-section .tw-golive__bubble { background: #FFFFFF; }
.tw-how-section .tw-step .tw-arrow-link { color: var(--tw-red-700); }

/* Story: product UIs sit on ink panels with a soft red light */
body.home .tw-story-section .tw-glow { background-color: var(--tw-band); background-image: radial-gradient(70% 60% at 50% 0%, rgba(215, 38, 61, .35), rgba(215, 38, 61, 0) 70%), radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.6px); background-size: auto, 20px 20px; }
.tw-story-section .tw-glow .tw-chat { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.tw-story-section .tw-fallback__list .is-local { color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.tw-story-section .tw-fallback__list .is-local span { color: var(--tw-on-band-muted); }
.tw-story-section .tw-fallback__list .is-busy { opacity: .82; }

/* Night: a timeline across the top, icon chips, and an outcome tag on every card */
.tw-night-section .tw-night { padding-block-start: 0; }
.tw-night-card { display: flex !important; flex-direction: column; gap: 14px; padding: 26px 24px 22px; }
.tw-night-card__top { display: flex; align-items: center; gap: 12px; }
.tw-night-card__icon { inline-size: 42px; block-size: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--tw-red-50); color: var(--tw-red); flex: none; }
.tw-night-card__tag { margin-block-start: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--tw-r-pill); background: #E8F6EF; color: #146345; font: 600 .8125rem/1.2 var(--tw-font-display); }
.tw-night-card__dot { display: none; }
.tw-night-section.tw-red .tw-night-card:last-child .tw-night-card__icon { background: rgba(255, 255, 255, .1); color: #FFD27A; }
.tw-night-section.tw-red .tw-night-card:last-child .tw-night-card__time { color: #FFFFFF; }
.tw-night-section.tw-red .tw-night-card:last-child .tw-night-card__tag { background: var(--tw-red); color: #FFFFFF; }
@media (min-width: 1100px) {
	.tw-night-section .tw-night { position: relative; padding-block-start: 34px; }
	.tw-night-section .tw-night::before { content: ""; position: absolute; inset-block-start: 6px; inset-inline: 24px; border-block-start: 2px dashed rgba(255, 255, 255, .45); }
	.tw-night-card__dot { display: block; position: absolute; inset-block-start: -34px; inset-inline-start: 24px; inline-size: 14px; block-size: 14px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); }
	.tw-night-card:last-child .tw-night-card__dot { background: #FFD27A; box-shadow: 0 0 0 5px rgba(255, 210, 122, .3); }
}

/* Why: balanced row, three proof points on the left, equal cards below */
.tw-row--cost { align-items: center; }
.tw-why-points { list-style: none; margin: 4px 0 0 !important; padding: 0; display: grid; gap: 12px; }
.tw-why-points li { display: flex; gap: 14px; align-items: center; margin: 0; padding: 14px 16px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--tw-border); }
.tw-why-points__icon { inline-size: 40px; block-size: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tw-red); color: #FFFFFF; flex: none; }
.tw-why-points b { font-family: var(--tw-font-display); color: var(--tw-ink); }
.tw-why-points span:last-child { color: var(--tw-n-600); font-size: .9375rem; line-height: 1.45; }
.tw-why-bento .tw-why__card { padding: clamp(26px, 3.5vw, 40px); }
.tw-why-bento .tw-why__card:not(.tw-on-ink) { background: #FFFFFF; }
.tw-why-bento .tw-why__card p:last-child { margin-block-start: auto !important; }

/* Pricing teaser: real plan cards, Business in ink */
.tw-pricing-section .tw-tiers { gap: 16px; align-items: stretch; margin-block-start: 8px; }
.tw-tier { position: relative; display: flex !important; flex-direction: column; gap: 10px; padding: 26px 24px 22px; background: #FFFFFF !important; box-shadow: 0 0 0 1px var(--tw-border), var(--tw-shadow-sm); transition: transform var(--tw-dur) var(--tw-ease), box-shadow var(--tw-dur) var(--tw-ease); }
.tw-tier:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--tw-border), 0 18px 40px rgba(26, 15, 18, .10); }
.tw-tier__top { display: flex; align-items: center; gap: 12px; }
.tw-tier__icon { inline-size: 42px; block-size: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--tw-red-50); color: var(--tw-red); flex: none; }
.tw-tier__name { margin: 0; font-size: 1.1875rem; }
.tw-tier__line { display: flex; align-items: baseline; gap: 6px; margin-block-start: 6px !important; }
.tw-tier__price { display: inline; font: 800 2.5rem/1 var(--tw-font-display); }
.tw-tier__price--text { font-size: 1.375rem; }
.tw-tier__sites { color: var(--tw-n-600); font-size: .9375rem; padding-block-end: 12px; border-block-end: 1px solid var(--tw-border); }
.tw-tier__feats { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.tw-tier__feats li { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.tw-tier__feats .tw-icon { color: var(--tw-red); flex: none; margin-block-start: 3px; }
.tw-tier__cta { margin-block-start: auto; padding-block-start: 14px; display: inline-flex; align-items: center; gap: 6px; font: 600 .9375rem var(--tw-font-display); color: var(--tw-red-700); text-decoration: none; }
.tw-tier__cta .tw-icon { transition: transform var(--tw-dur) var(--tw-ease); }
.tw-tier:hover .tw-tier__cta .tw-icon { transform: translateX(3px); }
.tw-tier__flag { position: absolute; inset-block-start: -12px; inset-inline-end: 20px; padding: 4px 12px; border-radius: var(--tw-r-pill); background: var(--tw-red); color: #FFFFFF; font: 700 .75rem/1.4 var(--tw-font-display); letter-spacing: .02em; }
.tw-tier--business { background: var(--tw-band) !important; color: #FFFFFF; box-shadow: 0 24px 50px rgba(26, 15, 18, .25); }
.tw-tier--business .tw-tier__name, .tw-tier--business .tw-tier__price { color: #FFFFFF; }
.tw-tier--business .tw-tier__per, .tw-tier--business .tw-tier__sites, .tw-tier--business .tw-tier__feats li { color: var(--tw-on-band-muted); }
.tw-tier--business .tw-tier__sites { border-color: rgba(255, 255, 255, .12); }
.tw-tier--business .tw-tier__icon { background: var(--tw-red); color: #FFFFFF; }
.tw-tier--business .tw-tier__feats .tw-icon, .tw-tier--business .tw-tier__cta { color: #FF95A2; }
@media (min-width: 1100px) { .tw-tier--business { transform: translateY(-10px); } .tw-tier--business:hover { transform: translateY(-14px); } }

/* Business tiles on white cards: visuals get the linen panel */
.tw-tile__visual { background: var(--tw-section); }
body.home .tw-card.tw-on-ink, body.home .tw-tile--ink { background: var(--tw-band); box-shadow: none; }
.tw-integrations-section.tw-linen, .tw-pricing-section.tw-linen { padding-inline: clamp(16px, 4vw, 48px); }
.tw-why-points { margin-block-start: 22px !important; }
.tw-row--cost .tw-row__text > p:last-child { margin-block-start: 18px !important; }
body.home .tw-tile { display: flex; flex-direction: column; gap: 10px; }
body.home .tw-tile .tw-card__icon { margin-block-start: 6px !important; }
body.home .tw-tile--ink { display: grid !important; }
body.home .tw-tile--ink .tw-card__icon { background: var(--tw-red); color: #FFFFFF; margin: 0 !important; }
.tw-demo-section + .tw-how-section, .tw-demo-section ~ .tw-how-section { margin-block-start: 20px !important; }

/* v3.6 Explore band: 12 industries and 12 languages */
.tw-explore-section { padding-inline: clamp(16px, 4vw, 48px); background: var(--tw-band) radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px) 0 0 / 22px 22px; }
.tw-explore-section .tw-eyebrow--plain { color: #FF95A2; }
.tw-xp { display: grid; gap: 20px; }
@media (min-width: 960px) { .tw-xp { grid-template-columns: 1fr 1fr; } }
.tw-xp__panel { display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--tw-r-lg); background: #241A1E; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tw-xp__panel > * { margin: 0; }
.tw-xp__kicker { margin: 0; font: 700 .75rem/1.3 var(--tw-font-display); letter-spacing: .08em; text-transform: uppercase; color: #FF95A2; }
.tw-xp__head h3 { margin: 6px 0 0; color: #FFFFFF; font-size: clamp(1.25rem, 1rem + .8vw, 1.5rem); letter-spacing: -.02em; }
.tw-xp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tw-xp__ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .tw-xp__ind { grid-template-columns: 1fr; } .tw-xp__ind.tw-xp__lang { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tw-xp__lang small, .tw-xp__lang a > .tw-icon:last-child { display: none; } }
.tw-xp li { margin: 0; max-inline-size: none; }
.tw-xp a:not(.tw-arrow-link) { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: #FFFFFF; text-decoration: none; font-weight: 500; font-size: .9375rem; transition: background var(--tw-dur) var(--tw-ease), transform var(--tw-dur) var(--tw-ease); }
.tw-xp a:not(.tw-arrow-link):hover { background: var(--tw-red); transform: translateY(-2px); }
.tw-xp__ind a > .tw-icon:last-child, .tw-xp__lang a > .tw-icon:last-child { margin-inline-start: auto; opacity: .5; }
.tw-xp__icon { inline-size: 30px; block-size: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 149, 162, .14); color: #FF95A2; flex: none; }
.tw-xp a:hover .tw-xp__icon { background: rgba(255, 255, 255, .2); color: #FFFFFF; }
.tw-xp__icon--lang { font: 800 .75rem/1 var(--tw-font-display); letter-spacing: .02em; }
.tw-xp__icon--lang:is([lang="ar"], [lang="hi"], [lang="zh"], [lang="ja"], [lang="ko"]) { font-size: .9375rem; font-family: var(--tw-font-body, inherit); letter-spacing: 0; }
.tw-xp__name { display: flex; align-items: baseline; gap: 8px; min-inline-size: 0; }
.tw-xp__name small { font-size: .8125rem; font-weight: 400; color: var(--tw-on-band-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-xp a:hover .tw-xp__name small { color: #FFFFFF; }
.tw-xp .tw-arrow-link { color: #FF95A2; margin-block-start: auto; }
