/*
Theme Name: Traffic iGaming
Theme URI: https://trafficigaming.net
Author: Traffic iGaming
Description: Block (Full Site Editing) theme for trafficigaming.net. Royal casino look, light edition: white background with a dark scoreboard, glass cards, gold, ruby, turquoise and violet accents, 3D illustrations of slots, roulette, cards, chips and SEO objects.
Version: 2.1.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trafficigaming
Tags: full-site-editing, block-patterns, one-column, custom-colors, editor-style
*/

/* ---------- Tokens ---------- */
:root {
	--ti-night: #0e0820;
	--ti-night-2: #1c1040;
	--ti-ruby: #ff3d6e;
	--ti-gold: #ffc43d;
	--ti-teal: #2ee6d6;
	--ti-violet: #8a5cff;
	--ti-white: #ffffff;
	--ti-page: #fbf9ff;
	--ti-head: #1a0b2e;
	--ti-text: #4b4064;
	--ti-dim: #6f6589;
	--ti-fg: 26 11 46;
	--ti-link: #6b3df0;
	--ti-line: rgba(26, 11, 46, 0.1);
	--ti-glass: linear-gradient(160deg, #ffffff 0%, #fcfaff 100%);
	--ti-shadow: 0 24px 60px -32px rgba(70, 40, 140, 0.35);
	--ti-grad: linear-gradient(100deg, var(--ti-gold) 0%, var(--ti-ruby) 52%, var(--ti-teal) 100%);
	--ti-ink: #1a0b2e;
	--ti-grad-warm: linear-gradient(100deg, var(--ti-violet) 0%, var(--ti-gold) 100%);
	--ti-wrap: 1240px;
	--ti-pad: clamp(1.25rem, 4vw, 3rem);
	--ti-sec: clamp(4rem, 8vw, 7rem);
	--ti-radius: 22px;
	--ti-display: "Bricolage Grotesque", "Onest", "Helvetica Neue", Arial, sans-serif;
}

.ti-numbers .ti-board {
	--ti-head: #ffffff;
	--ti-text: #d3cbe6;
	--ti-dim: #a79cc4;
	--ti-fg: 255 255 255;
	--ti-link: #2ee6d6;
	--ti-line: rgba(255, 255, 255, 0.12);
	--ti-glass: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
	--ti-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
	color: var(--ti-text);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--ti-page);
	color: var(--ti-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	position: relative;
}

/* Site-wide background: aurora glows, fine grid, film grain */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(70vw 46vw at 50% -16%, color-mix(in srgb, var(--ti-violet) 18%, transparent), transparent 64%),
		radial-gradient(46vw 40vw at -10% 40%, color-mix(in srgb, var(--ti-ruby) 9%, transparent), transparent 62%),
		radial-gradient(46vw 40vw at 110% 60%, color-mix(in srgb, var(--ti-teal) 10%, transparent), transparent 62%),
		radial-gradient(56vw 40vw at 50% 115%, color-mix(in srgb, var(--ti-gold) 14%, transparent), transparent 62%),
		var(--ti-page);
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url%28%23n%29' opacity='.5'/%3E%3C/svg%3E"),
		repeating-linear-gradient(45deg, rgb(var(--ti-fg) / 0.045) 0 1px, transparent 1px 46px),
		repeating-linear-gradient(-45deg, rgb(var(--ti-fg) / 0.045) 0 1px, transparent 1px 46px);
	background-size: 220px 220px, auto, auto;
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 25%, transparent 85%);
	mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 25%, transparent 85%);
	opacity: 0.6;
}

body .wp-site-blocks > * {
	margin-block-start: 0;
}

::selection {
	background: var(--ti-gold);
	color: var(--ti-ink);
}

:where(a, button, summary, .wp-block-button__link):focus-visible {
	outline: 3px solid var(--ti-teal);
	outline-offset: 3px;
	border-radius: 8px;
}

/* ---------- Type ---------- */
h1,
h2,
h3,
.ti-logo,
.ti-footer__title {
	font-family: var(--ti-display);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--ti-head);
	text-wrap: balance;
}

h2 {
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	line-height: 1.02;
}

.ti-main h2::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	margin: 0 0 1.4rem 4px;
	transform: rotate(45deg);
	background: var(--ti-gold);
	box-shadow: 18px -18px 0 -2px var(--ti-ruby), 34px -34px 0 -4px var(--ti-teal), 0 0 18px rgba(255, 196, 61, 0.7);
}

h3 {
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
}

p,
li {
	text-wrap: pretty;
}

.ti-lead {
	font-size: clamp(1.12rem, 1.5vw, 1.3rem);
	line-height: 1.5;
	color: var(--ti-head);
}

/* ---------- Layout primitives ---------- */
.ti-wrap {
	max-width: var(--ti-wrap);
	margin-inline: auto;
	padding-inline: var(--ti-pad);
	box-sizing: content-box;
}

/* Page editor: let the homepage sections use the full canvas width */
.is-root-container > .ti-main {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.ti-main > .ti-sec {
	position: relative;
	overflow-x: clip;
	margin-block-start: 0;
	padding-block: var(--ti-sec);
}

.ti-sec[id],
.ti-svc[id] {
	scroll-margin-top: 6rem;
}

.ti-main :is(.ti-hero__grid, .ti-cols, .ti-bento, .ti-svc, .ti-split, .ti-panel, .ti-statgroups, .ti-statgroup, .ti-markets__grid, .ti-markets__intro, .ti-steps, .ti-faq__grid) > * {
	margin-block: 0;
}

.ti-main :is(.ti-stats, .ti-checks, .ti-badges, .ti-markets__list) {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ti-main .ti-head {
	max-width: 46rem;
	margin-block-end: clamp(2.2rem, 4vw, 3.4rem);
}

.ti-head > p {
	font-size: 1.12rem;
}

.ti-main .ti-head--wide {
	max-width: none;
}

.ti-main figure {
	margin: 0;
}

.ti-main figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* Glass card */
.ti-card {
	--acc: var(--ti-ruby);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: var(--ti-radius);
	border: 1px solid var(--ti-line);
	background: var(--ti-glass);
	box-shadow: var(--ti-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.ti-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 75%;
	aspect-ratio: 1;
	right: -22%;
	top: -30%;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--acc) 60%, transparent), transparent 68%);
	opacity: 0.22;
	transition: opacity 0.35s ease, transform 0.5s ease;
}

.ti-card:hover {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--acc) 70%, white 0%);
	box-shadow: 0 30px 70px -28px color-mix(in srgb, var(--acc) 65%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ti-card:hover::before {
	opacity: 0.4;
	transform: scale(1.15);
}

.ti-card:nth-child(4n + 1) { --acc: var(--ti-ruby); }
.ti-card:nth-child(4n + 2) { --acc: var(--ti-teal); }
.ti-card:nth-child(4n + 3) { --acc: var(--ti-violet); }
.ti-card:nth-child(4n + 4) { --acc: var(--ti-gold); }

/* ---------- Buttons ---------- */
.wp-block-button__link {
	position: relative;
	background: var(--ti-grad);
	background-size: 160% 100%;
	color: var(--ti-ink);
	border: 0;
	box-shadow: 0 10px 34px -10px rgba(255, 196, 61, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
	transition: background-position 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.wp-block-button__link:hover {
	color: var(--ti-ink);
	background-position: 100% 0;
	transform: translateY(-3px);
	box-shadow: 0 18px 44px -10px rgba(46, 230, 214, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: #ffffff;
	color: var(--ti-head);
	border: 1px solid rgb(var(--ti-fg) / 0.32);
	padding: 0.95em 1.6em;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgb(var(--ti-fg) / 0.05);
	border-color: var(--ti-teal);
	box-shadow: 0 14px 36px -12px rgba(46, 230, 214, 0.7);
}

/* ---------- Header ---------- */
header.wp-block-template-part {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 0.75rem);
	z-index: 50;
	padding-inline: var(--ti-pad);
}

.ti-header {
	max-width: var(--ti-wrap);
	margin-inline: auto;
	border-radius: 99px;
	border: 1px solid var(--ti-line);
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	backdrop-filter: blur(18px) saturate(1.4);
	box-shadow: 0 18px 50px -26px rgba(70, 40, 140, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ti-header .ti-header__in {
	display: flex;
	align-items: center;
	gap: clamp(0.8rem, 2vw, 2rem);
	max-width: none;
	padding: 0.5rem 0.55rem 0.5rem 1.1rem;
}

.ti-header .ti-header__in > * {
	margin-block: 0;
}

.ti-header .ti-brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-inline-end: auto;
}

.ti-header .ti-brand > * {
	margin: 0;
}

.ti-brand__logo img {
	display: block;
	width: auto;
	max-width: 11rem;
	height: 2.6rem;
	object-fit: contain;
}

.ti-brand:has(.ti-brand__logo img[src]) .ti-logo a::before {
	display: none;
}

.ti-logo {
	font-size: 1.3rem;
	line-height: 1;
}

.ti-logo a {
	white-space: nowrap;
	color: var(--ti-head);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.ti-logo a::before {
	content: "";
	width: 2.5rem;
	height: 2.5rem;
	flex: none;
	background: url(assets/img/logo.webp) center / contain no-repeat;
	filter: drop-shadow(0 4px 14px rgba(255, 196, 61, 0.55));
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ti-logo a:hover::before {
	transform: rotate(180deg);
}

.ti-nav {
	font-size: 0.95rem;
	font-weight: 600;
}

.ti-nav .wp-block-navigation__container {
	gap: clamp(0.8rem, 1.7vw, 1.6rem);
}

.ti-nav .wp-block-navigation-item__content {
	color: var(--ti-text);
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.ti-nav .wp-block-navigation-item__content:hover {
	color: var(--ti-head);
	text-shadow: 0 0 18px rgba(255, 196, 61, 0.75);
}

.ti-header__cta .wp-block-button__link {
	white-space: nowrap;
	padding: 0.72em 1.25em;
	font-size: 0.95rem;
}

.ti-nav .wp-block-navigation__responsive-container-open {
	color: var(--ti-head);
}

.ti-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: #ffffff;
	color: var(--ti-head);
	padding: 1.5rem var(--ti-pad);
}

.ti-nav .is-menu-open .wp-block-navigation-item__content {
	color: var(--ti-head);
	font-family: var(--ti-display);
	font-size: 2rem;
	font-weight: 800;
}

.ti-nav .is-menu-open .wp-block-navigation__container {
	gap: 1.1rem;
}

/* ---------- Hero (centered stage) ---------- */
.ti-main > .ti-hero {
	padding-block-start: clamp(3rem, 6vw, 5.5rem);
	padding-block-end: clamp(1.5rem, 3vw, 2.5rem);
	text-align: center;
}

.ti-main .ti-hero__copy {
	max-width: 54rem;
	margin-inline: auto;
}

.ti-main .ti-hero__copy > * {
	margin-block: 0;
}

.ti-hero__title {
	font-size: clamp(3.3rem, 9vw, 7.4rem);
	line-height: 0.92;
	letter-spacing: -0.04em;
	background: linear-gradient(100deg, #1a0b2e 10%, #6b3df0 50%, #ff3d6e 92%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	filter: drop-shadow(0 10px 30px rgba(138, 92, 255, 0.25));
}

.ti-main .ti-hero__tag {
	display: inline-block;
	margin-block-start: 1.6rem;
	padding: 0.55em 1.3em;
	border-radius: 99px;
	border: 1px solid rgba(255, 196, 61, 0.55);
	background: linear-gradient(100deg, #fff6dc, #ffe6ee);
	font-family: var(--ti-display);
	font-weight: 700;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
	color: var(--ti-head);
	box-shadow: 0 12px 40px -16px rgba(255, 196, 61, 0.8);
}

.ti-main .ti-hero__copy > .ti-lead {
	max-width: 46rem;
	margin: 1.4rem auto 0;
}

.ti-main .ti-hero__copy .wp-block-buttons {
	justify-content: center;
	margin-block-start: 2rem;
	gap: 0.8rem;
}

.ti-main .ti-hero__art {
	position: relative;
	max-width: 62rem;
	margin: clamp(1rem, 3vw, 2.5rem) auto 0;
}

.ti-hero__art::before {
	content: "";
	position: absolute;
	inset: 0 6% 4%;
	z-index: -1;
	border-radius: 50%;
	background:
		radial-gradient(closest-side, rgba(138, 92, 255, 0.55), transparent 72%) 50% 40% / 80% 80% no-repeat,
		radial-gradient(closest-side, rgba(255, 61, 110, 0.4), transparent 70%) 15% 70% / 50% 60% no-repeat,
		radial-gradient(closest-side, rgba(46, 230, 214, 0.35), transparent 70%) 88% 70% / 50% 60% no-repeat;
	filter: blur(30px);
}

/* the felt "stage" ellipse under the hero picture */
.ti-hero__art::after {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: 2%;
	height: 26%;
	z-index: -1;
	border-radius: 50%;
	border: 2px solid rgba(255, 196, 61, 0.45);
	background: radial-gradient(closest-side, rgba(138, 92, 255, 0.35), rgba(14, 8, 32, 0) 100%);
	box-shadow: 0 0 60px -10px rgba(255, 196, 61, 0.45), inset 0 0 50px rgba(255, 196, 61, 0.15);
}

.ti-hero__art img {
	position: relative;
	animation: ti-float 7s ease-in-out infinite;
	filter: drop-shadow(0 30px 40px rgba(70, 40, 140, 0.28));
}

@keyframes ti-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* Floating decoration (cards, dice, chips, gems) */
.ti-hero::before,
.ti-hero::after,
.ti-how::before,
.ti-partners::before,
.ti-start::after,
.ti-markets::after,
.ti-faq::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	background: center / contain no-repeat;
	animation: ti-drift 9s ease-in-out infinite;
}

.ti-hero::before {
	width: 120px;
	height: 140px;
	left: 4%;
	top: 14%;
	background-image: url(assets/img/deco-card.webp);
	filter: blur(1px);
}

.ti-hero::after {
	width: 110px;
	height: 110px;
	right: 5%;
	top: 20%;
	background-image: url(assets/img/deco-dice.webp);
	filter: blur(1.5px);
	animation-delay: -4s;
}

.ti-how::before {
	width: 150px;
	height: 150px;
	right: 3%;
	top: 3%;
	background-image: url(assets/img/deco-chip.webp);
}

.ti-partners::before {
	width: 120px;
	height: 120px;
	right: 6%;
	top: 5%;
	background-image: url(assets/img/deco-gem.webp);
	animation-delay: -3s;
}

.ti-start::after {
	width: 130px;
	height: 130px;
	left: 4%;
	top: 6%;
	background-image: url(assets/img/deco-chip2.webp);
	animation-delay: -5s;
}

.ti-markets::after {
	width: 110px;
	height: 110px;
	right: 4%;
	bottom: 4%;
	background-image: url(assets/img/deco-coin.webp);
	filter: blur(1px);
	animation-delay: -2s;
}

.ti-faq::after {
	width: 100px;
	height: 100px;
	left: 2%;
	bottom: 8%;
	background-image: url(assets/img/deco-dice.webp);
	filter: blur(1.5px);
	animation-delay: -6s;
}

@keyframes ti-drift {
	0%, 100% { transform: translate(0, 0) rotate(-6deg); }
	50% { transform: translate(-10px, -20px) rotate(8deg); }
}

.ti-main .ti-head--center {
	max-width: 44rem;
	margin-inline: auto;
	text-align: center;
}

.ti-main .ti-head--center h2::before {
	margin-inline: auto;
}

/* ---------- Numbers: marquee scoreboard ---------- */
.ti-numbers .ti-board {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-radius: 30px;
	border: 1px solid rgba(255, 196, 61, 0.4);
	background:
		radial-gradient(70% 120% at 0% 0%, rgba(138, 92, 255, 0.28), transparent 60%),
		radial-gradient(70% 120% at 100% 100%, rgba(255, 61, 110, 0.2), transparent 60%),
		linear-gradient(160deg, #24134d, #120a2a);
	box-shadow: 0 30px 80px -36px rgba(70, 40, 140, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
	overflow: hidden;
}

/* row of bulbs on top and bottom edge, like a casino marquee */
.ti-board::before,
.ti-board::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	height: 12px;
	background: radial-gradient(circle, #ffe6a3 0 2.5px, rgba(255, 196, 61, 0.6) 3.5px, transparent 5px) 0 50% / 24px 12px repeat-x;
	filter: drop-shadow(0 0 4px rgba(255, 196, 61, 0.9));
	animation: ti-bulbs 1.6s steps(2) infinite;
}

.ti-board::before { top: 6px; }
.ti-board::after { bottom: 6px; animation-delay: -0.8s; }

@keyframes ti-bulbs {
	0% { opacity: 1; }
	100% { opacity: 0.55; }
}

.ti-main .ti-board__group {
	padding: clamp(2.2rem, 4vw, 3.2rem) clamp(1.5rem, 3.5vw, 3rem);
	margin: 0;
}

.ti-board__group + .ti-board__group {
	border-inline-start: 1px dashed rgb(var(--ti-fg) / 0.2);
}

.ti-main .ti-board__label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.6rem;
	font-family: Onest, sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ti-gold);
}

.ti-board__label::before {
	content: "";
	width: 9px;
	height: 9px;
	transform: rotate(45deg);
	background: var(--ti-gold);
	box-shadow: 0 0 12px var(--ti-gold);
}

.ti-main .ti-board__stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.ti-board__stats li {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.45;
	color: var(--ti-text);
}

.ti-board__stats strong {
	display: block;
	margin-block-end: 0.7rem;
	font-family: var(--ti-display);
	font-weight: 800;
	font-size: clamp(3.2rem, 6vw, 5rem);
	line-height: 0.9;
	letter-spacing: -0.04em;
	background: linear-gradient(180deg, #fff6dc 0%, #ffc43d 55%, #ff8a3d 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	filter: drop-shadow(0 6px 22px rgba(255, 196, 61, 0.45));
}

.ti-board__group + .ti-board__group strong {
	background-image: linear-gradient(180deg, #ffe0ea 0%, #ff3d6e 60%, #8a5cff 100%);
	filter: drop-shadow(0 6px 22px rgba(255, 61, 110, 0.45));
}

/* ---------- Organic search ---------- */
.ti-organic .ti-organic__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
}

.ti-main .ti-organic__grid > * {
	margin: 0;
}

.ti-main .ti-organic__copy {
	position: relative;
	padding: clamp(1.8rem, 3.5vw, 3rem);
	border-radius: 30px;
	border: 1px solid var(--ti-line);
	background: var(--ti-glass);
	box-shadow: var(--ti-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ti-organic__copy::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 12%;
	bottom: 12%;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--ti-gold), var(--ti-ruby), var(--ti-teal));
	box-shadow: 0 0 18px rgba(255, 196, 61, 0.6);
}

.ti-main .ti-organic__copy > h2 {
	margin-block: 0 1.3rem;
}

.ti-main .ti-organic__copy > p {
	margin: 0;
}

.ti-organic__art,
.ti-why__art,
.ti-faq__art,
.ti-markets__art {
	position: relative;
}

.ti-organic__art::before,
.ti-why__art::before,
.ti-markets__art::before {
	content: "";
	position: absolute;
	inset: 6%;
	z-index: -1;
	border-radius: 50%;
	border: 2px dashed rgba(255, 196, 61, 0.35);
	background: radial-gradient(closest-side, rgba(138, 92, 255, 0.45), rgba(255, 61, 110, 0.15) 65%, transparent);
	animation: ti-spin 40s linear infinite;
}

@keyframes ti-spin {
	to { transform: rotate(360deg); }
}

.ti-organic__art img,
.ti-why__art img,
.ti-faq__art img,
.ti-markets__art img {
	filter: drop-shadow(0 26px 34px rgba(70, 40, 140, 0.28));
	animation: ti-float 8s ease-in-out infinite;
}

/* ---------- How our SEO works: numbered 2x2 ---------- */
.ti-how .ti-how__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
	counter-reset: how;
}

.ti-main .ti-how__grid > .ti-how__item {
	display: grid;
	grid-template-columns: 9rem minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	margin: 0;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	counter-increment: how;
}

.ti-how__item::after {
	content: "0" counter(how);
	position: absolute;
	right: 1.4rem;
	top: 1rem;
	font-family: var(--ti-display);
	font-weight: 800;
	font-size: 3.4rem;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px rgb(var(--ti-fg) / 0.22);
	pointer-events: none;
}

.ti-main .ti-how__art {
	margin: 0;
	align-self: center;
}

.ti-how__art img {
	filter: drop-shadow(0 18px 24px rgba(70, 40, 140, 0.28));
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ti-how__item:hover .ti-how__art img {
	transform: scale(1.08) rotate(-3deg);
}

.ti-main .ti-how__body > * {
	margin: 0;
}

.ti-main .ti-how__body > h3 {
	margin-block-end: 0.7rem;
	padding-inline-end: 3.6rem;
}

.ti-main .ti-how__body > p {
	font-size: 0.98rem;
	line-height: 1.6;
}

/* ---------- Verticals: feature + stack ---------- */
.ti-verticals .ti-vgrid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	grid-template-rows: repeat(3, auto);
	gap: 1.2rem;
}

.ti-main .ti-vgrid > .ti-vert {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	gap: 1.3rem;
	align-items: center;
	margin: 0;
	padding: 1.4rem 1.6rem;
}

.ti-main .ti-vgrid > .ti-vert--main {
	grid-row: 1 / span 3;
	grid-template-columns: minmax(0, 1fr);
	align-content: space-between;
	padding: clamp(1.8rem, 3vw, 2.6rem);
	border-color: rgba(255, 61, 110, 0.45);
	background:
		radial-gradient(90% 60% at 50% 30%, rgba(255, 61, 110, 0.28), transparent 70%),
		var(--ti-glass);
}

.ti-main .ti-vert__art {
	margin: 0;
}

.ti-vert__art img {
	filter: drop-shadow(0 18px 24px rgba(70, 40, 140, 0.28));
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ti-vert:hover .ti-vert__art img {
	transform: scale(1.06) rotate(2deg);
}

.ti-main .ti-vert--main .ti-vert__art {
	max-width: 30rem;
	margin: 0 auto 1rem;
}

.ti-main .ti-vert__body > * {
	margin: 0;
}

.ti-main .ti-vert__body > h3 {
	margin-block-end: 0.55rem;
}

.ti-main .ti-vert__body > p {
	font-size: 0.97rem;
	line-height: 1.58;
}

.ti-main .ti-vert--main h3 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.ti-main .ti-vert--main .ti-vert__body > p {
	font-size: 1.08rem;
}

/* ---------- Why choose us ---------- */
.ti-why::before {
	content: "";
	position: absolute;
	inset: 6% 0;
	z-index: -1;
	background: linear-gradient(180deg, transparent, rgba(138, 92, 255, 0.12) 25%, rgba(138, 92, 255, 0.12) 75%, transparent);
	pointer-events: none;
}

.ti-why .ti-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
	gap: 2rem clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.ti-main .ti-why__grid > * {
	margin: 0;
}

.ti-why__side {
	position: sticky;
	top: 7rem;
}

.ti-main .ti-why__side > * {
	margin-block: 0;
}

.ti-main .ti-why__side > p {
	margin-block-start: 1.2rem;
	font-size: 1.12rem;
}

.ti-main .ti-why__art {
	max-width: 18rem;
	margin-block-start: 2rem;
}

.ti-main .ti-why__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
	counter-reset: why;
}

.ti-why__list li {
	position: relative;
	margin: 0;
	padding: 1.5rem 1.5rem 1.6rem;
	border-radius: var(--ti-radius);
	border: 1px solid var(--ti-line);
	background: var(--ti-glass);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	font-size: 0.98rem;
	line-height: 1.55;
	transition: transform 0.35s ease, border-color 0.35s ease;
}

.ti-why__list li:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 196, 61, 0.6);
}

.ti-why__list li::before {
	content: "";
	display: block;
	width: 2.6rem;
	height: 2.6rem;
	margin-block-end: 1rem;
	border-radius: 12px;
	transform: rotate(-6deg);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a0b2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 58% no-repeat,
		linear-gradient(135deg, var(--ti-gold), #ff9f3d);
	box-shadow: 0 10px 24px -8px rgba(255, 196, 61, 0.8);
}

.ti-why__list li:nth-child(3n + 2)::before {
	background-color: transparent;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a0b2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"),
		linear-gradient(135deg, var(--ti-teal), #6fd0ff);
	box-shadow: 0 10px 24px -8px rgba(46, 230, 214, 0.8);
}

.ti-why__list li:nth-child(3n)::before {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"),
		linear-gradient(135deg, var(--ti-ruby), var(--ti-violet));
	box-shadow: 0 10px 24px -8px rgba(255, 61, 110, 0.8);
}

.ti-why__list strong {
	display: block;
	margin-block-end: 0.45rem;
	font-family: var(--ti-display);
	font-weight: 800;
	font-size: 1.28rem;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ti-head);
}

/* ---------- Partners: tall cards ---------- */
.ti-partners .ti-pgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.3rem;
}

.ti-main .ti-pgrid > .ti-partner {
	margin: 0;
	padding: clamp(1.8rem, 3vw, 2.6rem);
}

.ti-main .ti-partner > * {
	margin-block: 0;
}

.ti-main .ti-partner__art {
	position: relative;
	height: 15rem;
	margin: -0.5rem -0.5rem 1.6rem;
	border-radius: 20px;
	background:
		radial-gradient(60% 70% at 50% 60%, color-mix(in srgb, var(--acc) 40%, transparent), transparent 70%),
		repeating-linear-gradient(45deg, rgb(var(--ti-fg) / 0.035) 0 2px, transparent 2px 14px);
	border: 1px solid rgb(var(--ti-fg) / 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ti-main .ti-partner__art img {
	width: auto;
	max-width: 80%;
	height: 88%;
	object-fit: contain;
	filter: drop-shadow(0 20px 26px rgba(70, 40, 140, 0.28));
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ti-partner:hover .ti-partner__art img {
	transform: translateY(-6px) scale(1.04);
}

.ti-main .ti-partner > h3 {
	margin-block-end: 0.8rem;
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

/* ---------- Markets ---------- */
.ti-markets .ti-markets__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 2rem clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.ti-main .ti-markets__grid > * {
	margin: 0;
}

.ti-markets__intro {
	position: sticky;
	top: 7rem;
}

.ti-main .ti-markets__intro > * {
	margin-block: 0;
}

.ti-main .ti-markets__intro > p {
	margin-block-start: 1.2rem;
}

.ti-main .ti-markets__intro > .ti-markets__art {
	max-width: 24rem;
	margin-block-start: 1.5rem;
}

.ti-main .ti-geo {
	list-style: none;
	margin: 0;
	padding: 0;
	border-radius: 30px;
	border: 1px solid var(--ti-line);
	background: var(--ti-glass);
	box-shadow: var(--ti-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
	overflow: hidden;
}

.ti-geo li {
	position: relative;
	margin: 0;
	padding: 1.7rem 1.8rem 1.7rem 6.2rem;
	min-height: 3.5rem;
	transition: background 0.3s ease;
}

.ti-geo li + li {
	border-top: 1px dashed rgb(var(--ti-fg) / 0.16);
}

.ti-geo li:hover {
	background: linear-gradient(90deg, rgba(255, 196, 61, 0.12), transparent 70%);
}

.ti-geo li::before {
	content: "";
	position: absolute;
	left: 1.7rem;
	top: 1.7rem;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3CclipPath id='c'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/clipPath%3E%3Cg clip-path='url%28%23c%29'%3E%3Crect width='60' height='60' fill='%23AA151B'/%3E%3Crect y='15' width='60' height='30' fill='%23F1BF00'/%3E%3C/g%3E%3C/svg%3E") center / cover;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 7px rgba(255, 196, 61, 0.25), 0 14px 30px -6px rgba(255, 196, 61, 0.6);
}

.ti-geo li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3CclipPath id='c'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/clipPath%3E%3Cg clip-path='url%28%23c%29'%3E%3Crect width='60' height='60' fill='%23FCD116'/%3E%3Crect y='30' width='60' height='15' fill='%23003893'/%3E%3Crect y='45' width='60' height='15' fill='%23CE1126'/%3E%3C/g%3E%3C/svg%3E"); }
.ti-geo li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3CclipPath id='c'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/clipPath%3E%3Cg clip-path='url%28%23c%29'%3E%3Crect width='60' height='60' fill='%23012169'/%3E%3Cpath d='M0 0l60 60M60 0L0 60' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M0 0l60 60M60 0L0 60' stroke='%23C8102E' stroke-width='5'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23fff' stroke-width='18'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23C8102E' stroke-width='10'/%3E%3C/g%3E%3C/svg%3E"); }
.ti-geo li:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3CclipPath id='c'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/clipPath%3E%3Cg clip-path='url%28%23c%29'%3E%3Crect width='60' height='60' fill='%2316D68F'/%3E%3Ccircle cx='30' cy='30' r='17' fill='none' stroke='%23071225' stroke-width='3.4'/%3E%3Cpath d='M13 30h34M30 13c7 8 7 26 0 34M30 13c-7 8-7 26 0 34' fill='none' stroke='%23071225' stroke-width='3.4'/%3E%3C/g%3E%3C/svg%3E"); }

.ti-geo strong {
	display: block;
	margin-block-end: 0.35rem;
	font-family: var(--ti-display);
	font-weight: 800;
	font-size: 1.35rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ti-head);
}

/* ---------- Start: chip-numbered path ---------- */
.ti-start .ti-path {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
	counter-reset: stage;
}

.ti-main .ti-path > .ti-stage {
	overflow: visible;
	margin: 0;
	padding: 3.6rem 1.8rem 2rem;
	text-align: center;
	counter-increment: stage;
}

.ti-main .ti-stage::before {
	right: 0;
	top: -20%;
	width: 70%;
}

.ti-stage::after {
	content: counter(stage);
	position: absolute;
	left: 50%;
	top: -2.2rem;
	width: 4.4rem;
	height: 4.4rem;
	margin-left: -2.2rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-family: var(--ti-display);
	font-weight: 800;
	font-size: 1.7rem;
	color: var(--ti-ink);
	background:
		radial-gradient(circle, #fff3d6 0 52%, transparent 53%),
		repeating-conic-gradient(var(--acc) 0 22.5deg, #ffffff 22.5deg 45deg);
	box-shadow: 0 0 0 4px rgba(14, 8, 32, 0.9), 0 14px 30px -8px color-mix(in srgb, var(--acc) 80%, transparent);
}

.ti-stage:not(:last-child) > h3::after {
	content: "";
	position: absolute;
	right: -1.25rem;
	top: -2.2rem;
	width: 1.1rem;
	height: 1.1rem;
	border-top: 3px solid var(--ti-gold);
	border-right: 3px solid var(--ti-gold);
	transform: translateY(1.65rem) rotate(45deg);
	z-index: 2;
}

.ti-main .ti-stage > h3 {
	margin-block: 0 0.8rem;
}

.ti-main .ti-stage > p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.6;
}

/* ---------- FAQ ---------- */
.ti-faq .ti-faq__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-block-end: clamp(2rem, 4vw, 3rem);
}

.ti-main .ti-faq__top > * {
	margin: 0;
}

.ti-main .ti-faq__top > h2 {
	flex: 1 1 auto;
}

.ti-main .ti-faq__top > .ti-faq__art {
	width: 11rem;
	order: -1;
}

.ti-faq .ti-faq__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	align-items: start;
}

.ti-main .ti-faq__item {
	margin-block: 0;
	border-radius: 18px;
	border: 1px solid var(--ti-line);
	background: var(--ti-glass);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transition: border-color 0.3s ease, background 0.3s ease;
}

.ti-main .ti-faq__item[open] {
	border-color: rgba(255, 196, 61, 0.55);
	background: linear-gradient(150deg, rgba(138, 92, 255, 0.24), rgba(255, 61, 110, 0.1));
}

.ti-faq__item summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 1.25rem 4rem 1.25rem 1.4rem;
	font-family: var(--ti-display);
	font-weight: 700;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.25;
	color: var(--ti-head);
}

.ti-faq__item summary::-webkit-details-marker {
	display: none;
}

.ti-faq__item summary::after {
	content: "";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	width: 2.1rem;
	height: 2.1rem;
	margin-top: -1.05rem;
	border-radius: 10px;
	background:
		linear-gradient(#1a0b2e, #1a0b2e) center / 42% 2px no-repeat,
		linear-gradient(#1a0b2e, #1a0b2e) center / 2px 42% no-repeat,
		linear-gradient(135deg, var(--ti-gold), #ff9f3d);
	box-shadow: 0 8px 20px -8px rgba(255, 196, 61, 0.8);
	transition: transform 0.3s ease;
}

.ti-faq__item[open] summary::after {
	transform: rotate(135deg);
}

.ti-main .ti-faq__item > p {
	margin-block: 0;
	padding: 0 1.4rem 1.4rem;
}

/* ---------- Footer ---------- */
.ti-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin-block-start: 2rem;
	padding-block: clamp(3rem, 6vw, 5rem) 1.75rem;
	border-top: 1px solid var(--ti-line);
	background: linear-gradient(180deg, #ffffff, #f6f2ff);
	scroll-margin-top: 4rem;
}

.ti-footer::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: -45%;
	width: 90%;
	aspect-ratio: 2;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(138, 92, 255, 0.16), rgba(255, 61, 110, 0.08) 55%, transparent);
	filter: blur(30px);
}

.ti-footer::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 44%;
	top: 3%;
	width: clamp(80px, 9vw, 130px);
	aspect-ratio: 1;
	background: url(assets/img/deco-chip2.webp) center / contain no-repeat;
	animation: ti-drift 10s ease-in-out infinite;
}

.ti-footer .ti-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 2.5rem clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.ti-footer .ti-footer__top > *,
.ti-footer .ti-footer__cols > *,
.ti-footer .ti-footer__row > * {
	margin-block: 0;
}

.ti-footer__title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.ti-footer .ti-footer__title a {
	text-decoration: none;
	background: linear-gradient(100deg, #1a0b2e 5%, #6b3df0 55%, #ff3d6e 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.ti-footer__about {
	max-width: 34rem;
	font-size: 1.08rem;
}

.ti-footer .ti-footer__email {
	margin-block-start: 1.1rem;
	font-weight: 600;
	font-size: 1.08rem;
}

.ti-footer .ti-footer__email a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ti-head);
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color 0.2s ease;
}

.ti-footer .ti-footer__email a::before {
	content: "";
	flex: none;
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M4 7.5l8 6 8-6'/%3E%3C/svg%3E") center / 54% no-repeat, var(--ti-grad);
	box-shadow: 0 8px 20px -8px var(--ti-gold);
}

.ti-footer .ti-footer__email a:hover {
	color: var(--ti-teal);
}

.ti-footer .ti-footer__contact {
	padding: clamp(1.4rem, 2.6vw, 2rem);
	border-radius: var(--ti-radius);
	border: 1px solid var(--ti-line);
	background: var(--ti-glass);
	box-shadow: var(--ti-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ti-footer .ti-footer__h {
	margin-block: 0 0.9rem;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}

.ti-footer .ti-footer__contact .ti-footer__h {
	font-size: 1.6rem;
	margin-block-end: 0.5rem;
}

.ti-footer .ti-footer__contact > p {
	margin-block: 0 1.25rem;
}

/* Messenger buttons */
.ti-msgr {
	gap: 0.8rem;
}

.ti-msgr .ti-msgr__btn > .wp-block-button__link {
	--m: #25d366;
	display: block;
	width: 3.6rem;
	height: 3.6rem;
	padding: 0;
	overflow: hidden;
	text-indent: -999px;
	white-space: nowrap;
	border-radius: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") center / 48% no-repeat, linear-gradient(160deg, color-mix(in srgb, var(--m) 88%, white), var(--m));
	box-shadow: 0 12px 26px -10px var(--m), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ti-msgr .ti-msgr__btn > .wp-block-button__link:hover {
	transform: translateY(-4px) scale(1.06);
	box-shadow: 0 18px 34px -10px var(--m), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ti-msgr .ti-msgr--telegram > .wp-block-button__link {
	--m: #229ed9;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E"), linear-gradient(160deg, color-mix(in srgb, var(--m) 88%, white), var(--m));
}

.ti-msgr .ti-msgr--signal > .wp-block-button__link {
	--m: #3a76f0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0q-.934 0-1.83.139l.17 1.111a11 11 0 0 1 3.32 0l.172-1.111A12 12 0 0 0 12 0M9.152.34A12 12 0 0 0 5.77 1.742l.584.961a10.8 10.8 0 0 1 3.066-1.27zm5.696 0-.268 1.094a10.8 10.8 0 0 1 3.066 1.27l.584-.962A12 12 0 0 0 14.848.34M12 2.25a9.75 9.75 0 0 0-8.539 14.459c.074.134.1.292.064.441l-1.013 4.338 4.338-1.013a.62.62 0 0 1 .441.064A9.7 9.7 0 0 0 12 21.75c5.385 0 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25m-7.092.068a12 12 0 0 0-2.59 2.59l.909.664a11 11 0 0 1 2.345-2.345zm14.184 0-.664.909a11 11 0 0 1 2.345 2.345l.909-.664a12 12 0 0 0-2.59-2.59M1.742 5.77A12 12 0 0 0 .34 9.152l1.094.268a10.8 10.8 0 0 1 1.269-3.066zm20.516 0-.961.584a10.8 10.8 0 0 1 1.27 3.066l1.093-.268a12 12 0 0 0-1.402-3.383M.138 10.168A12 12 0 0 0 0 12q0 .934.139 1.83l1.111-.17A11 11 0 0 1 1.125 12q0-.848.125-1.66zm23.723.002-1.111.17q.125.812.125 1.66c0 .848-.042 1.12-.125 1.66l1.111.172a12.1 12.1 0 0 0 0-3.662M1.434 14.58l-1.094.268a12 12 0 0 0 .96 2.591l-.265 1.14 1.096.255.36-1.539-.188-.365a10.8 10.8 0 0 1-.87-2.35m21.133 0a10.8 10.8 0 0 1-1.27 3.067l.962.584a12 12 0 0 0 1.402-3.383zm-1.793 3.848a11 11 0 0 1-2.345 2.345l.664.909a12 12 0 0 0 2.59-2.59zm-19.959 1.1L.357 21.48a1.8 1.8 0 0 0 2.162 2.161l1.954-.455-.256-1.095-1.953.455a.675.675 0 0 1-.81-.81l.454-1.954zm16.832 1.769a10.8 10.8 0 0 1-3.066 1.27l.268 1.093a12 12 0 0 0 3.382-1.402zm-10.94.213-1.54.36.256 1.095 1.139-.266c.814.415 1.683.74 2.591.961l.268-1.094a10.8 10.8 0 0 1-2.35-.869zm3.634 1.24-.172 1.111a12.1 12.1 0 0 0 3.662 0l-.17-1.111q-.812.125-1.66.125a11 11 0 0 1-1.66-.125'/%3E%3C/svg%3E"), linear-gradient(160deg, color-mix(in srgb, var(--m) 88%, white), var(--m));
}

.ti-msgr .ti-msgr--line > .wp-block-button__link {
	--m: #06c755;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E"), linear-gradient(160deg, color-mix(in srgb, var(--m) 88%, white), var(--m));
}

.ti-footer .ti-footer__cta {
	margin-block-start: 1.25rem;
}

.ti-footer .ti-footer__cols {
	display: grid;
	grid-template-columns: 1.2fr 1fr 0.8fr 1.5fr;
	gap: 2rem clamp(1.5rem, 4vw, 4rem);
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
	padding-block-start: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--ti-line);
}

.ti-footer .ti-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
	font-size: 0.97rem;
}

.ti-footer .ti-footer__links li {
	margin: 0;
}

.ti-footer .ti-footer__links a {
	color: var(--ti-text);
	text-decoration: none;
	transition: color 0.2s ease, padding 0.2s ease;
}

.ti-footer .ti-footer__links a:hover {
	color: var(--ti-head);
	padding-inline-start: 0.35rem;
}

.ti-footer__note p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ti-dim);
}

.ti-footer .ti-footer__note .ti-footer__h {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 99px;
	border: 1px solid rgba(138, 92, 255, 0.6);
	color: #6b3df0;
	font-size: 0.95rem;
}

.ti-footer .ti-footer__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-block-start: clamp(2rem, 4vw, 3rem);
	padding-block-start: 1.4rem;
	border-top: 1px solid var(--ti-line);
}

.ti-footer__copy {
	font-size: 0.9rem;
	color: var(--ti-dim);
}

/* ---------- Inner pages ---------- */
.ti-page {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--ti-sec);
}

.ti-page .ti-prose {
	position: relative;
	max-width: 54rem;
	margin-inline: auto;
	padding: clamp(1.5rem, 4.5vw, 3.75rem);
	border-radius: calc(var(--ti-radius) + 6px);
	border: 1px solid var(--ti-line);
	background: var(--ti-glass);
	box-shadow: 0 40px 90px -50px rgba(70, 40, 140, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ti-prose > h1,
.ti-prose .ti-prose__title {
	margin-block: 0 1.25rem;
	font-size: clamp(2.4rem, 5.6vw, 4rem);
	line-height: 1;
	letter-spacing: -0.035em;
	background: linear-gradient(96deg, #ffffff 8%, #fff3d6 45%, #ffc43d 80%, #8ff3ea 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.ti-prose__title::after {
	content: "";
	display: block;
	width: 4.2rem;
	height: 0.4rem;
	margin-block-start: 1.4rem;
	border-radius: 99px;
	background: var(--ti-grad);
	box-shadow: 0 0 22px color-mix(in srgb, var(--ti-gold) 70%, transparent);
}

.ti-prose .ti-prose__meta {
	display: inline-block;
	margin-block: 0 0.5rem;
	padding: 0.3rem 0.9rem;
	border-radius: 99px;
	border: 1px solid var(--ti-line);
	background: rgb(var(--ti-fg) / 0.06);
	font-size: 0.88rem;
	color: var(--ti-dim);
}

.ti-prose .wp-block-post-content h2 {
	margin-block: 2.4rem 0.9rem;
	font-size: clamp(1.5rem, 2.6vw, 1.95rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.ti-prose .wp-block-post-content h3 {
	margin-block: 1.8rem 0.7rem;
}

.ti-prose .wp-block-post-content :is(p, li) {
	font-size: 1.04rem;
	line-height: 1.7;
}

.ti-prose .wp-block-post-content ul {
	margin-block: 1rem;
	padding-inline-start: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
}

.ti-prose .wp-block-post-content ul > li {
	position: relative;
	margin: 0;
	padding-inline-start: 1.7rem;
}

.ti-prose .wp-block-post-content ul > li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 0.62em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--ti-grad);
	box-shadow: 0 0 10px color-mix(in srgb, var(--ti-gold) 80%, transparent);
}

.ti-prose strong {
	color: var(--ti-head);
}

.ti-prose a {
	color: var(--ti-link);
	text-underline-offset: 0.18em;
}

.ti-prose a:hover {
	color: var(--ti-head);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ti-main .ti-how__grid > .ti-how__item {
		grid-template-columns: minmax(0, 1fr);
	}

	.ti-main .ti-how__art {
		max-width: 9rem;
	}
}

@media (max-width: 900px) {
	.ti-organic .ti-organic__grid,
	.ti-why .ti-why__grid,
	.ti-markets .ti-markets__grid,
	.ti-partners .ti-pgrid,
	.ti-faq .ti-faq__list,
	.ti-numbers .ti-board {
		grid-template-columns: minmax(0, 1fr);
	}

	.ti-board__group + .ti-board__group {
		border-inline-start: 0;
		border-block-start: 1px dashed rgb(var(--ti-fg) / 0.2);
	}

	.ti-main .ti-organic__art {
		max-width: 22rem;
		margin-inline: auto;
	}

	.ti-verticals .ti-vgrid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.ti-main .ti-vgrid > .ti-vert--main {
		grid-row: auto;
	}

	.ti-start .ti-path {
		grid-template-columns: minmax(0, 1fr);
		gap: 3.4rem;
		margin-block-start: 1rem;
	}

	.ti-stage:not(:last-child) > h3::after {
		display: none;
	}

	.ti-why__side,
	.ti-markets__intro {
		position: static;
	}

	.ti-main .ti-why__art,
	.ti-main .ti-markets__intro > .ti-markets__art {
		display: none;
	}

	.ti-footer .ti-footer__top {
		grid-template-columns: minmax(0, 1fr);
	}

	.ti-footer .ti-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ti-footer::after {
		left: auto;
		right: 4%;
	}
}

@media (max-width: 700px) {
	.ti-how .ti-how__grid,
	.ti-main .ti-why__list,
	.ti-main .ti-board__stats {
		grid-template-columns: minmax(0, 1fr);
	}

	.ti-main .ti-vgrid > .ti-vert {
		grid-template-columns: 6rem minmax(0, 1fr);
		padding: 1.3rem;
	}

	.ti-main .ti-vgrid > .ti-vert--main {
		grid-template-columns: minmax(0, 1fr);
	}

	.ti-geo li {
		padding: 5.6rem 1.4rem 1.5rem;
	}

	.ti-geo li::before {
		left: 1.4rem;
		top: 1.5rem;
	}

	.ti-main .ti-partner__art {
		height: 12rem;
	}

	.ti-main .ti-faq__top > .ti-faq__art {
		width: 7rem;
	}

	.ti-main .ti-hero__copy .wp-block-buttons,
	.ti-main .ti-hero__copy .wp-block-button,
	.ti-main .ti-hero__copy .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}

	.ti-hero::before,
	.ti-hero::after,
	.ti-how::before,
	.ti-partners::before,
	.ti-start::after,
	.ti-markets::after,
	.ti-faq::after,
	.ti-footer::after {
		display: none;
	}

	.ti-header .ti-header__cta {
		display: none;
	}

	.ti-header .ti-header__in {
		padding-inline-end: 1.1rem;
	}
}

@media (max-width: 420px) {
	.ti-footer .ti-footer__row {
		flex-direction: column;
		align-items: flex-start;
	}

	.ti-footer .ti-footer__cols {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
