/* LifeAi site pages: home, about, contact, DriveLog, the legal pages and 404 (design v2).
   Builds on style.css and v2.css (the product pages' design); only the accent changes per page. */

.s2 {
  --a: 45, 212, 191; --b: 59, 130, 246;
  --grad: linear-gradient(270deg, #67e8f9 0%, #2dd4bf 38%, #3b82f6 100%);
  --grad-line: linear-gradient(90deg, #3b82f6, #2dd4bf);
}
.s2--drive {
  --a: 167, 139, 250; --b: 56, 189, 248;
  --grad: linear-gradient(270deg, #ddd6fe 0%, #a78bfa 42%, #38bdf8 100%);
  --grad-line: linear-gradient(90deg, #38bdf8, #a78bfa);
}

/* ---------- The accent, wherever v2.css paints orange ---------- */
.s2 .v2-word--grad, .s2-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.s2-g-swift { background: linear-gradient(270deg, #ffb547 0%, #ff8a1f 45%, #f2552c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s2-g-snap { background: linear-gradient(270deg, #7dd3fc 0%, #4f8bff 55%, #6366f1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s2-g-drive { background: linear-gradient(270deg, #ddd6fe 0%, #a78bfa 42%, #38bdf8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s2 .v2-hero { background: radial-gradient(55% 60% at 50% 0%, rgba(var(--a), .14), transparent 62%), radial-gradient(60% 55% at 50% 92%, rgba(var(--b), .2), transparent 62%), linear-gradient(180deg, #08101c, #070b17 70%, var(--bg)); }
.s2 .v2-card::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--a), .7), rgba(var(--b), .45) 35%, transparent 60%); }
.s2 .v2-path::after { background: var(--grad-line); box-shadow: 0 0 14px rgba(var(--a), .6); }
.s2 .v2-path.is-in .v2-path__node { border-color: rgba(var(--a), .6); box-shadow: 0 0 0 6px rgba(var(--a), .08), 0 0 30px -6px rgba(var(--a), .8); }
.s2 .v2-cta { background: radial-gradient(80% 70% at 50% 0%, rgba(var(--a), .17), transparent 60%), radial-gradient(70% 60% at 50% 100%, rgba(var(--b), .25), transparent 60%), #090e1c; }
.s2 .v2-cta__rings i { border-color: rgba(var(--a), .5); }
.s2 .v2-cta__orb { box-shadow: 0 0 60px -10px rgba(var(--a), .6), inset 0 1px 0 rgba(255, 255, 255, .15); animation-name: s2-breathe; }
.s2 .v2-cta__orb img { width: 100%; height: 100%; object-fit: contain; }
@keyframes s2-breathe { 50% { transform: scale(1.05); box-shadow: 0 0 90px -6px rgba(var(--a), .75), inset 0 1px 0 rgba(255, 255, 255, .15); } }
.s2 .v2-device::before { background: radial-gradient(closest-side, rgba(var(--a), .3), rgba(var(--b), .25) 55%, transparent); }
.s2 .v2-float .i { color: rgb(var(--a)); }
.s2 .v2-caret { background: rgb(var(--a)); }
.s2 .v2-type__final .v2-fresh { animation-name: s2-settle; }
@keyframes s2-settle { from { color: #7f8aa6; text-shadow: 0 0 14px rgba(var(--a), .8); } }
.s2 .v2-hero__name .badge { margin-inline-start: 4px; }
.s2-home .v2-display { font-size: clamp(36px, 4.5vw, 66px); }
.s2-about .v2-hero__inner { grid-template-columns: 1.25fr 1fr; }
.s2-about .v2-display { font-size: clamp(34px, 4vw, 58px); }
.s2--drive .v2-display { font-size: clamp(40px, 4.9vw, 70px); }
html[lang="en"] .s2--drive .v2-display { font-size: clamp(36px, 3.9vw, 56px); } /* English lines are wider */

/* The busy disc of Snap Translate (as in snap.css) */
.s2 .v2-fb[data-state="busy"] { --top: rgb(42, 60, 92); --bottom: rgb(20, 34, 56); }
.s2 .v2-fb[data-state="busy"] .track { opacity: 1; }
.s2 .v2-fb[data-state="busy"] .arc { opacity: 1; stroke: #3b82f6; stroke-width: 4; }

.s2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.s2-chips span { padding: 3px 11px; border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); }

/* ============ Home: a clean, centred hero with the LifeAi mark ============ */
.s2-hero.s2-hero--center { padding-top: clamp(24px, 3vw, 44px); }
.s2-hero--center .s2-hero__center { max-width: 920px; display: grid; justify-items: center; text-align: center; }
.s2-hero__halo { position: absolute; left: 50%; top: 4%; width: min(980px, 96vw); aspect-ratio: 2 / 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--a), .12), rgba(var(--b), .06) 55%, transparent 75%); z-index: -1; pointer-events: none; }
.s2-mark { width: 108px; height: 108px; padding: 16px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(180deg, #151e37, #0a1020); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .95), 0 0 80px -24px rgba(var(--a), .5), inset 0 1px 0 rgba(255, 255, 255, .12); margin-bottom: 26px; }
.s2-mark img { width: 100%; height: 100%; object-fit: contain; }
.s2-hero--center .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.s2-hero--center .v2-display { font-size: clamp(42px, 6.6vw, 90px); margin-top: 16px; }
/* Home hero: the <h1> wraps the LifeAi mark, the eyebrow and the headline (same reason as .v2-hero__title in v2.css) */
.s2-hero__title { margin: 0; font: inherit; letter-spacing: inherit; display: grid; justify-items: center; justify-self: stretch; }
.s2-hero__title > .v2-display { display: block; }
.s2-hero--center .lead { max-width: 690px; margin-inline: auto; }
.s2-hero--center .btn-row { justify-content: center; margin-top: 34px; }
.s2-hero--center .v2-hero__meta { justify-content: center; }
@media (max-width: 700px) {
  .s2-hero--center .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .s2-mark { width: 88px; height: 88px; border-radius: 24px; padding: 13px; }
}

/* ============ Voice message (DriveLog) ============ */
.s2-vmsg { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px; border-start-start-radius: 4px; background: rgba(var(--a, 167, 139, 250), .12); border: 1px solid rgba(255, 255, 255, .08); }
.s2-vmsg__mic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #a78bfa, #38bdf8); color: #fff; }
.s2-vmsg__mic .i { width: 15px; height: 15px; }
.s2-vmsg__wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; }
.s2-vmsg__wave i { flex: 1; height: 20%; border-radius: 3px; background: #6b5fa8; transition: height .12s, background-color .3s; }
.s2-vmsg.is-on .s2-vmsg__wave i { background: #c4b5fd; }
.s2-vmsg__t { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; direction: ltr; }

/* ============ Home: products, stacked as you scroll ============ */
.s2-stack { display: grid; gap: clamp(24px, 4vw, 40px); }
.s2-prod { position: sticky; top: calc(var(--header-h) + 18px + var(--i) * 18px); display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 4vw, 56px); align-items: center; min-height: 500px; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: radial-gradient(90% 120% at 100% 0%, rgba(var(--pc), .13), transparent 55%), linear-gradient(180deg, #0e1528, #090e1c); border: 1px solid var(--v2-line); box-shadow: var(--v2-hi), 0 -20px 60px -30px rgba(0, 0, 0, .9), 0 40px 90px -40px rgba(0, 0, 0, .95); transform-origin: 50% 0; transform: scale(var(--sc, 1)); }
.s2-prod::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #05070d; opacity: var(--dim, 0); pointer-events: none; }
.s2-prod--swift { --pc: 255, 138, 31; }
.s2-prod--snap { --pc: 79, 139, 255; }
.s2-prod--drive { --pc: 167, 139, 250; }
.s2-prod__top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.s2-prod__top img { width: 52px; height: 52px; border-radius: 14px; }
.s2-prod__name { font-size: 18px; font-weight: 700; color: var(--text-2); }
.s2-prod h3 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-top: 22px; }
.s2-prod__text > p { color: var(--text-2); font-size: 17px; line-height: 1.7; margin: 16px 0 0; max-width: 480px; }
.s2-prod .v2-ticks { margin-top: 22px; gap: 10px; }
.s2-prod .v2-ticks li { font-size: 15.5px; }
.s2-prod .btn-row { margin-top: 28px; }
.s2-pv { position: relative; height: 400px; border-radius: 24px; overflow: hidden; background: radial-gradient(80% 70% at 50% 0%, rgba(var(--pc), .16), transparent 65%), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi); }

.s2-pvs__wave { position: absolute; inset-inline: 0; top: 54px; height: 80px; display: flex; align-items: center; justify-content: center; gap: 5px; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.s2-pvs__wave i { width: 5px; height: 30%; border-radius: 4px; background: linear-gradient(180deg, #ffb020, #ff5a4e); animation: s2-bar 1.1s ease-in-out infinite alternate; }
.s2-pvs__wave i:nth-child(3n) { animation-duration: .8s; animation-delay: -.3s; }
.s2-pvs__wave i:nth-child(3n+1) { animation-duration: 1.3s; animation-delay: -.7s; }
.s2-pvs__wave i:nth-child(4n) { animation-duration: .95s; animation-delay: -.5s; }
.s2-pvs__wave i:nth-child(5n+2) { animation-duration: 1.5s; animation-delay: -.2s; }
@keyframes s2-bar { from { height: 12%; } to { height: 95%; } }
.s2-pvs__fb { position: absolute; top: 60px; left: 50%; margin-left: -34px; transform: scale(1.15); }
.s2-pvs__fb .lvl { animation: s2-lvl 1.4s ease-in-out infinite alternate; }
@keyframes s2-lvl { 0% { stroke-dasharray: 22 166.5; stroke-dashoffset: 11; } 50% { stroke-dasharray: 96 92.5; stroke-dashoffset: 48; } 100% { stroke-dasharray: 54 134.5; stroke-dashoffset: 27; } }
.s2-pvs__doc { position: absolute; inset-inline: 28px; bottom: 28px; width: auto; }
.s2-pvs__lines { padding: 16px 18px 20px; display: grid; gap: 6px; min-height: 120px; }
.s2-tl { display: block; font-size: 16px; line-height: 1.6; }
.s2-tl span { display: inline-block; white-space: nowrap; clip-path: inset(0 0 0 100%); animation: s2-type 9s steps(28, end) infinite; animation-delay: calc(var(--k) * 1.9s); }
@keyframes s2-type { 0% { clip-path: inset(0 0 0 100%); } 18%, 86% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 0 0 100%); } }
.s2-tl:nth-child(2) span { animation-name: s2-type2; animation-delay: 0s; }
.s2-tl:nth-child(3) span { animation-name: s2-type3; animation-delay: 0s; }
@keyframes s2-type2 { 0%, 20% { clip-path: inset(0 0 0 100%); } 38%, 86% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 0 0 100%); } }
@keyframes s2-type3 { 0%, 40% { clip-path: inset(0 0 0 100%); } 52%, 86% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 0 0 100%); } }
/* English lines are typed from the left */
[lang="en"] .s2-tl span { animation-name: s2-type-en; }
[lang="en"] .s2-tl:nth-child(2) span { animation-name: s2-type2-en; }
[lang="en"] .s2-tl:nth-child(3) span { animation-name: s2-type3-en; }
@keyframes s2-type-en { 0% { clip-path: inset(0 100% 0 0); } 18%, 86% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes s2-type2-en { 0%, 20% { clip-path: inset(0 100% 0 0); } 38%, 86% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes s2-type3-en { 0%, 40% { clip-path: inset(0 100% 0 0); } 52%, 86% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 100% 0 0); } }

.s2-pv--snap picture, .s2-pvn__after { position: absolute; inset: 0; }
.s2-pv--snap img { width: 100%; height: 100%; object-fit: cover; object-position: 0 40%; }
.s2-pvn__after { clip-path: inset(0 0 100% 0); animation: s2-reveal 7s var(--v2-out) infinite; }
@keyframes s2-reveal { 0%, 10% { clip-path: inset(0 0 100% 0); } 45%, 82% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 0 100% 0); } }
.s2-pvn__beam { position: absolute; inset-inline: 0; top: 0; height: 2px; background: #3b82f6; box-shadow: 0 0 22px 4px rgba(59, 130, 246, .75); animation: s2-beam 7s var(--v2-out) infinite; }
@keyframes s2-beam { 0%, 10% { top: 0; opacity: 0; } 12% { opacity: 1; } 45% { top: 100%; opacity: 1; } 48%, 100% { top: 100%; opacity: 0; } }
.s2-pvn__tag { position: absolute; top: 14px; inset-inline-end: 14px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(5, 7, 13, .78); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.s2-pvn__tag--after { opacity: 0; animation: s2-tag 7s infinite; }
.s2-pvn__tag--before { animation: s2-tag 7s infinite reverse; }
@keyframes s2-tag { 0%, 40% { opacity: 0; } 46%, 84% { opacity: 1; } 90%, 100% { opacity: 0; } }

.s2-week { position: absolute; inset: 26px 26px 92px; display: flex; flex-direction: column; }
.s2-week__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 12.5px; color: var(--muted); text-align: center; margin-bottom: 8px; }
.s2-week__grid { position: relative; flex: 1; border-radius: 12px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px calc(100% / 7)), rgba(255, 255, 255, .02); }
.s2-week__grid i { --w: calc(100% / 5); position: absolute; right: calc(var(--d) * var(--w) + 3px); width: calc(var(--w) - 6px); top: calc(var(--s) * 100% / 7 + 2px); height: calc(var(--len) * 100% / 7 - 4px); border-radius: 7px; padding: 4px 6px; font-size: 11.5px; font-style: normal; background: rgba(255, 255, 255, .07); border-inline-start: 3px solid #64748b; overflow: hidden; }
[lang="en"] .s2-week__grid i { right: auto; left: calc(var(--d) * var(--w) + 3px); } /* English weeks run left to right */
.s2-week__grid .s2-week__new { background: rgba(167, 139, 250, .22); border-color: #a78bfa; box-shadow: 0 0 22px -4px rgba(167, 139, 250, .85); animation: s2-pop 6s var(--v2-spring) infinite; }
@keyframes s2-pop { 0%, 34% { opacity: 0; transform: scale(.6); } 42%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(.9); } }
.s2-pvd__bubble { position: absolute; inset-inline: 26px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(16, 23, 43, .9); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: var(--text-2); animation: s2-bubble 6s var(--v2-out) infinite; }
@keyframes s2-bubble { 0% { opacity: 0; transform: translateY(14px); } 8%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* ============ Bento with small live visuals ============ */
.s2-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.s2-bento .v2-card { min-height: 420px; }
.s2-viz { position: relative; height: 190px; border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid var(--v2-line); overflow: hidden; }

.s2-viz__win { position: absolute; width: 58%; padding: 0 0 12px; border-radius: 12px; background: #111a30; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); display: grid; gap: 7px; }
.s2-viz__win .v2-sk { margin-inline: 12px; }
.s2-viz__win--a { top: 22px; inset-inline-start: 20px; animation: v2-bob 7s ease-in-out infinite; }
.s2-viz__win--b { bottom: 18px; inset-inline-end: 20px; animation: v2-bob 7s ease-in-out -3.5s infinite; }
.s2-viz__bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-bottom: 1px solid var(--v2-line); font-size: 11.5px; color: var(--muted); }
.s2-viz__bar i { width: 6px; height: 6px; border-radius: 50%; background: #3a4562; }
.s2-viz__bar span { margin-inline-start: auto; direction: ltr; }
.s2-viz__meter { position: absolute; top: 18px; inset-inline-end: 18px; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(16, 23, 43, .85); border: 1px solid var(--v2-line); }
.s2-viz__meter .i { width: 15px; height: 15px; color: rgb(var(--a)); }
.s2-viz__meter span { width: 70px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.s2-viz__meter span i { display: block; height: 100%; width: 92%; border-radius: inherit; background: var(--grad-line); animation: s2-meter 3.2s var(--v2-out) infinite; }
@keyframes s2-meter { 0% { width: 8%; } 40%, 100% { width: 92%; } }

.s2-viz--ai { display: grid; align-content: center; gap: 10px; padding: 16px 18px; }
.s2-ai { display: grid; grid-template-columns: 96px 18px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid transparent; animation: s2-ai 6s infinite; animation-delay: calc(var(--k) * 2s); }
.s2-ai > .i { width: 16px; height: 16px; color: #5d6884; }
.s2-ai small { font-size: 12px; color: var(--muted); }
.s2-ai__in { height: 26px; display: flex; align-items: center; gap: 3px; }
.s2-ai__in i { flex: 1; border-radius: 2px; background: #3a4562; height: 40%; }
.s2-ai__in i:nth-child(2n) { height: 80%; } .s2-ai__in i:nth-child(3n) { height: 60%; }
.s2-ai__in--img { justify-content: center; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.s2-ai__in--img .i { width: 16px; height: 16px; color: var(--muted); }
.s2-ai__in--txt { font-size: 13px; color: var(--muted); }
.s2-ai__out { font-size: 14.5px; color: #5d6884; transition: color .3s; }
@keyframes s2-ai { 0%, 30% { border-color: rgba(var(--a), .45); background: rgba(var(--a), .07); } 34%, 100% { border-color: transparent; background: rgba(255, 255, 255, .03); } }
.s2-ai .s2-ai__out { animation: s2-ai-out 6s infinite; animation-delay: inherit; }
@keyframes s2-ai-out { 0%, 30% { color: var(--text); } 34%, 100% { color: #5d6884; } }

.s2-dash { position: absolute; inset: 16px; display: flex; flex-direction: column; gap: 12px; }
.s2-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s2-dash__kpis span { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); display: grid; }
.s2-dash__kpis small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s2-dash__kpis b { font-size: 19px; font-variant-numeric: tabular-nums; }
.s2-dash__bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 0 4px; }
.s2-dash__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(var(--a), .9), rgba(var(--b), .35)); transform-origin: bottom; animation: s2-grow 4.5s var(--v2-out) infinite; }
.s2-dash__bars i:nth-child(2) { animation-delay: .1s; } .s2-dash__bars i:nth-child(3) { animation-delay: .2s; } .s2-dash__bars i:nth-child(4) { animation-delay: .3s; }
.s2-dash__bars i:nth-child(5) { animation-delay: .4s; } .s2-dash__bars i:nth-child(6) { animation-delay: .5s; } .s2-dash__bars i:nth-child(7) { animation-delay: .6s; }
@keyframes s2-grow { 0% { transform: scaleY(.08); } 30%, 88% { transform: none; } 100% { transform: scaleY(.08); } }

.s2-ux { position: absolute; inset: 18px 22px; display: grid; align-content: center; gap: 10px; }
.s2-ux__row { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: 14px; color: var(--text-2); }
.s2-ux__switch { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #2a3550; animation: s2-sw 5s infinite; }
.s2-ux__switch i { position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; animation: s2-knob 5s var(--v2-spring) infinite; }
@keyframes s2-sw { 0%, 38% { background: #2a3550; } 42%, 100% { background: rgb(var(--a)); } }
@keyframes s2-knob { 0%, 38% { transform: none; } 42%, 100% { transform: translateX(-16px); } }
.s2-ux__seg { display: flex; gap: 3px; padding: 3px; border-radius: 8px; background: #1a233a; }
.s2-ux__seg i { font-style: normal; width: 26px; height: 22px; display: grid; place-items: center; border-radius: 6px; font-size: 12px; color: var(--muted); }
.s2-ux__seg i:nth-child(2) { font-size: 14px; background: rgba(255, 255, 255, .1); color: var(--text); }
.s2-ux__seg i:nth-child(3) { font-size: 16px; }
.s2-ux__btn { justify-self: start; padding: 7px 18px; border-radius: 9px; font-size: 13.5px; font-weight: 600; background: rgba(var(--a), .9); color: #04121a; box-shadow: 0 0 0 0 rgba(var(--a), .5); animation: s2-focus 5s infinite; }
@keyframes s2-focus { 0%, 70% { box-shadow: 0 0 0 0 rgba(var(--a), 0); } 74%, 92% { box-shadow: 0 0 0 4px rgba(var(--a), .35); } 100% { box-shadow: 0 0 0 0 rgba(var(--a), 0); } }
.s2-ux__cursor { position: absolute; width: 22px; height: 22px; fill: #fff; stroke: #0b1020; stroke-width: 1.4; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6)); animation: s2-cursor 5s var(--v2-out) infinite; }
@keyframes s2-cursor { 0% { top: 80%; left: 70%; } 30%, 40% { top: 18%; left: 12%; transform: scale(1); } 34% { transform: scale(.85); } 62%, 76% { top: 78%; left: 82%; transform: scale(1); } 70% { transform: scale(.85); } 100% { top: 80%; left: 70%; } }
/* English: the switch is on the right and the button on the left, so the cursor's path and the switch run the other way */
[lang="en"] .s2-ux__cursor { animation-name: s2-cursor-en; }
@keyframes s2-cursor-en { 0% { top: 80%; left: 30%; } 30%, 40% { top: 18%; left: 88%; transform: scale(1); } 34% { transform: scale(.85); } 62%, 76% { top: 78%; left: 18%; transform: scale(1); } 70% { transform: scale(.85); } 100% { top: 80%; left: 30%; } }
[lang="en"] .s2-ux__switch i { right: auto; left: 3px; animation-name: s2-knob-en; }
@keyframes s2-knob-en { 0%, 38% { transform: none; } 42%, 100% { transform: translateX(16px); } }

/* ============ Home: values card ============ */
.s2-values { padding: clamp(26px, 4vw, 40px); border-radius: 28px; background: var(--v2-glass), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi), 0 40px 100px -40px rgba(0, 0, 0, .9); }
.s2-values h3 { font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.s2-values ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.s2-values li { display: flex; gap: 14px; align-items: flex-start; }
.s2-values__i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--a), .1); border: 1px solid rgba(var(--a), .3); color: rgb(var(--a)); }
.s2-values__i .i { width: 20px; height: 20px; }
.s2-values b { font-size: 16.5px; }
.s2-values p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* ============ About ============ */
.s2-orbit { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.s2-orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); }
.s2-orbit__ring--1 { inset: 22%; } .s2-orbit__ring--2 { inset: 9%; border-style: dashed; border-color: rgba(var(--a), .18); } .s2-orbit__ring--3 { inset: -2%; }
.s2-orbit__core { position: relative; width: 34%; aspect-ratio: 1; border-radius: 50%; padding: 6%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #1d2742, #0b1020 70%); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 90px -10px rgba(var(--a), .55), inset 0 1px 0 rgba(255, 255, 255, .15); animation: s2-breathe 5s ease-in-out infinite; }
.s2-orbit__core img { width: 100%; height: 100%; object-fit: contain; }
.s2-orbit__track { position: absolute; inset: 9%; border-radius: 50%; animation: s2-spin 36s linear infinite; }
.s2-orbit__track--b { animation-delay: -12s; } .s2-orbit__track--c { animation-delay: -24s; }
.s2-orbit__sat { position: absolute; top: 0; left: 50%; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; padding-inline: 6px 12px; border-radius: 999px; background: rgba(16, 23, 43, .88); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; font-size: 13.5px; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); animation: s2-spin-back 36s linear infinite; animation-delay: inherit; }
.s2-orbit__sat img { width: 30px; height: 30px; border-radius: 8px; }
@keyframes s2-spin { to { transform: rotate(360deg); } }
@keyframes s2-spin-back { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

.s2-vision { padding-block: clamp(70px, 10vw, 140px); }
.s2-manifesto { margin: 20px 0 0; max-width: 1080px; font-size: clamp(28px, 4vw, 52px); font-weight: 700; line-height: 1.32; letter-spacing: -0.02em; }
.s2-manifesto .w { color: #5a6580; transition: color .35s; }
.s2-manifesto .w.is-lit { color: var(--text); }
.s2-manifesto .w.is-key.is-lit { color: #5eead4; }
.s2-focus { display: flex; align-items: flex-start; gap: 16px; max-width: 640px; margin-top: clamp(40px, 6vw, 64px); padding: 22px 24px; border-radius: 22px; background: var(--v2-glass), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi); }
.s2-focus__i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--a), .1); border: 1px solid rgba(var(--a), .3); color: rgb(var(--a)); }
.s2-focus__i .i { width: 21px; height: 21px; }
.s2-focus b { font-size: 17px; }
.s2-focus p { margin: 4px 0 0; color: var(--text-2); }

.s2-loop { position: relative; height: 440px; border-radius: 28px; background: radial-gradient(70% 60% at 50% 50%, rgba(var(--a), .08), transparent 70%), var(--v2-glass), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi), 0 40px 100px -40px rgba(0, 0, 0, .9); overflow: hidden; }
.s2-loop__paths { position: absolute; inset: 0; width: 100%; height: 100%; }
.s2-loop__paths path { fill: none; stroke: url(#s2-lg); stroke-width: 2; stroke-dasharray: 5 7; opacity: .55; vector-effect: non-scaling-stroke; }
.s2-loop__paths circle { fill: #ccfbf1; filter: drop-shadow(0 0 6px rgba(var(--a), .9)); }
.s2-loop__node { position: absolute; top: 50%; width: 36%; transform: translateY(-50%); padding: 16px; border-radius: 18px; background: rgba(13, 20, 39, .92); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9); text-align: center; display: grid; justify-items: center; gap: 6px; }
.s2-loop__node--a { right: 4%; } .s2-loop__node--b { left: 4%; }
.s2-loop__i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--a), .12); border: 1px solid rgba(var(--a), .35); color: rgb(var(--a)); }
.s2-loop__i .i { width: 21px; height: 21px; }
.s2-loop__node b { font-size: 16.5px; }
.s2-loop__node p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.s2-loop__label { position: absolute; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); background: rgba(5, 7, 13, .8); border: 1px solid var(--v2-line); white-space: nowrap; }
.s2-loop__label--top { top: 30px; } .s2-loop__label--bottom { bottom: 30px; }

.s2-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.s2-principles .v2-card { gap: 10px; }
.s2-principles .v2-card h3 { margin-top: 12px; }
.s2-pr { position: relative; height: 150px; border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid var(--v2-line); overflow: hidden; display: grid; place-items: center; }
.s2-pr--simple { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; }
.s2-pr__step { padding: 5px 10px; border-radius: 8px; font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--v2-line); white-space: nowrap; animation: s2-fold 5s var(--v2-out) infinite; }
.s2-pr__step:nth-child(2) { animation-delay: .12s; } .s2-pr__step:nth-child(3) { animation-delay: .24s; }
@keyframes s2-fold { 0%, 30% { opacity: 1; transform: none; } 42%, 86% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: none; } }
.s2-pr__one { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; font-weight: 600; font-size: 14.5px; background: rgba(var(--a), .14); border: 1px solid rgba(var(--a), .5); color: var(--text); box-shadow: 0 0 30px -8px rgba(var(--a), .8); opacity: 0; animation: s2-one 5s var(--v2-spring) infinite; }
.s2-pr__one .i { width: 16px; height: 16px; color: rgb(var(--a)); }
@keyframes s2-one { 0%, 38% { opacity: 0; transform: scale(.7); } 46%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.9); } }
.s2-pr__ring { position: absolute; width: 70px; height: 70px; border-radius: 50%; border: 1px solid rgba(var(--a), .55); animation: v2-ring 3.4s var(--v2-out) infinite; }
.s2-pr__ring + .s2-pr__ring { animation-delay: 1.7s; }
.s2-pr__lock { position: relative; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(180deg, #16223f, #0c1428); border: 1px solid rgba(var(--a), .45); color: rgb(var(--a)); box-shadow: 0 0 40px -10px rgba(var(--a), .8); }
.s2-pr__lock .i { width: 28px; height: 28px; }
.s2-pr--ai { display: flex; align-items: center; justify-content: center; gap: 10px; }
.s2-pr__task { padding: 6px 12px; border-radius: 9px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--v2-line); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.s2-pr__task .i { width: 14px; height: 14px; color: var(--green); }
.s2-pr__task--done { color: #d1fae5; border-color: rgba(60, 207, 110, .35); background: rgba(60, 207, 110, .08); animation: s2-done 4s infinite; }
@keyframes s2-done { 0%, 45% { opacity: .25; } 55%, 92% { opacity: 1; } 100% { opacity: .25; } }
.s2-pr__chip { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--a), .12); border: 1px solid rgba(var(--a), .4); color: rgb(var(--a)); animation: s2-chip 4s ease-in-out infinite; }
.s2-pr__chip .i { width: 20px; height: 20px; }
@keyframes s2-chip { 0%, 20% { box-shadow: 0 0 0 0 rgba(var(--a), 0); } 40% { box-shadow: 0 0 34px 2px rgba(var(--a), .6); } 60%, 100% { box-shadow: 0 0 0 0 rgba(var(--a), 0); } }

.s2-minis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.s2-mini { --pc: 255, 255, 255; position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: radial-gradient(90% 140% at 100% 0%, rgba(var(--pc), .1), transparent 60%), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi); transition: border-color .3s, transform .4s var(--v2-out); }
.s2-mini--swift { --pc: 255, 138, 31; } .s2-mini--snap { --pc: 79, 139, 255; } .s2-mini--drive { --pc: 167, 139, 250; } .s2-mini--search { --pc: 59, 130, 246; }
.s2-mini:hover { border-color: rgba(var(--pc), .5); transform: translateY(-3px); }
.s2-mini img { flex: none; width: 52px; height: 52px; border-radius: 14px; }
.s2-mini div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.s2-mini b { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.s2-mini span:not(.badge) { color: var(--muted); font-size: 14px; }
.s2-mini > .i { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--v2-out), color .3s; }
.s2-mini:hover > .i { transform: translateX(-4px); color: var(--text); }

/* ============ Contact ============ */
.s2-contact .v2-display { font-size: clamp(54px, 8.4vw, 110px); }
.s2-compose .v2-mail { min-height: 300px; display: flex; flex-direction: column; }
.s2-compose .v2-type { font-size: 16.5px; flex: 1; min-height: 0; }
.s2-compose__subject:empty::after { content: "\200b"; }
.s2-compose__foot { display: flex; justify-content: flex-end; }
.s2-compose__send { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; background: #2563eb; color: #fff; transition: transform .15s, box-shadow .3s, background-color .3s; }
.s2-compose__send .i { width: 15px; height: 15px; transform: scaleX(-1); }
.s2-compose__send.is-press { transform: scale(.94); box-shadow: 0 0 0 5px rgba(37, 99, 235, .3); }
.s2-compose__plane { position: absolute; inset-inline-start: 30px; bottom: 30px; width: 40px; height: 40px; display: grid; place-items: center; color: rgb(var(--a)); opacity: 0; pointer-events: none; }
.s2-compose__plane .i { width: 26px; height: 26px; transform: scaleX(-1); filter: drop-shadow(0 0 10px rgba(var(--a), .9)); }
.s2-compose__plane.is-fly { animation: s2-fly 1.1s cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes s2-fly { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(-260px, -260px) scale(.4); } }
/* English: the button is on the right, so the plane crosses the window the other way and points right */
[lang="en"] .s2-compose__send .i, [lang="en"] .s2-compose__plane .i { transform: none; }
[lang="en"] .s2-compose__plane.is-fly { animation-name: s2-fly-en; }
@keyframes s2-fly-en { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(260px, -260px) scale(.4); } }
.s2-compose__sent { inset-inline-end: 10%; bottom: -24px; top: auto; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--v2-spring); animation: none; }
.s2-compose__sent .i { color: var(--green); }
.s2-compose__sent.is-on { opacity: 1; transform: none; }

.s2-chan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.s2-chan__card { gap: 14px; padding: clamp(26px, 4vw, 40px); }
.s2-chan__top { display: flex; align-items: center; gap: 12px; }
.s2-chan__top .eyebrow { margin: 0; }
.s2-chan__i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--a), .1); border: 1px solid rgba(var(--a), .3); color: rgb(var(--a)); }
.s2-chan__i .i { width: 22px; height: 22px; }
.s2-chan__card h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.s2-chan__card p { margin: 0; color: var(--text-2); font-size: 16px; }
.s2-chan__value { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; text-align: right; }
.s2-chan__card .btn-row { margin-top: 6px; }
.s2-chan__card .copy-done { min-height: 1.4em; font-size: 14px; color: var(--green); }
.s2-promise { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.s2-promise li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--v2-line); background: rgba(255, 255, 255, .02); }
.s2-promise__i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: rgb(var(--a)); }
.s2-promise__i .i { width: 18px; height: 18px; }
.s2-promise p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* ============ DriveLog ============ */
.s2-dl { display: grid; justify-items: center; gap: 26px; }
.s2-dl__scene { position: relative; width: min(100%, 560px); height: 520px; }
.s2-phone { position: absolute; top: 0; inset-inline-start: 0; width: 290px; height: 520px; border-radius: 42px; padding: 14px; background: linear-gradient(180deg, #1a2238, #0b1020); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), inset 0 0 0 6px #070b16, var(--v2-hi); display: flex; flex-direction: column; }
.s2-phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #04060c; }
.s2-phone__head { display: flex; align-items: center; gap: 10px; padding: 40px 8px 12px; border-bottom: 1px solid var(--v2-line); }
.s2-phone__head img { width: 36px; height: 36px; border-radius: 10px; }
.s2-phone__head b { font-size: 14.5px; display: block; }
.s2-phone__head small { font-size: 12px; color: var(--green); }
.s2-phone__feed { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 6px 6px; overflow: hidden; }
.s2-phone__said { margin: 0; font-size: 14px; color: var(--text-2); min-height: 2.9em; }
.s2-phone__said:empty { visibility: hidden; }
.s2-phone__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s2-phone__chips span { padding: 3px 8px; border-radius: 8px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--v2-line); animation: s2-chip-in .4s var(--v2-spring) both; }
.s2-phone__chips b { color: var(--text); font-weight: 600; }
@keyframes s2-chip-in { from { opacity: 0; transform: scale(.8); } }
.s2-phone__check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); opacity: 0; transition: opacity .3s; }
.s2-phone__check.is-on { opacity: 1; }
.s2-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: rgb(var(--a)); animation: s2-spin .8s linear infinite; }
.s2-phone__check.is-ok .s2-spin { animation: none; border-color: var(--green); background: var(--green); }
.s2-phone__check.is-ok { color: #a7f3d0; }
.s2-phone__reply { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(60, 207, 110, .1); border: 1px solid rgba(60, 207, 110, .3); font-size: 13.5px; color: #d1fae5; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--v2-out); }
.s2-phone__reply .i { flex: none; width: 16px; height: 16px; color: var(--green); margin-top: 2px; }
.s2-phone__reply.is-on { opacity: 1; transform: none; }
.s2-cal { position: absolute; inset-inline-end: 0; bottom: 34px; width: 250px; padding: 14px; border-radius: 20px; background: rgba(13, 20, 39, .94); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), var(--v2-hi); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: v2-bob 8s ease-in-out infinite; }
.s2-cal__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 8px; }
.s2-cal__head span { font-size: 12px; color: var(--muted); }
.s2-cal__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 6px; font-size: 12px; color: var(--muted); text-align: center; }
.s2-cal__days .is-today { color: var(--text); font-weight: 700; }
.s2-cal__grid { position: relative; height: 230px; border-radius: 10px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px calc(100% / 9)), rgba(255, 255, 255, .02); }
.s2-les { --w: calc(100% / 5); position: absolute; right: calc(var(--d) * var(--w) + 2px); width: calc(var(--w) - 4px); top: calc((var(--s) - 9) * 100% / 9 + 1px); height: calc(var(--len) * 100% / 9 - 2px); border-radius: 6px; padding: 2px 5px; font-size: 11px; line-height: 1.3; background: rgba(255, 255, 255, .08); border-inline-start: 3px solid #64748b; overflow: hidden; transition: top .7s var(--v2-out), right .7s var(--v2-out), opacity .4s, transform .5s var(--v2-spring), background-color .4s, border-color .4s, box-shadow .4s; }
[lang="en"] .s2-les { right: auto; left: calc(var(--d) * var(--w) + 2px); transition: top .7s var(--v2-out), left .7s var(--v2-out), opacity .4s, transform .5s var(--v2-spring), background-color .4s, border-color .4s, box-shadow .4s; }
.s2-les.is-new { background: rgba(167, 139, 250, .25); border-color: #a78bfa; box-shadow: 0 0 20px -4px rgba(167, 139, 250, .9); }
.s2-les.is-in { animation: s2-les-in .55s var(--v2-spring) both; }
@keyframes s2-les-in { from { opacity: 0; transform: scale(.5); } }
.s2-les.is-gone { opacity: 0; transform: scale(.8); }
.s2-les.is-hit { background: rgba(240, 72, 62, .22); border-color: var(--red); }
.s2-acts { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); }
.s2-acts button { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s, background-color .3s; }
.s2-acts button[aria-pressed="true"] { color: var(--text); background: rgba(var(--a), .16); box-shadow: inset 0 0 0 1px rgba(var(--a), .4); }
.s2-acts button:hover { color: var(--text); }

.s2-vs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.s2-vs__card { gap: 12px; }
.s2-vs__viz { position: relative; height: 180px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .025); border: 1px solid var(--v2-line); display: grid; place-items: center; }
.s2-vs__label { display: inline-flex; width: fit-content; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; margin-top: 8px; }
.s2-vs__card--bad .s2-vs__label { color: #fca5a5; background: rgba(240, 72, 62, .12); }
.s2-vs__card--good .s2-vs__label { color: #86efac; background: rgba(60, 207, 110, .12); }
.s2-vs__screen { width: 150px; padding: 12px 10px; border-radius: 16px; background: #111a30; border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 7px; transform: rotate(-6deg); animation: s2-shake 3s ease-in-out infinite; }
.s2-vs__keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin-top: 6px; }
.s2-vs__keys i { height: 12px; border-radius: 3px; background: #26304a; animation: s2-key 1.2s steps(1) infinite; }
.s2-vs__keys i:nth-child(3n) { animation-delay: .4s; } .s2-vs__keys i:nth-child(3n+1) { animation-delay: .8s; }
@keyframes s2-key { 50% { background: #4b5878; } }
@keyframes s2-shake { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-3deg) translateY(-4px); } }
.s2-vs__warn, .s2-vs__ok, .s2-safe__badge { position: absolute; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.s2-vs__warn { color: #fecaca; background: rgba(240, 72, 62, .16); border: 1px solid rgba(240, 72, 62, .4); }
.s2-vs__ok, .s2-safe__badge { color: #bbf7d0; background: rgba(60, 207, 110, .12); border: 1px solid rgba(60, 207, 110, .35); }
.s2-vs__warn .i, .s2-vs__ok .i, .s2-safe__badge .i { width: 14px; height: 14px; }
.s2-road { position: absolute; inset: 0 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .04) 20%, rgba(255, 255, 255, .04) 80%, transparent); overflow: hidden; }
.s2-road--wide { inset: 0 18%; }
.s2-road i { position: absolute; left: 50%; width: 4px; height: 34px; margin-left: -2px; border-radius: 2px; background: rgba(255, 255, 255, .35); animation: s2-lane 1.6s linear infinite; }
.s2-road i:nth-child(2) { animation-delay: -.4s; } .s2-road i:nth-child(3) { animation-delay: -.8s; } .s2-road i:nth-child(4) { animation-delay: -1.2s; }
@keyframes s2-lane { from { top: -40px; } to { top: 100%; } }
.s2-vs__mic { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #a78bfa, #38bdf8); color: #fff; box-shadow: 0 0 0 0 rgba(167, 139, 250, .5); animation: v2-ping 2s infinite; }
.s2-vs__mic .i { width: 26px; height: 26px; }

.s2-viz--phrases { display: grid; align-content: center; gap: 12px; padding: 18px; }
.s2-phr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border-start-start-radius: 4px; background: rgba(167, 139, 250, .1); border: 1px solid rgba(255, 255, 255, .08); min-height: 50px; }
.s2-phr__text { font-size: 15px; color: var(--text); }
.s2-phr__out { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: rgba(60, 207, 110, .08); border: 1px solid rgba(60, 207, 110, .28); font-size: 13.5px; color: #d1fae5; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--v2-out); }
.s2-phr__out .i { width: 15px; height: 15px; color: var(--green); flex: none; }
.s2-phr__out.is-on { opacity: 1; transform: none; }

.s2-clash { position: absolute; inset: 18px 24px; display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.s2-clash__slot { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-radius: 12px; font-size: 13.5px; border: 1px dashed rgba(255, 255, 255, .12); }
.s2-clash__slot small { color: var(--muted); font-size: 12px; }
.s2-clash__slot--busy { border-style: solid; background: rgba(255, 255, 255, .06); border-inline-start: 3px solid #64748b; }
.s2-clash__new { position: absolute; inset-inline: 40px; height: calc(50% - 4px); display: flex; align-items: center; padding: 0 14px; border-radius: 12px; font-size: 13.5px; background: rgba(167, 139, 250, .25); border: 1px solid #a78bfa; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); animation: s2-clash 6s var(--v2-out) infinite; }
@keyframes s2-clash {
  0% { top: -60px; opacity: 0; }
  12% { top: 0; opacity: 1; background: rgba(167, 139, 250, .25); border-color: #a78bfa; transform: none; }
  18% { background: rgba(240, 72, 62, .28); border-color: var(--red); transform: translateX(-6px); }
  21% { transform: translateX(6px); } 24% { transform: translateX(-4px); } 27% { transform: none; }
  40% { top: 0; background: rgba(240, 72, 62, .28); border-color: var(--red); }
  54%, 88% { top: calc(50% + 4px); background: rgba(60, 207, 110, .2); border-color: var(--green); }
  100% { top: calc(50% + 4px); opacity: 0; }
}
.s2-clash__msg { position: absolute; top: -4px; inset-inline-end: 0; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fecaca; background: rgba(240, 72, 62, .18); border: 1px solid rgba(240, 72, 62, .4); opacity: 0; animation: s2-clash-msg 6s infinite; }
.s2-clash__msg .i { width: 13px; height: 13px; }
@keyframes s2-clash-msg { 0%, 16% { opacity: 0; } 20%, 44% { opacity: 1; } 50%, 100% { opacity: 0; } }

.s2-viz--tests { display: grid; place-items: center; }
.s2-ring { position: relative; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; }
.s2-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.s2-ring circle { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 9; }
.s2-ring .s2-ring__on { stroke: rgb(var(--a)); stroke-linecap: round; stroke-dasharray: 314.2; stroke-dashoffset: 314.2; filter: drop-shadow(0 0 8px rgba(var(--a), .7)); animation: s2-ring 5s var(--v2-out) infinite; }
@keyframes s2-ring { 0% { stroke-dashoffset: 314.2; } 40%, 86% { stroke-dashoffset: 62.8; } 100% { stroke-dashoffset: 314.2; } }
.s2-ring b { font-size: 30px; font-weight: 800; }
.s2-ring small { font-size: 12px; color: var(--muted); }

.s2-st { padding: 24px; border-radius: 28px; background: var(--v2-glass), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi), 0 40px 100px -40px rgba(0, 0, 0, .9); display: grid; gap: 20px; }
.s2-st__head { display: flex; align-items: center; gap: 14px; }
.s2-st__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; background: linear-gradient(135deg, #a78bfa, #38bdf8); color: #fff; }
.s2-st__head b { font-size: 18px; display: block; }
.s2-st__head small { color: var(--muted); font-size: 13.5px; }
.s2-st__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s2-st__stats div { padding: 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--v2-line); text-align: center; display: grid; gap: 2px; }
.s2-st__stats b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.s2-st__stats small { color: var(--muted); font-size: 12.5px; }
.s2-st__label { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.s2-st__bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.s2-st__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-line); box-shadow: 0 0 16px rgba(var(--a), .6); transition: width 1.6s var(--v2-out) .3s; }
.s2-st.is-in .s2-st__bar i { width: 80%; }
.s2-st__tests, .s2-st__log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s2-st__tests li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 14.5px; }
.s2-st__tests small { color: var(--muted); }
.s2-st__dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--muted); }
.s2-st__dot .i { width: 14px; height: 14px; }
.s2-st__dot--ok { background: rgba(60, 207, 110, .16); color: var(--green); }
.s2-st__log { position: relative; padding-inline-start: 18px; }
.s2-st__log::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 4px; width: 2px; background: rgba(255, 255, 255, .08); }
.s2-st__log li { position: relative; display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; opacity: 0; transform: translateX(8px); transition: opacity .5s, transform .6s var(--v2-out); }
.s2-st__log li i { position: absolute; inset-inline-start: -18px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--a)); box-shadow: 0 0 10px rgba(var(--a), .7); }
.s2-st__log small { color: var(--muted); }
.s2-st.is-in .s2-st__log li { opacity: 1; transform: none; }
.s2-st.is-in .s2-st__log li:nth-child(2) { transition-delay: .2s; } .s2-st.is-in .s2-st__log li:nth-child(3) { transition-delay: .4s; }

/* ============ Legal pages ============ */
.s2-lhero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 6vw, 70px); margin-top: calc(var(--header-h) * -1); overflow: hidden; isolation: isolate; text-align: center; background: radial-gradient(55% 80% at 50% 0%, rgba(var(--a), .12), transparent 65%), linear-gradient(180deg, #08101c, var(--bg)); border-bottom: 1px solid var(--v2-line); }
.s2-lhero .v2-h1 { font-size: clamp(40px, 6vw, 72px); margin-top: 10px; }
.s2-lhero__meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); font-size: 14px; color: var(--text-2); }
.s2-lhero__meta .i { width: 15px; height: 15px; color: rgb(var(--a)); }
.s2-lhero__sub { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 16px; }
.s2-progress { position: fixed; top: var(--header-h); inset-inline: 0; height: 2px; z-index: 40; pointer-events: none; }
.s2-progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad-line); box-shadow: 0 0 10px rgba(var(--a), .7); margin-inline-start: 0; }
.s2-legal .legal-toc { padding: 18px; border-radius: 22px; background: var(--v2-glass), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.s2-legal .legal-toc ol { position: relative; }
.s2-legal .legal-toc a { position: relative; font-size: 14.5px; color: var(--muted); padding: 7px 12px; transition: color .25s, background-color .25s; }
.s2-legal .legal-toc a.is-active { color: var(--text); background: rgba(var(--a), .09); }
.s2-legal .legal-toc a.is-active::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad-line); }
.s2-legal .legal-body { max-width: 780px; }
.s2-legal .legal-body p, .s2-legal .legal-body li { font-size: 17px; line-height: 1.85; }
.s2-legal .legal-body section { scroll-margin-top: calc(var(--header-h) + 24px); }
.s2-legal .legal-body section + section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--v2-line); }
.s2-legal .legal-body h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 16px; }
.s2-legal .legal-intro { border-bottom-color: var(--v2-line); }
.s2-legal .legal-summary { padding: 22px 26px; border-radius: 22px; background: radial-gradient(90% 140% at 100% 0%, rgba(var(--a), .1), transparent 60%), var(--v2-glass), #0a1020; border: 1px solid rgba(var(--a), .25); box-shadow: var(--v2-hi); }
.s2-legal .legal-summary h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.s2-legal .legal-summary h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--a)); box-shadow: 0 0 10px rgba(var(--a), .8); }
.s2-legal .legal-body a { color: #5eead4; }

/* ============ 404 ============ */
.s2-nf__hero.v2-hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; padding-block: 24px 48px; }
.s2-nf__inner { text-align: center; display: grid; justify-items: center; }
.s2-nf__inner .lead { max-width: 560px; margin-inline: auto; }
.s2-nf__inner .btn-row { margin-top: 30px; }
.s2-nf__code { position: relative; display: grid; place-items: center; height: clamp(140px, 24vw, 260px); width: min(100%, 720px); overflow: hidden; }
.s2-nf__num { grid-area: 1 / 1; font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .35s, filter .35s; }
.s2-nf__num { font-size: clamp(120px, 22vw, 240px); }
.s2-nf__minis { width: min(100%, 980px); margin-top: clamp(48px, 7vw, 80px); text-align: start; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .s2-prod { grid-template-columns: 1fr 1fr; }
  .s2-ai { grid-template-columns: 80px 16px 1fr; }
  .s2-ai small { display: none; }
}
@media (max-width: 960px) {
  .s2-about .v2-hero__inner { grid-template-columns: 1fr; }
  .s2-prod { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; transform: none; }
  .s2-prod::after { display: none; }
  .s2-pv { height: 340px; }
  .s2-bento, .s2-principles, .s2-chan, .s2-vs, .s2-minis { grid-template-columns: 1fr; }
  .s2-orbit { max-width: 420px; margin-top: 20px; }
  .s2-dl__scene { height: 500px; }
}
@media (max-width: 700px) {
  .s2-pv { height: 300px; }
  .s2-pvs__doc { inset-inline: 16px; bottom: 16px; }
  .s2-pvs__lines { min-height: 100px; padding: 12px 14px 14px; }
  .s2-tl { font-size: 14.5px; }
  .s2-week { inset: 18px 14px 90px; }
  .s2-pvd__bubble { inset-inline: 14px; font-size: 13px; }
  .s2-bento .v2-card { min-height: 0; }
  .s2-loop { height: auto; padding: 18px; display: grid; gap: 12px; }
  .s2-loop__node { position: relative; top: 0; width: auto; transform: none; }
  .s2-loop__node--a, .s2-loop__node--b { right: auto; left: auto; }
  .s2-loop__paths, .s2-loop__label { display: none; }
  .s2-promise { grid-template-columns: 1fr; }
  .s2-dl__scene { height: auto; display: grid; justify-items: center; gap: 16px; }
  .s2-phone { position: relative; inset: auto; width: min(100%, 300px); height: 430px; }
  .s2-cal { position: relative; inset: auto; width: min(100%, 340px); animation: none; }
  .s2-acts button { padding: 8px 12px; font-size: 13.5px; }
  .s2-orbit__sat { font-size: 12px; padding-inline-end: 10px; }
  .s2-orbit__sat img { width: 24px; height: 24px; }
  .s2-compose__sent { inset-inline-end: 4%; }
  .s2-chan__value { text-align: start; direction: ltr; }
}
@media (max-width: 400px) {
  .s2-phone { width: 250px; }
  .s2-st__stats b { font-size: 24px; }
  .s2-orbit__sat b { display: none; }
  .s2-orbit__sat { padding: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .s2 *, .s2 *::before, .s2 *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .s2-pvn__after { clip-path: none; }
  .s2-tl span { clip-path: none; }
  .s2-week__grid .s2-week__new, .s2-pvd__bubble, .s2-pr__one { opacity: 1; }
  .s2-orbit__track, .s2-orbit__sat { animation: none !important; }
}

/* ---------- home: the SearchAble card (its quick search, finding a photo) ---------- */
.s2-prod--search { --pc: 59, 130, 246; }
.s2-g-search { background: linear-gradient(270deg, #22d3ee 0%, #3b82f6 50%, #a855f7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s2-pvq { position: absolute; inset: 26px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 10px; padding: 12px; border-radius: 18px; background: #131314; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); color: #E3E3E3; }
.s2-pvq__box { display: flex; align-items: center; gap: 10px; height: 44px; padding-inline: 16px; border-radius: 22px; background: #282A2C; border: 1.5px solid #A8C7FA; font-size: 15px; }
.s2-pvq__box i { width: 2px; height: 20px; margin-inline-start: -8px; background: #A8C7FA; animation: s2-pvq-blink 1s steps(1) infinite; }
@keyframes s2-pvq-blink { 50% { opacity: 0; } }
.s2-pvq__si { width: 19px; height: 19px; flex: none; fill: none; stroke: #A8C7FA; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s2-pvq__photo { position: relative; min-height: 0; border-radius: 12px; overflow: hidden; background: #0c0c0d; display: grid; place-items: center; }
.s2-pvq__img { position: relative; height: 100%; max-width: 100%; aspect-ratio: 4 / 3; }
.s2-pvq__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s2-pvq__hit { position: absolute; border: 2.5px solid #FBBC04; border-radius: 4px; }
.s2-pvq__hit b { position: absolute; top: 0; inset-inline-end: 0; padding: 1px 9px; border-radius: 0 0 0 6px; background: #FBBC04; color: #241a00; font-size: 12px; font-weight: 700; }
.s2-pvq__row { display: flex; align-items: center; gap: 10px; height: 46px; padding-inline: 8px 12px; border-radius: 11px; font-size: 13.5px; }
.s2-pvq__row.is-sel { background: #1E1F20; box-shadow: inset 0 0 0 1px #3C4043; }
.s2-pvq__row img { width: 42px; height: 32px; border-radius: 7px; object-fit: cover; flex: none; }
.s2-pvq__row span { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.s2-pvq__row b { font-weight: 600; }
.s2-pvq__row small { color: #8E918F; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s2-pvq__row em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: #4A3A6B; color: #E8DEF8; white-space: nowrap; }
@media (max-width: 600px) { .s2-pvq { inset: 14px; } .s2-pvq__row em { display: none; } }
