/* ==========================================================================
   Translayte Brasil — site styles
   Ported from the Claude Design prototype (Translayte Brasil.dc.html).
   Depends on colors_and_type.css (--tl-* tokens + Open Sans @font-face).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--tl-font-sans);
  color: var(--tl-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
::selection { background: var(--tl-honey); color: var(--tl-cerulean); }
/* Safety net: never let a wide child (e.g. the fixed-width pricing iframe) scroll the page sideways.
   `clip` (not hidden) doesn't create a scroll container, so it won't break the sticky header (which sits outside <main>). */
main { overflow-x: clip; }

/* ---------- Containers --------------------------------------------------- */
.tl-container        { max-width: 1200px; margin: 0 auto; }
.tl-container-mid    { max-width: 1100px; margin: 0 auto; }
.tl-container-narrow { max-width: 880px;  margin: 0 auto; }

/* ---------- Buttons ------------------------------------------------------ */
.tl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; line-height: 1.1;
  padding: 10px 18px; border-radius: var(--tl-r-md); cursor: pointer;
  transition: background var(--tl-dur) var(--tl-ease), box-shadow var(--tl-dur) var(--tl-ease),
              border-color var(--tl-dur) var(--tl-ease);
}
.tl-btn-lg { font-size: 16px; padding: 15px 26px; gap: 9px; }
.tl-btn-honey { background: var(--tl-honey); color: #fff; box-shadow: var(--tl-sh-honey); }
.tl-btn-honey:hover { background: var(--tl-honey-10b); }
.tl-btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.34); }
.tl-btn-outline:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.tl-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.34); }
.tl-btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.tl-link-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 600; font-size: 14px; color: var(--tl-cerulean);
  border: 1px solid var(--tl-line-strong); padding: 11px 18px; border-radius: var(--tl-r-md);
  transition: background var(--tl-dur) var(--tl-ease);
}
.tl-link-btn:hover { background: var(--tl-paper-2); }

/* ---------- Eyebrow / pill ---------------------------------------------- */
.tl-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--tl-honey-d10); }
.tl-eyebrow--honey { color: var(--tl-honey); }
.tl-pill {
  display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--tl-honey);
  border: 1px solid rgba(220,174,29,.4); border-radius: 999px; padding: 6px 14px;
}

/* ---------- Header ------------------------------------------------------- */
.tl-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tl-line);
}
.tl-ribbon { height: 3px; background: linear-gradient(90deg, #1E9E57 0 33.3%, var(--tl-honey) 33.3% 66.6%, var(--tl-cerulean-40b) 66.6% 100%); }
.tl-header-inner { max-width: 1200px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 32px; }
.tl-brand { display: inline-flex; align-items: center; gap: 12px; }
.tl-logo { height: 30px; width: auto; }
.tl-brand-tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 3px; }
.tl-brand-tag--green { color: #1E9E57; }
.tl-brand-tag--honey { color: var(--tl-honey); }
.tl-nav { display: flex; gap: 30px; flex: 1; }
.tl-nav-link { position: relative; font-size: 14.5px; font-weight: 600; color: var(--tl-ink-2); padding: 6px 0; transition: color var(--tl-dur) var(--tl-ease); }
.tl-nav-link:hover { color: var(--tl-cerulean); }
.tl-nav-link.is-active { color: var(--tl-cerulean); }
.tl-nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tl-honey); }
.tl-lang { display: inline-flex; align-items: center; border: 1px solid var(--tl-line-strong); border-radius: 999px; overflow: hidden; font-size: 12px; font-weight: 600; }
.tl-lang-btn { padding: 7px 13px; line-height: 1; background: #fff; color: var(--tl-ink-3); transition: background var(--tl-dur) var(--tl-ease), color var(--tl-dur) var(--tl-ease); }
.tl-lang-btn:hover { color: var(--tl-cerulean); }
.tl-lang-btn.is-on { background: var(--tl-cerulean); color: #fff; }
.tl-header-cta { white-space: nowrap; }
.tl-menu { display: flex; align-items: center; gap: 32px; flex: 1; }
/* Hamburger toggle (CSS-only). Checkbox is visually hidden but focusable; burger shows on mobile. */
.tl-nav-toggle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tl-burger { display: none; }

/* ---------- Home hero ---------------------------------------------------- */
.tl-hero { position: relative; background: var(--tl-cerulean); color: #fff; overflow: hidden; }
.tl-hero-glow { position: absolute; inset: 0; background: radial-gradient(58% 70% at 84% 22%, rgba(220,174,29,.20), transparent 68%); }
.tl-hero-inner { max-width: 1200px; margin: 0 auto; padding: 84px 32px 150px; display: grid; grid-template-columns: 1fr .92fr; gap: 48px; align-items: center; position: relative; }
.tl-hero-title { font-size: 70px; line-height: 1.02; letter-spacing: -.02em; font-weight: 600; margin: 22px 0 20px; }
.tl-hero-title-accent { color: var(--tl-honey); font-weight: 300; }
.tl-hero-lede { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 540px; }
.tl-hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.tl-hero-actions--center { justify-content: center; }
.tl-hero-trust { display: flex; gap: 22px; margin-top: 40px; font-size: 13px; color: rgba(255,255,255,.6); flex-wrap: wrap; }
.tl-hero-media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; }
.tl-hero-media img { width: 100%; max-width: 520px; height: auto; transform: rotate(3deg); filter: drop-shadow(0 30px 60px rgba(0,0,0,.42)); }

/* Skyline silhouette dividers */
.tl-skyline--hero { display: block; width: 100%; height: 100px; position: absolute; bottom: 0; left: 0; color: rgba(255,255,255,.07); }
.tl-skyline--footer { display: block; width: 100%; height: 56px; color: rgba(255,255,255,.06); }

/* ---------- Metrics band ------------------------------------------------- */
.tl-metrics { background: var(--tl-paper-2); border-bottom: 1px solid var(--tl-line); }
.tl-metrics-inner { max-width: 1200px; margin: 0 auto; padding: 36px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tl-metric { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--tl-honey); padding-left: 16px; }
.tl-metric-n { font-size: 38px; font-weight: 300; letter-spacing: -.02em; color: var(--tl-cerulean); line-height: 1; }
.tl-metric-label { font-size: 13.5px; color: var(--tl-ink-3); }

/* ---------- Generic section + heads -------------------------------------- */
.tl-section { padding: 88px 32px; background: #fff; }
.tl-section--flush-top { padding-top: 0; }
.tl-section--tight-bottom { padding-bottom: 40px; }
.tl-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.tl-section-head--center { display: block; text-align: center; margin-bottom: 56px; }
.tl-section-title { font-size: 42px; font-weight: 600; letter-spacing: -.015em; margin: 10px 0 0; color: var(--tl-cerulean); max-width: 640px; line-height: 1.1; }
.tl-section-title--center { margin: 10px auto 0; max-width: 760px; line-height: 1.12; }
.tl-block-title { font-size: 32px; font-weight: 600; letter-spacing: -.015em; color: var(--tl-cerulean); margin: 0 0 24px; }
.tl-block-title--center { text-align: center; margin-bottom: 32px; }
.tl-block-title--sm { font-size: 24px; letter-spacing: -.01em; margin-bottom: 20px; }

/* ---------- Home: services preview --------------------------------------- */
.tl-svc { padding: 90px 32px; }
.tl-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tl-svc-card { background: #fff; border: 1px solid var(--tl-line); border-top: 3px solid var(--tl-honey); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--tl-sh-1); }
.tl-svc-icon { width: 44px; height: 44px; object-fit: contain; }
.tl-svc-title { font-size: 19px; font-weight: 600; color: var(--tl-cerulean); }
.tl-svc-desc { font-size: 14.5px; line-height: 1.55; color: var(--tl-ink-2); }

/* ---------- Home: process ------------------------------------------------ */
.tl-proc { padding: 90px 32px; background: var(--tl-paper-2); }
.tl-proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tl-proc-step { display: flex; flex-direction: column; gap: 10px; }
.tl-proc-head { display: flex; align-items: center; gap: 12px; }
.tl-proc-n { width: 40px; height: 40px; border-radius: 999px; background: var(--tl-honey); color: var(--tl-cerulean); font-weight: 700; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; }
.tl-proc-rule { flex: 1; height: 1px; background: var(--tl-line-strong); }
.tl-proc-title { margin: 4px 0 0; font-size: 19px; font-weight: 600; color: var(--tl-cerulean); }
.tl-proc-desc { font-size: 14px; line-height: 1.55; color: var(--tl-ink-2); }

/* ---------- Home: why ---------------------------------------------------- */
.tl-why { padding: 90px 32px; background: var(--tl-cerulean); color: #fff; }
.tl-why-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.tl-why-title-h { font-size: 40px; font-weight: 600; letter-spacing: -.015em; margin: 12px 0 18px; line-height: 1.12; }
.tl-why-lede { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.76); margin: 0 0 28px; }
.tl-badges { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tl-badges--light { margin-top: 28px; }
.tl-badge { background: #fff; border-radius: 10px; padding: 8px; box-shadow: var(--tl-sh-2); display: flex; }
.tl-badge img { height: 76px; width: auto; }
.tl-badge--bordered { border: 1px solid var(--tl-line); box-shadow: var(--tl-sh-1); }
.tl-badge--bordered img { height: 70px; }
.tl-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tl-why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 22px; }
.tl-why-n { font-size: 30px; font-weight: 300; color: var(--tl-honey); letter-spacing: -.01em; }
.tl-why-title { font-size: 15.5px; font-weight: 600; margin: 8px 0 4px; }
.tl-why-desc { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.66); }

/* ---------- Inner-page heroes (centered) --------------------------------- */
.tl-inner-hero { position: relative; background: var(--tl-cerulean); color: #fff; padding: 76px 32px 64px; overflow: hidden; }
.tl-inner-hero-glow { position: absolute; inset: 0; }
.tl-inner-hero-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.tl-inner-hero-title { font-size: 52px; line-height: 1.06; letter-spacing: -.02em; font-weight: 600; margin: 20px 0 16px; }
.tl-inner-hero-lede { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto; }
.tl-inner-hero--svc   .tl-inner-hero-glow { background: radial-gradient(50% 80% at 88% 30%, rgba(220,174,29,.16), transparent 70%); }
.tl-inner-hero--docs  .tl-inner-hero-glow { background: radial-gradient(50% 80% at 12% 30%, rgba(2,132,164,.28), transparent 70%); }
.tl-inner-hero--langs .tl-inner-hero-glow { background: radial-gradient(50% 80% at 50% 10%, rgba(220,174,29,.16), transparent 70%); }
.tl-inner-hero--about { padding: 84px 32px 72px; }
.tl-inner-hero--about .tl-inner-hero-inner { max-width: 820px; }
.tl-inner-hero--about .tl-inner-hero-glow { background: radial-gradient(54% 80% at 82% 24%, rgba(220,174,29,.18), transparent 70%); }
.tl-inner-hero--about .tl-inner-hero-title { font-size: 54px; line-height: 1.05; }

/* ---------- Services page ------------------------------------------------ */
.tl-svc-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tl-svc-block { background: #fff; border: 1px solid var(--tl-line); border-radius: 14px; padding: 30px; box-shadow: var(--tl-sh-1); display: flex; flex-direction: column; gap: 14px; }
.tl-svc-block-head { display: flex; align-items: center; gap: 14px; }
.tl-svc-block-head img { width: 48px; height: 48px; object-fit: contain; }
.tl-svc-block-head h3 { font-size: 22px; font-weight: 600; color: var(--tl-cerulean); }
.tl-svc-block-desc { font-size: 15px; line-height: 1.6; color: var(--tl-ink-2); }
.tl-bullets { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tl-bullets li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--tl-ink-2); }
.tl-check { color: #1E9E57; font-weight: 700; flex-shrink: 0; }
.tl-faq { display: flex; flex-direction: column; gap: 12px; }
.tl-faq-item { border: 1px solid var(--tl-line); border-radius: 12px; padding: 22px 24px; background: var(--tl-paper-2); }
.tl-faq-q { font-size: 17px; font-weight: 600; color: var(--tl-cerulean); }
.tl-faq-a { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--tl-ink-2); }

/* ---------- Documents page ----------------------------------------------- */
.tl-doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tl-doc-card { background: #fff; border: 1px solid var(--tl-line); border-radius: 14px; padding: 26px; box-shadow: var(--tl-sh-1); }
.tl-doc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tl-doc-head img { width: 40px; height: 40px; object-fit: contain; }
.tl-doc-head h3 { font-size: 19px; font-weight: 600; color: var(--tl-cerulean); }
.tl-doc-list { display: flex; flex-direction: column; gap: 9px; }
.tl-doc-list li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--tl-ink-2); padding-bottom: 9px; border-bottom: 1px solid var(--tl-line); }
.tl-dot { width: 5px; height: 5px; border-radius: 999px; background: var(--tl-honey); flex-shrink: 0; }
.tl-req-box { background: var(--tl-paper-2); border-radius: 16px; padding: 48px; }
.tl-req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tl-req { display: flex; flex-direction: column; gap: 8px; }
.tl-req-n { font-size: 30px; font-weight: 300; color: var(--tl-honey); letter-spacing: -.01em; }
.tl-req-title { font-size: 17px; font-weight: 600; color: var(--tl-cerulean); }
.tl-req-desc { font-size: 14px; line-height: 1.55; color: var(--tl-ink-2); }

/* ---------- Languages page ----------------------------------------------- */
.tl-lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tl-lang-card { border: 1px solid var(--tl-line); border-radius: 12px; padding: 20px; box-shadow: var(--tl-sh-1); display: flex; flex-direction: column; gap: 10px; }
.tl-lang-tag { align-self: flex-start; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--tl-honey-d10); background: var(--tl-warning-soft); padding: 3px 8px; border-radius: 999px; }
.tl-lang-pair { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--tl-cerulean); }
.tl-arrow { color: var(--tl-honey); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-chip { border: 1px solid var(--tl-line-strong); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--tl-ink-2); background: var(--tl-paper-2); }
.tl-lang-note { margin: 28px 0 0; font-size: 15px; color: var(--tl-ink-3); }

/* ---------- About page --------------------------------------------------- */
.tl-about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tl-about-paras { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; }
.tl-about-para { font-size: 16.5px; line-height: 1.7; color: var(--tl-ink-2); }
.tl-about-media { display: flex; justify-content: center; }
.tl-about-media img { width: 100%; max-width: 380px; height: auto; transform: rotate(3deg); filter: drop-shadow(0 24px 50px rgba(0,48,63,.22)); }
.tl-about-statband { background: var(--tl-cerulean); border-radius: 16px; padding: 44px 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tl-about-stat { display: flex; flex-direction: column; gap: 4px; }
.tl-about-stat-n { font-size: 44px; font-weight: 300; letter-spacing: -.02em; color: var(--tl-honey); line-height: 1; }
.tl-about-stat-label { font-size: 13.5px; color: rgba(255,255,255,.72); }
.tl-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tl-value-card { background: #fff; border: 1px solid var(--tl-line); border-top: 3px solid var(--tl-honey); border-radius: 12px; padding: 26px; box-shadow: var(--tl-sh-1); display: flex; flex-direction: column; gap: 12px; }
.tl-value-card img { width: 44px; height: 44px; object-fit: contain; }
.tl-value-card h3 { font-size: 19px; font-weight: 600; color: var(--tl-cerulean); }
.tl-value-card p { font-size: 14.5px; line-height: 1.55; color: var(--tl-ink-2); }
.tl-operator { margin: 32px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--tl-ink-3); border-left: 2px solid var(--tl-line-strong); padding-left: 16px; }

/* ---------- Pricing widget section --------------------------------------- */
.tl-widget { padding: 90px 32px; background: var(--tl-paper-2); border-top: 1px solid var(--tl-line); overflow-x: clip; }
.tl-widget-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; align-items: center; }
.tl-widget-title { font-size: 40px; font-weight: 600; letter-spacing: -.015em; margin: 10px 0 14px; color: var(--tl-cerulean); line-height: 1.12; }
.tl-widget-lede { font-size: 17px; line-height: 1.6; color: var(--tl-ink-2); margin: 0 0 44px; }
.tl-steps { display: flex; flex-direction: column; gap: 8px; }
.tl-step { display: flex; align-items: flex-start; gap: 20px; padding: 18px 0; border-top: 1px solid var(--tl-line); }
.tl-step-n { flex-shrink: 0; width: 44px; height: 44px; border-radius: 999px; background: var(--tl-honey); color: var(--tl-cerulean); font-weight: 700; font-size: 14px; display: grid; place-items: center; box-shadow: var(--tl-sh-honey); }
.tl-step-body { padding-top: 3px; }
.tl-step-title { font-size: 17px; font-weight: 600; color: var(--tl-cerulean); }
.tl-step-desc { font-size: 14.5px; line-height: 1.55; color: var(--tl-ink-2); margin-top: 4px; }
.tl-frame { position: relative; width: 500px; max-width: 100%; min-width: 0; margin: 0; padding: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--tl-sh-3); background: #fff; }
/* Loading stage shown until the (cross-origin) iframe paints over it */
.tl-frame-loader { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--tl-ink-3); font-size: 14px; }
.tl-spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--tl-line); border-top-color: var(--tl-honey); animation: tl-spin .8s linear infinite; }
@keyframes tl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tl-spinner { animation: none; } }
.tl-iframe { position: relative; z-index: 1; width: 500px; max-width: 100%; height: 800px; border: 0; display: block; }

/* ---------- Final CTA ---------------------------------------------------- */
.tl-finalcta { padding: 70px 32px; background: var(--tl-cerulean); position: relative; overflow: hidden; }
.tl-finalcta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 90% 50%, rgba(220,174,29,.16), transparent 70%); }
.tl-finalcta-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; }
.tl-finalcta-title { font-size: 34px; font-weight: 600; color: #fff; letter-spacing: -.015em; }
.tl-finalcta-lede { font-size: 16px; color: rgba(255,255,255,.72); margin: 8px 0 0; }
.tl-finalcta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ------------------------------------------------------- */
.tl-footer { background: var(--tl-cerulean); color: rgba(255,255,255,.82); padding: 0 32px 36px; }
.tl-footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 12px; }
.tl-footer-logo-wrap { display: inline-flex; align-items: center; gap: 10px; }
.tl-footer-logo { height: 26px; width: auto; }
.tl-footer-tagline { font-size: 14px; line-height: 1.6; margin: 16px 0 0; color: rgba(255,255,255,.66); max-width: 320px; }
.tl-footer-h { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--tl-honey); margin-bottom: 14px; }
.tl-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.tl-footer-col a { font-size: 14px; color: rgba(255,255,255,.78); transition: color var(--tl-dur) var(--tl-ease); }
.tl-footer-col a:hover { color: #fff; }
.tl-footer-legal { max-width: 1200px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.5); }

/* ---------- Legal (Terms / Privacy) -------------------------------------- */
.tl-legal-hero { background: var(--tl-cerulean); color: #fff; padding: 72px 32px 56px; }
.tl-legal-title { font-size: 46px; line-height: 1.08; letter-spacing: -.02em; font-weight: 600; margin: 12px 0 14px; }
.tl-legal-updated { font-size: 14px; color: rgba(255,255,255,.66); }
.tl-legal-body { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.tl-legal-toc { position: sticky; top: 90px; }
.tl-legal-toc-h { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--tl-honey-d10); margin-bottom: 12px; }
.tl-legal-toc ol { display: flex; flex-direction: column; gap: 9px; }
.tl-legal-toc li { font-size: 13px; line-height: 1.4; color: var(--tl-ink-3); }
.tl-legal-sections { display: flex; flex-direction: column; gap: 36px; }
.tl-legal-sec { display: flex; flex-direction: column; gap: 12px; }
.tl-legal-sec-head { display: flex; align-items: baseline; gap: 12px; }
.tl-legal-n { font-size: 14px; font-weight: 700; color: var(--tl-honey-d10); min-width: 26px; }
.tl-legal-sec-head h2 { font-size: 21px; font-weight: 600; color: var(--tl-cerulean); letter-spacing: -.01em; }
.tl-legal-placeholder { margin: 0 0 0 38px; font-size: 14px; line-height: 1.7; color: var(--tl-ink-3); font-style: italic; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  /* Tablet & below: drop the hero illustration, keep the hero single-column */
  .tl-hero-inner { grid-template-columns: 1fr; }
  .tl-hero-media { display: none; }
}

@media (max-width: 980px) {
  .tl-hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 64px 32px 120px; }
  .tl-hero-title { font-size: 54px; }
  .tl-hero-media { min-height: auto; }
  .tl-why-inner { grid-template-columns: 1fr; gap: 40px; }
  .tl-widget-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tl-widget-inner .tl-frame { justify-self: center; max-width: 100%; }
  .tl-about-story { grid-template-columns: 1fr; gap: 40px; }
  .tl-svc-grid, .tl-proc-grid, .tl-doc-grid, .tl-values-grid, .tl-lang-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-metrics-inner, .tl-about-statband { grid-template-columns: repeat(2, 1fr); }
  .tl-req-grid, .tl-svc-blocks { grid-template-columns: 1fr; }
  .tl-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Mobile/tablet-portrait nav: collapse the menu behind a hamburger */
  .tl-header-inner { position: relative; gap: 16px; padding: 12px 20px; }
  .tl-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 11px; border-radius: 8px; cursor: pointer; }
  .tl-burger span { display: block; height: 2px; border-radius: 2px; background: var(--tl-cerulean); transition: transform var(--tl-dur) var(--tl-ease), opacity var(--tl-dur) var(--tl-ease); }
  .tl-nav-toggle:focus-visible ~ .tl-burger { outline: 3px solid var(--tl-focus-ring); outline-offset: 2px; }
  .tl-nav-toggle:checked ~ .tl-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .tl-nav-toggle:checked ~ .tl-burger span:nth-child(2) { opacity: 0; }
  .tl-nav-toggle:checked ~ .tl-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .tl-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid var(--tl-line); border-bottom: 1px solid var(--tl-line); box-shadow: var(--tl-sh-2); padding: 6px 20px 16px; }
  .tl-nav-toggle:checked ~ .tl-menu { display: flex; }
  .tl-nav { flex-direction: column; gap: 0; flex: none; }
  .tl-nav-link { padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--tl-line); }
  .tl-nav-link.is-active::after { display: none; }
  .tl-nav-link.is-active { color: var(--tl-honey-d10); }
  .tl-lang { align-self: flex-start; margin: 14px 0 6px; }
  .tl-header-cta { justify-content: center; margin-top: 4px; }
}

@media (max-width: 720px) {
  .tl-section, .tl-svc, .tl-proc, .tl-why, .tl-widget, .tl-finalcta, .tl-inner-hero, .tl-legal-hero { padding-left: 20px; padding-right: 20px; }
  .tl-hero-inner { padding-left: 20px; padding-right: 20px; }
  .tl-hero-title { font-size: 40px; }
  .tl-inner-hero-title, .tl-inner-hero--about .tl-inner-hero-title { font-size: 36px; }
  .tl-section-title { font-size: 32px; }
  .tl-svc-grid, .tl-proc-grid, .tl-doc-grid, .tl-values-grid, .tl-lang-grid,
  .tl-metrics-inner, .tl-about-statband { grid-template-columns: 1fr; }
  .tl-legal-body { grid-template-columns: 1fr; gap: 28px; }
  .tl-legal-toc { position: static; }
  .tl-req-box { padding: 28px; }
  .tl-iframe { width: 100%; }
  .tl-finalcta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .tl-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .tl-hero-title { font-size: 34px; }
}

@media (max-width: 520px) {
  /* The pricing widget is a fixed 500px and isn't fluid. On phones, let its column go
     edge-to-edge and flush-left so it uses the full width; the copy column keeps its padding. */
  .tl-widget { padding-left: 0; padding-right: 0; }
  .tl-widget-copy { padding-left: 20px; padding-right: 20px; }
  .tl-frame { width: 100%; }
}
