:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --dark: #111827;
  --background: #f8fafc;
  --card: #fff;
  --text: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --header: rgba(255, 255, 255, .82);
  --header-solid: rgba(255, 255, 255, .95);
  --hover: rgba(79, 70, 229, .08);
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, .16);
  --brand-gradient: linear-gradient(115deg, #4f46e5, #7c3aed 55%, #06b6d4);
  --radius: 22px;
}

[data-theme="dark"] {
  --background: #0b1120;
  --card: #111827;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: #263247;
  --header: rgba(11, 17, 32, .78);
  --header-solid: rgba(11, 17, 32, .94);
  --hover: rgba(129, 140, 248, .14);
  --shadow: 0 18px 45px rgba(0, 0, 0, .3);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body.drawer-open { overflow: hidden; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .4); outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.content-narrow { width: min(780px, 100%); }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); overflow: hidden; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 999; padding: 10px 16px; background: var(--dark); color: #fff; }
.skip-link:focus { top: 12px; }

/* ---------- Promo strip ---------- */
.promo-strip {
  position: relative;
  overflow: hidden;
  background: var(--brand-gradient);
  background-size: 220% 100%;
  animation: promo-pan 18s ease-in-out infinite;
  color: #fff;
  font-size: 13px;
}
@keyframes promo-pan {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 100% 0; }
}
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; padding: 6px 0; text-align: center; }
.promo-inner p { margin: 0; opacity: .95; }
.promo-pill { padding: 3px 10px; border-radius: 20px; background: rgba(255, 255, 255, .2); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.promo-inner > a { font-weight: 700; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.promo-inner > a:hover { border-bottom-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: var(--header);
  backdrop-filter: blur(20px) saturate(180%);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: var(--header-solid);
  box-shadow: 0 6px 30px rgba(15, 23, 42, .07);
}
.header-inner { display: flex; height: 72px; align-items: center; justify-content: space-between; gap: 14px; transition: height .25s; }
.header-inner > * { flex: none; }
.site-header.is-stuck .header-inner { height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-gradient);
  box-shadow: 0 8px 20px rgba(79, 70, 229, .35);
  color: #fff;
  transition: transform .25s, box-shadow .25s;
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); box-shadow: 0 10px 26px rgba(124, 58, 237, .45); }
.brand-mark img { width: 36px; height: 36px; border-radius: 11px; object-fit: cover; display: block; }
.brand-word > span { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-word small { font-size: .72em; font-weight: 700; color: var(--muted); margin-left: 1px; }

.desktop-nav { display: flex; align-items: center; gap: 2px; }
.nav-menu { position: relative; flex: none; }
.nav-trigger, .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  border: 0;
  border-radius: 10px;
  padding: 9px 11px;
  background: transparent;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.nav-link-signup { border: 1px solid var(--line); }
.nav-link-signup:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.nav-trigger:hover, .nav-link:hover, .nav-trigger[aria-expanded="true"] { background: var(--hover); color: var(--primary); }
.nav-trigger.is-active, .nav-link.is-active { color: var(--primary); }
.nav-chevron { width: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .6; transition: transform .22s; }
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 10;
  visibility: hidden;
  width: min(520px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
/* The last two menus open leftwards so they never run past the viewport edge. */
.nav-menu:nth-child(n+4) .nav-dropdown { left: auto; right: 0; }
.nav-dropdown::before { content: ""; position: absolute; top: -14px; left: 0; width: 100%; height: 14px; }
.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown,
.nav-trigger[aria-expanded="true"] + .nav-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.nav-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-dropdown-grid a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 13px;
  transition: background .16s, transform .16s;
}
.nav-dropdown-grid a:hover { background: var(--hover); transform: translateY(-1px); }
.nav-dropdown-grid a[aria-current="page"] { background: var(--hover); }
.nav-icon { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 11px; font-size: 12px; font-weight: 900; }
.nav-copy { display: grid; min-width: 0; gap: 1px; }
.nav-copy strong { font-size: 13.5px; letter-spacing: -.01em; }
.nav-copy small { overflow: hidden; color: var(--muted); font-size: 11.5px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.nav-dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 11px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.nav-dropdown-footer:hover { background: color-mix(in srgb, var(--primary) 13%, transparent); }

.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: border-color .18s, color .18s, transform .18s;
}
.icon-button:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.theme-button svg { position: absolute; width: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: opacity .25s, transform .35s; }
.theme-button .icon-moon { opacity: 1; transform: rotate(0) scale(1); }
.theme-button .icon-sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="dark"] .theme-button .icon-moon { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="dark"] .theme-button .icon-sun { opacity: 1; transform: rotate(0) scale(1); }

.scroll-progress { height: 2px; background: transparent; }
.scroll-progress span { display: block; height: 100%; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }

.mobile-toggle { display: none; width: 42px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.mobile-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer { display: none; max-height: calc(100dvh - 74px); overflow-y: auto; padding: 14px 20px 28px; border-top: 1px solid var(--line); background: var(--card); }
.drawer-primary { display: block; padding: 13px 12px; border-radius: 12px; background: var(--background); font-weight: 700; margin-bottom: 8px; }
.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-group summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; font-weight: 700; cursor: pointer; list-style: none; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group summary svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .2s; }
.drawer-group[open] summary { color: var(--primary); }
.drawer-group[open] summary svg { transform: rotate(180deg); }
.drawer-links { display: grid; padding: 0 12px 12px; }
.drawer-links a { padding: 9px 10px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; }
.drawer-links a:hover, .drawer-links a[aria-current="page"] { background: var(--hover); color: var(--primary); }
/* Stated explicitly so the narrow-screen rule that hides the header CTA can never hide this one. */
.mobile-drawer .button-cta { display: flex; margin-top: 16px; }
.drawer-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 10px 18px; font-weight: 700; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .6; transform: none; }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 25px rgba(79, 70, 229, .24); }
.button-primary:hover { background: var(--primary-dark); box-shadow: 0 14px 32px rgba(79, 70, 229, .34); }
.button-cta {
  position: relative;
  overflow: hidden;
  background: var(--brand-gradient);
  background-size: 160% 100%;
  color: #fff;
  box-shadow: 0 10px 26px rgba(79, 70, 229, .32);
  white-space: nowrap;
}
.button-cta:hover { background-position: 100% 0; box-shadow: 0 14px 34px rgba(124, 58, 237, .42); }
.button-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transition: left .55s ease;
}
.button-cta:hover::after { left: 130%; }
.button-outline { border-color: var(--line); background: var(--card); color: var(--text); }
.button-outline:hover { border-color: var(--primary); color: var(--primary); }
.button-large { min-width: 220px; padding: 15px 28px; border-radius: 14px; font-size: 17px; }
.button-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 46px; text-align: center; background: radial-gradient(circle at 50% 8%, rgba(79, 70, 229, .13), transparent 42%); }
.hero-inner { position: relative; z-index: 1; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.hero-orb-one { width: 320px; height: 320px; top: 60px; left: -140px; background: #a5b4fc; }
.hero-orb-two { width: 300px; height: 300px; right: -130px; bottom: 40px; background: #67e8f9; }
.eyebrow { display: inline-block; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 14px 0 16px; font-size: clamp(42px, 6vw, 68px); line-height: 1.05; letter-spacing: -.055em; }
.hero h1 span { background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 690px; margin: 0 auto 34px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.quick-picker { width: min(790px, 100%); margin: auto; padding: 38px 24px 30px; border: 2px dashed #a5b4fc; border-radius: 28px; background: color-mix(in srgb, var(--card) 92%, transparent); box-shadow: var(--shadow); cursor: pointer; transition: .2s; }
.quick-picker:hover, .quick-picker.is-dragging { border-color: var(--primary); transform: translateY(-3px); background: color-mix(in srgb, var(--primary) 5%, var(--card)); box-shadow: var(--shadow-lg); }
.upload-illustration { display: flex; height: 82px; align-items: center; justify-content: center; gap: 15px; margin-bottom: 15px; }
.file-sheet { display: grid; width: 62px; height: 72px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--card); box-shadow: 0 8px 18px rgba(15, 23, 42, .1); color: var(--primary); font-size: 12px; font-weight: 900; }
.sheet-one { transform: rotate(-7deg); }
.sheet-two { transform: rotate(6deg); color: #ef4444; }
.file-arrow { color: var(--muted); font-size: 25px; }
.quick-picker p { margin: 13px 0 2px; color: var(--muted); }
.quick-picker small { color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; margin-top: 26px; color: var(--muted); font-size: 13px; font-weight: 600; }
.trust-row span::first-letter { color: var(--success); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint, .faq-section { background: color-mix(in srgb, var(--primary) 4%, var(--background)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading h2, .center-heading h2 { margin: 5px 0; font-size: clamp(29px, 4vw, 42px); line-height: 1.15; letter-spacing: -.04em; }
.section-heading > a { color: var(--primary); font-weight: 700; }
.center-heading { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.center-heading p { margin-top: 10px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { display: block; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 6px 25px rgba(15, 23, 42, .035); transition: .22s; }
.tool-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--primary) 38%, var(--line)); box-shadow: var(--shadow); }
.tool-card h2, .tool-card h3 { margin: 18px 0 6px; font-size: 20px; letter-spacing: -.02em; }
.tool-card p { min-height: 48px; margin: 0 0 15px; color: var(--muted); font-size: 14px; }
.tool-card b { color: var(--primary); font-size: 13px; }
.tool-icon { display: grid; width: 51px; height: 51px; place-items: center; border-radius: 15px; font-size: 13px; font-weight: 900; }
.icon-purple { background: #ede9fe; color: #6d28d9; }
.icon-blue { background: #dbeafe; color: #2563eb; }
.icon-cyan { background: #cffafe; color: #0891b2; }
.icon-rose { background: #ffe4e6; color: #e11d48; }
.icon-green { background: #dcfce7; color: #16a34a; }
[data-theme="dark"] .icon-purple { background: #2e2360; color: #c4b5fd; }
[data-theme="dark"] .icon-blue { background: #1e2f52; color: #93c5fd; }
[data-theme="dark"] .icon-cyan { background: #123c46; color: #67e8f9; }
[data-theme="dark"] .icon-rose { background: #43202c; color: #fda4af; }
[data-theme="dark"] .icon-green { background: #12351f; color: #86efac; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid article { padding: 28px 22px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feature-grid article > span { display: grid; width: 48px; height: 48px; place-items: center; margin: auto; border-radius: 15px; background: color-mix(in srgb, var(--primary) 10%, var(--card)); font-size: 20px; }
.feature-grid h3 { margin: 16px 0 5px; font-size: 17px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.content-narrow > p { color: var(--muted); font-size: 17px; }
.content-narrow h2 { margin-top: 34px; letter-spacing: -.03em; }
.content-narrow a:not(.button) { color: var(--primary); font-weight: 600; }
.faq-section details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; font-weight: 750; }
.faq-section details p { color: var(--muted); }
.ad-container { width: min(970px, calc(100% - 40px)); margin: 20px auto; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 62px; background: #0f172a; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; }
.brand-light { color: #f8fafc; }
.footer-brand p { max-width: 320px; }
.footer-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 20px; background: rgba(22, 163, 74, .14); color: #6ee7b7; font-size: 12px; font-weight: 600; }
.footer-grid h2 { margin: 3px 0 15px; color: #f8fafc; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div > a:not(.brand) { display: block; padding: 5px 0; font-size: 13px; }
.footer-grid > div > a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 50px; padding: 20px 0; border-top: 1px solid #263247; font-size: 12px; }
.visit-counter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}
.visit-line { margin: 0; color: #e2e8f0; }
.visit-line strong { color: #fff; font-weight: 700; }
.visit-sep { margin: 0 6px; color: #94a3b8; }
.spotlight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.spotlight-card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .2s, border-color .2s;
}
.spotlight-card:hover { transform: translateY(-2px); border-color: rgba(79, 70, 229, .35); }
.spotlight-stat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.spotlight-card strong { font-size: 16px; }
.spotlight-card span { font-size: 13px; color: var(--muted); }
.spotlight-card b { font-size: 13px; margin-top: 4px; color: var(--accent); }
.tools-count { margin-top: 10px; color: var(--muted); font-size: 14px; }
.tools-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.page-pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600;
}
.page-pill.is-active { background: var(--brand-gradient); color: #fff; border-color: transparent; }
.hero-search { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 20px; flex-wrap: wrap; }
.hero-search input { flex: 1; min-width: 200px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); font-size: 15px; }
.tools-search-bar { display: flex; gap: 10px; max-width: 720px; margin: 16px auto 0; flex-wrap: wrap; }
.tools-search-bar input, .tools-search-bar select { flex: 1; min-width: 180px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.category-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.category-card strong { font-size: 15px; }
.category-card span { color: var(--muted); font-size: 13px; }
.tools-empty { text-align: center; color: var(--muted); grid-column: 1 / -1; }
.footer-bottom a { color: #cbd5f5; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #fff; }
.footer-mail { margin-top: 10px; color: #cbd5f5 !important; word-break: break-all; }

/* ---------- Contact and signup forms ---------- */
.form-section { padding-top: 0; }
.form-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; align-items: start; }
.site-form {
  display: grid;
  gap: 17px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.site-form h2 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.field > span em { color: var(--muted); font-weight: 500; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--background);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field-check { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.55; }
.field-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.site-form .button-cta { justify-self: start; }
.form-note { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.form-note a, .aside-email a { color: var(--primary); font-weight: 700; word-break: break-word; }
.form-status { display: none; margin: 0; padding: 13px 15px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.form-status.is-sending, .form-status.is-ok, .form-status.is-error { display: block; }
.form-status.is-sending { background: color-mix(in srgb, var(--primary) 9%, var(--card)); color: var(--primary); }
.form-status.is-ok { background: color-mix(in srgb, var(--success) 11%, var(--card)); color: color-mix(in srgb, var(--success) 78%, var(--text)); }
.form-status.is-error { background: color-mix(in srgb, var(--danger) 9%, var(--card)); color: var(--danger); }
.form-status a { color: inherit; text-decoration: underline; }

.form-aside { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--primary) 4%, var(--card)); }
.form-aside h2 { margin: 0 0 14px; font-size: 18px; }
.aside-email { margin: 0 0 18px; font-size: 15px; }
.aside-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.aside-list li { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.aside-list b { display: block; color: var(--text); font-size: 13px; }

/* ---------- Tool pages ---------- */
.tool-hero { padding: 40px 0 75px; background: radial-gradient(circle at 50% 0, rgba(79, 70, 229, .12), transparent 46%); }
.breadcrumbs { margin-bottom: 25px; color: var(--muted); font-size: 12px; font-weight: 650; }
.breadcrumbs a { color: var(--primary); }
.tool-heading { max-width: 810px; margin: 0 auto 28px; text-align: center; }
.tool-heading h1 { margin: 8px 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -.045em; }
.tool-heading p { margin: 0 0 16px; color: var(--muted); font-size: 17px; }
.local-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border: 1px solid color-mix(in srgb, var(--success) 35%, var(--line)); border-radius: 20px; background: color-mix(in srgb, var(--success) 9%, var(--card)); color: color-mix(in srgb, var(--success) 75%, var(--text)); font-size: 12.5px; font-weight: 700; }
.local-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 22%, transparent); }
.tool-shell { width: min(920px, 100%); margin: auto; border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.dropzone { display: grid; min-height: 330px; padding: 35px; place-items: center; border: 2px dashed #a5b4fc; border-radius: 21px; margin: 14px; text-align: center; cursor: pointer; transition: .2s; }
.dropzone:hover { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 3%, var(--card)); }
.dropzone.is-dragging { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, var(--card)); }
.drop-icon { display: grid; width: 72px; height: 72px; margin: auto auto 15px; place-items: center; border-radius: 22px; background: color-mix(in srgb, var(--primary) 11%, var(--card)); color: var(--primary); font-size: 30px; }
.dropzone h2 { margin: 0; font-size: 23px; }
.dropzone p { margin: 4px 0 20px; color: var(--muted); }
.dropzone small { color: var(--muted); display: block; margin-top: 14px; font-size: 12px; }
.format-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.format-pills span { padding: 4px 9px; border-radius: 20px; background: var(--background); color: var(--muted); font-size: 10px; font-weight: 800; }
.privacy-note { padding: 12px 20px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 12px; }
.workspace { display: none; padding: 24px; }
.workspace.is-visible { display: block; }
.file-list { display: grid; gap: 10px; margin-bottom: 20px; }
.file-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--background); }
.file-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--line); }
.file-row strong, .file-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row small { color: var(--muted); }
.file-remove { border: 0; background: transparent; color: var(--danger); font-weight: 600; cursor: pointer; }
.control-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 20px; border-radius: 16px; background: var(--background); }
.control-panel label { font-size: 13px; font-weight: 700; }
.control-panel input, .control-panel select { width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--text); }
.control-panel .full { grid-column: 1 / -1; }
.control-panel p.full { margin: 0; color: var(--muted); font-size: 13px; }
.range-row { display: flex; align-items: center; gap: 15px; }
.range-row input { padding: 0; accent-color: var(--primary); }
.range-row output { font-variant-numeric: tabular-nums; }
.action-row { display: flex; justify-content: center; margin-top: 22px; }
.status-panel { display: none; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.status-panel.is-visible { display: block; }
.status-panel.error { border-color: #fecaca; color: var(--danger); }
.progress-track { height: 8px; margin: 12px 0; overflow: hidden; border-radius: 9px; background: var(--line); }
.progress-bar { width: 0; height: 100%; background: var(--brand-gradient); transition: width .25s; }
.result-actions { display: none; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 15px; }
.result-actions.is-visible { display: flex; }
.info-section { padding: 85px 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.info-grid h2 { font-size: 34px; line-height: 1.2; letter-spacing: -.035em; }
.info-grid p, .how-list p { color: var(--muted); }
.how-list { display: grid; gap: 15px; }
.how-list article { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.how-list span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--primary) 12%, var(--card)); color: var(--primary); font-weight: 800; }
.how-list h3, .how-list p { margin: 0; }

@media (max-width: 1180px) {
  .desktop-nav, .nav-link-signup { display: none; }
  .mobile-toggle { display: block; }
  .mobile-drawer.is-open { display: block; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .promo-inner > a { display: none; }
  .promo-inner { font-size: 12px; }
  .header-actions .button-cta { display: none; }
  .hero { padding-top: 50px; }
  .quick-picker { padding-inline: 15px; }
  .tool-grid, .info-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-heading { align-items: start; }
  .section-heading > a { white-space: nowrap; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .site-form, .form-aside { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-form .button-cta { justify-self: stretch; }
  .control-panel { grid-template-columns: 1fr; }
  .control-panel .full { grid-column: auto; }
  .tool-hero { padding-top: 25px; }
  .dropzone { min-height: 300px; padding: 22px 12px; }
  .info-section { padding: 60px 0; }
}
@media (max-width: 420px) {
  .brand { font-size: 19px; }
  .promo-inner p { font-size: 11.5px; }
  .hero h1 { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .button-large { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition: none !important; }
}

/* ---------- Auth, geo and chatbot ---------- */
.geo-chip, .member-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.member-chip {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  background: color-mix(in srgb, var(--primary) 8%, var(--card));
  font-weight: 700;
}
.nav-link-signin { border: 0; background: transparent; cursor: pointer; font: inherit; color: inherit; }
.chat-header-button svg, .chat-launcher svg { width: 18px; height: 18px; fill: currentColor; }
.chat-root { position: fixed; right: 18px; bottom: 18px; z-index: 120; }
.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.chat-panel {
  width: min(360px, calc(100vw - 36px));
  max-height: min(520px, calc(100vh - 120px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.chat-head small { display: block; color: var(--muted); }
.chat-close {
  position: relative;
  flex: 0 0 auto;
  min-width: 36px;
  min-height: 36px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
}
.chat-panel[hidden],
.chat-launcher[hidden] { display: none !important; }
.chat-log {
  padding: 14px 16px;
  overflow: auto;
  display: grid;
  gap: 10px;
}
.chat-msg {
  padding: 10px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 8%, var(--card));
  font-size: 14px;
}
.chat-msg-user { background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.chat-links { display: grid; gap: 8px; margin-top: 8px; }
.chat-links a { color: var(--primary); font-weight: 700; }
.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}
.chat-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--background);
}
@media (max-width: 1180px) {
  .geo-chip { display: none; }
  .chat-header-button { display: none; }
  #auth-controls .nav-link-signin, #auth-controls .nav-link-signup { display: none; }
}
