/* Tiny Efforts — site styles. Colour tokens are in :root below. */

/* ==========================================================================
   Tokens
   ========================================================================== */

@font-face {
	font-family: "Questrial";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/questrial-latin-400-normal.woff2") format("woff2"),
		url("/fonts/questrial-latin-400-normal.woff") format("woff");
}

:root {
	--te-bg: #f8f8f4;
	--te-white: #ffffff;
	--te-ink: #17173a;
	--te-muted: #4b4b63;
	--te-quiet: #6a6a7c;
	--te-line: #e4e4dc;
	--te-line-strong: #d9d9cf;
	--te-blue: #6699ff;
	--te-blue-soft: #c7d9fc;
	--te-indigo: #372edd;
	--te-indigo-dark: #2a22b8;
	--te-lime: #d5db01;
	--te-peach: #eda170;
	--te-orange: #e57025;
	--te-orange-text: #b8450f;
	--te-on-dark: #c9c9d6;

	--te-font-display: "Questrial", "Helvetica Neue", Helvetica, sans-serif;
	--te-font-body: "Helvetica Neue", Helvetica, "Segoe UI", system-ui, sans-serif;

	--te-gutter: 80px;
	--te-section: 120px;
	--te-radius: 24px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--te-bg);
	color: var(--te-ink);
	font-family: var(--te-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--te-indigo); }
a:hover { color: var(--te-indigo-dark); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--te-indigo); outline-offset: 3px; border-radius: 6px; }

.te-skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--te-ink); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.te-skip:focus { top: 12px; color: #fff; }

.te-container {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--te-gutter);
}

/* ==========================================================================
   Type
   ========================================================================== */

.te-eyebrow {
	font-family: var(--te-font-display);
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--te-indigo);
	margin-bottom: 18px;
}
.te-eyebrow--lime { color: var(--te-lime); }
.te-eyebrow--ink { color: var(--te-ink); }

.te-h2 {
	font-family: var(--te-font-display);
	font-weight: 400;
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.08;
	letter-spacing: -0.015em;
}
.te-h2--md { font-size: clamp(30px, 3vw, 44px); }
.te-h2--lg { font-size: clamp(34px, 3.9vw, 56px); }

.te-h3 {
	font-family: var(--te-font-display);
	font-weight: 400;
	font-size: clamp(21px, 1.7vw, 24px);
	line-height: 1.2;
}
.te-h3--lg { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; }

.te-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--te-muted); }
.te-lead--on-dark { color: var(--te-on-dark); }
.te-body { font-size: 17px; line-height: 1.6; color: var(--te-muted); }
.te-body--sm { font-size: 16px; }
.te-body--ink { color: var(--te-ink); }

.te-label {
	font-family: var(--te-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--te-ink);
	margin: 0 0 6px;
}

.te-highlight { background: var(--te-lime); padding: 0 0.16em; border-radius: 0.18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ==========================================================================
   Components
   ========================================================================== */

.te-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px; border-radius: 999px;
	font-size: 17px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none;
	border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s;
}
.te-btn--sm { min-height: 48px; padding: 0 22px; font-size: 16px; }
.te-btn--primary { background: var(--te-indigo); color: #fff; }
.te-btn--primary:hover { background: var(--te-indigo-dark); color: #fff; }
.te-btn--outline { background: transparent; color: var(--te-ink); border-color: var(--te-ink); }
.te-btn--outline:hover { background: var(--te-ink); color: var(--te-bg); }
.te-btn--lime { background: var(--te-lime); color: var(--te-ink); }
.te-btn--lime:hover { background: #c3c800; color: var(--te-ink); }

.te-chip {
	display: inline-flex; align-items: center; white-space: nowrap;
	height: 32px; padding: 0 14px; border-radius: 999px;
	font-size: 14px; background: var(--te-white); border: 1px solid var(--te-line); color: var(--te-muted);
}
.te-chip--sm { height: 28px; padding: 0 12px; font-size: 13px; }

.te-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.te-pill--lime { background: var(--te-lime); color: var(--te-ink); }

.te-card {
	background: var(--te-white); border: 1px solid var(--te-line); border-radius: 22px;
	padding: 30px; display: flex; flex-direction: column; gap: 16px;
}

.te-icon-tile { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
.te-icon-tile--lime { background: var(--te-lime); }
.te-icon-tile--peach { background: var(--te-peach); }
.te-icon-tile--blue { background: var(--te-blue); }
.te-icon-tile--orange { background: var(--te-orange); }

.te-list { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }

.te-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.te-dot--blue { background: var(--te-blue); }
.te-dot--orange { background: var(--te-orange); }
.te-dot--lime { background: var(--te-lime); }
.te-dot--peach { background: var(--te-peach); }

.te-grid { display: grid; gap: 24px; }
.te-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.te-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.te-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* ==========================================================================
   Header
   ========================================================================== */

.te-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(248, 248, 244, 0.94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--te-line);
}

.te-header__inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.te-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--te-ink); flex: none; }
.te-brand:hover { color: var(--te-ink); }
.te-brand__logo { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.te-brand__text { display: flex; flex-direction: column; }
.te-brand__name { font-family: var(--te-font-display); font-size: 24px; line-height: 1; }
.te-brand__tag { font-size: 12px; color: var(--te-muted); letter-spacing: 0.04em; margin-top: 4px; }

.te-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; }
.te-nav__list a { color: var(--te-ink); text-decoration: none; font-size: 16px; padding: 8px 0; }
.te-nav__list a:hover { color: var(--te-indigo); }
.te-nav__cta-mobile { display: none; }

.te-header__actions { display: flex; align-items: center; gap: 20px; }
.te-lang { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.te-lang a { color: var(--te-muted); text-decoration: none; min-width: 28px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.te-lang a.is-current { color: var(--te-ink); font-weight: 700; }
.te-lang__sep { color: #9a9aa8; }

.te-menu-btn {
	display: none; width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--te-line-strong); border-radius: 12px; background: var(--te-white);
	align-items: center; justify-content: center; cursor: pointer; color: var(--te-ink);
}
.te-menu-btn .te-menu-btn__open { display: inline-flex; }
.te-menu-btn .te-menu-btn__close { display: none; }
.te-menu-btn[aria-expanded="true"] .te-menu-btn__open { display: none; }
.te-menu-btn[aria-expanded="true"] .te-menu-btn__close { display: inline-flex; }

/* ==========================================================================
   Hero
   ========================================================================== */

.te-hero { padding: 88px 0 96px; }
.te-hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.te-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.te-hero__copy .te-eyebrow { margin: 0; }
.te-hero__title {
	font-family: var(--te-font-display); font-weight: 400;
	font-size: clamp(46px, 5.3vw, 76px); line-height: 1.04; letter-spacing: -0.02em;
}
.te-hero__copy .te-lead { max-width: 560px; }
.te-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.te-checks { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--te-muted); }
.te-checks li { display: flex; align-items: center; gap: 8px; }

.te-hero__visual { position: relative; min-height: 680px; }
.te-hero__blob { position: absolute; right: 0; top: 0; width: 88%; height: 560px; border-radius: 40px; background: var(--te-blue); }
.te-dash {
	position: absolute; left: 10px; top: 60px; width: min(540px, 92%);
	padding: 28px; background: var(--te-white); border-radius: 24px;
	box-shadow: 0 24px 60px rgba(23, 23, 58, 0.16);
	display: flex; flex-direction: column; gap: 20px;
}
.te-dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.te-dash__title { font-family: var(--te-font-display); font-size: 20px; line-height: 1.2; }
.te-dash__sub { font-size: 13px; color: var(--te-muted); margin-top: 4px; }
.te-dash__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.te-dash__metric { background: var(--te-bg); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--te-muted); }
.te-bar { display: block; height: 8px; border-radius: 4px; background: var(--te-line); overflow: hidden; }
.te-bar__fill { display: block; height: 100%; border-radius: 4px; }
.te-bar__fill--indigo { background: var(--te-indigo); }
.te-bar__fill--blue { background: var(--te-blue); }
.te-bar__fill--orange { background: var(--te-orange); }
.te-dash__activity { font-size: 13px; font-weight: 600; }
.te-dash__chart { height: 150px; display: flex; align-items: flex-end; gap: 14px; padding: 0 4px; border-bottom: 1px solid var(--te-line); margin-top: -10px; }
.te-dash__col { flex: 1; background: var(--te-blue); border-radius: 6px 6px 0 0; }
.te-dash__col.is-peak { background: var(--te-indigo); }
.te-dash__days { display: flex; gap: 14px; padding: 0 4px; font-size: 12px; color: var(--te-muted); margin-top: -10px; }
.te-dash__days span { flex: 1; text-align: center; }
.te-dash__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.te-dash__suffix { font-size: 12px; color: var(--te-muted); }

.te-hero__card {
	position: absolute; right: 24px; bottom: 0; width: 270px;
	padding: 18px 20px; background: var(--te-ink); color: #fff; border-radius: 18px;
	display: flex; flex-direction: column; gap: 6px;
}
.te-hero__card-eyebrow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--te-lime); }
.te-hero__card-title { font-family: var(--te-font-display); font-size: 18px; line-height: 1.25; }
.te-hero__card-text { font-size: 15px; line-height: 1.45; color: #e6e6ef; }

/* ==========================================================================
   Trust strip
   ========================================================================== */

.te-trust {
	padding: 30px 40px; background: var(--te-white); border: 1px solid var(--te-line); border-radius: var(--te-radius);
	display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap;
}
.te-trust__text { display: flex; align-items: center; gap: 14px; font-size: 17px; line-height: 1.5; }
.te-trust__text svg { flex: none; }
.te-trust__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.te-trust__label { font-size: 14px; color: var(--te-muted); margin-right: 4px; }

/* ==========================================================================
   Sections
   ========================================================================== */

.te-section { padding: var(--te-section) 0 calc(var(--te-section) - 10px); }
.te-section--tight-top { padding-top: 0; }
.te-section--dark { background: var(--te-ink); color: var(--te-bg); }
.te-section--white { background: var(--te-white); border-top: 1px solid var(--te-line); border-bottom: 1px solid var(--te-line); }

.te-section__head { display: flex; flex-direction: column; max-width: 820px; margin-bottom: 56px; }
.te-section__head .te-h2 + .te-lead { margin-top: 18px; }
.te-section__head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 60px; }
.te-section__head--split > div { max-width: 740px; }
.te-section__head--split > p { max-width: 460px; }
.te-section__head--end { align-items: flex-end; }

/* Services */
.te-service {
	background: var(--te-bg); color: var(--te-ink); border-radius: 26px; padding: 36px;
	display: flex; flex-direction: column; gap: 20px;
}
.te-service__num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--te-indigo); }
.te-service__num--orange { color: var(--te-orange-text); }
.te-service__link { margin-top: auto; font-weight: 600; text-decoration: none; }

/* Ops reports flow */
.te-flow {
	background: var(--te-white); border: 1px solid var(--te-line); border-radius: 30px; padding: 48px;
	display: flex; align-items: center; gap: 24px; margin-bottom: 56px;
}
.te-flow__col { display: flex; flex-direction: column; gap: 12px; }
.te-flow__tools, .te-flow__dash { width: 280px; flex: none; }
.te-flow__pipe { flex: 1; min-width: 0; }
.te-flow__arrow { flex: none; display: inline-flex; }
.te-flow__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.te-flow__list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--te-bg); font-size: 16px; line-height: 1.3; }
.te-flow__pipe-box { background: var(--te-blue-soft); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.te-flow__tech { font-size: 13px; line-height: 1.5; color: var(--te-ink); opacity: 0.85; }
.te-flow__dash-box { list-style: none; margin: 0; padding: 26px; background: var(--te-ink); color: var(--te-bg); border-radius: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.te-flow__dash-box li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.te-benefits .te-h3 { margin-bottom: 8px; }

/* Steps */
.te-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.te-step { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 3px solid var(--te-indigo); }
.te-step--blue { border-top-color: var(--te-blue); }
.te-step--peach { border-top-color: var(--te-peach); }
.te-step--lime { border-top-color: var(--te-lime); }
.te-step__num { font-family: var(--te-font-display); font-size: 48px; line-height: 1; color: var(--te-indigo); }
.te-step .te-h3 { margin-bottom: 8px; font-size: 26px; }

/* Cases */
.te-case { background: var(--te-white); border: 1px solid var(--te-line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.te-case__media { position: relative; height: 240px; display: flex; align-items: flex-end; }
.te-case__media--blue { background: var(--te-blue-soft); }
.te-case__media--peach { background: #f6d3bb; }
.te-case__media--lime { background: #eef08a; }
.te-case__media--indigo { background: #d9d7fb; }
.te-case__media.is-empty { height: 120px; }
.te-case__photo { width: 100%; height: 100%; object-fit: cover; }
.te-case__portrait { position: absolute; left: 32px; bottom: -44px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--te-white); background: var(--te-white); }
.te-case__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.te-case__tags--hero { padding: 32px; }
.te-case__body { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.te-case__media.has-portrait + .te-case__body { padding-top: 64px; }
.te-case__role { font-size: 14px; color: var(--te-muted); margin-bottom: 4px; }
.te-quote { margin: 6px 0 0; padding: 20px 22px; background: var(--te-bg); border-radius: 16px; }
.te-quote p { font-size: 17px; line-height: 1.55; font-style: italic; color: var(--te-ink); }
.te-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--te-muted); }

/* About */
.te-about {
	padding: 72px; background: var(--te-blue-soft); border-radius: 36px;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center;
}
.te-about--no-photo { grid-template-columns: minmax(0, 1fr); max-width: none; }
.te-about--no-photo .te-about__copy { max-width: 820px; }
.te-about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.te-about__copy { display: flex; flex-direction: column; gap: 22px; }
.te-about__copy .te-eyebrow { margin: 0; }
.te-about__copy .te-body { font-size: 18px; }
.te-about__sign { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; font-size: 15px; }
.te-about__name { font-family: var(--te-font-display); font-size: 22px; }

/* Offers */
.te-offers { align-items: stretch; }
.te-offer {
	position: relative; background: var(--te-white); border: 1px solid var(--te-line); border-radius: 26px; padding: 36px;
	display: flex; flex-direction: column; gap: 18px;
}
.te-offer--featured { background: var(--te-ink); color: var(--te-bg); border-color: var(--te-ink); }
.te-offer--featured .te-body { color: var(--te-on-dark); }
.te-offer--featured .te-h3 { padding-right: 120px; }
.te-offer__badge { position: absolute; top: 24px; right: 24px; }
.te-offer__price { font-family: var(--te-font-display); font-size: 36px; line-height: 1.2; }
.te-offer__suffix { font-family: var(--te-font-body); font-size: 16px; color: var(--te-muted); margin-left: 4px; }
.te-offer--featured .te-offer__suffix, .te-offer--featured .te-offer__monthly { color: var(--te-on-dark); }
.te-offer__monthly { display: block; font-family: var(--te-font-body); font-size: 16px; color: var(--te-muted); padding-top: 4px; }
.te-offer__cta { margin-top: auto; }
.te-offers__note { font-size: 15px; text-align: center; color: var(--te-muted); margin-top: 32px; }

/* FAQ */
.te-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; padding: 36px}
.te-faq__list { border-bottom: 1px solid var(--te-line-strong); }
.te-faq__item { border-top: 1px solid var(--te-line-strong); padding: 22px 0; }
.te-faq__item summary {
	font-family: var(--te-font-display); font-size: 22px; line-height: 1.3; cursor: pointer;
	list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.te-faq__item summary::-webkit-details-marker { display: none; }
.te-faq__item summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--te-indigo); flex: none; }
.te-faq__item[open] summary::after { content: "–"; }
.te-faq__item p { padding-top: 12px; }

/* Contact */
.te-contact {
	padding: 72px; background: var(--te-ink); color: var(--te-bg); border-radius: 36px;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding: 36px
}
.te-contact__copy { display: flex; flex-direction: column; gap: 22px; }
.te-contact__copy .te-eyebrow { margin: 0; }
.te-contact__details { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.te-contact__details li { display: flex; align-items: center; gap: 12px; }
.te-contact__details a { color: var(--te-bg); }
.te-contact__details a:hover { color: var(--te-lime); }

.te-form { background: var(--te-bg); color: var(--te-ink); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 18px; align-self: start; }
.te-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.te-field { display: flex; flex-direction: column; gap: 6px; }
.te-field label { font-size: 14px; font-weight: 600; }
.te-field input, .te-field select, .te-field textarea {
	width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #c9c9bd; border-radius: 12px; background: var(--te-white); font-size: 16px;
}
.te-field textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.te-field input:focus, .te-field select:focus, .te-field textarea:focus { outline: 2px solid var(--te-indigo); outline-offset: 1px; border-color: var(--te-indigo); }
.te-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--te-muted); }
.te-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--te-indigo); }
.te-form__submit { width: 100%; }
.te-form__note { font-size: 13px; color: var(--te-muted); text-align: center; }
.te-form__notice { padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.45; }
.te-form__notice--ok { background: #eef08a; color: var(--te-ink); }
.te-form__notice--error { background: #fde2d3; color: #7a2a06; }
.te-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */

.te-main > .te-container + .te-section,
.te-main > .te-section + .te-container { margin-top: 0; }
.te-footer { padding: 72px 0 48px; margin-top: var(--te-section); }
.te-footer__top { display: flex; justify-content: space-between; gap: 48px; }
.te-footer__about { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.te-footer__about p { font-size: 15px; color: var(--te-muted); line-height: 1.6; }
.te-footer__cols { display: flex; gap: 72px; font-size: 15px; }
.te-footer__col { display: flex; flex-direction: column; gap: 10px; }
.te-footer__col h2 { margin-bottom: 4px; }
.te-footer__col a { color: var(--te-ink); text-decoration: none; }
.te-footer__col a:hover { color: var(--te-indigo); }
.te-footer__bottom {
	display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
	margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--te-line); font-size: 13px; color: var(--te-muted);
}
.te-footer__legal { display: flex; gap: 20px; }
.te-footer__legal a { color: var(--te-muted); }

/* ==========================================================================
   Regular pages (legal, privacy, blog)
   ========================================================================== */

.te-page { padding: 72px 0 0; }
.te-prose { max-width: 820px; }
.te-page__title { font-family: var(--te-font-display); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; margin-bottom: 32px; }
.te-prose h2 { font-family: var(--te-font-display); font-weight: 400; font-size: 28px; margin: 40px 0 12px; }
.te-prose h3 { font-size: 20px; margin: 28px 0 8px; }
.te-prose p, .te-prose ul, .te-prose ol { margin: 0 0 16px; color: var(--te-muted); }
.te-entry { padding: 24px 0; border-bottom: 1px solid var(--te-line); }
.te-entry__title { font-family: var(--te-font-display); font-weight: 400; font-size: 26px; }
.te-entry__title a { color: var(--te-ink); text-decoration: none; }
.te-entry__date { font-size: 14px; color: var(--te-muted); margin: 4px 0 10px; }

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1180px) {
	:root { --te-gutter: 40px; --te-section: 96px; }

	.te-nav {
		position: fixed; inset: 88px 0 auto 0; z-index: 49;
		background: var(--te-bg); border-bottom: 1px solid var(--te-line);
		padding: 16px var(--te-gutter) 28px;
		display: none; flex-direction: column; gap: 16px;
		box-shadow: 0 20px 40px rgba(23, 23, 58, 0.12);
	}
	.te-nav.is-open { display: flex; }
	.te-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.te-nav__list a { display: flex; align-items: center; min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--te-line); }
	.te-nav__cta-mobile { display: inline-flex; }
	.te-menu-btn { display: inline-flex; }
	.te-header__cta { display: none; }

	.te-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.te-hero__visual { min-height: 0; padding: 22px; background: var(--te-blue); border-radius: 32px; display: flex; flex-direction: column; gap: 18px; }
	.te-hero__blob { display: none; }
	.te-dash { position: static; width: 100%; }
	.te-hero__card { position: static; width: auto; }

	.te-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.te-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.te-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }

	.te-flow { flex-direction: column; align-items: stretch; padding: 32px; }
	.te-flow__tools, .te-flow__dash { width: auto; }
	.te-flow__arrow { align-self: center; transform: rotate(90deg); }

	.te-about, .te-contact { grid-template-columns: minmax(0, 1fr); padding: 48px; gap: 40px; }
	.te-about__photo img { aspect-ratio: 3 / 2; }
	.te-faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.te-section__head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
	.te-footer__top { flex-direction: column; }
}

/* ==========================================================================
   Phone
   ========================================================================== */

@media (max-width: 760px) {
	:root { --te-gutter: 16px; --te-section: 64px; --te-radius: 20px; }
	body { font-size: 16px; }

	.te-header__inner { height: 68px; gap: 12px; }
	.te-nav { top: 68px; }
	.te-brand__logo { width: 36px; height: 36px; border-radius: 10px; }
	.te-brand__name { font-size: 21px; }
	.te-brand__tag { display: none; }
	.te-header__actions { gap: 6px; }
	.te-lang { font-size: 14px; }

	.te-eyebrow { font-size: 12px; margin-bottom: 14px; }
	.te-body { font-size: 16px; }
	.te-body--sm { font-size: 15px; }

	.te-hero { padding: 40px 0 48px; }
	.te-hero__copy { gap: 22px; }
	.te-hero__ctas { flex-direction: column; }
	.te-hero__ctas .te-btn { width: 100%; }
	.te-checks { flex-direction: column; }
	.te-hero__visual { padding: 16px; border-radius: 28px; }
	.te-dash { padding: 20px; gap: 16px; }
	.te-dash__title { font-size: 17px; }
	.te-dash__metrics { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.te-dash__metric { background: none; padding: 0; gap: 5px; }
	.te-dash__chart { height: 90px; gap: 10px; }
	.te-dash__days, .te-dash__chips { display: none; }

	.te-trust { padding: 22px; flex-direction: column; align-items: flex-start; }
	.te-trust__text { align-items: flex-start; font-size: 15px; }
	.te-trust__label { width: 100%; }
	.te-chip { height: 28px; padding: 0 12px; font-size: 13px; }

	.te-section__head { margin-bottom: 28px; }
	.te-grid, .te-grid--2, .te-grid--4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.te-card { padding: 24px; gap: 12px; border-radius: 20px; }
	.te-icon-tile { width: 44px; height: 44px; border-radius: 12px; }
	.te-service, .te-offer { padding: 26px; border-radius: 22px; gap: 14px; }
	.te-list { font-size: 15px; gap: 8px; }
	.te-offer__price { font-size: 28px; }
	.te-offer--featured .te-h3 { padding-right: 0; padding-top: 36px; }
	.te-offer__badge { top: 22px; left: 26px; right: auto; }

	.te-flow { padding: 22px; border-radius: 22px; gap: 12px; margin-bottom: 36px; }
	.te-flow__list li { padding: 12px 14px; font-size: 15px; }
	.te-flow__pipe-box, .te-flow__dash-box { padding: 20px; border-radius: 16px; }
	.te-flow__arrow svg { width: 32px; height: 32px; }

	.te-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.te-step { flex-direction: row; gap: 16px; padding-top: 18px; }
	.te-step__num { font-size: 34px; width: 48px; flex: none; }
	.te-step .te-h3 { font-size: 22px; margin-bottom: 6px; }

	.te-case { border-radius: 22px; }
	.te-case__media { height: 180px; }
	.te-case__media.is-empty { height: 96px; }
	.te-case__portrait { left: 22px; bottom: -36px; width: 76px; height: 76px; }
	.te-case__body { padding: 24px 22px; gap: 14px; }
	.te-case__media.has-portrait + .te-case__body { padding-top: 52px; }
	.te-case__tags--hero { padding: 22px; }
	.te-label { font-size: 12px; margin-bottom: 4px; }

	.te-about, .te-contact { padding: 28px 20px 32px; border-radius: 28px; gap: 24px; }
	.te-about__copy .te-body { font-size: 16px; }
	.te-faq__item { padding: 18px 0; }
	.te-faq__item summary { font-size: 19px; }
	.te-form { padding: 20px; border-radius: 20px; gap: 14px; }
	.te-form__row { grid-template-columns: minmax(0, 1fr); gap: 14px; }

	.te-footer { padding: 40px 0 32px; }
	.te-footer__cols { gap: 32px; flex-wrap: wrap; }
	.te-footer__bottom { flex-direction: column; }
	.te-page { padding-top: 40px; }
}

/* ==========================================================================
   Static-site additions (no inline styles, so the CSP can stay strict)
   ========================================================================== */

.te-w82 { width: 82%; } .te-w68 { width: 68%; } .te-w74 { width: 74%; }
.te-h58 { height: 58%; } .te-h76 { height: 76%; } .te-h64 { height: 64%; } .te-h88 { height: 88%; } .te-h70 { height: 70%; }
.te-404__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.te-prose a { color: var(--te-indigo); }
.te-prose strong { color: var(--te-ink); }
[hidden] { display: none !important; }

/* Offer price prefix ("From" / "À partir de") */
.te-offer__prefix { display: block; font-family: var(--te-font-body); font-size: 14px; letter-spacing: 0.04em; color: var(--te-muted); margin-bottom: 2px; }
.te-offer--featured .te-offer__prefix { color: var(--te-on-dark); }
.te-footer__areas { font-size: 13px !important; }

/* ==========================================================================
   Portfolio sections
   ========================================================================== */

.te-section--tint { background: #eef2fd; }

/* Before → After */
.te-ba { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.te-ba__pair { display: flex; flex-direction: column; background: var(--te-white); border: 1px solid var(--te-line); border-radius: 22px; overflow: hidden; }
.te-ba__before { padding: 24px 26px 18px; background: #f1f1ec; color: var(--te-muted); }
.te-ba__after { padding: 18px 26px 26px; flex-grow: 1; }
.te-ba__before p { font-size: 16px; line-height: 1.55; }
.te-ba__after p { font-size: 17px; line-height: 1.5; color: var(--te-ink); font-family: var(--te-font-display); }
.te-ba__arrow { display: flex; justify-content: center; margin: -14px 0 -10px; position: relative; z-index: 1; }
.te-ba__arrow svg { background: var(--te-white); border: 1px solid var(--te-line); border-radius: 50%; padding: 4px; width: 32px; height: 32px; }
.te-ba__label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6a6a7c; margin-bottom: 8px; }
.te-ba__label--after { color: var(--te-ink); background: var(--te-lime); padding: 3px 9px; border-radius: 999px; }

/* Services format line */
.te-service__format { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--te-line); font-size: 15px; color: var(--te-ink); }
.te-service__format span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--te-indigo); margin-bottom: 4px; }

/* Day rate badge */
.te-rate { display: flex; flex-direction: column; gap: 4px; padding: 18px 24px; border-radius: 18px; background: var(--te-ink); color: var(--te-bg); min-width: 260px; }
.te-rate__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--te-lime); }
.te-rate__value { font-family: var(--te-font-display); font-size: 24px; line-height: 1.2; }

/* Experience timeline */
.te-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.te-timeline__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 36px 0; border-top: 1px solid var(--te-line-strong); }
.te-timeline__item:last-child { border-bottom: 1px solid var(--te-line-strong); }
.te-timeline__org { font-family: var(--te-font-display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; color: var(--te-ink); }
.te-timeline__role { font-size: 17px; font-weight: 600; color: var(--te-indigo); margin-top: 6px; }
.te-timeline__when { font-size: 14px; color: var(--te-muted); margin-top: 6px; }
.te-timeline__list { font-size: 17px; color: var(--te-ink); }

/* Selected work */
.te-work__card { background: var(--te-white); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #dfe5f6; }
.te-work__photo { width: 100%; height: 220px; object-fit: cover; }
.te-work__body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.te-work__tag { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--te-indigo); }
.te-work__k { color: var(--te-ink); font-weight: 600; }
.te-work__ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.te-work__before, .te-work__after { border-radius: 16px; padding: 16px 18px; }
.te-work__before { background: #f1f1ec; }
.te-work__after { background: #eef08a; }
.te-work__stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }

/* GitHub */
.te-gh__intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 460px; }
.te-gh__intro .te-btn { gap: 8px; }
.te-gh__card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--te-white); border: 1px solid var(--te-line); border-radius: 20px; text-decoration: none; color: var(--te-ink); transition: border-color .15s, transform .15s; min-height: 170px; }
.te-gh__card:hover { border-color: var(--te-indigo); color: var(--te-ink); transform: translateY(-2px); }
.te-gh__card--empty { border-style: dashed; grid-column: span 3; min-height: 0; }
.te-gh__name { display: flex; align-items: center; gap: 10px; font-family: var(--te-font-display); font-size: 20px; line-height: 1.25; word-break: break-word; }
.te-gh__name svg { flex: none; }
.te-gh__desc { font-size: 15px; line-height: 1.55; color: var(--te-muted); }
.te-gh__meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--te-muted); }
.te-gh__lang { display: inline-flex; align-items: center; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .te-gh__card { transition: none; } .te-gh__card:hover { transform: none; } }

@media (max-width: 1180px) {
	.te-ba { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.te-timeline__item { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.te-gh__card--empty { grid-column: auto; }
	.te-grid--3.te-gh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.te-ba { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.te-ba__before { padding: 20px 20px 16px; }
	.te-ba__after { padding: 16px 20px 22px; }
	.te-rate { min-width: 0; width: 100%; }
	.te-timeline__item { padding: 26px 0; }
	.te-timeline__list { font-size: 16px; }
	.te-work__body { padding: 22px; gap: 14px; }
	.te-work__ba { grid-template-columns: minmax(0, 1fr); }
	.te-grid--3.te-gh { grid-template-columns: minmax(0, 1fr); }
}

/* Portfolio hero: wider copy column for the longer headline */
.te-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.te-hero__title { font-size: clamp(44px, 5vw, 72px); }
@media (max-width: 1180px) { .te-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.te-hero__visual { min-height: 720px; } @media (max-width: 1180px) { .te-hero__visual { min-height: 0; } }

/* Local business execution solutions */
.te-local { background: var(--te-blue-soft); }
.te-local__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; margin-bottom: 56px; }
.te-local__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.te-local__copy .te-eyebrow { margin: 0; }
.te-local__badge { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; background: var(--te-ink); color: var(--te-lime); padding: 8px 16px; border-radius: 999px; }
.te-local__sub { color: var(--te-ink); }
.te-local__audience { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; font-weight: 600; color: var(--te-ink); }
.te-local__audience svg { flex: none; margin-top: 2px; }
.te-local__mascot { display: flex; justify-content: center; align-items: center; }
.te-local__mascot img { width: 100%; max-width: 440px; height: auto; aspect-ratio: 1; object-fit: contain; }
.te-local__shape { display: block; width: 100%; max-width: 380px; aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: var(--te-lime); }
.te-local__caps .te-card { border-color: transparent; }
.te-local__sprints { margin-top: 28px; padding: 32px; background: var(--te-white); border-radius: 24px; }
.te-local__sprints ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.te-local__sprints li { display: flex; gap: 14px; align-items: flex-start; }
.te-local__sprints strong { display: block; font-family: var(--te-font-display); font-weight: 400; font-size: 20px; color: var(--te-ink); margin-bottom: 4px; }
.te-local__sprints p { font-size: 15px; line-height: 1.55; color: var(--te-muted); }
.te-local__n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--te-indigo); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
@media (max-width: 1180px) {
	.te-local__head { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.te-local__mascot { order: -1; justify-content: flex-start; }
	.te-local__mascot img { max-width: 260px; }
	.te-local__sprints ol { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 760px) {
	.te-local__head { margin-bottom: 32px; }
	.te-local__mascot img { max-width: 200px; }
	.te-local__sprints { padding: 22px; }
}
