/* ===========================================================
   ArtificialFlow — Business (websites & funnels) landing
   On-brand with ArtificialFlow: dark + cream, premium.
   =========================================================== */
:root {
  --bg: #0A1626;           /* deep navy */
  --panel: #0F1E33;
  --panel-2: #142844;
  --border: #1E3252;
  --border-hi: #2C4467;
  --text: #F3F1EA;         /* warm off-white */
  --text-2: #A7B4C8;       /* muted slate */
  --text-3: #6B7C95;

  --accent: #C9A24B;       /* gold */
  --accent-hover: #D9B96C;
  --accent-soft: #E4CC8A;
  --accent-tint: rgba(201, 162, 75, 0.10);
  --ink: #0A1626;          /* text on gold buttons */

  --maxw: 1120px;
  --narrow: 780px;
  --r: 16px;
  --r-lg: 24px;
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif; letter-spacing: -0.03em; line-height: 1.1; }
strong { color: var(--text); font-weight: 700; }
em { color: var(--accent); font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); }

/* Background atmosphere — gentle drift for life */
.orb { position: fixed; border-radius: 50%; filter: blur(130px); z-index: 0; pointer-events: none; }
.orb--1 { top: -180px; left: 50%; width: 640px; height: 460px; background: radial-gradient(circle, rgba(201,162,75,0.16), transparent 70%); animation: drift1 16s ease-in-out infinite; }
.orb--2 { top: 1400px; right: -200px; width: 540px; height: 540px; background: radial-gradient(circle, rgba(60,108,170,0.14), transparent 70%); animation: drift2 20s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-46%) translateY(30px); } }
@keyframes drift2 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-40px) translateX(-30px); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none !important; } }

/* Launch / intro curtain */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; transition: transform 850ms var(--expo); }
.intro::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(201,162,75,0.14), transparent 60%); }
.intro--exit { transform: translateY(-101%); }
.intro__logo { position: relative; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: clamp(30px, 7vw, 56px); letter-spacing: -0.03em; color: var(--accent); opacity: 0; transform: translateY(16px); animation: introIn 750ms var(--expo) 150ms forwards; }
.intro__line { position: relative; width: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: introLine 900ms var(--expo) 520ms forwards; }
.intro__tag { position: relative; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); opacity: 0; animation: introIn 700ms var(--expo) 700ms forwards; }
@keyframes introIn { to { opacity: 1; transform: none; } }
@keyframes introLine { to { width: 240px; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,22,38,0.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav__logo { font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.nav__links { display: none; gap: 28px; }
.nav__links a { font-size: 15px; color: var(--text-2); text-decoration: none; position: relative; transition: color 180ms var(--expo); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width 220ms var(--expo); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
@media (min-width: 820px) { .nav__links { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: "Space Grotesk"; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 12px 22px; cursor: pointer; border: 1px solid transparent; text-decoration: none; white-space: nowrap; transition: transform 180ms var(--expo), background 180ms var(--expo), box-shadow 220ms var(--expo); }
.btn--sm { padding: 9px 18px; font-size: 14px; background: var(--accent); color: var(--ink); }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--xl { padding: 18px 36px; font-size: 18px; width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--accent-soft), var(--accent)); color: var(--ink); box-shadow: 0 10px 34px -10px rgba(201,162,75,0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -12px rgba(201,162,75,0.7); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-hi); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm:hover { background: var(--accent-hover); }

/* Eyebrow + titles */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__lead { font-size: 18px; color: var(--text-2); margin-top: 16px; }

/* Hero */
.hero { position: relative; z-index: 1; padding: 100px 0 80px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 500ms var(--expo); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(201,162,75,0.12), transparent 65%); }
.hero:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero::before { display: none; } }
.hero__inner { max-width: 860px; margin: 0 auto; }
.hero__title { font-size: clamp(34px, 6vw, 62px); font-weight: 900; margin-bottom: 26px; }
.hero__title .accent { background: linear-gradient(100deg, var(--accent-soft), var(--accent) 55%, var(--accent-hover)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-2); max-width: 640px; margin: 0 auto 36px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__trust { margin-top: 22px; font-size: 14px; color: var(--text-3); }

/* Sections */
.section { position: relative; z-index: 1; padding: 80px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.014), transparent); }

.prose { margin-top: 24px; }
.prose p { font-size: 18px; color: var(--text-2); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose__pull { font-size: 21px !important; color: var(--text) !important; font-weight: 500; border-left: 3px solid var(--accent); padding-left: 20px; margin-top: 28px; }

/* Service cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; transition: border-color 220ms var(--expo), transform 220ms var(--expo); }
.card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.card__num { font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 16px; color: var(--accent); opacity: 0.6; }
.card h3 { font-size: 22px; font-weight: 700; margin: 12px 0 10px; }
.card p { font-size: 16px; color: var(--text-2); }

/* Stats */
.stats { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; text-align: center; }
.stat__num { display: block; font-family: "Bricolage Grotesque"; font-size: 28px; font-weight: 800; color: var(--accent); }
.stat__label { font-size: 14px; color: var(--text-2); margin-top: 4px; display: block; }

/* Automation — flow pipeline */
.flow { position: relative; display: grid; grid-template-columns: 1fr; gap: 22px; margin: 8px 0 44px; }
.flow__line { display: none; }
.flow__node { position: relative; display: flex; align-items: center; gap: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 20px; }
.flow__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--accent-tint); border: 1px solid var(--accent); animation: nodePulse 2.6s ease-in-out infinite; }
.flow__node:nth-child(3) .flow__icon { animation-delay: 0.4s; }
.flow__node:nth-child(4) .flow__icon { animation-delay: 0.8s; }
.flow__node:nth-child(5) .flow__icon { animation-delay: 1.2s; }
.flow__node:nth-child(6) .flow__icon { animation-delay: 1.6s; }
.flow__label { font-weight: 600; font-size: 15px; color: var(--text); }
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,162,75,0.0); } 50% { box-shadow: 0 0 0 7px rgba(201,162,75,0.10); } }

@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 12px; padding-top: 14px; }
  .flow__line { display: block; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--border-hi), var(--accent), var(--border-hi)); overflow: visible; }
  .flow__pulse { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 3px rgba(201,162,75,0.8); animation: flowMove 4.5s linear infinite; }
  .flow__node { flex-direction: column; text-align: center; gap: 12px; padding: 22px 14px; }
  .flow__label { font-size: 14px; }
}
@keyframes flowMove { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .flow__icon, .flow__pulse { animation: none !important; } }

/* Automation — use cases */
.auto-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .auto-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .auto-grid { grid-template-columns: repeat(3, 1fr); } }
.auto-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; transition: border-color 220ms var(--expo), transform 220ms var(--expo); }
.auto-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.auto-card__ico { font-size: 26px; display: block; margin-bottom: 12px; }
.auto-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.auto-card p { font-size: 15px; color: var(--text-2); line-height: 1.55; }

/* Automation — metrics */
.metrics { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .metrics { grid-template-columns: repeat(3, 1fr); } }
.metric { text-align: center; background: linear-gradient(180deg, var(--accent-tint), transparent); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 20px; }
.metric__num { display: block; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: clamp(34px, 5vw, 46px); color: var(--accent); letter-spacing: -0.02em; }
.metric__label { display: block; font-size: 14px; color: var(--text-2); margin-top: 6px; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; }
.step__num { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--text-2); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tags span { font-size: 15px; color: var(--text-2); background: var(--panel); border: 1px solid var(--border); padding: 10px 16px; border-radius: 999px; }

/* Recent work / case study */
.case { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 880px) { .case { grid-template-columns: 1.05fr 0.95fr; gap: 44px; } }

.case__visual { display: block; text-decoration: none; position: relative; }
.case__visual:hover .browser { transform: translateY(-4px); border-color: var(--accent); }
.browser { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7); transition: transform 300ms var(--expo), border-color 300ms var(--expo); }
.browser__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--panel-2); border-bottom: 1px solid var(--border); }
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-hi); }
.browser__url { font-size: 13px; color: var(--text-3); background: var(--bg); padding: 5px 14px; border-radius: 999px; flex: 1; text-align: center; }

/* Recreated Riva hero — dark + gold, elegant serif */
.riva { background: #07060a; padding: 54px 32px 44px; text-align: center; }
.riva__badge { display: inline-block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #c9a24b; border: 1px solid rgba(201,162,75,0.4); border-radius: 999px; padding: 6px 16px; margin-bottom: 26px; }
.riva__title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.01em; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; color: #f4f1ea; }
.riva__title em { color: #c9a24b; font-style: italic; }
.riva__lead { font-family: Georgia, serif; font-style: italic; color: #9a958c; font-size: 15px; max-width: 360px; margin: 20px auto 28px; line-height: 1.5; }
.riva__cta { display: inline-block; background: linear-gradient(135deg, #d9c084, #c9a24b); color: #1a1208; font-weight: 600; font-size: 14px; padding: 13px 26px; border-radius: 8px; }

.case__visit { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent); }

.case__body .case__tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.case__name { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; margin-bottom: 14px; }
.case__desc { font-size: 17px; color: var(--text-2); line-height: 1.6; margin-bottom: 22px; }
.case__features { list-style: none; margin-bottom: 28px; }
.case__features li { position: relative; padding-left: 28px; margin-bottom: 11px; font-size: 15px; color: var(--text-2); }
.case__features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Investment / custom quote */
.quote-points { display: grid; gap: 14px; margin-top: 8px; }
.quote-point { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 26px; transition: border-color 300ms var(--expo), transform 300ms var(--expo); }
.quote-point:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.quote-point__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); font-weight: 700; font-size: 15px; }
.quote-point h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.quote-point p { font-size: 15px; color: var(--text-2); line-height: 1.55; }
.quote-cta { text-align: center; margin-top: 32px; }
.price-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq__item summary { cursor: pointer; padding: 20px 24px; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 24px; color: var(--accent); font-weight: 400; transition: transform 200ms var(--expo); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--text-2); font-size: 16px; }

/* Quote form */
.quote { display: flex; flex-direction: column; gap: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; }
.quote__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .quote__row { grid-template-columns: 1fr 1fr; } }
.quote label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.quote input, .quote select, .quote textarea {
  font-family: inherit; font-size: 16px; font-weight: 400; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--border-hi); border-radius: 12px; color: var(--text);
  transition: border-color 180ms var(--expo);
}
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--accent); }
.quote .btn { margin-top: 6px; }
.quote .btn[disabled] { opacity: 0.7; cursor: default; }
.quote__note { text-align: center; font-size: 14px; color: var(--text-3); }
.quote__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.quote__error { text-align: center; font-size: 14px; color: #E8A0A0; }
.quote__error a { color: var(--accent); }
.quote__success { text-align: center; background: linear-gradient(180deg, var(--accent-tint), transparent); border: 1px solid var(--accent); border-radius: var(--r-lg); padding: 40px 32px; animation: introIn 600ms var(--expo) forwards; }
.quote__success-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.quote__success h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.quote__success p { color: var(--text-2); font-size: 16px; max-width: 460px; margin: 0 auto; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 30px 0; position: relative; z-index: 1; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--text-3); }
.footer__logo { font-family: "Bricolage Grotesque"; font-weight: 700; color: var(--text-2); }

/* AI chat widget */
.chat-launch { position: fixed; bottom: 22px; right: 22px; z-index: 120; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 18px; border: none; border-radius: 999px; cursor: pointer; font-family: "Space Grotesk"; font-weight: 600; font-size: 15px; color: var(--ink); background: linear-gradient(135deg, var(--accent-soft), var(--accent)); box-shadow: 0 12px 34px -10px rgba(201,162,75,0.6); transition: transform 220ms var(--expo), opacity 220ms var(--expo); }
.chat-launch:hover { transform: translateY(-2px); }
.chat-launch__ico { font-size: 18px; line-height: 1; }
.chat-launch__pulse { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(201,162,75,0.5); animation: chatPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes chatPulse { 0% { box-shadow: 0 0 0 0 rgba(201,162,75,0.45); } 70% { box-shadow: 0 0 0 16px rgba(201,162,75,0); } 100% { box-shadow: 0 0 0 0 rgba(201,162,75,0); } }
.chat-launch--hidden { opacity: 0; pointer-events: none; transform: scale(0.8); }

.chat[hidden] { display: none; }
.chat { position: fixed; bottom: 22px; right: 22px; z-index: 121; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 44px)); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border-hi); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px -24px rgba(0,0,0,0.75); transform: translateY(16px) scale(0.98); opacity: 0; transition: transform 260ms var(--expo), opacity 260ms var(--expo); }
.chat.chat--open { transform: none; opacity: 1; }

.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--panel-2), var(--panel)); border-bottom: 1px solid var(--border); }
.chat__id { display: flex; align-items: center; gap: 12px; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 14px; color: var(--ink); background: linear-gradient(135deg, var(--accent-soft), var(--accent)); }
.chat__who strong { display: block; font-size: 15px; }
.chat__who span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.chat__status { width: 7px; height: 7px; border-radius: 50%; background: #4ad991; box-shadow: 0 0 0 0 rgba(74,217,145,0.6); animation: chatPulse 2.4s ease-out infinite; }
.chat__close { background: none; border: none; color: var(--text-3); font-size: 16px; cursor: pointer; padding: 6px; border-radius: 8px; transition: color 160ms, background 160ms; }
.chat__close:hover { color: var(--text); background: var(--border); }

.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; animation: introIn 300ms var(--expo) forwards; }
.chat__msg--assistant { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--text); }
.chat__msg--user { align-self: flex-end; background: linear-gradient(135deg, var(--accent-soft), var(--accent)); color: var(--ink); border-bottom-right-radius: 4px; font-weight: 500; }
.chat__typing { display: flex; gap: 5px; align-items: center; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); animation: chatBounce 1.2s ease-in-out infinite; }
.chat__typing span:nth-child(2) { animation-delay: 0.18s; }
.chat__typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chatBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat__form input { flex: 1; font-family: inherit; font-size: 15px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border-hi); border-radius: 12px; color: var(--text); }
.chat__form input:focus { outline: none; border-color: var(--accent); }
.chat__form button { flex: none; width: 44px; border: none; border-radius: 12px; cursor: pointer; font-size: 18px; color: var(--ink); background: linear-gradient(135deg, var(--accent-soft), var(--accent)); transition: opacity 160ms; }
.chat__form button:disabled { opacity: 0.5; cursor: default; }
.chat__note { padding: 0 14px 12px; font-size: 11.5px; color: var(--text-3); text-align: center; }
.chat__note em { color: var(--accent); font-style: italic; }

@media (max-width: 600px) {
  .chat-launch__label { display: none; }
  .chat-launch { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-launch__pulse, .chat__status { animation: none !important; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--expo), transform 700ms var(--expo); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 600px) {
  .hero { padding: 70px 0 56px; }
  .section { padding: 56px 0; }
  .quote { padding: 24px; }
}
