/* Linetend AI public portal
   Shared with client_test_confirmed.html (confirmation-* classes near the end).
   Motion rules: entrance animation is CSS-only, scroll reveal needs the `js`
   class on <html> and degrades to visible content without it; everything is
   switched off under prefers-reduced-motion. */

:root {
  --bg: #04101f;
  --bg-2: #07182b;
  --panel: #0b1d33;
  --panel-2: #102741;
  --panel-3: #142e4b;
  --line: #234766;
  --line-2: #315d83;
  --ink: #f4f7f1;
  --muted: #9ba8a0;
  --muted-2: #7f8b84;
  --lime: #23b8ff;
  --lime-deep: #087dea;
  --lime-ink: #031426;
  --mint: #2ed7ee;
  --danger: #ff7e79;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 45px 130px rgba(0, 0, 0, .55);
  --shadow-md: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(35, 184, 255, .25), 0 20px 70px -20px rgba(8, 125, 234, .42);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 78px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
img, video { max-width: 100%; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
main:focus { outline: none; }

/* Accessibility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--lime); color: var(--lime-ink); font-weight: 800; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.primary:focus-visible, .nav-cta:focus-visible, .secondary:focus-visible, .booking-form button:focus-visible, .plan-cta:focus-visible { outline-offset: 4px; }

/* Buttons */
.nav-cta, .primary, .plan-cta, .booking-form button {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  text-decoration: none; background: var(--lime); color: var(--lime-ink);
  font-weight: 800; border-radius: var(--radius-sm); padding: 13px 19px; border: 0; cursor: pointer;
  position: relative; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav-cta:hover, .primary:hover, .plan-cta:hover, .booking-form button:hover { background: #d4ff7a; transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(200, 255, 90, .8); }
.nav-cta:active, .primary:active, .plan-cta:active, .booking-form button:active { transform: translateY(0); }
.primary span, .nav-cta span, .plan-cta span { display: inline-block; transition: transform .25s var(--ease); }
.primary:hover span, .nav-cta:hover span, .plan-cta:hover span { transform: translateX(3px); }
.secondary {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 15px 20px; font-weight: 700;
  background: rgba(255, 255, 255, .02);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.secondary:hover { border-color: #5a6b60; background: rgba(255, 255, 255, .05); transform: translateY(-2px); }
.secondary span { color: var(--lime); font-size: 12px; }

/* Navigation */
.site-nav {
  height: var(--nav-h); display: flex; align-items: center; gap: 40px;
  padding: 0 clamp(20px, 5vw, 76px); position: sticky; top: 0; z-index: 40;
  background: rgba(5, 8, 7, .62); border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-nav.is-scrolled { background: rgba(5, 8, 7, .9); border-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 13px; letter-spacing: .08em; font-weight: 750; white-space: nowrap; }
.brand b { color: var(--lime); }
.brand-logo img { width: 178px; height: auto; display: block; border-radius: 8px; }
.footer-brand .brand-logo img { width: 190px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--lime); color: var(--lime-ink); font-size: 17px; box-shadow: 0 0 35px rgba(200, 255, 90, .18); flex: none; }
.site-nav nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav nav a { position: relative; color: #b8c1bb; text-decoration: none; font-size: 14px; padding: 6px 0; transition: color .2s var(--ease); }
.site-nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav nav a:hover { color: #fff; }
.site-nav nav a:hover::after, .site-nav nav a:focus-visible::after { transform: scaleX(1); }
.nav-menu-cta { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars { display: grid; gap: 6px; width: 18px; }
.nav-toggle-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); transform-origin: center; }
.site-nav.is-open .nav-toggle-bars i:first-child { transform: translateY(4px) rotate(45deg); }
.site-nav.is-open .nav-toggle-bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  min-height: min(820px, 100svh);
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); gap: 6vw; align-items: center;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 6vw, 96px);
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #071b31, var(--bg));
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%); mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.hero-glow { position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 72% 28%, rgba(8, 125, 234, .36), transparent 32%), radial-gradient(circle at 18% 80%, rgba(46, 215, 238, .13), transparent 30%);
  animation: glow-drift 18s ease-in-out infinite alternate; filter: blur(10px); }
@keyframes glow-drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.06); } }
.hero-copy, .hero-product { position: relative; z-index: 1; min-width: 0; }
.hero-copy > * { animation: rise-in .9s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .28s; }
.hero-copy > :nth-child(4) { animation-delay: .4s; }
.hero-copy > :nth-child(5) { animation-delay: .52s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.signal { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #34463d; background: rgba(16, 23, 19, .9); border-radius: 999px; padding: 8px 14px 8px 10px; color: #c5d0c9; font-size: 12px; letter-spacing: .01em; }
.signal i, .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200, 255, 90, .55); animation: pulse-ring 2s var(--ease) infinite; flex: none; }
@keyframes pulse-ring { 70% { box-shadow: 0 0 0 9px rgba(200, 255, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 255, 90, 0); } }
.hero h1 { font-size: clamp(46px, 5.4vw, 84px); line-height: .96; letter-spacing: -.055em; margin: 28px 0 24px; font-weight: 750; text-wrap: balance; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; color: var(--lime); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 em { background: linear-gradient(100deg, var(--lime) 0%, var(--mint) 110%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.hero-copy > p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); max-width: 600px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.primary { padding: 16px 23px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: #aeb9b2; letter-spacing: .01em; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before { content: "✓"; color: var(--lime); font-weight: 800; }

/* Hero product preview */
.hero-product {
  border: 1px solid #344139; border-radius: 18px; background: #0c120f; box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-2deg);
  animation: card-in 1.1s var(--ease) .25s both, card-float 9s ease-in-out 1.4s infinite alternate;
}
@keyframes card-in { from { opacity: 0; transform: perspective(1200px) rotateY(-6deg) translateY(28px); } to { opacity: 1; transform: perspective(1200px) rotateY(-2deg) translateY(0); } }
@keyframes card-float { from { transform: perspective(1200px) rotateY(-2deg) translateY(0); } to { transform: perspective(1200px) rotateY(-1.4deg) translateY(-8px); } }
.window-bar { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid #28332d; color: #89958e; }
.window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #445048; }
.window-bar b { font-size: 11px; margin-left: 10px; letter-spacing: .05em; }
.window-bar small { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-size: 9px; letter-spacing: .12em; }
.window-bar small i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.workspace { display: grid; grid-template-columns: 62px 1fr; min-height: 480px; }
.workspace aside { border-right: 1px solid #28332d; display: flex; align-items: center; flex-direction: column; gap: 21px; padding-top: 18px; }
.mini-brand { background: var(--lime); color: var(--lime-ink); width: 29px; height: 29px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; }
.workspace aside i { width: 18px; height: 18px; border-radius: 5px; background: #27332d; }
.workspace aside i.active { outline: 1px solid var(--lime); background: #283b2e; }
.workspace-main { padding: 28px; min-width: 0; }
.workspace-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.workspace-head small, .metric-grid small { font-size: 9px; color: #829087; letter-spacing: .12em; }
.workspace-head h3 { font-size: 25px; margin: 7px 0; letter-spacing: -.02em; }
.status { font-size: 11px; color: var(--mint); background: #12251c; padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.metric-grid article { background: #121a16; border: 1px solid #2c3932; border-radius: 11px; padding: 15px; animation: rise-in .8s var(--ease) both; }
.metric-grid article:nth-child(1) { animation-delay: .7s; }
.metric-grid article:nth-child(2) { animation-delay: .85s; }
.metric-grid article:nth-child(3) { animation-delay: 1s; }
.metric-grid strong, .metric-grid span { display: block; }
.metric-grid strong { font-size: 15px; margin: 8px 0; }
.metric-grid span { font-size: 10px; color: #7f8c84; }
.conversation { padding: 17px; border: 1px solid #2a3730; border-radius: 13px; background: var(--bg-2); }
.conversation b { font-size: 10px; color: #829087; }
.conversation p { font-size: 12px; line-height: 1.55; margin: 5px 0 0; }
.caller { padding: 10px 13px; background: var(--panel-3); border-radius: 9px 9px 9px 3px; margin-bottom: 12px; max-width: 86%; animation: bubble-in .6s var(--ease) 1.3s both; }
.agent { display: flex; gap: 10px; animation: bubble-in .6s var(--ease) 2.2s both; }
.agent > div { background: rgba(200, 255, 90, .06); border: 1px solid rgba(200, 255, 90, .14); padding: 10px 13px; border-radius: 9px 9px 3px 9px; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.agent > span { width: 27px; height: 27px; border-radius: 8px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-weight: 800; font-size: 11px; flex: none; }
.activity { display: flex; align-items: center; gap: 10px; padding: 14px; margin-top: 13px; border: 1px solid #314136; border-radius: 10px; animation: rise-in .7s var(--ease) 2.9s both; }
.activity div { display: flex; flex-direction: column; min-width: 0; }
.activity b { font-size: 11px; }
.activity small { font-size: 9px; color: #7e8b83; margin-top: 3px; }
.activity > strong { font-size: 9px; color: var(--lime); }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 16px; margin-left: auto; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--mint); transform-origin: center; animation: wave 1.1s ease-in-out infinite; opacity: .85; }
.wave i:nth-child(2) { animation-delay: .12s; } .wave i:nth-child(3) { animation-delay: .24s; } .wave i:nth-child(4) { animation-delay: .36s; } .wave i:nth-child(5) { animation-delay: .48s; }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* Industry strip */
.logo-strip { min-height: 88px; border-top: 1px solid #202a25; border-bottom: 1px solid #202a25; display: flex; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 80px); color: var(--muted-2); padding: 0 20px; background: var(--bg-2); }
.logo-strip span { font-size: 9px; letter-spacing: .16em; color: var(--lime); }
.logo-strip b { font-size: 12px; letter-spacing: .08em; white-space: nowrap; }

/* Sections */
.section { padding: clamp(80px, 9vw, 130px) clamp(20px, 7vw, 110px); }
.section-title { display: grid; grid-template-columns: 1fr 1.4fr; gap: 35px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-title > span, .film-copy > span, .booking-copy > span { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; color: var(--lime); font-weight: 800; letter-spacing: .14em; }
.section-title > span::before, .film-copy > span::before, .booking-copy > span::before { content: ""; width: 18px; height: 1px; background: var(--lime); }
.section-title h2, .film-copy h2, .booking-copy h2 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -.05em; line-height: 1; margin: 18px 0 0; font-weight: 750; text-wrap: balance; }
.section-title p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 570px; align-self: end; margin: 0; }
.section-title.center { display: block; text-align: center; }
.section-title.center p { margin: 20px auto 0; }
.center { display: block; text-align: center; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); min-height: 320px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.industry::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px 220px at 90% 0%, rgba(200, 255, 90, .12), transparent 60%); transition: opacity .35s var(--ease); }
.industry:hover { transform: translateY(-5px); border-color: #4a5e4d; box-shadow: var(--shadow-md); }
.industry:hover::after { opacity: 1; }
.industry.featured { background: linear-gradient(150deg, #16241b, var(--panel)); border-color: #55703a; }
.industry.featured:first-child { grid-column: span 2; }
.industry .icon { width: 42px; height: 42px; border-radius: 10px; background: #1a251f; display: grid; place-items: center; color: var(--lime); font-size: 20px; transition: transform .35s var(--ease); }
.industry:hover .icon { transform: translateY(-2px) rotate(-6deg); }
.industry small { margin-top: 28px; color: #78867e; font-size: 9px; letter-spacing: .13em; }
.industry h3 { font-size: 24px; margin: 10px 0; letter-spacing: -.02em; }
.industry p { color: var(--muted); line-height: 1.6; font-size: 14px; max-width: 46ch; }
.industry a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--lime); text-decoration: none; font-size: 13px; font-weight: 800; width: fit-content; }
.industry a span { transition: transform .25s var(--ease); }
.industry a:hover span { transform: translateX(4px); }

/* Workflow (light band) */
.workflow { background: #f0f3ec; color: #101713; }
.workflow .section-title > span { color: #48621f; }
.workflow .section-title > span::before { background: #48621f; }
.workflow .section-title p { color: #566059; }
.workflow-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #ccd2ca; position: relative; }
.workflow-grid li { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 38px 28px 38px 0; border-right: 1px solid #ccd2ca; margin-right: 28px; }
.workflow-grid li:last-child { border-right: 0; margin-right: 0; }
.workflow-grid b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #101713; color: var(--lime); font-size: 13px; font-family: var(--mono); letter-spacing: .04em; box-shadow: 0 0 0 6px #e3e8df; }
.workflow-grid h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.02em; }
.workflow-grid p { color: #667069; line-height: 1.6; margin: 0; font-size: 15px; }

/* Film */
.film { display: grid; grid-template-columns: .72fr 1.28fr; gap: 6vw; align-items: center; background: #0a0f0c; position: relative; overflow: hidden; }
.film::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 70%; background: radial-gradient(closest-side, rgba(114, 241, 189, .12), transparent); pointer-events: none; }
.film-copy p, .film-copy li { color: var(--muted); line-height: 1.65; }
.film-copy ul { list-style: none; padding: 0; margin: 20px 0 0; }
.film-copy li { border-top: 1px solid var(--line); padding: 13px 0 13px 26px; position: relative; }
.film-copy li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--lime); }
.video-shell { position: relative; background: #020302; border: 1px solid #354239; padding: 8px; border-radius: 17px; box-shadow: var(--shadow-lg), var(--glow); }
video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 11px; background: #000; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1180px; margin: auto; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 34px; background: var(--panel); display: flex; flex-direction: column; min-height: 485px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-6px); border-color: #4a5e4d; box-shadow: var(--shadow-md); }
.plan.featured { border-color: rgba(200, 255, 90, .6); background: linear-gradient(170deg, #142019, var(--panel)); box-shadow: var(--glow); transform: translateY(-10px); }
.plan.featured:hover { transform: translateY(-14px); }
.popular { position: absolute; top: -13px; right: 20px; background: var(--lime); color: var(--lime-ink); padding: 7px 10px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.plan > small { color: var(--lime); text-transform: uppercase; letter-spacing: .09em; font-size: 10px; font-weight: 700; }
.plan h3 { font-size: 26px; margin: 13px 0; letter-spacing: -.02em; }
.price { font-size: clamp(38px, 3.2vw, 46px); letter-spacing: -.05em; font-weight: 800; line-height: 1; margin-bottom: 14px; }
.plan > p { color: var(--muted); line-height: 1.5; font-size: 15px; }
.plan ul { list-style: none; padding: 16px 0 0; margin: 4px 0 22px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.plan li { position: relative; padding: 6px 0 6px 26px; color: #c2cbc5; font-size: 14px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--lime); font-weight: 800; }
.plan-actions { margin-top: auto; display: grid; gap: 10px; }
.plan-cta { padding: 14px; background: transparent; border: 1px solid #46564d; color: var(--lime); }
.plan-cta:hover { background: rgba(200, 255, 90, .08); box-shadow: none; }
.plan.featured .plan-cta { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.plan.featured .plan-cta:hover { background: #d4ff7a; }
.plan-alt { text-align: center; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; padding: 8px; border-radius: var(--radius-sm); transition: color .2s var(--ease), background .2s var(--ease); }
.plan-alt:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.muted { color: var(--muted) !important; }

/* Booking */
.booking { display: grid; grid-template-columns: .82fr 1.18fr; gap: 7vw; align-items: start; background: radial-gradient(circle at 10% 30%, rgba(141, 195, 62, .14), transparent 28%); }
.booking-copy { position: sticky; top: calc(var(--nav-h) + 32px); }
.booking-copy p { color: var(--muted); line-height: 1.65; font-size: 17px; }
.booking-note { margin-top: 35px; border-left: 2px solid var(--lime); padding: 8px 0 8px 20px; }
.booking-note b { font-size: 13px; }
.booking-note p { font-size: 13px; margin: 7px 0 0; }
.booking-form { display: grid; gap: 22px; background: #101713; border: 1px solid #2b3931; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md); }
.form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form-group legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: #d7dfd9; }
.form-group legend span { font-family: var(--mono); font-size: 10px; color: var(--lime); border: 1px solid #34463d; border-radius: 999px; padding: 3px 8px; }
.form-group + .form-group { padding-top: 22px; border-top: 1px solid #22302a; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.wide, .consent-block, .booking-form button, .form-foot, .form-error { grid-column: 1 / -1; }
.field label { font-size: 12px; color: #aeb9b2; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 9px; color: #fff; padding: 13px 14px; font: inherit; font-size: 14px; min-height: 46px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23c8ff5a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #5f6c65; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4a5a50; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); background: #0a100d; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 2px; }
.field.invalid input, .field.invalid select, .field.invalid textarea, .consent-block.invalid input { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 126, 121, .14); }
.field.invalid label { color: #ffb3b0; }
.errorlist { list-style: none; margin: 2px 0 0; padding: 0; color: var(--danger); font-size: 12px; display: grid; gap: 2px; }
.errorlist li::before { content: "! "; font-weight: 800; }
.consent-block { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid #22302a; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .02); }
.consent-block.invalid { border-color: rgba(255, 126, 121, .5); }
.consent { display: flex; gap: 11px; color: #aeb9b2; font-size: 12.5px; line-height: 1.45; align-items: flex-start; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--lime); flex: none; }
.booking-form button { border-radius: 9px; padding: 17px; font-weight: 900; font-size: 14px; justify-content: space-between; }
.form-foot { text-align: center; color: #76837b; font-size: 12px; }
.form-error { color: var(--danger); font-size: 13px; }
.form-error .errorlist { font-size: 13px; }
.form-summary { padding: 12px 16px; border: 1px solid rgba(255, 126, 121, .5); border-radius: var(--radius-sm); background: rgba(255, 126, 121, .08); color: #ffd3d1; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px clamp(20px, 6vw, 96px); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--muted); background: var(--bg-2); }
.footer-brand { display: grid; gap: 14px; }
footer p { margin: 0; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { font-size: 12.5px; text-decoration: none; padding: 6px 0; transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--ink); }

/* Scroll reveal (requires .js on <html>; the safety animation forces content
   visible after 2.4s even if the observer never fires) */
.js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .75s var(--ease), translate .75s var(--ease); transition-delay: var(--reveal-delay, 0ms); animation: reveal-safety .01s linear 2.4s forwards; }
.js [data-reveal].is-in { opacity: 1; translate: none; animation: none; }
@keyframes reveal-safety { to { opacity: 1; translate: none; } }

/* Confirmation page (client_test_confirmed.html) */
.confirmation-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 20%, #1a2e1e, var(--bg) 50%); }
.confirmation { max-width: 780px; text-align: center; padding: 50px 24px; animation: rise-in .9s var(--ease) both; }
.success-mark { width: 70px; height: 70px; border-radius: 22px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-size: 32px; margin: 0 auto 30px; box-shadow: var(--glow); }
.confirmation > span { color: var(--lime); font-size: 10px; letter-spacing: .15em; font-weight: 800; }
.confirmation h1 { font-size: clamp(42px, 7vw, 80px); letter-spacing: -.05em; margin: 15px; line-height: 1; }
.confirmation > p { color: #bbc5bf; font-size: 17px; line-height: 1.6; }
.confirmation-card { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); margin: 30px 0; background: var(--panel); overflow: hidden; }
.confirmation-card div { padding: 22px; border-right: 1px solid var(--line); }
.confirmation-card div:last-child { border: 0; }
.confirmation-card small, .confirmation-card b { display: block; }
.confirmation-card small { color: var(--muted-2); margin-bottom: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.confirmation-card b { overflow-wrap: anywhere; }
.confirmation .primary { margin-top: 15px; }

/* Responsive */
@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-product { max-width: 760px; transform: none; animation: card-in-flat .9s var(--ease) .25s both; }
  @keyframes card-in-flat { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .industry.featured:first-child { grid-column: span 2; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .workflow-grid li:nth-child(2) { border-right: 0; margin-right: 0; }
  .workflow-grid li:nth-child(n + 3) { border-top: 1px solid #ccd2ca; }
  .film, .booking { grid-template-columns: 1fr; }
  .booking-copy { position: static; }
  .section-title { grid-template-columns: 1fr; align-items: start; }
  .site-nav { gap: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu-cta { display: inline-flex; }
  .site-nav nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 10px clamp(20px, 5vw, 76px) 18px; background: rgba(5, 8, 7, .97); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
  .site-nav nav a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .site-nav nav a::after { display: none; }
  .site-nav nav a:last-child { border-bottom: 0; }
  .nav-menu-cta { color: var(--lime) !important; font-weight: 800; }
  .js .site-nav nav { display: none; }
  .js .site-nav.is-open nav { display: flex; animation: menu-in .3s var(--ease) both; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav nav { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 0; margin-left: auto; background: none; border: 0; box-shadow: none; gap: 18px; }
  html:not(.js) .site-nav nav a { font-size: 14px; border: 0; padding: 6px 0; white-space: nowrap; }
}
@media (max-width: 680px) {
  :root { --nav-h: 66px; }
  .site-nav { padding: 0 16px; }
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero, .section { padding: 64px 16px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .hero-actions .primary, .hero-actions .secondary { flex: 1 1 100%; justify-content: center; }
  .workspace { grid-template-columns: 45px 1fr; min-height: 0; }
  .workspace-main { padding: 16px; }
  .workspace-head h3 { font-size: 20px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid article:nth-child(n + 2) { display: none; }
  .industry-grid, .pricing-grid, .workflow-grid, .form-group { grid-template-columns: 1fr; }
  .industry.featured:first-child { grid-column: auto; }
  .industry { min-height: 0; padding: 24px; }
  .industry small { margin-top: 20px; }
  .workflow-grid li { border-right: 0; margin-right: 0; padding: 28px 0; }
  .workflow-grid li:nth-child(n + 2) { border-top: 1px solid #ccd2ca; }
  .plan { min-height: 0; padding: 28px 22px; }
  .plan.featured, .plan.featured:hover, .plan:hover { transform: none; }
  .field.wide, .consent-block, .booking-form button, .form-foot { grid-column: auto; }
  .booking-form { padding: 20px 16px; gap: 20px; }
  .booking-form button { justify-content: center; }
  .logo-strip { justify-content: flex-start; overflow-x: auto; padding: 0 16px; gap: 26px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, black 85%, transparent); mask-image: linear-gradient(90deg, black 85%, transparent); }
  .logo-strip::-webkit-scrollbar { display: none; }
  .film { gap: 35px; }
  .video-shell { padding: 5px; border-radius: 13px; }
  .confirmation-card { grid-template-columns: 1fr; }
  .confirmation-card div { border-right: 0; border-bottom: 1px solid var(--line); }
  .confirmation-card div:last-child { border: 0; }
  footer { flex-direction: column; align-items: flex-start; padding: 40px 16px; }
}

/* Reduced motion: no animation, no transition, no scroll smoothing, content always visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-product { transform: none; }
  .js [data-reveal] { opacity: 1; translate: none; }
}

/* Linetend AI light brand — white canvas, layered blues, dark navy type. */
:root {
  --bg: #ffffff;
  --bg-2: #f4f9ff;
  --panel: #ffffff;
  --panel-2: #f7fbff;
  --panel-3: #eaf5ff;
  --line: #d9e8f7;
  --line-2: #bdd7ee;
  --ink: #102746;
  --muted: #5f7590;
  --muted-2: #7f93a8;
  --lime: #087dea;
  --lime-deep: #0759d5;
  --lime-ink: #ffffff;
  --mint: #23b8ff;
  --shadow-lg: 0 35px 90px rgba(20, 83, 145, .18);
  --shadow-md: 0 22px 55px -24px rgba(20, 83, 145, .28);
  --glow: 0 0 0 1px rgba(35, 184, 255, .2), 0 26px 70px -28px rgba(8, 125, 234, .42);
  color-scheme: light;
}

body { background: #fff; color: var(--ink); }
:focus-visible { outline-color: #23b8ff; }
.skip-link, .nav-cta, .primary, .plan-cta, .booking-form button { background: linear-gradient(120deg, #0759d5, #23b8ff); color: #fff; }
.nav-cta:hover, .primary:hover, .plan-cta:hover, .booking-form button:hover { background: linear-gradient(120deg, #064fc0, #0ea9ee); box-shadow: 0 18px 40px -18px rgba(8, 125, 234, .65); }
.secondary { background: #fff; border-color: #cbdff1; color: #173b61; box-shadow: 0 10px 30px rgba(20, 83, 145, .07); }
.secondary:hover { border-color: #69bff2; background: #f3f9ff; }

.site-nav { background: rgba(255, 255, 255, .84); border-bottom-color: rgba(33, 102, 166, .12); box-shadow: 0 8px 30px rgba(28, 91, 150, .05); }
.site-nav.is-scrolled { background: rgba(255, 255, 255, .96); border-color: #d9e8f7; box-shadow: 0 12px 35px rgba(28, 91, 150, .1); }
.brand-logo img { width: 190px; border-radius: 0; }
.site-nav nav a { color: #46627e; }
.site-nav nav a:hover { color: #0759d5; }
.nav-toggle { border-color: #c7dced; background: #f4f9ff; color: #153858; }

.hero { background: linear-gradient(145deg, #fff 12%, #f1f9ff 58%, #e8f4ff); }
.hero::before { background-image: linear-gradient(rgba(8, 125, 234, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 125, 234, .05) 1px, transparent 1px); }
.hero-glow { background: radial-gradient(circle at 72% 28%, rgba(35, 184, 255, .23), transparent 32%), radial-gradient(circle at 18% 80%, rgba(8, 89, 213, .11), transparent 30%); }
.signal { border-color: #c7dff1; background: rgba(255, 255, 255, .88); color: #456580; box-shadow: 0 8px 24px rgba(20, 83, 145, .07); }
.signal i, .pulse { background: #23b8ff; }
.hero-copy > p, .section-title p, .industry p, .plan > p { color: var(--muted); }

.hero-product { border-color: #c6ddef; background: #fff; box-shadow: var(--shadow-lg); }
.window-bar { border-bottom-color: #d9e8f7; color: #7890a8; background: #f7fbff; }
.window-bar > span { background: #bed2e3; }
.workspace aside { border-right-color: #d9e8f7; background: #f7fbff; }
.mini-brand, .agent > span { background: linear-gradient(145deg, #0759d5, #23b8ff); color: #fff; }
.workspace aside i { background: #dceaf5; }
.workspace aside i.active { outline-color: #23b8ff; background: #c8e9fb; }
.status { color: #087dea; background: #e8f5ff; }
.metric-grid article { background: #f7fbff; border-color: #d9e8f7; }
.metric-grid span, .workspace-head small, .metric-grid small { color: #7a91a8; }
.conversation { background: #f7fbff; border-color: #d7e7f4; }
.caller { background: #eaf3fb; }
.agent > div { background: #eaf7ff; border-color: #bfe5fa; }
.activity { border-color: #cbe3f4; background: #fff; }
.activity small { color: #7188a0; }

.logo-strip { border-color: #dce9f5; background: #f5faff; color: #607a95; }
.industry { background: #fff; border-color: #d7e7f4; box-shadow: 0 14px 45px rgba(20, 83, 145, .06); }
.industry::after { background: radial-gradient(420px 220px at 90% 0%, rgba(35, 184, 255, .14), transparent 60%); }
.industry:hover { border-color: #7cc8f3; box-shadow: 0 24px 55px rgba(20, 83, 145, .14); }
.industry.featured { background: linear-gradient(150deg, #edf8ff, #fff); border-color: #92d3f5; }
.industry .icon { background: #eaf6ff; color: #087dea; }
.industry small { color: #6f88a2; }

.workflow { background: #0b5fc3; color: #fff; }
.workflow .section-title > span, .workflow .section-title p { color: #d9efff; }
.workflow .section-title > span::before { background: #7dd8ff; }
.workflow-grid { border-top-color: rgba(255, 255, 255, .24); }
.workflow-grid li { border-right-color: rgba(255, 255, 255, .2); }
.workflow-grid b { background: #fff; color: #0759d5; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); }
.workflow-grid p { color: #d7ebff; }

.pricing { background: #f5faff; }
.plan { background: #fff; border-color: #d4e5f3; box-shadow: 0 15px 42px rgba(20, 83, 145, .06); }
.plan:hover { border-color: #76c6f1; }
.plan.featured { background: linear-gradient(170deg, #eaf7ff, #fff); border-color: #29aef2; box-shadow: var(--glow); }
.popular { background: linear-gradient(120deg, #0759d5, #23b8ff); color: #fff; }
.plan li { color: #47637e; }
.plan-cta { border-color: #9dc9e9; background: #fff; color: #087dea; }
.plan-cta:hover { background: #edf8ff; }
.plan.featured .plan-cta, .plan.featured .plan-cta:hover { color: #fff; border-color: transparent; }
.plan-alt:hover { color: #0759d5; background: #eef7ff; }

.booking { background: radial-gradient(circle at 8% 25%, rgba(35, 184, 255, .15), transparent 28%), #fff; }
.booking-form { background: #fff; border-color: #cfe2f2; box-shadow: var(--shadow-md); }
.form-group legend { color: #173b61; }
.form-group legend span { color: #087dea; border-color: #bcdaf0; }
.form-group + .form-group { border-top-color: #dce9f4; }
.field label, .consent { color: #4c6882; }
.field input, .field select, .field textarea { background-color: #f8fbff; border-color: #c8dced; color: #102746; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23087dea' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field input::placeholder, .field textarea::placeholder { color: #91a4b7; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #79bfe9; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: #23b8ff; box-shadow: 0 0 0 4px rgba(35, 184, 255, .12); }
.consent-block { border-color: #d7e6f2; background: #f8fbff; }
.form-foot { color: #71879c; }
.form-summary { color: #a32929; background: #fff4f4; }

footer { border-top-color: #d9e8f7; background: #f4f9ff; }
.confirmation-page { background: radial-gradient(circle at 50% 15%, #dff4ff, #fff 55%); }
.confirmation > p { color: #5f7590; }
.confirmation-card { background: #fff; box-shadow: var(--shadow-md); }

@media (max-width: 1050px) {
  .site-nav nav { background: rgba(255, 255, 255, .98); border-bottom-color: #d8e7f3; box-shadow: 0 30px 60px -20px rgba(20, 83, 145, .25); }
  .site-nav nav a { color: #244c70; border-bottom-color: #e3edf6; }
  .workflow-grid li:nth-child(n + 3) { border-top-color: rgba(255, 255, 255, .2); }
}

@media (max-width: 680px) {
  .brand-logo img { width: 154px; }
  .workflow-grid li:nth-child(n + 2) { border-top-color: rgba(255, 255, 255, .2); }
}
