:root { --ink: #0A0F1F; --text: #1B2438; --text-2: #4A5368; --text-3: #6B7488; --blue: #2563EB; --blue-d: #1D4ED8; --line: #E3E9F4; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--sans); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-d); }
.lg { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* left: message and Google */
.lg-left { display: flex; flex-direction: column; padding: clamp(24px, 4vw, 48px) clamp(24px, 6vw, 88px); background: #fff; }
.lg-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.lg-logo img { border-radius: 9px; }
.lg-body { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 440px; width: 100%; margin: 0 auto; padding: 40px 0; }
.lg-body h1 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 600; color: var(--ink); }
.lg-sub { margin: 16px 0 32px; font-size: 1.1rem; line-height: 1.5; color: var(--text-2); max-width: 36ch; }
.lg-google { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 20px; border: 1.5px solid #9AA8C4; border-radius: 14px; background: #fff; color: var(--ink); font: 600 16px/1 var(--sans); text-decoration: none; box-shadow: 0 1px 2px rgba(10,15,31,.05); transition: box-shadow .25s, border-color .25s, transform .25s; }
.lg-google:hover { border-color: #6F86B8; box-shadow: 0 10px 24px -12px rgba(30,64,130,.45); transform: translateY(-1px); }
.lg-google:focus-visible { outline: 3px solid #93B4F5; outline-offset: 3px; }
.lg-msg { margin: 14px 0 0; font-size: 14px; color: #B42318; }
.lg-msg[hidden] { display: none; }
.lg-alt { margin: 18px 0 0; font-size: 14.5px; }
.lg-alt a { color: var(--text-2); }
.lg-new { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.lg-new a { font-weight: 600; text-decoration: none; } .lg-new a:hover { text-decoration: underline; }
.lg-legal { margin: 0; font-size: 12.5px; color: var(--text-3); max-width: 440px; width: 100%; align-self: center; }
.lg-legal a { color: inherit; }

/* right: cards moving from top to bottom */
.lg-right { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 70% 0%, rgba(96,165,250,.35), transparent 70%), linear-gradient(160deg, #EAF1FF, #D9E6FF 55%, #C9DBFF); display: flex; justify-content: center; }
.lg-col { width: min(420px, 86%); height: 100vh; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 12%, #000 88%, transparent 100%); }
.lg-track { display: flex; flex-direction: column; animation: lg-down 170s linear infinite; }
.lg-col:hover .lg-track { animation-play-state: paused; }
.lg-group { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }
@keyframes lg-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.lg-card { margin: 0; padding: 22px 22px 20px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.9); border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(30,64,130,.55); display: grid; gap: 8px; }
.lg-cp { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }

@media (max-width: 860px) {
  .lg { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .lg-left { padding: 22px 20px 28px; }
  .lg-body { padding: 32px 0 24px; }
  .lg-right { height: 360px; }
  .lg-col { height: 360px; width: min(420px, calc(100% - 40px)); }
}
@media (prefers-reduced-motion: reduce) { .lg-track { animation: none; } .lg-col { overflow-y: auto; } .lg-google { transition: none; } }

/* rating line above the title */
.lg-proof { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14px; color: var(--ink); }
.lg-proof b { font-weight: 600; }
.lg-avatars { display: inline-flex; }
.lg-avatars img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; object-fit: cover; background: #CBD5E1; }
.lg-avatars img:first-child { margin-left: 0; }
.lg-badge { flex: 0 0 auto; }

/* testimonial cards */
.lg-stars { color: #F5A524; letter-spacing: 2px; font-size: 15px; }
.lg-foot { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.lg-av { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.lg-ini { display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg, hsl(var(--h, 215) 80% 62%), hsl(var(--h, 215) 75% 42%)); }
.lg-who { display: grid; gap: 1px; min-width: 0; }
.lg-name { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.lg-role { font-size: 12.5px; color: var(--text-3); line-height: 1.35; }
/* centred message block */
.lg-body { text-align: center; }
.lg-proof { justify-content: center; }
.lg-sub { margin-left: auto; margin-right: auto; }
.lg-legal { text-align: center; }
.lg-sub { max-width: none; font-size: 1.05rem; }
