/* ==========================================================================
   Utility pages — 404, Privacy Policy, Terms & Conditions (prefix: ut-)
   ========================================================================== */

/* ---------- 404 hero (navy) ---------- */
.ut-404 { padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 120px); isolation: isolate; }
.ut-404::after { content: ""; position: absolute; right: -8%; top: 50%; width: min(760px, 90vw); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(43, 214, 123, .14), transparent 62%); pointer-events: none; z-index: 0; }
.ut-404 .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.ut-404 h1 { margin-top: 4px; }
.ut-404 .lead { max-width: 54ch; }
.ut-404__hint { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .9rem; color: var(--muted-dark); }
.ut-404__hint a { color: #fff; font-weight: 600; }
.ut-404__hint a:hover { color: var(--green); }
.ut-404__hint .icon { width: 16px; height: 16px; color: var(--green); }
.ut-404__hint span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 960px) {
  .ut-404 .page-hero__grid { grid-template-columns: 1fr; }
  .ut-404::after { top: 75%; right: -30%; }
}
@media (max-width: 480px) {
  .ut-404 .btn-row .btn { flex: 1 1 100%; }
}

/* Thermostat / AC controller display */
.ut-stat { position: relative; width: 100%; max-width: 450px; margin-inline: auto; padding: clamp(14px, 2.2vw, 20px); border-radius: 22px; background: linear-gradient(160deg, #ffffff 0%, #eef3f9 55%, #dfe7f1 100%); box-shadow: 0 34px 80px rgba(0, 0, 0, .45), 0 8px 20px rgba(0, 0, 0, .25), inset 0 1px 0 #fff, inset 0 -2px 0 rgba(11, 20, 51, .08); }
.ut-stat__screen { position: relative; overflow: hidden; padding: 16px 18px 14px; border-radius: 14px; background: radial-gradient(120% 90% at 50% 0%, #10225a 0%, #07123f 45%, #040b2c 100%); color: var(--green); font-family: var(--font-mono); box-shadow: inset 0 2px 12px rgba(0, 0, 0, .65), 0 0 0 1px rgba(11, 20, 51, .5); }
.ut-stat__screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); pointer-events: none; }
.ut-stat__screen::before { content: ""; position: absolute; left: -20%; top: -60%; width: 80%; height: 120%; background: linear-gradient(115deg, rgba(255, 255, 255, .07), transparent 60%); transform: rotate(-8deg); pointer-events: none; }

.ut-stat__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.ut-stat__err { display: inline-flex; align-items: center; gap: 8px; }
.ut-stat__err b { font-weight: 500; padding: 2px 7px; border: 1px solid currentColor; border-radius: 4px; animation: utBlink 1.6s steps(1, end) infinite; }
.ut-stat__err span { color: rgba(43, 214, 123, .7); }
.ut-stat__modes { display: inline-flex; align-items: center; gap: 10px; }
.ut-stat__modes .icon { width: 16px; height: 16px; stroke-width: 2; }
.ut-stat__modes .is-dim { opacity: .28; }
.ut-stat__fan { animation: utSpin 2.4s linear infinite; transform-origin: 50% 50%; }

.ut-lcd { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 14px 0 10px; line-height: 1; }
.ut-lcd__digits { position: relative; font-size: clamp(5rem, 21vw, 8.25rem); font-weight: 500; letter-spacing: -.04em; line-height: .95; }
.ut-lcd__ghost { position: absolute; inset: 0; color: rgba(43, 214, 123, .07); text-shadow: none; }
.ut-lcd__value { position: relative; display: block; text-shadow: 0 0 18px rgba(43, 214, 123, .55), 0 0 2px rgba(43, 214, 123, .9); animation: utFlicker 6s linear infinite; }
.ut-lcd__unit { margin-top: .55em; font-size: clamp(1rem, 2.4vw, 1.3rem); color: rgba(43, 214, 123, .85); }

.ut-stat__rows { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(43, 214, 123, .18); padding-top: 10px; gap: 8px; }
.ut-stat__rows div { min-width: 0; }
.ut-stat__rows dt { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(43, 214, 123, .55); }
.ut-stat__rows dd { margin: 2px 0 0; font-size: .86rem; color: #c9f5dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ut-stat__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 2px 4px 0; }
.ut-stat__btns { display: flex; gap: 10px; }
.ut-stat__btns span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, #ffffff, #e6edf5); border: 1px solid var(--line-strong); color: var(--ink-2); box-shadow: 0 2px 4px rgba(11, 20, 51, .12); }
.ut-stat__btns .icon { width: 16px; height: 16px; }
.ut-stat__btns span:first-child { color: var(--green-600); }
.ut-stat__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ut-stat__brand .live-dot { width: 7px; height: 7px; }
@media (max-width: 400px) {
  .ut-stat__btns { gap: 6px; }
  .ut-stat__btns span { width: 32px; height: 32px; }
  .ut-stat__brand { font-size: .6rem; letter-spacing: .08em; }
  .ut-stat__screen { padding: 14px 14px 12px; }
}

@keyframes utBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }
@keyframes utSpin { to { transform: rotate(360deg); } }
@keyframes utFlicker {
  0%, 18%, 20%, 62%, 64%, 66%, 100% { opacity: 1; }
  19% { opacity: .55; }
  63% { opacity: .35; }
  65% { opacity: .8; }
}

/* ---------- 404 quick links (light) ---------- */
.ut-links .s-head { margin-bottom: clamp(28px, 4vw, 44px); }
.ut-link-card { display: flex; flex-direction: column; height: 100%; color: inherit; }
.ut-link-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ut-link-card__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--green-600); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.ut-link-card__go .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.ut-link-card h3 { margin-top: 22px; font-size: 1.2rem; }
.ut-link-card p { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.ut-link-card__meta { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; color: var(--green-700); }
.ut-link-card:hover h3 { color: var(--green-700); }
.ut-link-card:hover .ut-link-card__go { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.ut-link-card:hover .ut-link-card__go .icon { transform: rotate(-45deg); }

.ut-popular { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: clamp(20px, 2.6vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); }
.ut-popular h2 { font-size: 1.05rem; letter-spacing: -.01em; }
.ut-popular__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ut-popular__chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--gray-50); font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s; }
.ut-popular__chips a:hover { border-color: var(--green-600); color: var(--green-700); background: var(--green-tint); }
.ut-popular__report { font-size: .9rem; color: var(--muted); max-width: 34ch; }
.ut-popular__report a { color: var(--green-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .ut-popular { grid-template-columns: 1fr; } .ut-popular__report { max-width: none; } }

/* ---------- Legal page hero ---------- */
.ut-legal-hero .page-hero__grid { align-items: end; }
.ut-legal-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ut-legal-hero__meta .chip { background: #fff; border: 1px solid var(--line); }
.ut-glance { padding: clamp(22px, 2.4vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); }
.ut-glance__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ut-glance__head p { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.ut-glance__head small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.ut-glance .check-list { font-size: .94rem; gap: 10px; }

/* ---------- Legal layout ---------- */
.ut-legal { padding-block: clamp(48px, 7vw, 96px); }
.ut-legal .legal { grid-template-columns: 280px minmax(0, 1fr); }
.ut-legal .legal__toc { padding: 0; overflow: hidden; background: #fff; max-height: calc(100vh - var(--header-h) - 48px); display: flex; flex-direction: column; }
.ut-toc__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); background: var(--gray-50); }
.ut-legal .legal__toc .ut-toc__head strong { margin: 0; font-size: .98rem; }
.ut-toc__count { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.ut-toc__bar { position: relative; height: 3px; background: var(--line); }
.ut-toc__bar span { position: absolute; inset: 0; background: var(--green-600); transform-origin: 0 50%; transform: scaleX(0); transition: transform .15s linear; }
.ut-legal .legal__toc ol { flex: 1 1 auto; min-height: 0; padding: 12px 10px 14px; gap: 2px; overflow-y: auto; overscroll-behavior: contain; }
.ut-toc__head, .ut-toc__bar, .ut-toc__foot { flex: none; }
.ut-legal .legal__toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; align-items: baseline; padding: 7px 10px; border-radius: 8px; line-height: 1.35; color: var(--muted); position: relative; transition: background .2s, color .2s; }
.ut-legal .legal__toc a::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--green-600); transform: scaleY(0); transition: transform .25s var(--ease); }
.ut-legal .legal__toc a:hover { background: var(--gray-50); color: var(--ink); }
.ut-legal .legal__toc a.is-active { background: var(--green-tint); color: var(--green-700); font-weight: 600; }
.ut-legal .legal__toc a.is-active::before { transform: scaleY(1); }
.ut-toc__num { font-family: var(--font-mono); font-size: .74rem; color: var(--green-600); }
.ut-toc__foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .86rem; }
.ut-toc__foot button, .ut-toc__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-700); }
.ut-toc__foot button:hover, .ut-toc__foot a:hover { color: var(--ink); }
.ut-toc__foot .icon { width: 16px; height: 16px; }

.ut-legal .legal__body { max-width: 780px; font-size: 1.02rem; }
.ut-legal .legal__body > h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.3rem, 2vw, 1.5rem); margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line); outline: none; }
.ut-legal .legal__body > h2:first-of-type { margin-top: 1.6em; }
.ut-legal .legal__body > h2 .ut-num { flex: none; font-family: var(--font-mono); font-size: .9rem; font-weight: 500; color: var(--green-600); letter-spacing: .04em; min-width: 2ch; }
.ut-legal .legal__body h3 { font-size: 1.08rem; margin: 1.5em 0 .5em; }
.ut-legal .legal__body ul li::marker { color: var(--green-600); }
.ut-legal .legal__body ol li::marker { color: var(--green-700); font-weight: 600; }
.ut-legal .legal__body address { font-style: normal; }

/* Legal-review note */
.ut-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--green-tint-2); border-left: 4px solid var(--green-600); border-radius: var(--radius); background: var(--green-tint); color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.ut-note .icon { width: 22px; height: 22px; color: var(--green-700); margin-top: 1px; }
.ut-note strong { display: block; color: var(--ink); font-family: var(--font-head); margin-bottom: 2px; }
.ut-intro { margin-top: 28px; font-size: 1.06rem; color: var(--ink-2); }

/* Tables */
.ut-table-wrap { margin: 1.2em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.ut-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.ut-table th, .ut-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ut-table thead th { background: var(--gray-50); font-family: var(--font-head); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ut-table tbody tr:last-child th, .ut-table tbody tr:last-child td { border-bottom: 0; }
.ut-table tbody th { font-weight: 700; color: var(--ink); width: 30%; }
.ut-table td { color: var(--ink-2); }

/* Contact block inside legal body */
.ut-contact-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 1.2em; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--gray-50); }
.ut-contact-box > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; font-size: .94rem; line-height: 1.5; }
.ut-contact-box > div:nth-child(even) { border-left: 1px solid var(--line); }
.ut-contact-box > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.ut-contact-box .icon { width: 20px; height: 20px; color: var(--green-600); margin-top: 2px; }
.ut-contact-box small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ut-legal .legal__body .ut-contact-box a { color: var(--ink); font-weight: 600; text-decoration: none; }
.ut-legal .legal__body .ut-contact-box a:hover { color: var(--green-700); }
@media (max-width: 560px) {
  .ut-contact-box { grid-template-columns: 1fr; }
  .ut-contact-box > div:nth-child(even) { border-left: 0; }
  .ut-contact-box > div:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* Closing help card */
.ut-help-card { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; align-items: center; padding: clamp(22px, 3vw, 32px); background: var(--ice); border: 1px solid var(--ice-2); border-radius: var(--radius-l); position: relative; overflow: hidden; }
.ut-help-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(12, 27, 86, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 27, 86, .05) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.ut-help-card > * { position: relative; }
.ut-legal .legal__body .ut-help-card h2 { margin: 0; font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.ut-help-card p { margin-top: 6px; color: var(--muted); font-size: .96rem; }
.ut-help-card .btn-row { grid-column: 1 / -1; }
.ut-legal .legal__body .ut-help-card .btn { text-decoration: none; }
.ut-legal .legal__body .ut-help-card .btn--primary { color: #fff; }
.ut-legal .legal__body .ut-help-card .btn--outline { color: var(--ink); }
@media (max-width: 560px) {
  .ut-help-card { grid-template-columns: 1fr; }
  .ut-help-card .btn { flex: 1 1 100%; }
}

@media (max-width: 1100px) { .ut-legal .legal { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 900px) {
  .ut-legal .legal { grid-template-columns: 1fr; }
  .ut-legal .legal__toc { max-height: none; }
  .ut-legal .legal__toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .ut-toc__bar { display: none; }
  .ut-legal .legal__body { max-width: none; }
}
@media (max-width: 560px) {
  .ut-legal .legal__toc ol { grid-template-columns: 1fr; }
}

/* ---------- Thank-you page ---------- */
.ut-thanks [hidden] { display: none !important; }
.ut-thanks .page-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.ut-thanks .h1 { max-width: 16ch; }
.ut-thanks__badge { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; background: var(--green-600); color: #fff; box-shadow: 0 10px 28px rgba(14, 140, 69, .3); }
.ut-thanks__badge .icon { width: 30px; height: 30px; stroke-width: 2.8; }
.ut-thanks__badge::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green-500); opacity: 0; animation: ring 2.4s var(--ease) 3; }
.ut-thanks__ref { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--muted); box-shadow: var(--shadow-s); }
.ut-thanks__ref .icon { width: 17px; height: 17px; color: var(--green-600); }
.ut-thanks__ref strong { color: var(--ink); font-size: .92rem; }
.ut-thanks__alert { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; max-width: 60ch; padding: 14px 16px; border: 1px solid var(--green-tint-2); border-left: 4px solid var(--green-600); border-radius: var(--radius); background: var(--green-tint); color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.ut-thanks__alert .icon { width: 20px; height: 20px; color: var(--green-700); margin-top: 2px; }
.ut-thanks__alert a { color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.ut-thanks__card { justify-self: end; width: 100%; max-width: 440px; padding: clamp(20px, 2.4vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); }
.ut-thanks__card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ut-thanks__status { margin-left: auto; }
.ut-thanks__status .live-dot { width: 7px; height: 7px; }
.ut-thanks__rows { margin: 4px 0 0; }
.ut-thanks__rows > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.ut-thanks__rows dt { color: var(--muted); }
.ut-thanks__rows dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.ut-thanks__generic { margin-top: 14px; color: var(--muted); font-size: .94rem; }
.ut-thanks__card-foot { margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--gray-50); }
@media (max-width: 960px) {
  .ut-thanks .page-hero__grid { grid-template-columns: 1fr; }
  .ut-thanks__card { justify-self: stretch; max-width: none; }
}
@media (max-width: 480px) {
  .ut-thanks .btn-row .btn { flex: 1 1 100%; }
  .ut-thanks__rows > div { grid-template-columns: 1fr; gap: 2px; }
}

/* What happens next timeline */
.ut-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); position: relative; }
.ut-timeline::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--green-500) 0 8px, transparent 8px 14px); opacity: .55; }
.ut-timeline__item { position: relative; display: flex; flex-direction: column; }
.ut-timeline__marker { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--green-600); color: #fff; box-shadow: 0 0 0 6px #fff, 0 8px 20px rgba(14, 140, 69, .28); }
.ut-timeline__marker .icon { width: 26px; height: 26px; }
.ut-timeline__when { margin-top: 20px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.ut-timeline__item h3 { margin-top: 8px; font-size: 1.2rem; }
.ut-timeline__item p { margin-top: 8px; font-size: .95rem; color: var(--muted); }
@media (max-width: 960px) {
  .ut-timeline { grid-template-columns: 1fr; gap: 0; }
  .ut-timeline::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--green-500) 0 8px, transparent 8px 14px); }
  .ut-timeline__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-bottom: 28px; }
  .ut-timeline__item:last-child { padding-bottom: 0; }
  .ut-timeline__marker { grid-row: 1 / span 3; }
  .ut-timeline__when { margin-top: 2px; }
  .ut-timeline__item h3, .ut-timeline__item p, .ut-timeline__when { grid-column: 2; }
}

.ut-prep { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.ut-prep__card { background: var(--gray-50); }
.ut-prep__card .check-list { font-size: .94rem; }
.ut-prep__offer { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-l); background: var(--ice); border: 1px solid var(--ice-2); }
.ut-prep__big { margin: 14px 0 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1.2; color: var(--ink); }
.ut-prep__offer a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .ut-prep { grid-template-columns: 1fr; } }

/* Service quick links */
.ut-svc-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ut-svc-links a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: .96rem; color: var(--ink); line-height: 1.3; transition: border-color .2s, box-shadow .25s var(--ease), color .2s; }
.ut-svc-links__go { width: 18px; height: 18px; margin-left: auto; color: var(--green-600); transition: transform .25s var(--ease); }
.ut-svc-links a:hover { border-color: var(--green-tint-2); box-shadow: var(--shadow); color: var(--green-700); }
.ut-svc-links a:hover .ut-svc-links__go { transform: translateX(3px); }
@media (max-width: 1024px) { .ut-svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ut-svc-links { grid-template-columns: 1fr; } }

/* Blog cards */
.ut-post { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.ut-post:hover { box-shadow: var(--shadow-l); transform: translateY(-4px); }
.ut-post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice-2); }
.ut-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ut-post:hover .ut-post__media img { transform: scale(1.05); }
.ut-post__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.ut-post__tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.ut-post h3 { margin-top: 10px; font-size: 1.12rem; line-height: 1.3; }
.ut-post h3 a::after { content: ""; position: absolute; inset: 0; }
.ut-post h3 a:focus-visible { outline: none; }
.ut-post:focus-within { outline: 3px solid var(--green-500); outline-offset: 3px; }
.ut-post:hover h3 { color: var(--green-700); }
.ut-post p { margin-top: 8px; font-size: .93rem; color: var(--muted); }
.ut-thanks__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
@media (max-width: 480px) { .ut-thanks__foot .btn { flex: 1 1 100%; } }

/* ---------- Print (legal pages) ---------- */
@media print {
  .topbar, .site-header, .menu, .site-footer, .wa-float, .mobile-bar, .legal__toc, .ut-help-card, .breadcrumb, .ut-glance, .skip-link { display: none !important; }
  body { padding: 0 !important; color: #000; }
  .page-hero { background: none; padding: 0 0 16px; }
  .page-hero::before { display: none; }
  .ut-legal { padding-block: 0; }
  .ut-legal .legal { display: block; }
  .ut-legal .legal__body { max-width: none; }
  .ut-legal .legal__body > h2 { break-after: avoid; }
}
