/* Taskr public website */
:root {
	--ink: #0b1533;
	--ink-2: #3d4a66;
	--muted: #6b7894;
	--line: #e6ebf4;
	--line-2: #d9e0ee;
	--bg: #ffffff;
	--tint: #f5f7fc;
	--brand: #0c66e4;
	--brand-2: #6a5cff;
	--cyan: #22c3ee;
	--green: #1f845a;
	--green-2: #22a06b;
	--amber: #f5a524;
	--pink: #f15bb5;
	--red: #c9372c;
	--night: #060a1a;
	--night-2: #0d1430;
	--grad: linear-gradient(135deg, #2684ff 0%, #6a5cff 55%, #22c3ee 100%);
	--grad-btn: linear-gradient(135deg, #1d7afc 0%, #5b4dff 100%);
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(11, 21, 51, .06), 0 2px 8px rgba(11, 21, 51, .05);
	--shadow: 0 10px 30px -10px rgba(11, 21, 51, .18), 0 2px 6px rgba(11, 21, 51, .05);
	--shadow-lg: 0 30px 80px -20px rgba(11, 21, 51, .35), 0 10px 30px -15px rgba(11, 21, 51, .2);
	--font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ts-body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
.ts-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
select { color-scheme: light; }
select option { color: #172b4d; background-color: #fff; }
:focus-visible { outline: 3px solid rgba(38, 132, 255, .55); outline-offset: 2px; border-radius: 6px; }

.ts-narrow { max-width: 820px; }
.ts-center { text-align: center; }
.ts-mt { margin-top: 32px; }
.ts-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ts-skip { position: absolute; left: 12px; top: -120px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.ts-skip:focus { top: 12px; }
.ts-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ts-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Buttons ---------- */
.ts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
	text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.ts-btn .ts-icon { transition: transform .25s var(--ease); }
.ts-btn:hover .ts-icon:last-child { transform: translateX(3px); }
.ts-btn:active { transform: translateY(1px) scale(.99); }
.ts-btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 10px; }
.ts-btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.ts-btn-block { width: 100%; }
.ts-btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px -8px rgba(29, 122, 252, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.ts-btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(91, 77, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateY(-1px); }
.ts-btn-glow { position: relative; isolation: isolate; }
.ts-btn-glow::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: var(--grad); filter: blur(14px); opacity: .55; z-index: -1; animation: ts-glow 3.5s ease-in-out infinite; }
.ts-btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ts-btn-glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.ts-btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.ts-btn-white:hover { transform: translateY(-1px); color: var(--brand); }
.ts-btn-soft { background: var(--tint); color: var(--ink); border-color: var(--line); }
.ts-btn-soft:hover { background: #eef2fb; border-color: var(--line-2); }
.ts-btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .2); background: transparent; }
.ts-btn-ghost-dark:hover { background: rgba(255, 255, 255, .08); }
.ts-btn[disabled], .ts-btn.is-busy { opacity: .7; pointer-events: none; }
.ts-btn.is-busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: a-spin .7s linear infinite; }
.ts-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ts-link-arrow:hover { text-decoration: none; }
.ts-link-arrow:hover .ts-icon { transform: translateX(3px); }
.ts-link-arrow .ts-icon { transition: transform .2s var(--ease); }

/* ---------- Header ---------- */
.ts-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; padding-top: env(safe-area-inset-top); transition: background .3s, box-shadow .3s, color .3s, backdrop-filter .3s; }
.ts-header-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.ts-header.is-scrolled { background: rgba(255, 255, 255, .82); color: var(--ink); box-shadow: 0 1px 0 rgba(11, 21, 51, .06), 0 8px 30px -12px rgba(11, 21, 51, .15); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.ts-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: inherit; text-decoration: none !important; }
.ts-brand .ts-logo-mark { filter: drop-shadow(0 4px 10px rgba(12, 102, 228, .4)); transition: transform .4s var(--ease); }
.ts-brand:hover .ts-logo-mark { transform: rotate(-6deg) scale(1.06); }
.ts-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ts-nav > a { padding: 8px 14px; border-radius: 10px; color: inherit; opacity: .82; font-weight: 500; font-size: 15px; text-decoration: none; transition: opacity .2s, background .2s; }
.ts-nav > a:hover, .ts-nav > a[aria-current] { opacity: 1; background: rgba(127, 140, 180, .14); }
.ts-nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
.ts-link-muted { display: inline-flex; align-items: center; gap: 6px; color: inherit; opacity: .85; font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.ts-link-muted:hover { opacity: 1; text-decoration: none; background: rgba(127, 140, 180, .12); }
.ts-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(127, 140, 180, .3); background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.ts-burger .ts-icon { width: 22px; height: 22px; }
.ts-burger .i-close { display: none; }
.ts-nav-open .ts-burger .i-close { display: block; }
.ts-nav-open .ts-burger .i-open { display: none; }

/* ---------- Shared dark backdrop ---------- */
.ts-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ts-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; animation: ts-aurora 18s ease-in-out infinite alternate; }
.ts-aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -8%; top: -18%; background: radial-gradient(circle, #2f6bff 0%, transparent 65%); }
.ts-aurora i:nth-child(2) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -6%; top: 0; background: radial-gradient(circle, #7a4dff 0%, transparent 65%); animation-delay: -6s; }
.ts-aurora i:nth-child(3) { width: 36vw; height: 36vw; max-width: 500px; max-height: 500px; left: 35%; bottom: -30%; background: radial-gradient(circle, #13b5d9 0%, transparent 65%); animation-delay: -12s; opacity: .4; }
.ts-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); }
.ts-grad-text { background: linear-gradient(100deg, #6fb1ff 0%, #a78bff 45%, #5ee0ff 90%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ts-shine 8s linear infinite; }
.ts-section .ts-grad-text, .ts-auth-form .ts-grad-text { background-image: linear-gradient(100deg, #0c66e4 0%, #6a5cff 50%, #0aa5cf 100%); }

/* ---------- Hero ---------- */
.ts-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #121b45 0%, var(--night) 60%); color: #fff; padding: 140px 0 120px; }
.ts-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 56px; }
.ts-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 500; backdrop-filter: blur(8px); }
.ts-eyebrow:hover { text-decoration: none; background: rgba(255, 255, 255, .12); }
.ts-eyebrow-tag { background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 99px; letter-spacing: .02em; }
.ts-hero h1 { margin: 22px 0 20px; font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.ts-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: rgba(225, 232, 255, .78); max-width: 560px; }
.ts-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ts-hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(225, 232, 255, .7); font-size: 14px; }
.ts-hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.ts-hero-trust .ts-icon { color: #4bce97; }
.ts-hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, rgba(6, 10, 26, .6)); pointer-events: none; }
.ts-hero-visual { position: relative; perspective: 1400px; }

/* Board mockup */
.ts-mock { position: relative; border-radius: 20px; background: linear-gradient(160deg, #1f6fff 0%, #5b4dff 100%); padding: 14px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12) inset; transform: rotateY(-8deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.ts-mock-bar { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; color: #fff; font-size: 15px; }
.ts-dots { display: inline-flex; gap: 6px; }
.ts-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.ts-dots i:nth-child(1) { background: #ff7a6b; }
.ts-dots i:nth-child(2) { background: #ffc94d; }
.ts-dots i:nth-child(3) { background: #4bce97; }
.ts-mock-bar strong { margin-left: 6px; }
.ts-mock-star { color: #ffd166; display: inline-flex; }
.ts-mock-star .ts-icon { fill: #ffd166; }
.ts-mock-avatars { margin-left: auto; display: inline-flex; }
.ts-mock-avatars i, .ts-avatars-demo i, .ts-mock-card em { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; border: 2px solid rgba(255, 255, 255, .9); margin-left: -7px; }
.ts-mock-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ts-mock-list { background: rgba(241, 244, 250, .95); border-radius: 14px; padding: 10px; min-height: 368px; display: flex; flex-direction: column; gap: 8px; }
.ts-mock-list h4 { display: flex; justify-content: space-between; font-size: 13px; color: #44516b; padding: 2px 4px 4px; letter-spacing: 0; }
.ts-mock-list h4 span { font-weight: 600; color: #8792ab; }
.ts-mock-card { position: relative; background: #fff; border-radius: 10px; padding: 9px 10px; box-shadow: 0 1px 0 rgba(9, 30, 66, .12), 0 1px 3px rgba(9, 30, 66, .08); color: var(--ink); font-size: 13px; line-height: 1.35; }
.ts-mock-card b { display: inline-block; width: 30px; height: 6px; border-radius: 6px; background: var(--c); margin: 0 4px 6px 0; }
.ts-mock-card p { font-weight: 500; }
.ts-mock-card small { display: flex; align-items: center; gap: 4px; margin-top: 6px; color: #6b7894; font-size: 11.5px; }
.ts-mock-card small .ts-icon { width: 13px; height: 13px; }
.ts-mock-card small em { width: 20px; height: 20px; margin-left: auto; font-size: 10px; border-width: 0; }
.ts-mock-card small.ok { color: var(--green); font-weight: 600; }
.ts-mock-card.is-done { background: #f3fbf7; }
.ts-mock-cover i { display: block; height: 34px; margin: -9px -10px 8px; border-radius: 10px 10px 0 0; background: linear-gradient(120deg, #22c3ee, #6a5cff); }
.ts-mock-ghost { height: 0; padding: 0; box-shadow: none; background: transparent; animation: ts-ghost 7s var(--ease) infinite; }
.ts-mock-slot { height: 0; border-radius: 10px; border: 2px dashed transparent; animation: ts-slot 7s var(--ease) infinite; }
.ts-mock-fly { position: absolute; left: calc(14px + 10px); top: 195px; width: calc((100% - 28px - 20px) / 3 - 20px); z-index: 3; animation: ts-fly 7s var(--ease) infinite; }
.ts-mock-fly .ts-mock-card { box-shadow: 0 18px 36px -12px rgba(9, 30, 66, .5); }
.ts-cursor { position: absolute; width: 22px; height: 22px; right: -6px; bottom: -12px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.ts-mock-toast { position: absolute; left: 50%; bottom: -26px; transform: translate(-50%, 10px); display: flex; align-items: center; gap: 10px; width: max-content; max-width: 92%; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(11, 21, 51, .92); color: rgba(255, 255, 255, .9); font-size: 13px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .12); opacity: 0; animation: ts-toast 7s var(--ease) infinite; }
.ts-mock-toast > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #fff; flex: none; }
.ts-mock-toast em { font-style: normal; color: #4bce97; font-weight: 600; }
.ts-float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); animation: a-float 6s ease-in-out infinite; z-index: 4; }
.ts-float-chip .ts-icon { color: var(--brand); }
.ts-chip-a { left: -34px; top: 66%; animation-delay: -1s; }
.ts-chip-b { right: -18px; top: 46%; animation-delay: -3s; }
.ts-chip-c { left: 8%; bottom: -48px; animation-delay: -4.5s; }
.ts-chip-c .ts-icon { color: var(--brand-2); }
.ts-chip-ring { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--green-2) 0 92%, #e4e9f3 92% 100%); -webkit-mask: radial-gradient(circle, transparent 5px, #000 5.5px); mask: radial-gradient(circle, transparent 5px, #000 5.5px); }

/* ---------- Marquee ---------- */
.ts-marquee { position: relative; padding: 36px 0 30px; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.ts-marquee-title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; }
.ts-marquee-track { display: flex; width: max-content; animation: ts-marquee 46s linear infinite; }
.ts-marquee:hover .ts-marquee-track { animation-play-state: paused; }
.ts-marquee-run { display: flex; gap: 12px; padding: 0 6px; }
.ts-marquee .ts-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--tint); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.ts-marquee .ts-chip .ts-icon { color: var(--brand); }
.ts-marquee .ts-chip i { font-style: normal; font-weight: inherit; }
.ts-marquee .ts-chip i::after { content: attr(data-label); }
.ts-marquee::before, .ts-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.ts-marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.ts-marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }

/* ---------- Sections ---------- */
.ts-section { position: relative; padding: 104px 0; }
.ts-section-tint { background: linear-gradient(180deg, var(--tint), #fff); }
.ts-sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.ts-sec-head-left { text-align: left; margin-left: 0; }
.ts-sec-head h2, .ts-split-copy h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 14px; }
.ts-sec-head p, .ts-split-copy > p { color: var(--ink-2); font-size: 18px; }
.ts-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: #eef3ff; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ts-kicker-light { background: rgba(255, 255, 255, .08); color: #b9cdff; border: 1px solid rgba(255, 255, 255, .14); }

/* Stats */
.ts-stats { padding: 64px 0; }
.ts-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ts-stat { text-align: center; padding: 28px 16px; border-radius: var(--r); background: linear-gradient(180deg, #fff, var(--tint)); border: 1px solid var(--line); }
.ts-stat strong { display: block; font-size: clamp(36px, 4vw, 50px); font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.ts-stat span { color: var(--muted); font-weight: 500; }

/* Bento */
.ts-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: 20px; }
.ts-tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.ts-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.ts-tile h3 { font-size: 21px; margin: 16px 0 8px; }
.ts-tile p { color: var(--ink-2); font-size: 15px; }
.ts-tile-icon, .ts-icon-badge, .ts-case-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--c, var(--brand)); background: color-mix(in srgb, var(--c, var(--brand)) 12%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--brand)) 18%, transparent); }
.ts-tile-icon .ts-icon, .ts-icon-badge .ts-icon, .ts-case-icon .ts-icon { width: 22px; height: 22px; }
.ts-tile-wide { grid-column: span 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: center; }
.ts-tile-tall { grid-row: span 2; display: flex; flex-direction: column; }
.ts-tile-tall .ts-tile-art { flex: 1; display: grid; place-items: center; margin-top: 12px; }
.ts-tile-dark { background: radial-gradient(120% 80% at 80% 0%, #1c2766, var(--night)); color: #fff; border-color: transparent; }
.ts-tile-dark p { color: rgba(225, 232, 255, .72); }
.ts-tile-dark .ts-tile-icon { background: rgba(143, 123, 255, .16); box-shadow: inset 0 0 0 1px rgba(143, 123, 255, .3); }
.ts-tile-art .ts-ill { display: block; width: 100%; height: auto; }
.ts-tile-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px; }
.ts-mini { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background .2s; }
.ts-mini:hover { background: var(--tint); }
.ts-mini > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eef3ff; color: var(--brand); flex: none; }
.ts-mini strong { display: block; font-size: 15px; }
.ts-mini small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.ts-checkdemo { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.ts-checkdemo li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--tint); font-size: 14px; font-weight: 500; }
.ts-checkdemo i { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line-2); position: relative; flex: none; animation: ts-tick 4.5s var(--ease) infinite; animation-delay: var(--d); }
.ts-checkdemo i::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); animation: ts-tick-mark 4.5s var(--ease) infinite; animation-delay: var(--d); }
.ts-avatars-demo { display: flex; padding-left: 8px; margin-top: 20px; }
.ts-avatars-demo i { width: 40px; height: 40px; font-size: 14px; border-width: 3px; border-color: #fff; margin-left: -10px; animation: a-bob 4s ease-in-out infinite; }
.ts-avatars-demo i:nth-child(2) { animation-delay: -.6s; }
.ts-avatars-demo i:nth-child(3) { animation-delay: -1.2s; }
.ts-avatars-demo i:nth-child(4) { animation-delay: -1.8s; }
.ts-avatars-demo i:nth-child(5) { animation-delay: -2.4s; }
.ts-progress-demo { margin-top: 22px; height: 10px; border-radius: 10px; background: var(--tint); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.ts-progress-demo i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); animation: ts-progress 3.6s var(--ease) infinite; }

/* How it works */
.ts-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.ts-steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #c7d3ef 0 8px, transparent 8px 16px); background-size: 32px 2px; animation: ts-march 1.2s linear infinite; }
.ts-steps li { position: relative; text-align: center; padding: 0 12px; }
.ts-step-num { position: absolute; top: -6px; left: calc(50% + 18px); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; z-index: 2; box-shadow: 0 0 0 4px #fff; }
.ts-step-icon { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; background: var(--grad-btn); color: #fff; box-shadow: 0 16px 30px -12px rgba(91, 77, 255, .65), 0 0 0 8px #fff; }
.ts-step-icon .ts-icon { width: 30px; height: 30px; }
.ts-steps li:hover .ts-step-icon { animation: a-wiggle .6s ease; }
.ts-steps h3 { font-size: 20px; margin: 22px 0 8px; }
.ts-steps p { color: var(--ink-2); }

/* Tabs */
.ts-tabs { max-width: 1000px; margin: 0 auto; }
.ts-tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px; margin: 0 auto 28px; width: fit-content; max-width: 100%; border-radius: 16px; background: var(--tint); border: 1px solid var(--line); }
.ts-tablist button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.ts-tablist button:hover { color: var(--ink); }
.ts-tablist button[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.ts-tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.ts-tablist button[aria-selected="true"] .ts-tab-bar { animation: ts-tabbar var(--tab-ms, 5000ms) linear forwards; }
.ts-tabs.is-paused .ts-tab-bar { animation: none !important; width: 0; }
.ts-tabpanel { animation: ts-panel-in .5s var(--ease); text-align: center; }
.ts-tabpanel-art { border-radius: 22px; padding: 18px; background: radial-gradient(100% 120% at 50% 0%, #eef3ff, #fff); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ts-tabpanel-art .ts-ill { display: block; width: 100%; height: auto; }
.ts-tabpanel p { margin-top: 18px; color: var(--ink-2); font-size: 17px; }

/* Split */
.ts-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ts-split-rev .ts-split-copy { order: 2; }
.ts-split-art .ts-ill { display: block; width: 100%; height: auto; }
.ts-rules { display: grid; gap: 12px; margin-top: 28px; }
.ts-rule { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 15px; color: var(--ink-2); transition: transform .25s var(--ease), border-color .25s; }
.ts-rule:hover { transform: translateX(4px); border-color: #c7d3ef; }
.ts-rule b { color: var(--ink); }
.ts-rule-when, .ts-rule-then { display: inline-block; padding: 2px 8px; margin-right: 6px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ts-rule-when { background: #eef3ff; color: var(--brand); }
.ts-rule-then { background: #f0edff; color: var(--brand-2); margin-left: 6px; }
.ts-numbered { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ts-numbered li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.ts-numbered span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad-btn); color: #fff; font-weight: 700; flex: none; }
.ts-feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.ts-feature-list li { display: flex; gap: 14px; }
.ts-feature-list > li > .ts-icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #eef3ff; color: var(--brand); flex: none; }
.ts-feature-list strong { display: block; }
.ts-feature-list span { color: var(--ink-2); font-size: 15px; }

/* Use cases */
.ts-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ts-case { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; position: relative; overflow: hidden; }
.ts-case::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ts-case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ts-case:hover::before { transform: scaleX(1); }
.ts-case h3 { font-size: 19px; margin: 16px 0 6px; }
.ts-case p { color: var(--ink-2); font-size: 15px; }
.ts-case-tpl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ts-case-tpl span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--tint); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.ts-case-tpl .ts-icon { color: var(--brand-2); width: 14px; height: 14px; }

/* Pricing */
.ts-billing { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; font-weight: 600; color: var(--ink-2); }
.ts-switch { position: relative; width: 52px; height: 30px; border-radius: 99px; border: 0; background: var(--line-2); cursor: pointer; padding: 0; transition: background .25s; }
.ts-switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.ts-switch[aria-checked="true"] { background: var(--grad-btn); }
.ts-switch[aria-checked="true"] i { transform: translateX(22px); }
.ts-save { font-style: normal; margin-left: 6px; padding: 3px 9px; border-radius: 99px; background: #dcfff1; color: var(--green); font-size: 12px; font-weight: 700; }
.ts-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.ts-plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.ts-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ts-plan.is-pop { border: 0; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 60px -24px rgba(91, 77, 255, .45); }
.ts-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--grad-btn); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 16px -6px rgba(91, 77, 255, .6); }
.ts-plan-badge .ts-icon { width: 13px; height: 13px; fill: currentColor; }
.ts-plan h3 { font-size: 20px; }
.ts-plan-tag { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 42px; }
.ts-price { display: flex; align-items: flex-end; gap: 10px; margin: 18px 0 20px; min-height: 58px; }
.ts-price strong { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ts-price strong b { font-weight: inherit; display: inline-block; }
.ts-price strong b.is-flip { animation: ts-flip .45s var(--ease); }
.ts-price span { color: var(--muted); font-size: 13px; line-height: 1.35; padding-bottom: 4px; }
.ts-price em { font-style: normal; }
.ts-plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ts-plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.ts-plan li .ts-icon { color: var(--green-2); margin-top: 3px; }
.ts-compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.ts-compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.ts-compare th, .ts-compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15px; }
.ts-compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); }
.ts-compare thead th { font-size: 16px; font-weight: 700; background: var(--tint); position: sticky; top: 0; }
.ts-compare .is-pop { background: rgba(106, 92, 255, .05); }
.ts-compare thead th.is-pop { color: var(--brand-2); background: #f0edff; }
.ts-compare-group th { text-align: left !important; background: #fafbfe; font-size: 12px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.ts-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #dcfff1; color: var(--green); }
.ts-yes .ts-icon { width: 15px; height: 15px; }
.ts-no { color: #b6bfd2; }

/* FAQ */
.ts-faq { display: grid; gap: 12px; }
.ts-faq-item { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.ts-faq-item[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
.ts-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
.ts-faq-item summary::-webkit-details-marker { display: none; }
.ts-faq-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--tint); color: var(--brand); flex: none; transition: transform .35s var(--ease), background .25s; }
.ts-faq-item[open] .ts-faq-icon { transform: rotate(45deg); background: #eef3ff; }
.ts-faq-body { padding: 0 22px 22px; color: var(--ink-2); animation: ts-panel-in .4s var(--ease); }

/* CTA */
.ts-cta-wrap { padding-top: 40px; }
.ts-cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 80px 32px; border-radius: 32px; color: #fff; background: radial-gradient(120% 120% at 50% 0%, #1b2a78, var(--night)); }
.ts-cta h2 { position: relative; z-index: 1; font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.ts-cta p { position: relative; z-index: 1; margin: 14px auto 0; max-width: 560px; color: rgba(225, 232, 255, .78); font-size: 18px; }
.ts-cta .ts-hero-cta { position: relative; z-index: 1; justify-content: center; }
.ts-cta-cards span { position: absolute; left: var(--x); top: var(--y); width: 150px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transform: rotate(var(--r)); animation: ts-card-float 8s ease-in-out infinite; animation-delay: var(--d); }
.ts-cta-cards b { display: block; width: 40px; height: 7px; border-radius: 6px; background: var(--c); margin-bottom: 10px; }
.ts-cta-cards i { display: block; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .3); width: 80%; }

/* Footer */
.ts-footer { background: var(--night); color: rgba(225, 232, 255, .7); padding: 72px 0 28px; margin-top: 104px; }
.ts-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.ts-footer-brand .ts-brand { color: #fff; }
.ts-footer-brand p { margin: 16px 0 20px; max-width: 320px; font-size: 15px; }
.ts-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: 0; }
.ts-footer-grid > div:not(.ts-footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.ts-footer-grid a:not(.ts-btn):not(.ts-brand) { color: rgba(225, 232, 255, .7); font-size: 15px; }
.ts-footer-grid a:not(.ts-btn):not(.ts-brand):hover { color: #fff; }
.ts-footer-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.ts-footer-made { display: inline-flex; align-items: center; gap: 8px; }
.ts-cta-wrap + .ts-footer, .ts-main > .ts-cta-wrap:last-child { margin-bottom: 0; }

/* ---------- Page hero ---------- */
.ts-page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(120% 100% at 50% 0%, #121b45 0%, var(--night) 70%); padding: 150px 0 96px; }
.ts-page-hero > .ts-wrap { position: relative; z-index: 1; }
.ts-page-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 18px; }
.ts-page-hero-center { text-align: center; }
.ts-page-hero-center .ts-lead { margin: 0 auto; }
.ts-page-hero-sm { padding-bottom: 72px; }
.ts-page-hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ts-page-hero-art { position: relative; }
.ts-page-hero-art .ts-ill { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.ts-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ts-jump a { padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #dbe5ff; font-size: 14px; font-weight: 500; }
.ts-jump a:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }

/* Icon grids */
.ts-icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ts-icon-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ts-icon-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ts-icon-card { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ts-icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd8f0; }
.ts-icon-card:hover .ts-icon-badge { animation: a-wiggle .6s ease; }
.ts-icon-card h3 { font-size: 17px; margin: 16px 0 6px; }
.ts-icon-card p { color: var(--ink-2); font-size: 14.5px; }
.ts-icon-card-lg { padding: 30px; }
.ts-icon-card-lg h3 { font-size: 21px; }
.ts-icon-card-lg p { font-size: 16px; }
.ts-view-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.ts-view-card { border-radius: 20px; padding: 12px; background: radial-gradient(100% 120% at 50% 0%, #eef3ff, #fff); border: 1px solid var(--line); }
.ts-view-card .ts-ill { display: block; width: 100%; height: auto; }
.ts-pu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ts-pu { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ts-pu:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ts-pu > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #eef3ff, #f0edff); color: var(--brand-2); flex: none; }
.ts-pu strong { display: block; }
.ts-pu small { color: var(--muted); font-size: 13.5px; line-height: 1.45; display: block; }
.ts-tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ts-tpl { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 0 16px 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.ts-tpl:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ts-tpl-top { display: flex; gap: 6px; margin: 0 -16px 14px; padding: 14px; height: 78px; align-items: flex-start; background: var(--tpl, var(--grad)); }
.ts-tpl-top i { flex: 1; height: 100%; border-radius: 6px; background: rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ts-tpl-top i:nth-child(2) { height: 70%; }
.ts-tpl-top i:nth-child(3) { height: 40%; }
.ts-tpl-top i:nth-child(4) { height: 85%; }
.ts-tpl small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ts-tpl strong { display: block; margin: 4px 0; font-size: 15.5px; }
.ts-tpl span { color: var(--ink-2); font-size: 13px; }

/* About story */
.ts-story { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.ts-story::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2), var(--cyan)); opacity: .35; }
.ts-story li { display: flex; gap: 22px; align-items: flex-start; }
.ts-story-dot { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-btn); color: #fff; flex: none; box-shadow: 0 0 0 6px #fff, 0 12px 24px -10px rgba(91, 77, 255, .6); }
.ts-story h3 { font-size: 19px; margin: 4px 0 6px; }
.ts-story p { color: var(--ink-2); }

/* Contact */
.ts-contact { padding-top: 0; margin-top: -40px; }
.ts-contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.ts-contact-card { padding: 36px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ts-contact-card h2 { font-size: 26px; margin-bottom: 22px; }
.ts-contact-side { display: grid; gap: 16px; }
.ts-contact-art .ts-ill { display: block; width: 100%; height: auto; }
.ts-contact-tiles { display: grid; gap: 12px; }
.ts-contact-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.ts-contact-tile:hover { text-decoration: none; transform: translateX(4px); box-shadow: var(--shadow); }
.ts-contact-tile > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eef3ff; color: var(--brand); flex: none; }
.ts-contact-tile strong { display: block; }
.ts-contact-tile small { color: var(--muted); }
.ts-sent { text-align: center; padding: 20px 0; }
.ts-sent h2 { margin: 10px 0 8px; }
.ts-sent p { color: var(--ink-2); margin-bottom: 22px; }
.ts-ill-sm { width: 150px; margin: 0 auto; }
.ts-ill-sm .ts-ill { display: block; width: 100%; height: auto; }

/* Legal */
.ts-legal { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.ts-legal-toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; background: var(--tint); border: 1px solid var(--line); }
.ts-legal-toc strong { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.ts-legal-toc a { padding: 6px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.ts-legal-toc a:hover { background: #fff; text-decoration: none; color: var(--brand); }
.ts-legal-body section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.ts-legal-body h2 { font-size: 22px; margin-bottom: 12px; }
.ts-legal-body p { color: var(--ink-2); margin-bottom: 12px; font-size: 16.5px; line-height: 1.75; }
.ts-legal-contact { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; background: #eef3ff; }
.ts-legal-contact > .ts-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--brand); }
.ts-legal-contact strong { display: block; }
.ts-legal-contact span { color: var(--ink-2); }

/* 404 */
.ts-404 { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: flex; align-items: center; color: #fff; background: radial-gradient(120% 100% at 50% 0%, #141d4d 0%, var(--night) 65%); padding: 120px 0 80px; text-align: center; }
.ts-404-in { position: relative; z-index: 1; }
.ts-404-art { max-width: 640px; margin: 0 auto; }
.ts-404-art .ts-ill { display: block; width: 100%; height: auto; }
.ts-404 h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.03em; margin: 8px 0 14px; }
.ts-404 .ts-lead { margin: 0 auto; }
.ts-404 .ts-hero-cta { justify-content: center; }
.ts-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.ts-404-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dbe5ff; font-size: 14px; }
.ts-404-links a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.ts-page-404 .ts-footer { margin-top: 0; }

/* ---------- Account ---------- */
.ts-account-head { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(120% 120% at 50% 0%, #17215a, var(--night)); padding: 128px 0 72px; }
.ts-account-head-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ts-account-head h1 { font-size: 30px; }
.ts-account-head p { color: rgba(225, 232, 255, .75); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ts-account-head .ts-btn { margin-left: auto; }
.ts-account-avatar, .ts-auth-avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--grad); color: #fff; font-size: 30px; font-weight: 800; box-shadow: 0 16px 30px -10px rgba(91, 77, 255, .7), 0 0 0 4px rgba(255, 255, 255, .12); }
.ts-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.ts-pill .ts-icon { width: 13px; height: 13px; }
.ts-pill-ok { background: rgba(75, 206, 151, .16); color: #7ee2b8; }
.ts-pill-warn { background: rgba(245, 165, 36, .16); color: #ffc966; }
.ts-account { padding-top: 0; margin-top: -36px; }
.ts-account-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.ts-account-nav { position: sticky; top: 96px; display: grid; gap: 4px; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ts-account-nav button, .ts-account-logout { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 15px; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.ts-account-nav button:hover, .ts-account-logout:hover { background: var(--tint); color: var(--ink); text-decoration: none; }
.ts-account-nav button[aria-selected="true"] { background: #eef3ff; color: var(--brand); }
.ts-account-logout { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; padding-top: 16px; color: var(--red); }
.ts-account-logout:hover { color: var(--red); background: #fff2f0; }
.ts-account-main { min-width: 0; }
.ts-panel { padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: ts-panel-in .4s var(--ease); }
.ts-panel h2 { font-size: 22px; }
.ts-panel-sub { color: var(--muted); margin: 6px 0 22px; }
.ts-panel .ts-form { max-width: 640px; }
.ts-hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
.ts-ws-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ts-ws-list li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); }
.ts-ws-list li div { flex: 1; min-width: 0; }
.ts-ws-list strong { display: block; }
.ts-ws-list small { color: var(--muted); }
.ts-ws-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; font-weight: 800; background: linear-gradient(135deg, hsl(var(--h) 80% 55%), hsl(calc(var(--h) + 40) 75% 50%)); }
.ts-empty { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 18px; border-radius: 14px; background: var(--tint); }

/* ---------- Forms ---------- */
.ts-form { display: grid; gap: 18px; }
.ts-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ts-field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ts-field > span:first-child i { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.ts-field-row { display: flex; justify-content: space-between; align-items: center; }
.ts-field-row a { font-weight: 600; font-size: 13.5px; }
.ts-input { position: relative; display: flex; align-items: center; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.ts-input:hover { border-color: #c3cde3; }
.ts-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(12, 102, 228, .14); }
.ts-input > .ts-icon { position: absolute; left: 14px; color: #8a96b0; pointer-events: none; transition: color .2s; }
.ts-input:focus-within > .ts-icon { color: var(--brand); }
.ts-input input, .ts-input select, .ts-input textarea { width: 100%; min-height: 48px; padding: 12px 14px 12px 44px; border: 0; background: transparent; outline: none; font-size: 15.5px; font-weight: 500; border-radius: 12px; }
.ts-input input::placeholder, .ts-input textarea::placeholder { color: #a3adc2; font-weight: 400; }
.ts-input.is-readonly { background: var(--tint); }
.ts-select select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7894' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.ts-textarea textarea { padding-left: 14px; min-height: 130px; resize: vertical; line-height: 1.55; }
.ts-eye { position: absolute; right: 6px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: #8a96b0; cursor: pointer; }
.ts-eye:hover { background: var(--tint); color: var(--ink); }
.ts-eye .i-hide { display: none; }
.ts-eye.is-on .i-show { display: none; }
.ts-eye.is-on .i-hide { display: block; }
.ts-input:has(.ts-eye) input { padding-right: 48px; }
.ts-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-items: center; font-weight: 500; }
.ts-meter i { height: 5px; border-radius: 5px; background: var(--line); transition: background .3s; }
.ts-meter b { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ts-meter[data-level="1"] i:nth-child(-n+1) { background: #e5484d; }
.ts-meter[data-level="2"] i:nth-child(-n+2) { background: #f5a524; }
.ts-meter[data-level="3"] i:nth-child(-n+3) { background: #4bce97; }
.ts-meter[data-level="4"] i { background: var(--green-2); }
.ts-meter[data-level="1"] b { color: #c9372c; }
.ts-meter[data-level="4"] b, .ts-meter[data-level="3"] b { color: var(--green); }
.ts-check { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; font-weight: 500; }
.ts-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.ts-check-box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; color: #fff; flex: none; transition: background .2s, border-color .2s, transform .2s; }
.ts-check-box .ts-icon { width: 14px; height: 14px; stroke-width: 3; transform: scale(0); transition: transform .25s var(--ease); }
.ts-check input:checked + .ts-check-box { background: var(--grad-btn); border-color: transparent; }
.ts-check input:checked + .ts-check-box .ts-icon { transform: scale(1); }
.ts-check input:focus-visible + .ts-check-box { box-shadow: 0 0 0 4px rgba(12, 102, 228, .2); }
.ts-err { font-style: normal; font-size: 13px; font-weight: 500; color: var(--red); animation: ts-shake .4s; }
.has-err .ts-input, .ts-check.has-err .ts-check-box { border-color: #f0a29b; }
.ts-alert { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; margin-bottom: 18px; animation: ts-panel-in .4s var(--ease); }
.ts-alert > .ts-icon { width: 20px; height: 20px; }
.ts-alert > span { flex: 1; }
.ts-alert-ok { background: #e9f9f1; color: #13603f; border: 1px solid #bfe9d4; }
.ts-alert-err { background: #fff1ef; color: #9e2b21; border: 1px solid #f7cfc9; }
.ts-alert-warn { background: #fff8e6; color: #7a4d00; border: 1px solid #f8e0a6; }
.ts-stack { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- Auth ---------- */
.ts-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; }
.ts-auth-form { display: flex; flex-direction: column; padding: 28px clamp(24px, 5vw, 64px); background: #fff; }
.ts-auth-top { display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.ts-auth-back { font-size: 14px; color: var(--muted); }
.ts-auth-body { flex: 1; display: grid; place-items: center; padding: 40px 0; }
.ts-auth-card { width: 100%; max-width: 440px; }
.ts-auth-card.ts-center .ts-auth-badge, .ts-auth-card.ts-center .ts-auth-avatar { margin: 0 auto; }
.ts-auth-card h1 { font-size: clamp(28px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.ts-auth-card .ts-auth-badge + h1, .ts-auth-card .ts-auth-avatar + h1, .ts-auth-hero-ill + h1 { margin-top: 20px; }
.ts-auth-sub { color: var(--ink-2); margin-bottom: 26px; font-size: 15.5px; }
.ts-auth-sub a { font-weight: 600; }
.ts-auth-alt { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 13px; text-align: center; }
.ts-auth-alt .ts-icon { color: var(--brand-2); }
.ts-auth-return { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 600; font-size: 14.5px; }
.ts-auth-badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, #eef3ff, #f0edff); color: var(--brand-2); box-shadow: inset 0 0 0 1px rgba(106, 92, 255, .18); }
.ts-auth-badge .ts-icon { width: 28px; height: 28px; }
.ts-auth-badge.is-warn { background: #fff4dc; color: #b26b00; box-shadow: inset 0 0 0 1px rgba(245, 165, 36, .3); }
.ts-badge-pulse { position: relative; }
.ts-badge-pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(106, 92, 255, .45); animation: ts-ping 2.2s ease-out infinite; }
.ts-auth-hero-ill { max-width: 180px; margin: 0 auto; }
.ts-auth-hero-ill .ts-ill { display: block; width: 100%; height: auto; }
.ts-auth-foot { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.ts-auth-foot a { color: var(--muted); }
.ts-auth-art { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 48px; color: #fff; background: radial-gradient(120% 100% at 30% 0%, #1b2a78 0%, #0a1033 55%, var(--night) 100%); }
.ts-auth-art-in { position: relative; z-index: 1; max-width: 520px; width: 100%; }
.ts-auth-ill { max-width: 470px; margin: 0 auto 8px; }
.ts-auth-ill .ts-ill { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.ts-auth-art h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.ts-auth-art p { margin-top: 10px; color: rgba(225, 232, 255, .75); font-size: 16.5px; }
.ts-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ts-ticks li { display: flex; align-items: center; gap: 10px; color: rgba(235, 240, 255, .9); font-weight: 500; }
.ts-ticks .ts-icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(75, 206, 151, .18); color: #6ee2b0; stroke-width: 3; }
.ts-plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.ts-plan-chip { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); color: var(--ink); text-align: center; transition: border-color .2s, background .2s, transform .2s; }
.ts-plan-chip:hover { text-decoration: none; border-color: #b9c6e4; transform: translateY(-1px); }
.ts-plan-chip strong { font-size: 14px; }
.ts-plan-chip small { font-size: 12px; color: var(--muted); }
.ts-plan-chip.is-on { border-color: transparent; background: linear-gradient(#f5f3ff, #f5f3ff) padding-box, var(--grad) border-box; }
.ts-plan-chip.is-on strong { color: var(--brand-2); }
.ts-steps-mini { list-style: none; margin: 22px 0 0; padding: 16px; display: grid; gap: 10px; border-radius: 16px; background: var(--tint); text-align: left; }
.ts-steps-mini li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.ts-steps-mini span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fff; color: var(--brand); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm); }

/* ---------- Reveal ---------- */
.ts-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.ts-js [data-reveal].is-in { opacity: 1; transform: none; }
[data-rise] { animation: ts-rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes ts-rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Illustration animation library ---------- */
.ts-ill * { transform-box: fill-box; transform-origin: center; }
.ts-js .ts-ill:not(.is-vis) *, .ts-js .ts-ill:not(.is-vis) { animation-play-state: paused !important; }
.a-float { animation: a-float 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.a-bob { animation: a-bob 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.a-spin { animation: a-spin 12s linear infinite; }
.a-spin-slow { animation: a-spin 40s linear infinite; }
.a-spin-rev { animation: a-spin 30s linear infinite reverse; }
.a-dash { animation: a-dash 1.6s linear infinite; }
.a-dash-fast { animation: a-dash .6s linear infinite; }
.a-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: a-draw 1.2s var(--ease) .4s forwards; }
.a-twinkle { animation: a-twinkle 2.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.a-pop { animation: a-pop .7s var(--ease) both; animation-delay: var(--d, 0s); }
.a-hop { animation: a-hop 3.5s var(--ease) infinite; }
.a-hop-x { animation: a-hop-x 5s var(--ease) infinite; }
.a-typing { animation: a-typing 1.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.a-flicker { transform-origin: top center; animation: a-flicker .18s ease-in-out infinite alternate; }
.a-rocket { animation: a-rocket 3.2s ease-in-out infinite; }
.a-drift { animation: a-drift 14s ease-in-out infinite alternate; }
.a-shackle { transform-origin: left bottom; animation: a-shackle 4s var(--ease) infinite; }
.a-shackle-open { animation: a-shackle-open 4.5s var(--ease) infinite; }
.a-key { animation: a-key 4s var(--ease) infinite; }
.a-letter { animation: a-letter 4s var(--ease) infinite; }
.a-pulse { animation: a-pulse 2s ease-in-out infinite; }
.a-confetti { transform-box: view-box; transform-origin: 0 0; animation: a-confetti 2.6s ease-out infinite; animation-delay: var(--d, 0s); }
.a-ray { transform-box: view-box; transform-origin: 0 0; animation: a-ray 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
.a-ring { stroke-dashoffset: 100; animation: a-ring 4.5s var(--ease) infinite; }
.a-door { transform-origin: left center; animation: a-door 4s var(--ease) infinite; }
.a-nudge { animation: a-nudge 2s ease-in-out infinite; }
.a-lost { animation: a-lost 9s ease-in-out infinite; }
.a-travel { animation: a-travel 6s var(--ease) infinite; }
.a-grow-x { transform-origin: left center; animation: a-grow-x 1s var(--ease) both; animation-delay: var(--d, 0s); }
.a-grow-y { transform-origin: center bottom; animation: a-grow-y 1s var(--ease) both; animation-delay: var(--d, 0s); }
.a-today { animation: a-twinkle 2s ease-in-out infinite; }
.a-slide { animation: a-slide .7s var(--ease) both; animation-delay: var(--d, 0s); }
.a-donut { animation: a-donut 1.2s var(--ease) both; animation-delay: var(--d, 0s); }
.a-drop { animation: a-drop .9s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }

.ts-logo-fly { transform-box: view-box; transform-origin: 0 0; animation: ts-logo-fly 3.2s cubic-bezier(.45, .15, .25, 1) infinite; }
.ts-logo-check { stroke-dasharray: 14; stroke-dashoffset: 14; animation: ts-logo-check 3.2s ease-in-out infinite; }
.ts-logo-done { animation: ts-logo-done 3.2s ease-in-out infinite; }

@keyframes a-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes a-bob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.03); } }
@keyframes a-spin { to { transform: rotate(360deg); } }
@keyframes a-dash { to { stroke-dashoffset: -48; } }
@keyframes a-draw { to { stroke-dashoffset: 0; } }
@keyframes a-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes a-pop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes a-hop { 0%, 30% { transform: translate(0, 0); } 45% { transform: translate(0, -10px); } 60%, 100% { transform: translate(0, 0); } }
@keyframes a-hop-x { 0%, 15% { transform: translate(0, 0) rotate(0); } 40%, 70% { transform: translate(104px, -40px) rotate(3deg); } 85%, 100% { transform: translate(0, 0) rotate(0); } }
@keyframes a-typing { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes a-flicker { from { transform: scaleY(.85); opacity: .85; } to { transform: scaleY(1.1); opacity: 1; } }
@keyframes a-rocket { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes a-drift { from { transform: translateX(-20px); } to { transform: translateX(20px); } }
@keyframes a-shackle { 0%, 40% { transform: translateY(0); } 55%, 80% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
@keyframes a-shackle-open { 0%, 35% { transform: translateY(-14px); } 50%, 100% { transform: translateY(0); } }
@keyframes a-key { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-8px, 6px) rotate(-6deg); } 50% { transform: translate(-14px, 8px) rotate(8deg); } 75% { transform: translate(-4px, 2px) rotate(-3deg); } }
@keyframes a-letter { 0%, 10% { transform: translateY(46px); } 40%, 75% { transform: translateY(0); } 100% { transform: translateY(46px); } }
@keyframes a-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes a-confetti { 0% { opacity: 0; transform: rotate(var(--a)) translateY(-30px) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-96px) rotate(200deg) scale(1); } }
@keyframes a-ray { 0% { opacity: 0; transform: rotate(var(--a)) translateY(18px) scaleY(.4); } 40% { opacity: 1; transform: rotate(var(--a)) translateY(0) scaleY(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-14px) scaleY(.6); } }
@keyframes a-ring { 0% { stroke-dashoffset: 100; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes a-door { 0%, 20% { transform: scaleX(1); } 45%, 75% { transform: scaleX(.42); } 100% { transform: scaleX(1); } }
@keyframes a-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@keyframes a-lost { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(18px, -14px) rotate(6deg); } 50% { transform: translate(6px, -26px) rotate(-4deg); } 75% { transform: translate(-14px, -10px) rotate(4deg); } 100% { transform: translate(0, 0) rotate(0); } }
@keyframes a-travel { 0%, 12% { transform: translate(0, 0); opacity: 0; } 18% { opacity: 1; } 45%, 60% { transform: translate(122px, -42px) rotate(2deg); opacity: 1; } 80% { transform: translate(244px, 0) rotate(0); opacity: 1; } 92%, 100% { transform: translate(244px, 0); opacity: 0; } }
@keyframes a-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes a-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes a-slide { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes a-donut { from { stroke-dasharray: 0 100; } }
@keyframes a-drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes a-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

@keyframes ts-logo-fly { 0%, 12% { transform: translate(0, 0); opacity: 1; } 48%, 88% { transform: translate(13.4px, -12.8px); opacity: 1; } 96%, 100% { transform: translate(13.4px, -12.8px); opacity: 0; } }
@keyframes ts-logo-check { 0%, 68% { stroke-dashoffset: 14; opacity: 0; } 84%, 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ts-logo-done { 0%, 66% { fill: #fff; } 84%, 100% { fill: #e8f5ee; } }

@keyframes ts-aurora { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.15); } 100% { transform: translate(-6%, 4%) scale(.95); } }
@keyframes ts-shine { to { background-position: 200% center; } }
@keyframes ts-glow { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }
@keyframes ts-marquee { to { transform: translateX(-50%); } }
@keyframes ts-march { to { background-position: 32px 0; } }
@keyframes ts-tabbar { from { width: 0; } to { width: 100%; } }
@keyframes ts-panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ts-flip { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-10px); opacity: 0; } 55% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes ts-ping { 0% { box-shadow: 0 0 0 0 rgba(106, 92, 255, .45); } 100% { box-shadow: 0 0 0 18px rgba(106, 92, 255, 0); } }
@keyframes ts-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes ts-card-float { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-14px); } }
@keyframes ts-progress { 0% { width: 0; } 70%, 85% { width: 100%; } 100% { width: 100%; opacity: 0; } }
@keyframes ts-tick { 0%, 20% { background: transparent; border-color: var(--line-2); } 30%, 85% { background: var(--green-2); border-color: var(--green-2); } 100% { background: transparent; border-color: var(--line-2); } }
@keyframes ts-tick-mark { 0%, 20% { transform: rotate(45deg) scale(0); } 30%, 85% { transform: rotate(45deg) scale(1); } 100% { transform: rotate(45deg) scale(0); } }
/* Hero board: a card leaves "To do", hovers, and lands in "Done". */
@keyframes ts-fly {
	0%, 8% { transform: translate(0, 0) rotate(0); opacity: 0; }
	12% { transform: translate(0, 0) rotate(0); opacity: 1; }
	20% { transform: translate(6px, -8px) rotate(-3deg); }
	52% { transform: translate(calc(200% + 60px), -40px) rotate(4deg); }
	62%, 86% { transform: translate(calc(200% + 60px), 65px) rotate(0); opacity: 1; }
	94%, 100% { transform: translate(calc(200% + 60px), 65px) rotate(0); opacity: 0; }
}
@keyframes ts-ghost { 0% { height: 96px; border: 2px dashed transparent; } 12%, 22% { height: 96px; border: 2px dashed #c4cde0; background: rgba(9, 30, 66, .04); } 34%, 90% { height: 0; border-color: transparent; background: transparent; } 100% { height: 96px; border-color: transparent; } }
@keyframes ts-slot { 0%, 30% { height: 0; border-color: transparent; } 45%, 86% { height: 96px; border-color: #9fb4e6; background: rgba(38, 132, 255, .06); } 96%, 100% { height: 0; border-color: transparent; } }
@keyframes ts-toast { 0%, 64% { opacity: 0; transform: translate(-50%, 12px); } 70%, 90% { opacity: 1; transform: translate(-50%, 0); } 97%, 100% { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.ts-hero-in { gap: 36px; }
	.ts-split { gap: 40px; }
}
@media (max-width: 1100px) {
	.ts-plans { grid-template-columns: repeat(2, 1fr); }
	.ts-icon-grid, .ts-icon-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.ts-tile-grid { grid-template-columns: repeat(2, 1fr); }
	.ts-tpl-grid { grid-template-columns: repeat(3, 1fr); }
	.ts-footer-grid { grid-template-columns: repeat(4, 1fr); }
	.ts-footer-brand { grid-column: 1 / -1; }
	.ts-header-in { gap: 12px; }
}
@media (max-width: 960px) {
	.ts-nav {
		position: fixed;
		top: calc(72px + env(safe-area-inset-top, 0px));
		left: 0; right: 0; bottom: 0;
		flex-direction: column; align-items: stretch; gap: 4px;
		padding: 16px max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
		background: #fff; color: var(--ink);
		box-shadow: 0 20px 40px -20px rgba(11, 21, 51, .35);
		overflow: auto; -webkit-overflow-scrolling: touch;
		transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
		transition: transform .3s var(--ease), opacity .3s, visibility .3s;
		margin: 0; z-index: 60;
	}
	.ts-nav > a { padding: 14px 14px; font-size: 16px; min-height: 44px; }
	.ts-nav-cta { margin: 10px 0 0; flex-direction: column; align-items: stretch; }
	.ts-nav-cta .ts-btn, .ts-nav-cta .ts-link-muted { width: 100%; justify-content: center; min-height: 48px; }
	.ts-nav-open { overflow: hidden; }
	.ts-nav-open .ts-nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
	.ts-nav-open .ts-header { background: #fff; color: var(--ink); }
	.ts-burger { display: inline-flex; flex: none; }
	.ts-hero { padding: calc(112px + env(safe-area-inset-top, 0px)) 0 80px; }
	.ts-page-hero, .ts-account-head { padding-top: calc(120px + env(safe-area-inset-top, 0px)); }
	.ts-hero-in, .ts-page-hero-in, .ts-split, .ts-contact-grid, .ts-legal, .ts-account-grid { grid-template-columns: 1fr; }
	.ts-hero-copy { text-align: center; }
	.ts-hero-copy .ts-lead { margin: 0 auto; }
	.ts-hero-cta, .ts-hero-trust { justify-content: center; }
	.ts-hero-cta .ts-btn { min-height: 48px; }
	.ts-mock { transform: none; max-width: 560px; margin: 0 auto; }
	.ts-float-chip, .ts-mock-fly { display: none; }
	.ts-split-rev .ts-split-copy { order: 0; }
	.ts-split { gap: 32px; }
	.ts-bento { grid-template-columns: 1fr 1fr; }
	.ts-tile-wide { grid-column: span 2; }
	.ts-tile-tall { grid-row: auto; }
	.ts-cases, .ts-pu-grid { grid-template-columns: 1fr 1fr; }
	.ts-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.ts-view-strip { grid-template-columns: 1fr; }
	.ts-legal-toc { position: static; }
	.ts-account-nav { position: static; grid-template-columns: repeat(2, 1fr); }
	.ts-account-logout { border-top: 0; margin-top: 0; padding-top: 12px; border-radius: 12px; }
	.ts-account-head .ts-btn { margin-left: 0; width: 100%; }
	.ts-auth { grid-template-columns: 1fr; min-height: 100dvh; }
	.ts-auth-art { display: none; }
	.ts-tablist { width: 100%; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
	.ts-tablist button { flex: none; }
	.ts-plan-pick { grid-template-columns: 1fr; }
	.ts-legal-contact, .ts-ws-list li, .ts-alert { flex-wrap: wrap; }
}
@media (max-width: 680px) {
	.ts-section { padding: 56px 0; }
	.ts-wrap { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
	.ts-bento, .ts-cases, .ts-pu-grid, .ts-plans, .ts-icon-grid, .ts-icon-grid-2, .ts-icon-grid-3, .ts-steps { grid-template-columns: 1fr; }
	.ts-tile-wide { grid-column: auto; grid-template-columns: 1fr; }
	.ts-tile-grid { grid-template-columns: 1fr; }
	.ts-tpl-grid { grid-template-columns: 1fr 1fr; }
	.ts-steps::before { display: none; }
	.ts-form-row { grid-template-columns: 1fr; }
	.ts-mock-lists { gap: 6px; }
	.ts-mock-list { min-height: 220px; padding: 6px; }
	.ts-mock-card { font-size: 11.5px; padding: 7px; }
	.ts-mock-bar strong { font-size: 13px; }
	.ts-mock-ghost, .ts-mock-slot { animation: none; height: 0; }
	.ts-mock-toast { font-size: 12px; max-width: calc(100% - 16px); }
	.ts-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.ts-tablist button span { display: none; }
	.ts-contact-card, .ts-panel { padding: 20px; }
	.ts-cta { padding: 48px 18px; border-radius: 20px; }
	.ts-cta-cards { display: none; }
	.ts-btn { white-space: normal; }
	.ts-btn-lg { width: 100%; }
	.ts-hero-cta { flex-direction: column; align-items: stretch; }
	.ts-footer { padding: 48px 0 24px; margin-top: 56px; }
	.ts-footer-bar { flex-direction: column; align-items: flex-start; }
	.ts-sec-head { margin-bottom: 32px; }
	.ts-page-hero h1, .ts-hero h1 { font-size: clamp(30px, 9vw, 48px); }
	.ts-account-nav { grid-template-columns: 1fr; }
	.ts-auth-form { padding: 20px max(16px, env(safe-area-inset-right)) 28px max(16px, env(safe-area-inset-left)); }
	.ts-auth-body { padding: 24px 0; }
	.ts-compare-wrap { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
}
@media (max-width: 480px) {
	.ts-tpl-grid, .ts-footer-grid, .ts-stats-grid { grid-template-columns: 1fr; }
	.ts-mock-lists { grid-template-columns: 1fr 1fr; }
	.ts-mock-list:last-child { display: none; }
	.ts-tile { padding: 20px; }
	.ts-faq-item summary { padding: 16px; font-size: 16px; }
	.ts-price strong { font-size: 36px; }
	.ts-brand { font-size: 18px; }
	.ts-header-in { min-height: 64px; }
	.ts-nav { top: calc(64px + env(safe-area-inset-top, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.ts-js [data-reveal] { opacity: 1; transform: none; }
	[data-rise] { animation: none; }
	.ts-mock-fly, .ts-mock-toast { display: none; }
	.ts-marquee-track { animation: none; }
}
