/* ============================================================
   LIORA — European AI enquiries agent (with a human face)
   Palette: Cheltenham Ladies' College green on warm paper
   Type: Newsreader (editorial serif) + Mulish (humanist sans)
   ============================================================ */

:root {
  --clc: #0c4a37;          /* CLC deep bottle green */
  --clc-deep: #07332550;
  --clc-deep-solid: #073326;
  --clc-mid: #1a6b4f;
  --clc-bright: #2f9b72;   /* accent, used sparingly */
  --sage: #eaf1ec;
  --sage-2: #dfeae2;

  --bg: #fbfaf6;           /* warm paper, not sterile white */
  --paper: #ffffff;
  --cream: #fbf9f1;        /* card colour that floats on the tweed canvas */
  --ink: #14211b;          /* near-black, green-tinted */
  --body: #3c4a40;         /* darkened for contrast on the textured canvas */
  --muted: #6e7c72;
  --border: rgba(12, 74, 55, 0.12);
  --border-soft: rgba(12, 74, 55, 0.07);

  --shadow-sm: 0 1px 2px rgba(7, 51, 38, 0.06);
  --shadow: 0 18px 40px -20px rgba(7, 51, 38, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(7, 51, 38, 0.35);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1160px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  /* tweed-green moodboard canvas, heavily washed to a soft sage paper for crisp legibility */
  background:
    linear-gradient(rgba(252, 251, 245, 0.78), rgba(252, 251, 245, 0.78)),
    url('assets/tweed-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); font-weight: 400; }
h1 em { font-style: italic; color: var(--clc); font-weight: 400; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 600; font-family: var(--sans); letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 0.94rem;
  padding: 12px 24px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--clc); color: #fff; box-shadow: 0 12px 26px -12px rgba(12,74,55,.6); }
.btn-primary:hover { background: var(--clc-deep-solid); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--clc); border-color: var(--border); }
.btn-outline:hover { border-color: var(--clc); background: var(--sage); }
.btn-light { background: #fff; color: var(--clc); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.3); }
.btn-text { background: none; color: var(--clc); padding-left: 6px; padding-right: 6px; border: 0; }
.btn-text:hover { color: var(--clc-mid); gap: 13px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--clc); z-index: 100; transition: width .1s linear; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 20px 0; transition: padding .3s, background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: 12px 0; background: rgba(251, 250, 246, 0.85); backdrop-filter: blur(14px); border-bottom-color: var(--border-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--ink); letter-spacing: -0.01em; }
.brand-tag { font-family: var(--sans); font-size: .6rem; font-weight: 600; letter-spacing: .05em; color: var(--clc-mid); margin-top: 2px; }
.nav:not(.scrolled) .brand-tag { color: #9fc6b4; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 600; font-size: 0.93rem; color: var(--body); position: relative; transition: color .2s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-5px; height:1.5px; width:0; background: var(--clc); transition: width .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 82px 0; position: relative; }
.eyebrow { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clc-mid); margin-bottom: 18px; }
.eyebrow.light { color: #9fc6b4; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-sub { font-size: 1.1rem; color: var(--body); margin-top: 18px; }
.lead { font-size: 1.12rem; color: var(--body); margin: 16px 0 24px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clc-mid); margin-bottom: 26px; }
.kicker-line { width: 30px; height: 1.5px; background: var(--clc-mid); display: inline-block; }

/* ---------- HERO (dark cinematic, spotlight reveal) ---------- */
.hero { position: relative; padding: 172px 0 96px; overflow: hidden; }
.hero-dark { background: #07160f; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transform: scale(1.12); filter: blur(16px);
  animation: heroIn 1.6s cubic-bezier(.2,.7,.2,1) .15s forwards; }
@keyframes heroIn { to { opacity: 1; transform: scale(1); filter: blur(0); } }
.hero-dark.kb #heroCanvas { animation: heroIn 1.6s cubic-bezier(.2,.7,.2,1) .15s forwards, kenburns 26s ease-in-out 1.7s infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hero-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 60% 35%, transparent 30%, rgba(4,12,8,.55) 100%),
    linear-gradient(180deg, rgba(7,22,15,.35), transparent 30%, transparent 75%, #07160f 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }

/* editorial headline: Playfair italic + Inter */
.hero-title { margin: 0 0 26px; line-height: 1.02; }
.hero-title .t-serif { display: block; font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; color: #f3efe6; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.005em; }
.hero-title .t-sans { display: block; font-family: "Inter", sans-serif; font-weight: 800; color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -0.03em; margin-top: 2px; }

.hero-dark .kicker { color: #8fcaad; }
.hero-dark .kicker-line { background: #8fcaad; }
.hero-sub { font-family: "Inter", sans-serif; font-size: 1.16rem; color: #c5d4cb; max-width: 540px; }
.rotator { color: #fff; font-weight: 600; border-bottom: 1.5px solid var(--clc-bright); transition: opacity .3s; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin: 34px 0 28px; flex-wrap: wrap; }
.hero-foot { font-size: 0.9rem; color: #87988d; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; max-width: 460px; }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #f3efe6; border-color: rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.play-dot { font-size: .7rem; }

/* nav over the dark hero (top of page), switches on scroll */
.nav:not(.scrolled) .brand-name { color: #f3efe6; }
.nav:not(.scrolled) .brand-mark svg circle:first-of-type { stroke: #f3efe6; }
.nav:not(.scrolled) .brand-mark svg path:first-of-type { fill: #f3efe6; }
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,.80); }
.nav:not(.scrolled) .nav-links a:hover { color: #fff; }
.nav:not(.scrolled) .nav-cta .btn-primary { background: #f3efe6; color: #0c4a37; box-shadow: none; }
.nav:not(.scrolled) .nav-cta .btn-primary:hover { background: #fff; transform: translateY(-2px); }
.nav:not(.scrolled) .nav-burger span { background: #fff; }

/* ---------- AVATAR — MacBook ---------- */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.macbook { width: 100%; max-width: 780px; animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.mb-screen {
  position: relative; line-height: 0;
  background: #1b1f1b; border: 11px solid #1b1f1b; border-radius: 18px 18px 6px 6px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.05);
}
.mb-cam { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #3a423b; z-index: 4; }

/* ---- Avatar call UI (16:10 screen) ---- */
.mb-call { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #0c1712; font-family: var(--sans); }
.call-bg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.93); box-shadow: 0 12px 34px -8px rgba(0,0,0,.5); display: grid; place-items: center; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s; }
.video-play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: pulse 2.4s infinite; }
.video-play:hover { transform: translate(-50%,-50%) scale(1.08); background: #fff; }
.video-play svg { width: 30px; height: 30px; fill: var(--clc); margin-left: 4px; }
.video-label { position: absolute; left: 14px; bottom: 14px; z-index: 3; background: rgba(7,22,15,.55); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .01em; padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(6px); }
.mb-call.playing .video-play, .mb-call.playing .video-label { opacity: 0; pointer-events: none; transition: opacity .3s; }
.call-scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(12,22,16,.35) 0%, transparent 18%, transparent 52%, rgba(12,22,16,.55) 100%); }
.call-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
.call-brand { color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .01em; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.call-timer { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); color: var(--clc); font-weight: 700; font-size: .68rem; padding: 5px 11px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.cb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clc-bright); animation: pulse 2s infinite; }
.call-self { position: absolute; top: 46px; right: 14px; z-index: 3; width: 58px; height: 74px; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,.85); box-shadow: var(--shadow-sm); line-height: 0; }
.call-self svg { width: 100%; height: 100%; }
.self-tag { position: absolute; bottom: 3px; left: 4px; color: #fff; font-size: .52rem; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.call-caption { position: absolute; left: 14px; right: 14px; bottom: 60px; z-index: 3; display: flex; justify-content: center; }
.cap-pill { display: inline-flex; align-items: center; gap: 9px; max-width: 86%; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 14px; padding: 9px 14px; font-size: .76rem; line-height: 1.4; box-shadow: var(--shadow); }
.cap-wave { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 14px; flex: none; }
.cap-wave i { width: 2.5px; background: var(--clc-bright); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.cap-wave i:nth-child(1){height:5px} .cap-wave i:nth-child(2){height:11px;animation-delay:.1s} .cap-wave i:nth-child(3){height:14px;animation-delay:.2s} .cap-wave i:nth-child(4){height:9px;animation-delay:.3s} .cap-wave i:nth-child(5){height:5px;animation-delay:.4s}
.call-dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 11px 14px 13px; }
.call-dock .vt-toggle { display: inline-flex; background: rgba(255,255,255,.92); border-radius: 100px; padding: 3px; font-size: .66rem; font-weight: 700; flex: none; }
.call-dock .vt-toggle span { padding: 5px 11px; border-radius: 100px; color: var(--muted); }
.call-dock .vt-toggle .on { background: var(--clc); color: #fff; }
.call-input { flex: 1; min-width: 0; background: rgba(255,255,255,.92); border-radius: 100px; padding: 8px 14px; font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-interrupt { display: inline-flex; align-items: center; gap: 5px; flex: none; background: rgba(255,255,255,.92); color: var(--clc); border: 0; border-radius: 100px; padding: 7px 12px; font-family: var(--sans); font-size: .66rem; font-weight: 700; cursor: pointer; }
.call-interrupt svg { width: 14px; height: 14px; fill: none; stroke: var(--clc); stroke-width: 2; stroke-linecap: round; }
.call-ic { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; }
.call-ic svg { width: 17px; height: 17px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.call-ic.mic { background: rgba(255,255,255,.92); } .call-ic.mic svg { stroke: var(--clc); }
.call-ic.end { background: #d6483c; } .call-ic.end svg { stroke: #fff; fill: #fff; }
.mb-base {
  position: relative; width: 116%; left: 50%; transform: translateX(-50%); height: 15px;
  background: linear-gradient(180deg, #e3e7e9 0%, #c0c6c9 48%, #9ba1a4 100%);
  border-radius: 0 0 13px 13px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.55), 0 10px 18px -8px rgba(0,0,0,.35);
}
.mb-base::before { content:""; position:absolute; top:0; left:50%; transform:translateX(-50%); width:128px; height:8px; background:#aab0b3; border-radius:0 0 11px 11px; }
.app-live { width: 7px; height: 7px; border-radius: 50%; background: var(--clc-bright); animation: pulse 2s infinite; }
.call-badge { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--clc-mid); }

@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(47,155,114,.4);} 70%{box-shadow:0 0 0 8px rgba(47,155,114,0);} 100%{box-shadow:0 0 0 0 rgba(47,155,114,0);} }
@keyframes blink { 0%,60%,100%{opacity:.28;} 30%{opacity:1;} }

/* ---------- Metrics ---------- */
.metrics-wrap { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: rgba(251, 249, 241, 0.66); backdrop-filter: blur(2px); }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 38px 26px; text-align: center; border-left: 1px solid var(--border-soft); }
.metric:first-child { border-left: 0; }
.metric b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 3.4vw, 3rem); color: var(--clc); letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.metric span { font-size: 0.86rem; color: var(--muted); }
.metrics-note { display: block; text-align: center; padding: 22px 0 4px; color: var(--clc-mid); font-weight: 700; font-size: .88rem; transition: color .2s; }
.metrics-note:hover { color: var(--clc); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Two column ---------- */
.problem { background: transparent; padding-bottom: 46px; }
.feat { padding-top: 56px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.x-list, .check-list { list-style: none; display: grid; gap: 13px; margin-top: 10px; }
.x-list li, .check-list li { position: relative; padding-left: 32px; color: var(--body); }
.x-list li::before, .check-list li::before { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.x-list li::before { content:"–"; background: rgba(12,74,55,.06); color: var(--muted); }
.check-list li::before { content:"✓"; background: var(--sage-2); color: var(--clc); }
.check-list.light li { color: #d6e4dc; }
.check-list.light li::before { background: rgba(255,255,255,.16); color: #bfe0cf; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { position: relative; background: var(--cream); border: 1px solid var(--border-soft); border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.feature-card::after { content:""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent, var(--clc-bright)); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.feature-card:hover { transform: translateY(-7px) rotate(-.5deg); box-shadow: var(--shadow); }
.feature-card:hover::after { transform: scaleX(1); }
.feat-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--accent-bg, var(--sage)); margin-bottom: 18px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.feature-card:hover .feat-ico { transform: rotate(-8deg) scale(1.1); }
.feat-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent, var(--clc)); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: 9px; color: var(--ink); }
.feature-card p { font-size: 0.92rem; color: var(--body); }
/* lively, tweed-cohesive per-card accents */
.feature-card:nth-child(1){ --accent:#15573f; --accent-bg:#d7e7dd; }
.feature-card:nth-child(2){ --accent:#1c6b6b; --accent-bg:#d2e7e6; }
.feature-card:nth-child(3){ --accent:#6a7d2e; --accent-bg:#e6edcf; }
.feature-card:nth-child(4){ --accent:#9a7b3e; --accent-bg:#efe7d2; }
.feature-card:nth-child(5){ --accent:#2f9b72; --accent-bg:#d9efe5; }
.feature-card:nth-child(6){ --accent:#3a7a8c; --accent-bg:#d6e8ed; }
.feature-card:nth-child(7){ --accent:#4f8a4f; --accent-bg:#dcebd9; }
.feature-card:nth-child(8){ --accent:#a86a4a; --accent-bg:#f0e1d7; }

/* ---------- Showcase / transcript ---------- */
.showcase { background: var(--clc); color: #d6e4dc; overflow: hidden; }
.showcase h2 { color: #fff; }
.showcase .lead { color: #c2d6cb; }
.showcase-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-copy .check-list { margin-bottom: 30px; }
.showcase-copy .btn { margin-top: 4px; }
.transcript { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 440px; width: 100%; margin-left: auto; }
.transcript-tag { display: flex; align-items: center; gap: 7px; padding: 11px 20px; font-size: .72rem; font-weight: 700; color: var(--clc-mid); background: var(--sage); border-bottom: 1px solid var(--border); letter-spacing: .02em; }
.tt-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clc-bright); }
.transcript-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.t-avatar { line-height: 0; flex: none; }
.t-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 20%; display: block; }
.transcript-head b { color: var(--ink); display: block; font-family: var(--sans); font-weight: 700; }
.transcript-head small { color: var(--muted); font-size: .76rem; display: flex; align-items: center; gap: 6px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clc-bright); animation: pulse 2s infinite; }
.t-wave { margin-left: auto; display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.t-wave i { width: 3px; background: var(--clc-bright); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.t-wave i:nth-child(1){height:8px;} .t-wave i:nth-child(2){height:16px;animation-delay:.1s;} .t-wave i:nth-child(3){height:22px;animation-delay:.2s;} .t-wave i:nth-child(4){height:14px;animation-delay:.3s;} .t-wave i:nth-child(5){height:9px;animation-delay:.4s;}
@keyframes wave { 0%,100%{transform:scaleY(.5);} 50%{transform:scaleY(1);} }
.transcript-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; height: 430px; overflow: hidden; background: var(--bg); scroll-behavior: smooth; }
.line { max-width: 84%; }
.line .who { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; display: block; }
.line .bubble { padding: 11px 15px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; opacity: 0; transform: translateY(8px); animation: msgIn .4s forwards; }
.line.bot { align-self: flex-start; }
.line.bot .bubble { background: #fff; color: var(--ink); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.line.user { align-self: flex-end; text-align: right; }
.line.user .bubble { background: var(--clc); color: #fff; border-bottom-right-radius: 4px; text-align: left; }
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }
.typing { display: inline-flex; gap: 4px; padding: 13px 16px; background:#fff; border:1px solid var(--border); border-radius:14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2){animation-delay:.2s;} .typing i:nth-child(3){animation-delay:.4s;}

/* ---------- How (techy pipeline) ---------- */
.how { background: transparent; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; position: relative; }
.step { position: relative; z-index: 1; padding: 30px 28px 30px; background: var(--cream); border: 1px solid var(--border-soft); border-radius: 18px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
/* connector arrow between steps */
.step:not(:last-child)::after { content: "→"; position: absolute; right: -25px; top: 50%; transform: translateY(-50%); color: var(--clc-bright); font-size: 1.3rem; z-index: 2; }
.step-mono { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-num { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--clc); letter-spacing: .04em; }
.step-chip { font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clc-bright); border: 1px solid var(--border); border-radius: 100px; padding: 4px 9px; background: rgba(47,155,114,.08); }
.step-bar { height: 3px; width: 38px; background: var(--clc-bright); border-radius: 3px; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; color: var(--ink); }
.step p { font-size: 0.95rem; }

/* ---------- Use cases ---------- */
.usecases { background: transparent; }
.tabs { max-width: 880px; margin: 0 auto; }
.tab-buttons { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.tab-btn { font-family: var(--sans); font-weight: 600; font-size: .94rem; cursor: pointer; padding: 11px 22px; border-radius: 100px; border: 1px solid var(--border); background: transparent; color: var(--body); transition: .25s; }
.tab-btn:hover { border-color: var(--clc); }
.tab-btn.active { background: var(--clc); color: #fff; border-color: var(--clc); }
.tab-panels { background: var(--cream); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 46px; box-shadow: var(--shadow); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tab-panel h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin-bottom: 14px; color: var(--ink); }
.tab-panel p { font-size: 1.04rem; }
.tag-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 24px; }
.tag-row span { background: var(--sage); color: var(--clc); padding: 7px 15px; border-radius: 100px; font-size: .82rem; font-weight: 600; }

/* ---------- Testimonials (rolling) ---------- */
.testi-section { background: transparent; overflow: hidden; }
.testi-marquee { margin-top: 8px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.testi-track { display: flex; gap: 22px; width: max-content; padding: 12px 22px; animation: scroll-x 40s linear infinite; }
.testi-marquee:hover .testi-track { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testi-card { flex: none; width: 380px; background: var(--cream); border: 1px solid var(--border-soft); border-radius: 18px; padding: 26px 26px 22px; box-shadow: var(--shadow); }
.ts-stars { color: #d9a534; letter-spacing: 2px; font-size: .92rem; margin-bottom: 12px; }
.testi-card blockquote { font-size: .98rem; color: var(--ink); line-height: 1.5; margin-bottom: 20px; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; }
.testi-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center; flex: none; }
.ts-meta { display: flex; flex-direction: column; }
.ts-meta b { color: var(--ink); font-size: .9rem; line-height: 1.2; }
.ts-meta small { color: var(--muted); font-size: .8rem; }
.ts-tag { margin-left: auto; align-self: center; font-size: .68rem; font-weight: 700; color: var(--clc); background: var(--sage); border-radius: 100px; padding: 5px 11px; flex: none; }

/* ---------- Pricing ---------- */
.pricing { background: transparent; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .3s, box-shadow .3s; position: relative; box-shadow: var(--shadow); }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--clc); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -12px; left: 30px; background: var(--clc); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 100px; letter-spacing: .03em; }
.price-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); }
.price-desc { font-size: .9rem; color: var(--muted); margin: 6px 0 20px; min-height: 38px; }
.price { font-family: var(--serif); font-weight: 500; font-size: 2.9rem; color: var(--clc); letter-spacing: -.02em; margin-bottom: 24px; line-height: 1; }
.price.price-from { font-size: 1.9rem; }
.price .cur { font-size: 1.4rem; vertical-align: super; margin-right: 1px; }
.price-card li b { font-weight: 800; color: var(--ink); }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); font-family: var(--sans); }
.price-card ul { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; }
.price-card li { position: relative; padding-left: 26px; font-size: .93rem; color: var(--body); }
.price-card li::before { content:"✓"; position: absolute; left: 0; color: var(--clc-bright); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { background: transparent; }
.accordion { display: grid; gap: 0; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 8px 28px; box-shadow: var(--shadow); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: 0; }
.acc-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--ink); padding: 24px 4px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.acc-ico { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc-ico::before, .acc-ico::after { content:""; position: absolute; background: var(--clc); border-radius: 2px; transition: transform .3s, opacity .3s; }
.acc-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc-ico::after { left: 7px; top: 0; width: 2px; height: 16px; }
.acc-item.open .acc-ico::after { transform: rotate(90deg); opacity: 0; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a p { padding: 0 4px 24px; color: var(--body); max-width: 90%; }

/* ---------- CTA ---------- */
.cta-section { padding: 70px 0 110px; background: transparent; }
.cta-card { background: var(--clc); border-radius: var(--radius-lg); padding: 70px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-card::after { content:""; position:absolute; top:-140px; right:-100px; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(47,155,114,.4), transparent 65%); }
.cta-content { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.cta-card h2 { color: #fff; }
.cta-card p { color: #c2d6cb; font-size: 1.12rem; margin: 16px 0 30px; }
.cta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-form input { flex: 1; min-width: 180px; max-width: 230px; padding: 14px 18px; border-radius: 100px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff; font-family: var(--sans); font-size: .95rem; }
.cta-form input::placeholder { color: #a8c2b5; }
.cta-form input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.16); }
.cta-fine { display: block; margin-top: 20px; color: #9bbaab; font-size: .85rem; }

/* ---------- Footer ---------- */
.footer { background: rgba(251, 249, 241, 0.55); border-top: 1px solid var(--border); padding: 66px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 56px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 16px 0; max-width: 300px; }
.made-in { font-size: .82rem; font-weight: 700; color: var(--clc-mid); letter-spacing: .02em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 16px; font-weight: 700; }
.footer-cols a { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--clc); }
.footer-base { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--clc); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .two-col, .showcase-inner, .footer-inner { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .step:not(:last-child)::after { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .transcript { margin: 0 auto; }
  .section-head.left { text-align: center; margin: 0 auto 50px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 76px 0; }
  .hero { padding: 140px 0 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .tab-panels { padding: 28px 22px; }
  .cta-card { padding: 48px 24px; }
  .footer-base { flex-direction: column; gap: 14px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
  .reveal { opacity: 1; transform: none; }
}
