/*
 * TuneUp website (main domain: tuneup.golf) — shared design system for layouts.landing.
 * Dark TuneUp navy (from the logo) + TuneUp blue, Archivo headlines, Hanken Grotesk text.
 * The one bold element is the contour-line band (a green's slope map, like a yardage book)
 * used by the hero and the closing call to action. Everything else stays quiet.
 */
:root {
    --tu-navy-950: #061430;
    --tu-navy-900: #0a1f45;
    --tu-navy-800: #10306a;
    --tu-navy-600: #0b5cad;
    --tu-navy-100: #e5eefa;
    --tu-mist: #f2f5fa;
    --tu-ink: #0b1730;
    --tu-body: #44516a;
    --tu-muted: #687590;
    --tu-line: #dde4ee;
    --tu-white: #ffffff;
    --tu-blue: #0072CE;
    --tu-blue-700: #005fae;
    --tu-blue-50: #eaf4fc;
    --tu-flag: #f2c94c;
    --tu-on-dark: #c3d0e6;
    --tu-radius: 14px;
    --tu-head: 'Archivo', 'Hanken Grotesk', system-ui, sans-serif;
    --tu-text: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --tu-header-h: 76px;
    /* kept for older markup (signup pages, legacy classes) */
    --primary-blue: #0072CE;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tu-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    font-family: var(--tu-text);
    color: var(--tu-body);
    background: var(--tu-white);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--tu-head); color: var(--tu-ink); letter-spacing: -0.015em; }
a { color: var(--tu-blue); }
a:hover { color: var(--tu-blue-700); }
img { max-width: 100%; }
::selection { background: var(--tu-navy-100); color: var(--tu-ink); }

.tu-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tu-wrap-narrow { max-width: 860px; }

/* ── Buttons ──────────────────────────────────────────────── */
.tu-btn, .btn-primary-custom {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--tu-blue); color: #fff; border: 1.5px solid var(--tu-blue);
    font-family: var(--tu-text); font-size: 16px; font-weight: 600; line-height: 1.2;
    padding: 14px 26px; border-radius: 10px; text-decoration: none; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.tu-btn:hover, .btn-primary-custom:hover { background: var(--tu-blue-700); border-color: var(--tu-blue-700); color: #fff; }
.tu-btn-line {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; color: var(--tu-ink); border: 1.5px solid #c6d0e0;
    font-size: 16px; font-weight: 600; padding: 14px 24px; border-radius: 10px; text-decoration: none;
    transition: border-color .15s, background-color .15s;
}
.tu-btn-line:hover { border-color: var(--tu-ink); color: var(--tu-ink); background: #fff; }
.tu-on-dark .tu-btn-line { color: #fff; border-color: rgba(255, 255, 255, .35); }
.tu-on-dark .tu-btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); color: #fff; }
.btn-secondary-custom { display: inline-flex; padding: 12px 24px; border-radius: 10px; background: var(--tu-navy-800); color: #fff; font-weight: 600; text-decoration: none; }
.btn-secondary-custom:hover { background: var(--tu-navy-900); color: #fff; }
.tu-btn:focus-visible, .tu-btn-line:focus-visible, .btn-primary-custom:focus-visible, .tu-textlink:focus-visible { outline: 2px solid var(--tu-flag); outline-offset: 3px; }
.tu-textlink { font-weight: 600; text-decoration: none; color: var(--tu-blue); }
.tu-textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.tu-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Dark contour band (hero + closing CTA) ───────────────── */
.tu-on-dark { color: var(--tu-on-dark); }
.tu-on-dark h1, .tu-on-dark h2, .tu-on-dark h3 { color: #fff; }
.tu-contour { position: relative; isolation: isolate; overflow: hidden; background: var(--tu-navy-900); }
.tu-contour::before { /* the contour lines, on their own layer so they can drift */
    content: ''; position: absolute; inset: -6%; z-index: -1; pointer-events: none;
    background: url('../images/site/contours.svg') center / cover no-repeat;
}
.tu-contour::after { /* soft light from the top right */
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(900px 500px at 85% 0%, rgba(32, 96, 190, .55), transparent 70%);
}

/* ── Hero ─────────────────────────────────────────────────── */
.tu-hero { padding: calc(var(--tu-header-h) + 72px) 0 88px; }
.tu-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.tu-hero-grid.is-single { grid-template-columns: minmax(0, 820px); }
.tu-hero h1 {
    font-size: clamp(40px, 4.2vw, 56px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em;
    font-stretch: 108%; margin: 0 0 22px; text-wrap: balance;
}
.tu-hero-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 560px; margin: 0 0 34px; color: var(--tu-on-dark); }
.tu-hero-note { margin: 18px 0 0; font-size: 14px; color: #9fb0cf; }
.tu-hero-visual { position: relative; }
.tu-hero.is-compact { padding-bottom: 64px; }
.tu-hero.is-compact h1 { font-size: clamp(36px, 4.4vw, 54px); }

/* The pin: a small flag-yellow marker used once, under the hero headline */
.tu-pin { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 15px; font-weight: 600; color: #e8eef8; }
.tu-pin::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--tu-flag); box-shadow: 0 0 0 5px rgba(242, 201, 76, .18); }

/* ── Sections ─────────────────────────────────────────────── */
.tu-sec { padding: 104px 0; }
.tu-sec:not(.tu-mist):not(.tu-contour) + .tu-sec:not(.tu-mist):not(.tu-contour) { padding-top: 24px; }
.tu-mist { background: var(--tu-mist); }
.tu-head { max-width: 680px; margin: 0 0 52px; }
.tu-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.tu-head h2, .tu-h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 750; line-height: 1.08; letter-spacing: -0.025em; font-stretch: 104%; margin: 0 0 16px; text-wrap: balance; }
.tu-lead { font-size: 18px; line-height: 1.65; color: var(--tu-body); margin: 0; }
.tu-on-dark .tu-lead { color: var(--tu-on-dark); }
.tu-h3 { font-size: 22px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; }

/* ── Frames for product screenshots ───────────────────────── */
.tu-browser {
    border-radius: var(--tu-radius); overflow: hidden; background: #fff;
    border: 1px solid rgba(16, 32, 26, .1);
    box-shadow: 0 1px 2px rgba(6, 20, 48, .06), 0 24px 60px -20px rgba(6, 20, 48, .28);
}
.tu-browser::before { /* window bar */
    content: ''; display: block; height: 30px; border-bottom: 1px solid #e8edf4;
    background: #f7f9fc radial-gradient(circle at 16px 15px, #d5dce8 4px, transparent 4.5px),
                       radial-gradient(circle at 30px 15px, #d5dce8 4px, transparent 4.5px),
                       radial-gradient(circle at 44px 15px, #d5dce8 4px, transparent 4.5px);
    background-repeat: no-repeat;
}
.tu-browser img { display: block; width: 100%; height: auto; }
.tu-on-dark .tu-browser { border-color: rgba(255, 255, 255, .12); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .55); }
.tu-phone {
    width: min(270px, 100%); border-radius: 38px; padding: 9px; background: #0b111f;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 30px 70px -22px rgba(6, 20, 48, .45);
}
.tu-phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.tu-caption { margin: 14px 0 0; font-size: 14px; color: var(--tu-muted); line-height: 1.55; }
.tu-stack { position: relative; padding: 0 0 40px 0; }
.tu-stack .tu-phone { position: absolute; right: -8px; bottom: 0; width: 180px; }

/* ── Feature rows (text beside a screenshot, alternating) ─── */
.tu-rows { display: grid; gap: 112px; }
.tu-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.tu-row.is-flip > :first-child { order: 2; }
.tu-row.is-phone { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.tu-row.is-phone .tu-row-visual { display: flex; justify-content: center; }
.tu-row h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 750; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
.tu-row p { margin: 0 0 18px; }

/* ── Check list ───────────────────────────────────────────── */
.tu-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tu-checks li { position: relative; padding-left: 32px; color: var(--tu-ink); font-size: 16px; line-height: 1.5; }
.tu-checks li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--tu-navy-100);
}
.tu-checks li::after {
    content: ''; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px;
    border-left: 2px solid var(--tu-navy-600); border-bottom: 2px solid var(--tu-navy-600); transform: rotate(-45deg);
}
.tu-checks small { display: block; color: var(--tu-body); font-size: 15px; margin-top: 2px; }
.tu-on-dark .tu-checks li { color: #fff; }
.tu-on-dark .tu-checks li::before { background: rgba(255, 255, 255, .1); }
.tu-on-dark .tu-checks li::after { border-color: var(--tu-flag); }

/* ── Problem list ("Sound familiar?") ─────────────────────── */
.tu-problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--tu-line); }
.tu-problem { padding: 28px 0 28px 44px; border-bottom: 1px solid var(--tu-line); position: relative; }
.tu-problem::before { /* a missed putt: the ball short of the hole */
    content: ''; position: absolute; left: 0; top: 33px; width: 22px; height: 22px; border-radius: 50%;
    border: 2px dashed #c9a24a;
}
.tu-problem h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.tu-problem p { margin: 0; font-size: 16px; }

/* ── Cards ────────────────────────────────────────────────── */
.tu-grid { display: grid; gap: 24px; }
.tu-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tu-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tu-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tu-card { background: #fff; border: 1px solid var(--tu-line); border-radius: var(--tu-radius); padding: 30px 28px; display: flex; flex-direction: column; }
.tu-mist .tu-card { border-color: #e1e7f0; }
.tu-card h3 { font-size: 21px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; }
.tu-card p { margin: 0 0 16px; font-size: 16px; }
.tu-card > :last-child { margin-bottom: 0; }
.tu-card .tu-textlink { margin-top: auto; padding-top: 6px; }
.tu-card-media { margin: -30px -28px 24px; border-bottom: 1px solid var(--tu-line); background: var(--tu-mist); border-radius: var(--tu-radius) var(--tu-radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.tu-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.tu-card-media.is-phone { display: flex; justify-content: center; padding-top: 22px; background: var(--tu-navy-100); }
.tu-card-media.is-phone img { width: 46%; height: auto; object-fit: initial; border-radius: 16px 16px 0 0; box-shadow: 0 10px 30px -10px rgba(6, 20, 48, .35); }
.tu-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tu-navy-100); color: var(--tu-navy-600); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tu-icon svg { width: 22px; height: 22px; }
.tu-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.tu-tags li, .tu-tag { font-size: 13px; font-weight: 600; color: var(--tu-navy-600); background: var(--tu-navy-100); padding: 4px 11px; border-radius: 999px; }

/* ── Audience: three wide rows with a short label column ──── */
.tu-who { display: grid; border-top: 1px solid var(--tu-line); }
.tu-who-item { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr) auto; gap: 40px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--tu-line); }
.tu-who-item h3 { font-size: 24px; font-weight: 750; line-height: 1.2; margin: 0; }
.tu-who-item p { margin: 0; }
.tu-who-item .tu-tags { margin: 0; justify-content: flex-end; max-width: 260px; }

/* ── Comparison (before / after) ──────────────────────────── */
.tu-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tu-compare > div { border-radius: var(--tu-radius); padding: 34px 32px; }
.tu-compare .is-before { background: #fff; border: 1px solid var(--tu-line); }
.tu-compare .is-after { background: var(--tu-navy-900); color: var(--tu-on-dark); }
.tu-compare h3 { font-size: 20px; margin: 0 0 18px; }
.tu-compare .is-after h3 { color: #fff; }
.tu-compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tu-compare li { position: relative; padding-left: 30px; line-height: 1.5; }
.tu-compare .is-before li { color: var(--tu-body); }
.tu-compare .is-before li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 14px; height: 2px; background: #b9c3d4; }
.tu-compare .is-after li { color: #fff; }
.tu-compare .is-after li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--tu-flag); border-bottom: 2px solid var(--tu-flag); transform: rotate(-45deg); }

/* ── Steps (a real sequence) ──────────────────────────────── */
.tu-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; counter-reset: tu-step; }
.tu-steps li { counter-increment: tu-step; position: relative; padding: 18px 0 18px 64px; }
.tu-steps li::before {
    content: counter(tu-step); position: absolute; left: 0; top: 16px; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-family: var(--tu-head); font-weight: 750; font-size: 17px;
    color: var(--tu-navy-900); background: #fff; border: 1.5px solid var(--tu-navy-600);
}
.tu-steps li:not(:last-child)::after { content: ''; position: absolute; left: 20px; top: 58px; bottom: -14px; width: 1.5px; background: var(--tu-line); }
.tu-steps h3 { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.tu-steps p { margin: 0; font-size: 16px; }

/* ── Quote / pull statement ───────────────────────────────── */
.tu-quote { font-family: var(--tu-head); font-size: clamp(26px, 3vw, 38px); font-weight: 650; line-height: 1.22; letter-spacing: -0.02em; color: var(--tu-ink); margin: 0 0 20px; text-wrap: balance; }
.tu-quote-by { color: var(--tu-muted); font-size: 16px; margin: 0; }

/* ── Trusted by ───────────────────────────────────────────── */
.tu-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; margin: 30px 0 0; padding: 0; list-style: none; }
.tu-trust li { font-family: var(--tu-head); font-size: 17px; font-weight: 650; color: #8a97ae; letter-spacing: -0.01em; }

/* ── Closing call to action ───────────────────────────────── */
.tu-cta { padding: 96px 0; }
.tu-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.tu-cta h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; font-stretch: 106%; margin: 0 0 14px; max-width: 720px; text-wrap: balance; }
.tu-cta p { margin: 0; max-width: 560px; font-size: 18px; }

/* ── Simple page head (legal, blog, forms) ────────────────── */
.tu-pagehead { padding: calc(var(--tu-header-h) + 64px) 0 56px; }
.tu-pagehead h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; font-stretch: 106%; margin: 0 0 14px; }
.tu-pagehead p { margin: 0; font-size: 18px; max-width: 640px; }
.tu-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; color: #9fb0cf; }

/* ── Legal documents (privacy, terms) ─────────────────────── */
.tu-doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; padding: 72px 0 104px; }
.tu-toc { position: sticky; top: calc(var(--tu-header-h) + 24px); font-size: 14px; }
.tu-toc p { font-family: var(--tu-head); font-weight: 700; color: var(--tu-ink); font-size: 15px; margin: 0 0 12px; }
.tu-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--tu-line); }
.tu-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--tu-muted); text-decoration: none; line-height: 1.35; }
.tu-toc a:hover { color: var(--tu-ink); }
.tu-toc a.is-on { color: var(--tu-navy-600); border-left-color: var(--tu-navy-600); font-weight: 600; }
.tu-prose { max-width: 760px; font-size: 17px; line-height: 1.75; }
.tu-prose > section { padding: 0 0 40px; margin: 0 0 40px; border-bottom: 1px solid var(--tu-line); scroll-margin-top: calc(var(--tu-header-h) + 20px); }
.tu-prose > section:last-of-type { border-bottom: 0; }
.tu-prose h2 { font-size: 28px; font-weight: 750; line-height: 1.2; margin: 0 0 18px; display: flex; gap: 14px; align-items: baseline; }
.tu-prose h2 .n { font-size: 15px; font-weight: 700; color: var(--tu-navy-600); min-width: 26px; }
.tu-prose h3 { font-size: 19px; font-weight: 700; margin: 26px 0 8px; }
.tu-prose p { margin: 0 0 16px; }
.tu-prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.tu-prose ul li { position: relative; padding-left: 22px; }
.tu-prose ul li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--tu-navy-600); }
.tu-prose strong { color: var(--tu-ink); }
.tu-note { background: var(--tu-mist); border-left: 3px solid var(--tu-navy-600); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 0 0 18px; color: var(--tu-ink); font-size: 16px; }
.tu-note > :last-child { margin-bottom: 0; }
.tu-note.is-caps { font-size: 14px; letter-spacing: .01em; color: var(--tu-body); }
.tu-doc-foot { color: var(--tu-muted); font-size: 15px; margin: 0; }

/* ── Forms ────────────────────────────────────────────────── */
.tu-form-card { background: #fff; border: 1px solid var(--tu-line); border-radius: 18px; padding: 40px; box-shadow: 0 30px 70px -40px rgba(6, 20, 48, .35); }
.tu-field { margin: 0 0 18px; }
.tu-field label { display: block; font-size: 14px; font-weight: 600; color: var(--tu-ink); margin: 0 0 7px; }
.tu-field input, .tu-field textarea, .tu-field select {
    width: 100%; font: inherit; font-size: 16px; color: var(--tu-ink); background: #fff;
    border: 1.5px solid #cfd8e6; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.tu-field textarea { min-height: 130px; resize: vertical; }
.tu-field input:focus, .tu-field textarea:focus, .tu-field select:focus { outline: none; border-color: var(--tu-navy-600); box-shadow: 0 0 0 4px rgba(32, 96, 190, .14); }
.tu-field .is-invalid, .tu-field input[aria-invalid="true"] { border-color: #c2412d; }
.tu-error { color: #b42318; font-size: 14px; margin: 6px 0 0; }
.tu-alert { border-radius: 10px; padding: 14px 18px; margin: 0 0 22px; font-size: 15px; }
.tu-alert.is-ok { background: #e7f5ec; color: #14532d; border: 1px solid #bfe3cc; }
.tu-alert.is-bad { background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bc; }

/* ── Motion ───────────────────────────────────────────────
 * Hero: a load sequence (tu-rise), a slowly drifting contour map and a gently floating phone.
 * Page: sections and cards rise in as they scroll into view (tu-reveal, added by the script in
 * layouts.landing, which also sets html.tu-js — without JS nothing is hidden). Cards and
 * screenshots respond to hover. Everything is off for people who prefer reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .tu-rise { animation: tu-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
    .tu-rise-2 { animation-delay: .08s; }
    .tu-rise-3 { animation-delay: .16s; }
    .tu-rise-4 { animation-delay: .28s; }
    @keyframes tu-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

    .tu-contour::before { animation: tu-drift 38s ease-in-out infinite alternate; }
    @keyframes tu-drift { from { transform: translate3d(-1.5%, 0, 0) scale(1); } to { transform: translate3d(1.5%, -2%, 0) scale(1.06); } }

    .tu-hero .tu-stack .tu-phone { animation: tu-float 7s ease-in-out 1.2s infinite; }
    @keyframes tu-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    .tu-pin::before { animation: tu-ping 2.8s ease-out 1s infinite; }
    @keyframes tu-ping { 0% { box-shadow: 0 0 0 0 rgba(242, 201, 76, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(242, 201, 76, 0); } }

    html.tu-js .tu-reveal {
        opacity: 0; transform: translateY(26px);
        transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
        transition-delay: var(--tu-d, 0s);
    }
    html.tu-js .tu-reveal.is-shot { transform: translateY(34px) scale(.97); }
    html.tu-js .tu-reveal.is-in { opacity: 1; transform: none; }

    .tu-card, .tp-card, .tu-browser, .tu-compare > div { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
    .tu-card:hover, .tp-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(6, 20, 48, .35); }
    .tu-card:hover { border-color: #c9d6ea; }
    .tu-card-media img { transition: transform .5s ease; }
    .tu-card:hover .tu-card-media img { transform: scale(1.03); }
    .tu-row-visual .tu-browser:hover { transform: translateY(-4px); }
    .tu-btn, .tu-btn-line, .tp-btn { transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
    .tu-btn:hover, .tu-btn-line:hover, .tp-btn:hover { transform: translateY(-1px); }
    .tu-btn:active, .tu-btn-line:active, .tp-btn:active { transform: translateY(0); }
    .tu-checks li::before { transition: transform .3s ease; }
    .tu-checks li:hover::before { transform: scale(1.12); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .tu-who-item { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
    .tu-who-item .tu-tags { grid-column: 2; justify-content: flex-start; max-width: none; }
    .tu-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    :root { --tu-header-h: 68px; }
    .tu-sec { padding: 80px 0; }
    .tu-hero { padding: calc(var(--tu-header-h) + 48px) 0 64px; }
    .tu-hero-grid, .tu-row, .tu-row.is-phone { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .tu-row.is-flip > :first-child { order: 0; }
    .tu-rows { gap: 80px; }
    .tu-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .tu-doc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
    .tu-toc { position: static; margin: 0 0 40px; }
    .tu-toc ol { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
    .tu-toc a { border: 1px solid var(--tu-line); border-radius: 999px; padding: 6px 12px; margin: 0; }
    .tu-toc a.is-on { border-color: var(--tu-navy-600); }
    .tu-cta-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 767.98px) {
    body { font-size: 16px; }
    .tu-sec { padding: 64px 0; }
    .tu-wrap { padding: 0 16px; }
    .tu-problems, .tu-grid-2, .tu-compare, .tu-grid-4 { grid-template-columns: minmax(0, 1fr); }
    .tu-who-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .tu-who-item .tu-tags { grid-column: auto; }
    .tu-head { margin-bottom: 36px; }
    .tu-form-card { padding: 26px 20px; }
    .tu-stack .tu-phone { width: 130px; right: -4px; }
    .tu-actions .tu-btn, .tu-actions .tu-btn-line { flex: 1 1 auto; }
}
