@font-face {
  font-family:"Inter"; font-style:normal; font-weight:400 800; font-display:swap;
  src:url("../fonts/inter-latin-var.260c81a4759b.woff2") format("woff2");
}

/* ==========================================================================
   Tool Cloud design system
   Shared by every page (Django templates and the React bundles).
   ========================================================================== */

:root {
  /* Brand blue, taken from the logo (#3e86c7 / #61ace3). */
  --brand-50:#eff6fd; --brand-100:#dbeafa; --brand-200:#bcd9f5; --brand-300:#8cc0ee;
  --brand-400:#5ea7e6; --brand-500:#3b8ddb; --brand-600:#2672c4; --brand-700:#1f5da3;
  --brand-800:#1d4d84; --brand-900:#1c406c;
  --sky:#61ace3;

  /* Neutrals */
  --ink-900:#141518; --ink-800:#1f2126; --ink-700:#2e3138; --ink-600:#4b5160; --ink-500:#6b7280;
  --line:#e6e8ec; --line-strong:#d5d9e0;
  --surface:#f4f5f7; --surface-2:#fafbfc;
  --text:#16181d; --text-muted:#5b6170; --text-subtle:#6b7280;

  /* Category accents (icon tiles) */
  --c-image:#2672c4; --c-video:#7c3aed; --c-audio:#db2777;
  --c-text:#059669; --c-vector:#ea580c; --c-general:#475569;

  --radius-sm:.5rem; --radius:.75rem; --radius-lg:1rem; --radius-xl:1.25rem;
  --shadow-card:0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.08);
  --shadow-md:0 4px 12px -2px rgba(16,24,40,.08), 0 2px 6px -2px rgba(16,24,40,.05);
  --shadow-lg:0 24px 48px -12px rgba(16,24,40,.22), 0 8px 16px -8px rgba(16,24,40,.10);
  --shadow-glow:0 10px 30px -8px rgba(38,114,196,.55);

  --font-sans:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container:76rem;
  --header-h:4.25rem;
  --ease-out:cubic-bezier(.16,1,.3,1);
}

/* ---------- Base ---------- */
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body, body.font-sans {
  margin:0; font-family:var(--font-sans); color:var(--text); background:var(--surface);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; line-height:1.55;
  overflow-x:clip; /* clip, not hidden: hidden would turn body into a scroll box and break the sticky header */
}
:focus-visible { outline:2px solid var(--brand-500) !important; outline-offset:2px; }
::selection { background:var(--brand-200); color:var(--ink-900); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:.75rem; left:.75rem; z-index:10000; transform:translateY(-200%); padding:.75rem 1rem; background:var(--brand-600); color:#fff; border-radius:var(--radius); text-decoration:none; font-weight:600; }
.skip-link:focus { transform:translateY(0); }
.tc-container { width:100%; max-width:var(--container); margin:0 auto; padding-inline:clamp(1rem, 4vw, 2rem); box-sizing:border-box; }

/* ---------- Buttons ---------- */
.tc-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.7rem 1.15rem; border:1px solid transparent; border-radius:var(--radius-sm);
  font:inherit; font-size:.95rem; font-weight:600; line-height:1.2; text-decoration:none; cursor:pointer;
  transition:background-color .2s, box-shadow .2s, transform .2s var(--ease-out), border-color .2s, color .2s;
  white-space:nowrap;
}
.tc-btn:active { transform:translateY(1px); }
.tc-btn:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.tc-btn-primary { background:var(--brand-600); color:#fff; box-shadow:0 1px 0 rgba(255,255,255,.15) inset, 0 1px 2px rgba(16,24,40,.2); }
.tc-btn-primary:hover:not(:disabled) { background:var(--brand-700); box-shadow:var(--shadow-glow); }
.tc-btn-secondary { background:#fff; color:var(--text); border-color:var(--line-strong); }
.tc-btn-secondary:hover:not(:disabled) { border-color:var(--brand-300); color:var(--brand-700); background:var(--brand-50); }
.tc-btn-ghost { background:transparent; color:var(--brand-700); }
.tc-btn-ghost:hover { background:var(--brand-50); }
.tc-btn-lg { padding:.9rem 1.5rem; font-size:1.05rem; border-radius:var(--radius); }

/* ---------- Header ---------- */
.tc-header {
  position:sticky; top:0; z-index:900; height:var(--header-h);
  background:rgba(20,21,24,.92); color:#fff;
  -webkit-backdrop-filter:saturate(160%) blur(12px); backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:box-shadow .25s, background-color .25s;
}
.tc-header.is-scrolled { background:rgba(20,21,24,.97); box-shadow:0 8px 24px -12px rgba(0,0,0,.6); }
.tc-header__inner { height:100%; display:flex; align-items:center; gap:2rem; max-width:none; padding-inline:clamp(1rem, 3vw, 2rem); }
.tc-logo { display:flex; align-items:center; gap:.65rem; color:#fff; text-decoration:none; flex-shrink:0; }
.tc-logo img { width:40px; height:40px; transition:transform .5s var(--ease-out); }
.tc-logo:hover img { transform:rotate(-8deg) scale(1.06); }
.tc-logo__name { font-size:1.3rem; font-weight:500; letter-spacing:-.02em; }
.tc-logo__name b { font-weight:800; }
.tc-nav { display:flex; align-items:center; gap:.25rem; }
.tc-nav__link, .tc-nav__trigger {
  display:inline-flex; align-items:center; gap:.35rem; padding:.55rem .8rem; border-radius:var(--radius-sm);
  color:rgba(255,255,255,.88); font:inherit; font-size:.95rem; font-weight:600; text-decoration:none;
  background:none; border:0; cursor:pointer; transition:color .2s, background-color .2s;
}
.tc-nav__link:hover, .tc-nav__trigger:hover, .tc-nav__item.is-open .tc-nav__trigger { color:#fff; background:rgba(255,255,255,.08); }
.tc-nav__trigger svg { width:14px; height:14px; transition:transform .25s var(--ease-out); }
.tc-nav__item { position:relative; }
.tc-nav__item.is-open .tc-nav__trigger svg { transform:rotate(180deg); }

/* Tools mega-menu: anchored directly below its trigger. */
.tc-menu {
  position:absolute; top:calc(100% + 12px); left:-.5rem; width:min(620px, calc(100vw - 2rem));
  background:#fff; color:var(--text); border-radius:var(--radius-lg);
  border:1px solid var(--line); box-shadow:var(--shadow-lg); padding:.75rem;
  opacity:0; visibility:hidden; transform:translateY(-6px) scale(.98); transform-origin:top left;
  transition:opacity .18s ease, transform .22s var(--ease-out), visibility 0s linear .22s;
}
.tc-menu::before { content:""; position:absolute; left:0; right:0; top:-14px; height:14px; } /* hover bridge */
.tc-nav__item.is-open .tc-menu { opacity:1; visibility:visible; transform:none; transition-delay:0s; }
.tc-menu__grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:.25rem; }
.tc-menu__item { display:flex; align-items:flex-start; gap:.8rem; padding:.75rem; border-radius:var(--radius); color:inherit; text-decoration:none; transition:background-color .15s; }
.tc-menu__item:hover { background:var(--surface); }
.tc-menu__item strong { display:block; font-size:.95rem; font-weight:650; color:var(--text); }
.tc-menu__item span.tc-menu__desc { display:block; font-size:.82rem; color:var(--text-muted); line-height:1.4; margin-top:.1rem; }
.tc-menu__footer { margin-top:.5rem; padding:.75rem .75rem .25rem; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; font-size:.85rem; color:var(--text-muted); }
.tc-menu__footer a { color:var(--brand-600); font-weight:600; text-decoration:none; }
.tc-menu__footer a:hover { text-decoration:underline; }

.tc-header__actions { margin-left:auto; display:flex; align-items:center; gap:.5rem; }
.tc-header__signin { color:rgba(255,255,255,.88); font-weight:600; text-decoration:none; padding:.55rem .8rem; border-radius:var(--radius-sm); font-size:.95rem; }
.tc-header__signin:hover { color:#fff; background:rgba(255,255,255,.08); }
.tc-credits { display:inline-flex; align-items:center; gap:.4rem; padding:.4rem .75rem; border-radius:999px; background:rgba(255,255,255,.08); color:#fff; font-size:.85rem; font-weight:600; text-decoration:none; }
.tc-credits:hover { background:rgba(255,255,255,.14); }
.tc-credits svg { width:14px; height:14px; color:var(--sky); }
.tc-user { position:relative; }
.tc-user__button { width:38px; height:38px; border-radius:999px; border:2px solid rgba(255,255,255,.18); background:linear-gradient(135deg, var(--brand-500), var(--brand-700)); color:#fff; font:inherit; font-weight:700; cursor:pointer; transition:border-color .2s, transform .2s; }
.tc-user__button:hover { border-color:rgba(255,255,255,.45); transform:scale(1.04); }
.tc-user__menu { position:absolute; right:0; top:calc(100% + 10px); width:13rem; background:#fff; color:var(--text); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:.4rem; opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .18s, transform .2s var(--ease-out), visibility 0s linear .2s; }
.tc-user.is-open .tc-user__menu { opacity:1; visibility:visible; transform:none; transition-delay:0s; }
.tc-user__summary { padding:.6rem .7rem .7rem; border-bottom:1px solid var(--line); margin-bottom:.3rem; }
.tc-user__summary strong { display:block; font-weight:650; }
.tc-user__summary span { font-size:.85rem; color:var(--text-muted); }
.tc-user__menu a { display:block; padding:.55rem .7rem; border-radius:var(--radius-sm); color:var(--text); text-decoration:none; font-size:.92rem; }
.tc-user__menu a:hover { background:var(--surface); }
.tc-user__menu a.is-danger { color:#dc2626; }

.tc-burger { display:none; margin-left:auto; width:42px; height:42px; border:0; border-radius:var(--radius-sm); background:transparent; color:#fff; cursor:pointer; align-items:center; justify-content:center; }
.tc-burger:hover { background:rgba(255,255,255,.08); }
.tc-burger span, .tc-burger span::before, .tc-burger span::after { display:block; width:20px; height:2px; background:currentColor; border-radius:2px; position:relative; transition:transform .25s var(--ease-out), background-color .2s; }
.tc-burger span::before, .tc-burger span::after { content:""; position:absolute; left:0; }
.tc-burger span::before { top:-6px; } .tc-burger span::after { top:6px; }
.tc-burger[aria-expanded="true"] span { background:transparent; }
.tc-burger[aria-expanded="true"] span::before { transform:translateY(6px) rotate(45deg); }
.tc-burger[aria-expanded="true"] span::after { transform:translateY(-6px) rotate(-45deg); }

.tc-mobile { position:fixed; inset:var(--header-h) 0 auto 0; max-height:calc(100dvh - var(--header-h)); overflow-y:auto; background:var(--ink-900); border-top:1px solid rgba(255,255,255,.06); padding:1rem clamp(1rem, 4vw, 2rem) 1.5rem; opacity:0; visibility:hidden; transform:translateY(-8px); transition:opacity .2s, transform .25s var(--ease-out), visibility 0s linear .25s; z-index:899; }
.tc-mobile.is-open { opacity:1; visibility:visible; transform:none; transition-delay:0s; }
.tc-mobile__label { font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.45); margin:.25rem 0 .5rem; }
.tc-mobile__grid { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; }
.tc-mobile__cat { display:flex; align-items:center; gap:.6rem; padding:.7rem; border-radius:var(--radius); background:rgba(255,255,255,.05); color:#fff; text-decoration:none; font-weight:600; font-size:.95rem; }
.tc-mobile__cat:hover { background:rgba(255,255,255,.1); }
.tc-mobile__links { display:flex; flex-direction:column; margin-top:1rem; border-top:1px solid rgba(255,255,255,.08); padding-top:.5rem; }
.tc-mobile__links a { color:#fff; text-decoration:none; font-weight:600; padding:.75rem .25rem; border-bottom:1px solid rgba(255,255,255,.06); }
.tc-mobile__cta { margin-top:1rem; width:100%; }

@media (max-width: 860px) {
  .tc-nav, .tc-header__actions { display:none; }
  .tc-burger { display:inline-flex; }
}
@media (min-width: 861px) { .tc-mobile { display:none; } }

/* ---------- Category icon tiles ---------- */
.tc-ico { --c:var(--brand-600); width:40px; height:40px; flex-shrink:0; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; color:var(--c); background:color-mix(in srgb, var(--c) 11%, white); }
.tc-ico svg { width:20px; height:20px; }
.tc-ico--sm { width:32px; height:32px; border-radius:8px; } .tc-ico--sm svg { width:17px; height:17px; }
.tc-ico--image { --c:var(--c-image); } .tc-ico--video { --c:var(--c-video); } .tc-ico--audio { --c:var(--c-audio); }
.tc-ico--text { --c:var(--c-text); } .tc-ico--vector { --c:var(--c-vector); } .tc-ico--general { --c:var(--c-general); }
.tc-mobile .tc-ico { background:color-mix(in srgb, var(--c) 22%, transparent); color:color-mix(in srgb, var(--c) 55%, white); }

/* ---------- Hero ---------- */
.tc-hero {
  position:relative; overflow:hidden; isolation:isolate; color:#fff;
  background:radial-gradient(120% 140% at 85% 0%, #23262d 0%, var(--ink-900) 55%);
  padding:clamp(3rem, 7vw, 5rem) 0 clamp(7rem, 12vw, 9.5rem);
}
.tc-hero--compact { padding-bottom:clamp(6.5rem, 10vw, 8.5rem); }
.tc-hero__grid { position:absolute; inset:0; z-index:-2; opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); mask-image:radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.tc-hero__glow { position:absolute; z-index:-1; border-radius:50%; opacity:.55; pointer-events:none; will-change:transform; }
.tc-hero__glow--a { width:620px; height:620px; right:2%; top:-240px; background:radial-gradient(circle, rgba(97,172,227,.42), rgba(97,172,227,.12) 40%, transparent 68%); animation:tc-float 14s ease-in-out infinite; }
.tc-hero__glow--b { width:520px; height:520px; left:-180px; bottom:-280px; background:radial-gradient(circle, rgba(38,114,196,.38), rgba(38,114,196,.1) 40%, transparent 68%); animation:tc-float 18s ease-in-out infinite reverse; }
.tc-hero__inner { display:flex; align-items:center; justify-content:space-between; gap:clamp(2rem, 5vw, 4rem); }
.tc-hero__copy { max-width:44rem; }
.tc-eyebrow { display:inline-flex; align-items:center; gap:.5rem; padding:.3rem .75rem; border-radius:999px; background:rgba(97,172,227,.12); border:1px solid rgba(97,172,227,.28); color:#bfe0f8; font-size:.8rem; font-weight:600; letter-spacing:.02em; margin-bottom:1.1rem; text-decoration:none; }
.tc-eyebrow .dot { width:6px; height:6px; border-radius:50%; background:var(--sky); box-shadow:0 0 0 0 rgba(97,172,227,.7); animation:tc-pulse 2.2s infinite; }
.tc-hero h1 { margin:0 0 1rem; font-size:clamp(2.1rem, 4.6vw, 3.6rem); line-height:1.05; font-weight:800; letter-spacing:-.035em; }
.tc-hero h1 .accent { background:linear-gradient(100deg, #8fcaf5, var(--sky) 40%, #3b8ddb); -webkit-background-clip:text; background-clip:text; color:transparent; }
.tc-hero p.tc-hero__lead { margin:0; font-size:clamp(1rem, 1.4vw, 1.15rem); line-height:1.65; color:#c3c8d2; max-width:40rem; }
.tc-breadcrumb { display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; font-size:.85rem; color:#9aa1ae; margin-bottom:1rem; }
.tc-breadcrumb a { color:#c3c8d2; text-decoration:none; } .tc-breadcrumb a:hover { color:#fff; }

/* Format picker (from -> to) */
.tc-convert { position:relative; display:flex; align-items:center; flex-shrink:0; }
.tc-convert__rings { position:absolute; left:50%; top:50%; width:340px; height:340px; transform:translate(-50%,-50%); pointer-events:none; z-index:-1; }
.tc-convert__rings::before, .tc-convert__rings::after { content:""; position:absolute; inset:0; border-radius:50%; border:1px solid rgba(255,255,255,.07); }
.tc-convert__rings::after { inset:52px; border-style:dashed; border-color:rgba(97,172,227,.18); animation:tc-spin 40s linear infinite; }
.format-btn.tc-tile {
  position:relative; width:112px; height:112px; padding:0; border-radius:18px; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.45rem;
  color:#fff; font:inherit; background:linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.14); box-shadow:0 12px 30px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transition:transform .3s var(--ease-out), border-color .25s, box-shadow .3s;
}
.format-btn.tc-tile:hover:not(:disabled) { transform:translateY(-3px); border-color:rgba(97,172,227,.55); box-shadow:0 18px 40px -12px rgba(38,114,196,.55), inset 0 1px 0 rgba(255,255,255,.1); }
.format-btn.tc-tile:disabled { cursor:not-allowed; opacity:.55; }
.format-btn.tc-tile .tc-tile__icon { width:30px; height:30px; color:#cfe6f9; opacity:.9; }
.format-btn.tc-tile .tc-tile__label { font-size:.9rem; font-weight:700; letter-spacing:.02em; max-width:96px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.format-btn.tc-tile .tc-tile__chev { position:absolute; right:8px; bottom:8px; width:12px; height:12px; opacity:.5; }
.tc-convert__link { display:flex; flex-direction:column; align-items:center; gap:.35rem; width:92px; }
.tc-convert__link::before { content:""; position:absolute; left:112px; right:112px; top:50%; height:1px; background:linear-gradient(90deg, rgba(97,172,227,.15), rgba(97,172,227,.6), rgba(97,172,227,.15)); z-index:-1; }
.tc-convert__orb { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 30% 30%, #3b8ddb, #1f5da3); box-shadow:0 0 0 6px rgba(38,114,196,.18), 0 0 24px rgba(97,172,227,.55); color:#fff; }
.tc-convert__orb svg { width:18px; height:18px; animation:tc-spin 6s linear infinite; }
.tc-convert__to { font-size:.68rem; font-weight:700; letter-spacing:.2em; color:#9aa1ae; }

@media (max-width: 900px) {
  .tc-hero__inner { flex-direction:column; align-items:flex-start; }
  .tc-convert { align-self:center; margin-top:.5rem; }
}
@media (max-width: 480px) {
  .format-btn.tc-tile { width:96px; height:96px; }
  .tc-convert__link { width:68px; }
  .tc-convert__link::before { left:96px; right:96px; }
  .tc-convert__rings { width:280px; height:280px; }
}

/* Content that floats up over the bottom of the hero (CloudConvert-style) */
.tc-overlap { position:relative; z-index:2; margin-top:clamp(-6.5rem, -9vw, -5rem); }

/* ---------- Panels & cards ---------- */
.tc-panel { background:#fff; border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow-lg); }
.tc-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-card); }

/* Upload card (also used as the server-rendered placeholder before React mounts) */
.tc-upload { padding:clamp(1rem, 2.5vw, 1.5rem); }
.tc-drop {
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  min-height:clamp(15rem, 28vw, 18rem); padding:2rem 1rem; border-radius:var(--radius-lg);
  border:2px dashed var(--line-strong); background:radial-gradient(60% 80% at 50% 0%, var(--brand-50), #fff 70%);
  cursor:pointer; transition:border-color .25s, background-color .25s, transform .25s var(--ease-out);
}
.tc-drop:hover, .tc-drop.is-dragover { border-color:var(--brand-400); background:radial-gradient(70% 90% at 50% 0%, var(--brand-100), #fff 75%); }
.tc-drop.is-dragover { transform:scale(1.01); }
.tc-drop__icon { width:64px; height:64px; border-radius:18px; display:flex; align-items:center; justify-content:center; color:#fff; margin-bottom:1rem;
  background:linear-gradient(145deg, var(--brand-400), var(--brand-700)); box-shadow:var(--shadow-glow); animation:tc-bob 3.2s ease-in-out infinite; }
.tc-drop__icon svg { width:30px; height:30px; }
.tc-drop__title { margin:0; font-size:clamp(1.15rem, 2vw, 1.35rem); font-weight:700; letter-spacing:-.01em; color:var(--text); }
.tc-drop__sub { margin:.35rem 0 1.25rem; color:var(--text-muted); font-size:.95rem; }
.tc-drop__hint { margin-top:1rem; font-size:.8rem; color:var(--text-subtle); }
.tc-skeleton-line { height:12px; border-radius:6px; background:linear-gradient(90deg, #eef0f3 25%, #f6f7f9 50%, #eef0f3 75%); background-size:200% 100%; animation:tc-shimmer 1.4s infinite; }

/* Tool cards (grid used on home, category and related tools) */
.tc-tools { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap:.85rem; }
.tc-tool {
  position:relative; display:flex; align-items:center; gap:.85rem; padding:1rem 1.1rem;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); color:var(--text); text-decoration:none;
  transition:transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.tc-tool:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--brand-200); }
.tc-tool__body { min-width:0; flex:1; }
.tc-tool__name { display:block; font-weight:650; font-size:.97rem; line-height:1.3; color:var(--text); }
.tc-tool__desc { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:.2rem; font-size:.83rem; line-height:1.45; color:var(--text-muted); }
.tc-tool__meta { display:flex; align-items:center; gap:.4rem; margin-top:.4rem; }
.tc-tool__arrow { width:18px; height:18px; color:var(--brand-500); opacity:0; transform:translateX(-6px); transition:opacity .2s, transform .25s var(--ease-out); flex-shrink:0; }
.tc-tool:hover .tc-tool__arrow { opacity:1; transform:none; }

.tc-badge { display:inline-flex; align-items:center; gap:.25rem; padding:.15rem .55rem; border-radius:999px; font-size:.72rem; font-weight:650; letter-spacing:.01em; background:var(--surface); color:var(--text-muted); border:1px solid var(--line); }
.tc-badge--free { background:#ecfdf5; color:#047857; border-color:#a7f3d0; }
.tc-badge--brand { background:var(--brand-50); color:var(--brand-700); border-color:var(--brand-100); }

/* Search + filter chips */
.tc-search { position:relative; }
.tc-search svg { position:absolute; left:1rem; top:50%; transform:translateY(-50%); width:20px; height:20px; color:var(--text-subtle); pointer-events:none; }
.tc-search input { width:100%; box-sizing:border-box; height:3.25rem; padding:0 1rem 0 3rem; font:inherit; font-size:1rem; color:var(--text); background:var(--surface-2); border:1px solid var(--line-strong); border-radius:var(--radius); transition:border-color .2s, box-shadow .2s, background-color .2s; }
.tc-search input:focus { outline:none; background:#fff; border-color:var(--brand-400); box-shadow:0 0 0 4px rgba(59,141,219,.15); }
.tc-chips { display:flex; gap:.5rem; overflow-x:auto; padding:.15rem 0; scrollbar-width:none; }
.tc-chips::-webkit-scrollbar { display:none; }
.tc-chip { display:inline-flex; align-items:center; gap:.4rem; padding:.5rem .9rem; border-radius:999px; border:1px solid var(--line-strong); background:#fff; color:var(--text); font:inherit; font-size:.88rem; font-weight:600; cursor:pointer; white-space:nowrap; transition:background-color .2s, border-color .2s, color .2s; }
.tc-chip:hover { border-color:var(--brand-300); color:var(--brand-700); }
.tc-chip.is-active { background:var(--ink-900); border-color:var(--ink-900); color:#fff; }
.tc-chip .count { font-size:.75rem; font-weight:600; opacity:.6; }

/* ---------- Sections ---------- */
.tc-section { padding:clamp(3rem, 7vw, 5.5rem) 0; }
.tc-section--white { background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.tc-section__head { max-width:42rem; margin:0 auto clamp(2rem, 4vw, 3rem); text-align:center; }
.tc-section__head h2 { margin:0 0 .6rem; font-size:clamp(1.6rem, 3vw, 2.25rem); line-height:1.15; font-weight:800; letter-spacing:-.03em; color:var(--text); }
.tc-section__head p { margin:0; color:var(--text-muted); font-size:1.05rem; }
.tc-kicker { display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--brand-600); margin-bottom:.6rem; }
.tc-features { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap:1rem; }
.tc-feature { padding:1.5rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); transition:transform .25s var(--ease-out), box-shadow .25s; }
.tc-feature:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.tc-feature h3 { margin:1rem 0 .35rem; font-size:1.05rem; font-weight:700; color:var(--text); }
.tc-feature p { margin:0; color:var(--text-muted); font-size:.93rem; line-height:1.6; }
.tc-list { list-style:none; margin:0; padding:0; display:grid; gap:.6rem; }
.tc-list li { display:flex; gap:.6rem; align-items:flex-start; color:var(--text-muted); font-size:.93rem; line-height:1.5; }
.tc-list li::before { content:""; flex-shrink:0; width:18px; height:18px; margin-top:.1rem; border-radius:50%; background:var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232672c4'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Code sample block */
.tc-code { margin:0; background:var(--ink-900); color:#d7dbe3; border-radius:var(--radius-lg); padding:1.25rem 1.4rem; font:500 .85rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x:auto; border:1px solid #2a2d34; box-shadow:var(--shadow-lg); }
.tc-code .k { color:#8cc0ee; } .tc-code .s { color:#a5e3b5; } .tc-code .c { color:#8a90a0; }

/* ---------- Reveal-on-scroll animation ---------- */
.tc-reveal { opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.tc-reveal.is-visible { opacity:1; transform:none; }
.tc-fade-up { animation:tc-fade-up .8s var(--ease-out) both; }
.tc-delay-1 { animation-delay:.08s; } .tc-delay-2 { animation-delay:.16s; } .tc-delay-3 { animation-delay:.24s; }

@keyframes tc-float { 0%,100% { transform:translate(0,0); } 50% { transform:translate(-30px, 24px); } }
@keyframes tc-spin { to { transform:rotate(360deg); } }
@keyframes tc-bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-5px); } }
@keyframes tc-pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.45; transform:scale(.8); } }
@keyframes tc-shimmer { to { background-position:-200% 0; } }
@keyframes tc-fade-up { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .tc-reveal { opacity:1; transform:none; }
}

/* ---------- Footer ---------- */
.tc-footer { background:var(--ink-900); color:#aab0bc; padding:clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top:0; }
.tc-footer__top { display:grid; grid-template-columns:1.4fr repeat(3, 1fr); gap:2rem; }
.tc-footer__brand p { margin:.9rem 0 0; font-size:.92rem; line-height:1.6; max-width:22rem; }
.tc-footer h4, .tc-footer .tc-footer__title { margin:0 0 .9rem; color:#fff; font-size:.85rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.tc-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.tc-footer a { color:#aab0bc; text-decoration:none; font-size:.93rem; transition:color .2s; }
.tc-footer a:hover { color:#fff; }
.tc-footer__bottom { margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid rgba(255,255,255,.08); display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; font-size:.85rem; }
@media (max-width: 760px) { .tc-footer__top { grid-template-columns:1fr 1fr; } .tc-footer__brand { grid-column:1 / -1; } }
.tc-tool[hidden], .tc-chip[hidden] { display:none; }

/* Selected-file rows in the upload card */
.tc-file-row { display:flex; align-items:center; gap:.8rem; padding:.7rem .8rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface-2); animation:tc-fade-up .35s var(--ease-out) both; }
.tc-icon-btn { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:var(--radius-sm); border:0; background:transparent; color:var(--text-subtle); cursor:pointer; transition:background-color .15s, color .15s; }
.tc-icon-btn:hover { background:#fee2e2; color:#dc2626; }
@media print { .tc-reveal { opacity:1 !important; transform:none !important; } }

/* ---------- Hero artwork (generated with Meta Muse Image) ---------- */
.tc-hero__art { position:relative; flex-shrink:0; width:clamp(280px, 34vw, 470px); aspect-ratio:1; margin:-1.5rem -1rem -2rem 0; }
.tc-hero__art::before { content:""; position:absolute; inset:4%; border-radius:50%; background:radial-gradient(circle, rgba(59,141,219,.30), rgba(59,141,219,.08) 45%, transparent 70%); animation:tc-pulse-glow 6s ease-in-out infinite; will-change:transform, opacity; }
.tc-hero__art img { position:relative; width:100%; height:100%; object-fit:contain; display:block;
  -webkit-mask-image:radial-gradient(closest-side, #000 70%, transparent 100%); mask-image:radial-gradient(closest-side, #000 70%, transparent 100%);
  animation:tc-art-float 7s ease-in-out infinite; will-change:transform; }
.tc-hero--compact .tc-hero__art { width:clamp(240px, 26vw, 340px); margin:-2rem 0 -3rem; }
@keyframes tc-art-float { 0%,100% { transform:translateY(0) rotate(0deg); } 50% { transform:translateY(-12px) rotate(-1.2deg); } }
@keyframes tc-pulse-glow { 0%,100% { opacity:.75; transform:scale(1); } 50% { opacity:1; transform:scale(1.08); } }

/* Right-hand hero column: artwork with the format picker floating over its base */
.tc-hero__visual { position:relative; flex-shrink:0; width:clamp(320px, 36vw, 480px); display:flex; flex-direction:column; align-items:center; }
.tc-hero__visual .tc-hero__art { width:100%; margin:-2.5rem 0 -3rem; }
.tc-hero--compact .tc-hero__visual { width:clamp(300px, 30vw, 400px); }
.tc-hero--compact .tc-hero__visual .tc-hero__art { width:72%; margin:-3.5rem 0 -1.75rem; }
.tc-hero__visual .tc-convert { position:relative; z-index:1; }
.tc-hero__visual .tc-convert__rings { display:none; }
.tc-hero__visual .format-btn.tc-tile { background:linear-gradient(160deg, rgba(42,46,54,.94), rgba(22,24,28,.96)); }

@media (max-width: 900px) {
  .tc-hero__art { display:none; }
  .tc-hero__visual { width:100%; margin-top:.25rem; }
}

/* Header sits transparently over the hero, turning solid once you scroll. */
body:has(.tc-hero) .tc-header { margin-bottom:calc(-1 * var(--header-h)); }
body:has(.tc-hero) .tc-header:not(.is-scrolled):not(.is-menu-open) { background:transparent; border-bottom-color:transparent; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; }
body:has(.tc-hero) .tc-hero { padding-top:calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); }
.tc-header.is-menu-open { background:var(--ink-900); }
.tc-credits { gap:.35rem; padding:.4rem .8rem .4rem .65rem; border:1px solid rgba(97,172,227,.25); background:rgba(97,172,227,.08); }
.tc-credits:hover { background:rgba(97,172,227,.16); border-color:rgba(97,172,227,.45); }
.tc-credits b { font-weight:700; }
.tc-credits__sep { opacity:.5; }
.tc-mobile__credits { margin:1rem 0 0; padding:.75rem 1rem; border-radius:var(--radius); background:rgba(97,172,227,.1); border:1px solid rgba(97,172,227,.25); color:#d6ebfb; font-size:.95rem; }
.tc-ico--dev { --c:#0891b2; }
.tc-menu__new { display:inline-block; margin-left:.35rem; padding:.05rem .4rem; border-radius:999px; background:#ecfdf5; color:#047857; font-size:.68rem; font-weight:700; vertical-align:middle; }

/* ==========================================================================
   Content pages: docs, legal, contact, settings
   ========================================================================== */
.tc-hero--page { padding-bottom:clamp(6.5rem, 10vw, 8rem); }
.tc-hero--page .tc-hero__copy { max-width:48rem; }
.tc-hero__meta { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1.25rem; }
.tc-hero__meta .tc-badge { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.14); color:#d6dbe4; }
.tc-page { padding-bottom:clamp(3rem, 7vw, 5rem); }

/* Two-column docs layout with sticky table of contents */
.tc-docs { display:grid; grid-template-columns:15rem minmax(0, 1fr); gap:1.5rem; align-items:start; }
.tc-toc { position:sticky; top:calc(var(--header-h) + 1rem); max-height:calc(100vh - var(--header-h) - 2rem); overflow:auto; padding:1rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-card); }
.tc-toc__title { margin:0 0 .5rem; padding:0 .5rem; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-subtle); }
.tc-toc a { display:block; padding:.42rem .6rem; border-radius:var(--radius-sm); color:var(--text-muted); font-size:.9rem; font-weight:500; text-decoration:none; transition:background-color .15s, color .15s; }
.tc-toc a:hover { background:var(--surface); color:var(--text); }
.tc-toc a.is-active { color:var(--brand-700); background:var(--brand-50); font-weight:650; }
.tc-toc a.is-sub { padding-left:1.4rem; font-size:.85rem; }
.tc-doc-main { display:grid; gap:1.25rem; min-width:0; }
.tc-doc-section { padding:clamp(1.25rem, 3vw, 2.25rem); background:#fff; border:1px solid var(--line); border-radius:var(--radius-xl); box-shadow:var(--shadow-card); scroll-margin-top:calc(var(--header-h) + 1rem); min-width:0; }
.tc-doc-main > .tc-doc-section:first-child { box-shadow:var(--shadow-lg); }
@media (max-width: 960px) {
  .tc-docs { grid-template-columns:1fr; }
  .tc-toc { position:static; max-height:none; display:flex; gap:.25rem; overflow-x:auto; padding:.5rem; scrollbar-width:none; }
  .tc-toc__title { display:none; }
  .tc-toc a { white-space:nowrap; flex-shrink:0; }
  .tc-toc a.is-sub { display:none; }
}

/* Prose typography */
.tc-prose { color:var(--text-muted); font-size:1rem; line-height:1.75; }
.tc-prose > :first-child { margin-top:0; }
.tc-prose > :last-child { margin-bottom:0; }
.tc-prose h2 { margin:0 0 .9rem; color:var(--text); font-size:1.5rem; line-height:1.25; font-weight:750; letter-spacing:-.02em; display:flex; align-items:center; gap:.7rem; }
.tc-prose h2 .num { display:inline-flex; align-items:center; justify-content:center; width:2rem; height:2rem; flex-shrink:0; border-radius:10px; background:var(--brand-50); color:var(--brand-700); font-size:.9rem; font-weight:750; }
.tc-prose h3 { margin:1.75rem 0 .6rem; color:var(--text); font-size:1.1rem; font-weight:700; letter-spacing:-.01em; }
.tc-prose h4 { margin:1.25rem 0 .4rem; color:var(--text); font-size:.98rem; font-weight:700; }
.tc-prose p { margin:.75rem 0; }
/* :not(.tc-btn) — a button inside prose keeps its own colors (brand text on a brand button was invisible) */
.tc-prose a:not(.tc-btn) { color:var(--brand-600); font-weight:550; text-decoration:underline; text-decoration-color:var(--brand-200); text-underline-offset:3px; }
.tc-prose a:not(.tc-btn):hover { text-decoration-color:var(--brand-600); }
.tc-prose strong { color:var(--text); font-weight:650; }
.tc-prose ul, .tc-prose ol { margin:.75rem 0; padding-left:1.4rem; }
.tc-prose ul { list-style:disc; }
.tc-prose ol { list-style:decimal; }
.tc-prose ol li::marker { color:var(--brand-600); font-weight:700; }
.tc-prose li { margin:.35rem 0; padding-left:.25rem; }
.tc-prose ul li::marker { color:var(--brand-400); }
.tc-prose code { padding:.12rem .4rem; border-radius:6px; background:var(--surface); border:1px solid var(--line); color:var(--text); font:500 .86em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tc-prose pre code { padding:0; border:0; background:none; color:inherit; white-space:pre; font-size:inherit; }

/* Tables */
.tc-table-wrap { margin:1rem 0; overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); }
.tc-table { width:100%; border-collapse:collapse; font-size:.9rem; line-height:1.5; }
.tc-table th { text-align:left; padding:.7rem .9rem; background:var(--surface-2); color:var(--text); font-weight:650; font-size:.8rem; letter-spacing:.02em; border-bottom:1px solid var(--line); white-space:nowrap; }
.tc-table td { padding:.7rem .9rem; border-bottom:1px solid var(--line); color:var(--text-muted); vertical-align:top; }
.tc-table tr:last-child td { border-bottom:0; }
.tc-method { display:inline-block; min-width:3.6rem; text-align:center; padding:.15rem .45rem; border-radius:6px; font:700 .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing:.03em; }
.tc-method--get { background:#ecfdf5; color:#047857; }
.tc-method--post { background:var(--brand-50); color:var(--brand-700); }
.tc-method--delete { background:#fef2f2; color:#b91c1c; }

/* Callouts */
.tc-callout { display:flex; gap:.8rem; align-items:flex-start; margin:1rem 0; padding:1rem 1.1rem; border-radius:var(--radius); border:1px solid var(--brand-100); background:var(--brand-50); color:var(--brand-900); font-size:.93rem; line-height:1.6; }
.tc-callout svg { width:20px; height:20px; flex-shrink:0; margin-top:.1rem; color:var(--brand-600); }
.tc-callout--success { border-color:#a7f3d0; background:#ecfdf5; color:#064e3b; }
.tc-callout--success svg { color:#059669; }
.tc-callout--warn { border-color:#fde68a; background:#fffbeb; color:#78350f; }
.tc-callout--warn svg { color:#d97706; }

/* Code block with tabs + copy */
.tc-codeblock { margin:1rem 0; border-radius:var(--radius-lg); overflow:hidden; background:var(--ink-900); border:1px solid #2a2d34; box-shadow:var(--shadow-md); }
.tc-codeblock__bar { display:flex; align-items:center; gap:.25rem; padding:.45rem .5rem .45rem .75rem; border-bottom:1px solid #2a2d34; background:#1a1c21; }
.tc-codeblock__tab { padding:.35rem .7rem; border:0; border-radius:6px; background:transparent; color:#9aa1ae; font:600 .8rem/1 var(--font-sans); cursor:pointer; }
.tc-codeblock__tab:hover { color:#fff; }
.tc-codeblock__tab.is-active { background:rgba(255,255,255,.08); color:#fff; }
.tc-codeblock__label { color:#9aa1ae; font:600 .78rem/1 var(--font-sans); letter-spacing:.02em; }
.tc-codeblock__copy { margin-left:auto; padding:.35rem .65rem; border:1px solid #2f333b; border-radius:6px; background:transparent; color:#c3c8d2; font:600 .78rem/1 var(--font-sans); cursor:pointer; }
.tc-codeblock__copy:hover { color:#fff; border-color:#4b5160; }
.tc-codeblock pre { margin:0; padding:1rem 1.15rem; overflow-x:auto; color:#d7dbe3; font:500 .84rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tc-codeblock pre[hidden] { display:none; }
.tc-codeblock .k { color:#8cc0ee; } .tc-codeblock .s { color:#a5e3b5; } .tc-codeblock .c { color:#8a90a0; }

/* Form fields for template pages */
.tc-field { display:grid; gap:.45rem; }
.tc-field label { font-size:.88rem; font-weight:650; color:var(--text); }
.tc-field .req { color:#dc2626; }
.tc-input, .tc-select, .tc-textarea { width:100%; box-sizing:border-box; padding:.75rem .9rem; font:inherit; font-size:.97rem; color:var(--text); background:#fff; border:1px solid var(--line-strong); border-radius:var(--radius); transition:border-color .2s, box-shadow .2s; }
.tc-textarea { min-height:9rem; resize:vertical; line-height:1.6; }
.tc-input:focus, .tc-select:focus, .tc-textarea:focus { outline:none; border-color:var(--brand-400); box-shadow:0 0 0 4px rgba(59,141,219,.15); }
.tc-help { font-size:.82rem; color:var(--text-subtle); }

/* Small info cards (contact channels, stats) */
.tc-info-card { display:flex; gap:.9rem; align-items:flex-start; padding:1.15rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); text-decoration:none; color:inherit; transition:transform .25s var(--ease-out), box-shadow .25s, border-color .25s; }
a.tc-info-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--brand-200); }
.tc-info-card h3 { margin:0 0 .2rem; font-size:.98rem; font-weight:700; color:var(--text); }
.tc-info-card p { margin:0; font-size:.88rem; color:var(--text-muted); line-height:1.5; }

/* Home & category heroes: the copy sets the hero height and the art flexes to fill the
   space above the picker, so the art+picker block lines up with the text block. */
.tc-hero:not(.tc-hero--compact):not(.tc-hero--page) .tc-hero__inner { align-items:stretch; }
.tc-hero:not(.tc-hero--compact):not(.tc-hero--page) .tc-hero__copy { align-self:center; }
.tc-hero:not(.tc-hero--compact):not(.tc-hero--page) .tc-hero__visual { align-self:stretch; justify-content:flex-end; width:clamp(300px, 34vw, 440px); }
.tc-hero:not(.tc-hero--compact):not(.tc-hero--page) .tc-hero__visual .tc-hero__art { flex:1 1 0; min-height:0; width:auto; max-width:100%; aspect-ratio:1; margin:-3.5rem 0 -1.75rem; }
.tc-hero__checks { display:flex; flex-wrap:wrap; gap:.5rem 1.25rem; margin:1.5rem 0 0; padding:0; list-style:none; color:#c3c8d2; font-size:.95rem; }
.tc-hero__checks li { display:flex; align-items:center; gap:.45rem; }
.tc-hero__checks svg { width:18px; height:18px; color:var(--sky); flex-shrink:0; }
@media (max-width: 900px) { .tc-hero:not(.tc-hero--compact):not(.tc-hero--page) .tc-hero__visual { width:100%; } }

/* ---------- SEO content blocks: how-to steps, format cards, FAQ ---------- */
.tc-h2 { margin:3rem 0 1.1rem; font-size:clamp(1.35rem, 2.4vw, 1.7rem); line-height:1.2; font-weight:800; letter-spacing:-.025em; color:var(--text); }
.tc-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap:1rem; counter-reset:none; }
.tc-step { display:flex; gap:.9rem; align-items:flex-start; padding:1.25rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); }
.tc-step__num { flex-shrink:0; width:2.1rem; height:2.1rem; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(145deg, var(--brand-400), var(--brand-700)); color:#fff; font-weight:800; font-size:.95rem; box-shadow:var(--shadow-glow); }
.tc-step h3 { margin:.1rem 0 .3rem; font-size:1rem; font-weight:700; color:var(--text); }
.tc-step p { margin:0; font-size:.9rem; line-height:1.6; color:var(--text-muted); }
.tc-formats { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap:1rem; }
.tc-format { padding:1.25rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); }
.tc-format__head { display:flex; align-items:center; gap:.65rem; margin-bottom:.6rem; flex-wrap:wrap; }
.tc-format__badge { padding:.25rem .6rem; border-radius:8px; background:var(--ink-900); color:#fff; font:700 .82rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing:.03em; }
.tc-format__full { font-size:.88rem; font-weight:600; color:var(--text-muted); }
.tc-format p { margin:0; font-size:.92rem; line-height:1.65; color:var(--text-muted); }
.tc-faq { display:grid; gap:.6rem; }
.tc-faq__item { background:#fff; border:1px solid var(--line); border-radius:var(--radius); transition:border-color .2s, box-shadow .2s; }
.tc-faq__item[open] { border-color:var(--brand-200); box-shadow:var(--shadow-card); }
.tc-faq__item summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.15rem; cursor:pointer; list-style:none; }
.tc-faq__item summary::-webkit-details-marker { display:none; }
.tc-faq__item summary h3 { margin:0; font-size:1rem; font-weight:650; color:var(--text); }
.tc-faq__item summary svg { width:20px; height:20px; flex-shrink:0; color:var(--text-subtle); transition:transform .2s; }
.tc-faq__item[open] summary svg { transform:rotate(180deg); color:var(--brand-600); }
.tc-faq__item p { margin:0; padding:0 1.15rem 1.1rem; font-size:.95rem; line-height:1.7; color:var(--text-muted); }
.tc-seo-links { display:flex; flex-wrap:wrap; gap:.5rem; }
.tc-seo-links a { padding:.45rem .85rem; border-radius:999px; background:#fff; border:1px solid var(--line); color:var(--text); font-size:.88rem; font-weight:600; text-decoration:none; transition:border-color .2s, color .2s; }
.tc-seo-links a:hover { border-color:var(--brand-300); color:var(--brand-700); }

/* Anchored sections clear the sticky header. */
#all-tools { scroll-margin-top:calc(var(--header-h) + 1rem); }
/* the pricing section opens with 3-5.5rem of padding: land past most of it so the heading sits just under the header */
#pricing { scroll-margin-top:calc(var(--header-h) - clamp(2rem, 4vw, 3rem)); }

/* Settings: language picker */
.tc-lang-select { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin-top:1rem; }
.tc-lang-select .tc-select { max-width:20rem; }
