/* =========================================================
   Thomas Kramer — theme styles
   Tokens + nav/footer + Elementor widget sections.
   Source design: "Thomas Kramer Homepage" (Claude Design)
   ========================================================= */

:root {
	--tk-bg: #fbfaf8;
	--tk-ink: #16181d;
	--tk-ink-75: rgba(22, 24, 29, 0.75);
	--tk-ink-65: rgba(22, 24, 29, 0.65);
	--tk-ink-60: rgba(22, 24, 29, 0.6);
	--tk-ink-55: rgba(22, 24, 29, 0.55);
	--tk-ink-45: rgba(22, 24, 29, 0.45);
	--tk-ink-40: rgba(22, 24, 29, 0.4);
	--tk-border: rgba(22, 24, 29, 0.08);
	--tk-border-strong: rgba(22, 24, 29, 0.18);
	--tk-accent: #3557c7;
	--tk-dark: #16181d;
	--tk-dark-hover: #2e3340;
	--tk-green: #9fe8b4;
	--tk-font-sans: 'Schibsted Grotesk', system-ui, sans-serif;
	--tk-font-mono: 'JetBrains Mono', monospace;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--tk-bg);
	font-family: var(--tk-font-sans);
	color: var(--tk-ink);
	-webkit-font-smoothing: antialiased;
}

body a {
	color: var(--tk-ink);
	transition: color 0.15s ease;
}

body a:hover {
	color: var(--tk-accent);
}

::selection {
	background: #dbe4ff;
}

@keyframes tk-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes tk-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

@keyframes tk-wave {
	0%, 100% { transform: rotate(0deg); }
	25% { transform: rotate(-6deg); }
	75% { transform: rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; }
}

/* ---------- Shared primitives ---------- */

.tk-mono {
	font-family: var(--tk-font-mono);
	font-size: 12px;
}

.tk-btn {
	display: inline-block;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	padding: 15px 30px;
	border-radius: 999px;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.tk-btn--dark {
	background: var(--tk-dark);
	color: #fff;
}

.tk-btn--dark:hover {
	background: var(--tk-dark-hover);
	color: #fff;
	transform: translateY(-1px);
}

.tk-btn--light {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(22, 24, 29, 0.12);
	color: var(--tk-ink);
}

.tk-btn--light:hover {
	background: #fff;
	color: var(--tk-ink);
}

.tk-h1 {
	margin: 0;
	font-size: clamp(44px, 7.2vw, 84px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	font-weight: 800;
	text-wrap: balance;
}

.tk-h2 {
	margin: 0;
	font-size: clamp(30px, 4vw, 44px);
	letter-spacing: -0.03em;
	font-weight: 800;
}

.tk-section {
	max-width: 1120px;
	margin: 0 auto;
	padding: 70px 24px 40px;
	scroll-margin-top: 90px;
}

.tk-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 34px;
}

.tk-section__aside {
	font-family: var(--tk-font-mono);
	font-size: 13px;
	color: var(--tk-ink-45);
}

.tk-section__link {
	font-size: 15px;
	font-weight: 600;
	color: var(--tk-accent);
	text-decoration: none;
}

.tk-section__link:hover {
	color: var(--tk-ink);
}

/* ---------- Nav (theme fallback header) ---------- */

.tk-nav-wrap {
	position: sticky;
	top: 16px;
	z-index: 50;
	display: flex;
	justify-content: center;
	padding: 0 20px;
}

.tk-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(22, 24, 29, 0.07);
	border-radius: 999px;
	padding: 10px 12px 10px 22px;
	box-shadow: 0 8px 28px rgba(22, 24, 29, 0.07);
}

.tk-nav--scrolled {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 32px rgba(22, 24, 29, 0.12);
}

.tk-nav__brand {
	font-weight: 800;
	font-size: 16px;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--tk-ink);
	white-space: nowrap;
}

.tk-nav__brand:hover {
	color: var(--tk-ink);
}

.tk-nav__links {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 14.5px;
	font-weight: 500;
}

.tk-nav__links a {
	text-decoration: none;
	color: var(--tk-ink-65);
	white-space: nowrap;
}

.tk-nav__links a:hover,
.tk-nav__links .current-menu-item a {
	color: var(--tk-ink);
}

.tk-nav__cta {
	font-size: 14px;
	padding: 10px 20px;
}

@media (max-width: 640px) {
	.tk-nav { gap: 16px; padding-left: 18px; }
	.tk-nav__links { gap: 14px; }
	.tk-nav__cta { display: none; }
}

@media (max-width: 480px) {
	.tk-nav-wrap { padding: 0 12px; }
	.tk-nav { gap: 12px; padding: 8px 14px; max-width: 100%; }
	.tk-nav__brand { font-size: 15px; }
	.tk-nav__links { gap: 11px; font-size: 13.5px; }
}

/* ---------- Footer bar (theme fallback footer) ---------- */

.tk-footer-bar__inner {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 28px 30px 40px;
	font-size: 13.5px;
	color: var(--tk-ink-45);
}

/* ---------- Widget: Hero ---------- */

.tk-hero {
	position: relative;
	overflow: hidden;
	margin-top: -74px;
	padding: 170px 24px 110px;
	text-align: center;
	background:
		radial-gradient(900px 480px at 20% -10%, rgba(164, 196, 255, 0.5), transparent 65%),
		radial-gradient(900px 520px at 82% -6%, rgba(190, 232, 205, 0.55), transparent 62%),
		radial-gradient(700px 420px at 55% 8%, rgba(255, 226, 196, 0.4), transparent 60%),
		var(--tk-bg);
}

body:not(.elementor-editor-active) .tk-hero__inner {
	animation: tk-rise 0.7s ease both;
}

.tk-hero__inner {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
}

.tk-hero__badge {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--tk-border);
	border-radius: 999px;
	padding: 6px 16px 6px 7px;
	box-shadow: 0 4px 16px rgba(22, 24, 29, 0.05);
}

.tk-hero__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 22%;
	animation: tk-wave 3.5s ease-in-out 1.2s 2;
}

.tk-hero__badge-text {
	font-size: 14px;
	font-weight: 500;
	color: var(--tk-ink-75);
	text-align: left;
}

.tk-hero__portrait {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 22%;
	box-shadow: 0 18px 44px rgba(22, 24, 29, 0.18);
	border: 4px solid #fff;
}

.tk-hero__sub {
	margin: 0;
	max-width: 600px;
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.5;
	color: var(--tk-ink-60);
	text-wrap: pretty;
}

.tk-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 6px;
}

.tk-hero__actions .tk-btn--dark {
	box-shadow: 0 10px 24px rgba(22, 24, 29, 0.2);
}

.tk-hero__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.tk-hero__chip {
	font-family: var(--tk-font-mono);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--tk-ink-55);
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid var(--tk-border);
	border-radius: 999px;
	padding: 7px 14px;
}

/* ---------- Widget: Featured app ---------- */

.tk-featured {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	background: var(--tk-dark);
	border-radius: 28px;
	overflow: hidden;
	color: #fff;
}

.tk-featured__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 18px;
	padding: 56px 52px;
}

.tk-featured__tag {
	font-family: var(--tk-font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tk-green);
	background: rgba(159, 232, 180, 0.12);
	border: 1px solid rgba(159, 232, 180, 0.25);
	border-radius: 999px;
	padding: 6px 12px;
}

.tk-featured__title-row {
	display: flex;
	align-items: center;
	gap: 18px;
}

.tk-featured__icon {
	width: 72px;
	height: 72px;
	border-radius: 17px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
	flex: none;
}

.tk-featured__title {
	margin: 0;
	font-size: clamp(32px, 3.6vw, 48px);
	letter-spacing: -0.03em;
	font-weight: 800;
	color: #fff;
}

.tk-featured__desc {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
	max-width: 400px;
	text-wrap: pretty;
}

.tk-featured__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.tk-featured__btn {
	background: #fff;
	color: var(--tk-ink);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: 999px;
	transition: background 0.15s ease;
}

.tk-featured__btn:hover {
	background: #e8ecf5;
	color: var(--tk-ink);
}

.tk-featured__meta {
	font-family: var(--tk-font-mono);
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.45);
}

.tk-featured__stage {
	position: relative;
	height: 480px;
	overflow: hidden;
	background:
		radial-gradient(600px 400px at 70% 30%, rgba(159, 232, 180, 0.18), transparent 65%),
		#1d2027;
	padding: 48px 0 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.tk-featured__phone {
	position: relative;
	width: 340px;
	aspect-ratio: 1350 / 2760;
	flex: none;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
	animation: tk-float 5s ease-in-out infinite;
}

.tk-featured__screen {
	position: absolute;
	left: 5.333%;
	top: 2.5%;
	width: 89.333%;
	height: 95%;
	border-radius: 38px;
	overflow: hidden;
	background: #f1f3f7;
}

.tk-featured__screen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.tk-featured__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

@media (max-width: 860px) {
	.tk-featured { grid-template-columns: 1fr; }
	.tk-featured__body { padding: 40px 30px; }
	.tk-featured__stage { height: 420px; }
	.tk-featured__phone { width: 280px; }
}

.tk-app-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ---------- Widget: App cards / post grid ---------- */

.tk-card-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 20px;
}

.tk-card-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.tk-card-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
	.tk-card-grid--3,
	.tk-card-grid--4 { grid-template-columns: 1fr 1fr; }
}

.tk-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: 22px;
	padding: 32px 34px;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tk-card:hover {
	border-color: var(--tk-border-strong);
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(22, 24, 29, 0.07);
}

.tk-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	margin-bottom: 6px;
	background: #dbe4ff;
	color: #3557c7;
	flex: none;
}

.tk-card__icon svg {
	width: 22px;
	height: 22px;
}

.tk-card:nth-child(3n+2) .tk-card__icon {
	background: #d9f2e2;
	color: #2e7d4f;
}

.tk-card:nth-child(3n) .tk-card__icon {
	background: #ffe9d4;
	color: #b05c1e;
}

.tk-card__tag {
	font-family: var(--tk-font-mono);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tk-ink-40);
}

.tk-card__title {
	margin: 0;
	font-size: 22px;
	letter-spacing: -0.02em;
	font-weight: 700;
}

.tk-card__desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--tk-ink-55);
	text-wrap: pretty;
}

.tk-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.tk-post-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: 22px;
	padding: 30px 30px 26px;
	text-decoration: none;
	color: var(--tk-ink);
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tk-post-card:hover {
	border-color: var(--tk-border-strong);
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(22, 24, 29, 0.07);
	color: var(--tk-ink);
}

.tk-post-card__meta {
	color: var(--tk-ink-40);
}

.tk-post-card__title {
	margin: 0;
	font-size: 19px;
	line-height: 1.3;
	letter-spacing: -0.015em;
	font-weight: 700;
	text-wrap: balance;
}

.tk-post-card__excerpt {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--tk-ink-55);
	text-wrap: pretty;
}

.tk-post-card__more {
	margin-top: auto;
	padding-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tk-accent);
}

@media (max-width: 960px) {
	.tk-post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.tk-post-grid,
	.tk-card-grid { grid-template-columns: 1fr; }
}

/* ---------- Widget: CTA ---------- */

.tk-cta {
	text-align: center;
	background:
		radial-gradient(700px 300px at 50% -20%, rgba(164, 196, 255, 0.35), transparent 70%),
		#fff;
	border: 1px solid var(--tk-border);
	border-radius: 28px;
	padding: 70px 32px;
}

.tk-cta__title {
	margin: 0 0 14px;
	font-size: clamp(28px, 4vw, 42px);
	letter-spacing: -0.03em;
	font-weight: 800;
	text-wrap: balance;
}

.tk-cta__text {
	margin: 0 auto 28px;
	max-width: 480px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--tk-ink-60);
	text-wrap: pretty;
}

/* ---------- Hardening vs. Elementor kit globals ----------
   The active Elementor kit applies site-wide typography/link colors
   (h1/h2, a, text-transform) with .elementor-kit-N specificity.
   These higher-specificity rules keep the design tokens in charge
   inside theme sections without touching other Elementor pages. */

.tk-nav,
.tk-hero,
.tk-section,
.tk-featured,
.tk-card,
.tk-post-card,
.tk-cta,
.tk-footer-bar__inner,
.tk-entry {
	font-family: var(--tk-font-sans);
}

.tk-nav__links li {
	list-style: none;
	display: inline-flex;
	margin: 0;
	padding: 0;
}

/* Elementor containers carrying .tk-section must stay boxed like the design.
   Elementor's .e-con rules (and per-element settings CSS) load after this
   sheet and set width/padding, so these four properties need !important. */
.e-con.tk-section {
	width: 100%;
	max-width: 1120px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 70px 24px 40px !important;
}

.tk-hero h1.tk-h1,
.tk-entry h1.tk-h1 {
	font-family: var(--tk-font-sans);
	font-size: clamp(44px, 7.2vw, 84px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	font-weight: 800;
	text-transform: none;
	color: var(--tk-ink);
	margin: 0;
}

.tk-section__head h2.tk-h2 {
	font-family: var(--tk-font-sans);
	font-size: clamp(30px, 4vw, 44px);
	letter-spacing: -0.03em;
	font-weight: 800;
	text-transform: none;
	color: var(--tk-ink);
	margin: 0;
}

.tk-cta h2.tk-cta__title {
	font-family: var(--tk-font-sans);
	font-size: clamp(28px, 4vw, 42px);
	letter-spacing: -0.03em;
	font-weight: 800;
	text-transform: none;
	color: var(--tk-ink);
}

.tk-featured h3.tk-featured__title {
	font-family: var(--tk-font-sans);
	font-size: clamp(32px, 3.6vw, 48px);
	letter-spacing: -0.03em;
	font-weight: 800;
	text-transform: none;
	color: #fff;
	margin: 0;
}

.tk-card h3.tk-card__title {
	font-family: var(--tk-font-sans);
	font-size: 22px;
	letter-spacing: -0.02em;
	font-weight: 700;
	text-transform: none;
	color: var(--tk-ink);
	margin: 0;
}

.tk-post-card h3.tk-post-card__title {
	font-family: var(--tk-font-sans);
	font-size: 19px;
	line-height: 1.3;
	letter-spacing: -0.015em;
	font-weight: 700;
	text-transform: none;
	color: var(--tk-ink);
	margin: 0;
}

.tk-btn.tk-btn--dark,
.tk-btn.tk-btn--dark:hover,
.tk-btn.tk-btn--dark:focus {
	color: #fff;
	text-decoration: none;
}

.tk-btn.tk-btn--dark {
	background: var(--tk-dark);
}

.tk-btn.tk-btn--dark:hover {
	background: var(--tk-dark-hover);
}

.tk-btn.tk-btn--light,
.tk-btn.tk-btn--light:hover,
.tk-btn.tk-btn--light:focus {
	color: var(--tk-ink);
	text-decoration: none;
}

.tk-nav a.tk-nav__brand,
.tk-nav a.tk-nav__brand:hover {
	color: var(--tk-ink);
	text-decoration: none;
}

.tk-nav .tk-nav__links a {
	color: var(--tk-ink-65);
	text-decoration: none;
}

.tk-nav .tk-nav__links a:hover,
.tk-nav .tk-nav__links .current-menu-item a {
	color: var(--tk-ink);
}

.tk-featured__actions a.tk-featured__btn,
.tk-featured__actions a.tk-featured__btn:focus {
	color: var(--tk-ink);
	background: #fff;
	text-decoration: none;
}

.tk-featured__actions a.tk-featured__btn:hover {
	background: #e8ecf5;
	color: var(--tk-ink);
}

.tk-post-grid a.tk-post-card,
.tk-post-grid a.tk-post-card:hover {
	color: var(--tk-ink);
	text-decoration: none;
}

.tk-post-card span.tk-post-card__more {
	color: var(--tk-accent);
}

.tk-section__head a.tk-section__link {
	color: var(--tk-accent);
	text-decoration: none;
}

.tk-section__head a.tk-section__link:hover {
	color: var(--tk-ink);
}

/* Elementor's global `img { height: auto }` must not distort fixed-size images. */
.tk-hero__badge img.tk-hero__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 22%;
}

.tk-hero__inner img.tk-hero__portrait {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 22%;
}

.tk-featured__title-row img.tk-featured__icon {
	width: 72px;
	height: 72px;
	border-radius: 17px;
}

.tk-featured__screen img,
.tk-featured__phone img.tk-featured__frame {
	border-radius: 0;
}

.tk-entry__thumb img,
.tk-entry__content img {
	border-radius: 22px;
}

.tk-featured__screen img {
	width: 100%;
	height: 100%;
}

.tk-featured__phone img.tk-featured__frame {
	width: 100%;
	height: 100%;
	max-width: none;
}

/* ---------- App page (single-tk_app.php) ---------- */

.tk-app-hero {
	margin-top: -74px;
	padding: 170px 24px 0;
	background:
		radial-gradient(900px 520px at 50% -10%, rgba(190, 232, 205, 0.55), transparent 62%),
		radial-gradient(700px 420px at 15% 10%, rgba(164, 196, 255, 0.35), transparent 60%),
		var(--tk-bg);
}

.tk-app-hero .tk-hero__inner {
	max-width: 760px;
}

.tk-app-hero__back {
	font-family: var(--tk-font-mono);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--tk-ink-55);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--tk-border);
	border-radius: 999px;
	padding: 7px 14px;
}

.tk-app-hero__back:hover {
	color: var(--tk-ink);
}

img.tk-app-hero__icon,
.tk-app-hero .tk-hero__inner img.tk-app-hero__icon {
	width: 110px;
	height: 110px;
	border-radius: 26px;
	box-shadow: 0 18px 44px rgba(22, 24, 29, 0.22);
	object-fit: cover;
}

.tk-app-hero__title {
	font-size: clamp(42px, 6.5vw, 76px);
}

.tk-app-hero__meta {
	font-size: 12.5px;
	color: var(--tk-ink-45);
}

.tk-app-hero__phone-wrap {
	display: flex;
	justify-content: center;
	margin-top: 56px;
	padding-bottom: 70px;
}

.tk-phone {
	position: relative;
	aspect-ratio: 1350 / 2760;
	filter: drop-shadow(0 30px 60px rgba(22, 24, 29, 0.28));
}

.tk-phone--lg {
	width: min(402px, calc(100vw - 80px));
}

.tk-phone__screen {
	position: absolute;
	left: 5.333%;
	top: 2.5%;
	width: 89.333%;
	height: 95%;
	border-radius: 45px;
	overflow: hidden;
	background: #f1f3f7;
}

.tk-phone__screen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
	border-radius: 0;
}

.tk-phone__frame,
.tk-phone img.tk-phone__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	pointer-events: none;
	border-radius: 0;
}

.tk-app-features__head {
	max-width: 680px;
	margin: 0 auto 44px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tk-app-features__title {
	font-size: clamp(28px, 4vw, 42px);
}

.tk-app-features__intro {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--tk-ink-60);
	text-wrap: pretty;
}

.tk-app-features .tk-card-grid {
	margin-top: 0;
}

.tk-app-features__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px;
	margin-top: 36px;
}

.tk-cta--dark {
	background: var(--tk-dark);
	border-color: var(--tk-dark);
}

.tk-cta--dark .tk-cta__title {
	color: #fff;
}

.tk-cta--dark .tk-cta__text {
	color: rgba(255, 255, 255, 0.65);
}

.tk-btn--white,
.tk-btn.tk-btn--white,
.tk-btn.tk-btn--white:hover,
.tk-btn.tk-btn--white:focus {
	background: #fff;
	color: var(--tk-ink);
	text-decoration: none;
}

.tk-btn.tk-btn--white:hover {
	background: #e8ecf5;
}

/* ---------- Widget: Contact form ---------- */

.tk-contact {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	background: #fff;
	border: 1px solid var(--tk-border);
	border-radius: 28px;
	padding: 56px;
}

.tk-contact__title {
	margin: 0 0 14px;
}

.tk-contact__text {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--tk-ink-60);
	text-wrap: pretty;
	max-width: 380px;
}

.tk-contact__direct {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 28px;
}

.tk-contact__note {
	color: var(--tk-ink-45);
	font-size: 12px;
}

.tk-contact__email,
.tk-contact a.tk-contact__email {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--tk-ink);
	text-decoration: none;
}

.tk-contact a.tk-contact__email:hover {
	color: var(--tk-accent);
}

/* The Elementor kit styles inputs/buttons globally with .elementor-kit-N
   selectors, so the form controls need !important on the identity props. */

.tk-contact__form .wpcf7 form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tk-contact .tk-contact__form label {
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-family: var(--tk-font-sans) !important;
	font-size: 14px !important;
	font-weight: 600;
	color: var(--tk-ink) !important;
}

.tk-contact .tk-contact__form input[type="text"],
.tk-contact .tk-contact__form input[type="email"],
.tk-contact .tk-contact__form input[type="tel"],
.tk-contact .tk-contact__form input[type="url"],
.tk-contact .tk-contact__form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(22, 24, 29, 0.12) !important;
	border-radius: 14px !important;
	padding: 13px 16px !important;
	font-family: var(--tk-font-sans) !important;
	font-size: 15px !important;
	font-weight: 400;
	color: var(--tk-ink) !important;
	background: var(--tk-bg) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tk-contact .tk-contact__form textarea {
	min-height: 130px;
	resize: vertical;
}

.tk-contact .tk-contact__form input:focus,
.tk-contact .tk-contact__form textarea:focus {
	outline: none;
	border-color: var(--tk-accent) !important;
	box-shadow: 0 0 0 3px rgba(53, 87, 199, 0.14);
	background: #fff !important;
}

.tk-contact .tk-contact__form input[type="submit"] {
	align-self: flex-start;
	background: var(--tk-dark) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 14px 30px !important;
	font-family: var(--tk-font-sans) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.tk-contact .tk-contact__form input[type="submit"]:hover {
	background: var(--tk-dark-hover) !important;
	transform: translateY(-1px);
}

.tk-contact__form .wpcf7-spinner {
	margin: 0 0 0 10px;
}

.tk-contact__form .wpcf7-not-valid-tip {
	font-size: 13px;
	font-weight: 500;
	color: #b3261e;
	margin-top: 4px;
}

.tk-contact__form .wpcf7 form .wpcf7-response-output {
	margin: 4px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--tk-border);
	border-radius: 14px;
	font-size: 14px;
}

.tk-contact__form .wpcf7 form.sent .wpcf7-response-output {
	border-color: #2e7d4f;
	background: #d9f2e2;
	color: #1d5236;
}

.tk-contact__form .wpcf7 form.invalid .wpcf7-response-output,
.tk-contact__form .wpcf7 form.failed .wpcf7-response-output {
	border-color: #b3261e;
	background: #ffe4e1;
	color: #7a1a14;
}

@media (max-width: 860px) {
	.tk-contact {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 34px 26px;
	}
}

/* ---------- Blog single / entry ---------- */

.tk-entry {
	max-width: 760px;
}

.tk-entry__title {
	font-size: clamp(34px, 5vw, 56px);
	margin: 10px 0 24px;
}

.tk-entry__thumb img {
	width: 100%;
	height: auto;
	border-radius: 22px;
}

.tk-entry__content {
	font-size: 17px;
	line-height: 1.65;
	color: var(--tk-ink-75);
}

.tk-entry__content img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.tk-pagination {
	margin-top: 40px;
	font-size: 14.5px;
	font-weight: 600;
}

.tk-pagination .nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.tk-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 15px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--tk-border);
	color: var(--tk-ink-65);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.tk-pagination a.page-numbers:hover {
	border-color: var(--tk-border-strong);
	color: var(--tk-ink);
}

.tk-pagination .page-numbers.current {
	background: var(--tk-dark);
	border-color: var(--tk-dark);
	color: #fff;
}
