:root {
  --ll-bg: #090d16;
  --ll-surface: #101724;
  --ll-surface-2: #151e2e;
  --ll-border: rgba(148, 163, 184, 0.17);
  --ll-border-strong: rgba(139, 92, 246, 0.42);
  --ll-text: #f8fafc;
  --ll-muted: #9aa8bb;
  --ll-accent: #8b5cf6;
  --ll-accent-2: #6d5dfc;
  --ll-success: #34d399;
  --ll-container: 1120px;
  --ll-radius: 16px;
  --ll-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ll-public-page {
  margin: 0;
  min-height: 100vh;
  color: var(--ll-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(109, 93, 252, 0.13), transparent 32rem),
    var(--ll-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.ll-public-page a { color: inherit; }
body.ll-public-page button,
body.ll-public-page input,
body.ll-public-page select,
body.ll-public-page textarea { font: inherit; }
body.ll-public-page h1,
body.ll-public-page h2,
body.ll-public-page h3,
body.ll-public-page p { margin-top: 0; }
body.ll-public-page h1,
body.ll-public-page h2,
body.ll-public-page h3 { line-height: 1.14; letter-spacing: -0.025em; }
body.ll-public-page h1 { margin-bottom: 20px; font-size: clamp(2.35rem, 5vw, 4.15rem); max-width: 800px; }
body.ll-public-page h2 { margin-bottom: 14px; font-size: clamp(1.65rem, 3vw, 2.45rem); }
body.ll-public-page p { color: var(--ll-muted); }

.ll-container { width: min(var(--ll-container), calc(100% - 40px)); margin-inline: auto; }
.ll-narrow { max-width: 760px; }
.ll-skip { position: fixed; left: 12px; top: -100px; z-index: 9999; padding: 10px 14px; border-radius: 8px; background: #fff; color: #111827 !important; text-decoration: none; }
.ll-skip:focus { top: 12px; }

/* Shared compact site chrome. These classes are deliberately isolated from tool-page controls. */
.ll-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ll-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ll-header-inner { position: relative; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.ll-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ll-text) !important; font-size: 1rem; font-weight: 650; text-decoration: none; letter-spacing: -0.015em; }
.ll-logo strong { color: #b9a7ff; }
.ll-logo-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(167, 139, 250, 0.5); border-radius: 10px; background: linear-gradient(145deg, rgba(139, 92, 246, 0.29), rgba(109, 93, 252, 0.08)); color: #ddd6fe; font-weight: 800; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.ll-site-nav { display: flex; align-items: center; gap: 4px; }
.ll-site-nav a { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; color: #b8c3d2 !important; font-size: .9rem; font-weight: 650; text-decoration: none; transition: .18s ease; }
.ll-site-nav a:hover,
.ll-site-nav a[aria-current="page"] { color: #fff !important; background: rgba(148, 163, 184, 0.09); }
.ll-site-nav .ll-contact-link { margin-left: 7px; color: #fff !important; background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-2)); box-shadow: 0 10px 26px rgba(109, 93, 252, .22); }
.ll-site-nav .ll-contact-link:hover { transform: translateY(-1px); background: linear-gradient(135deg, #9c72ff, #7568ff); }
.ll-menu-button { display: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--ll-border); border-radius: 10px; background: var(--ll-surface); color: #fff; cursor: pointer; }

.ll-site-footer { margin-top: auto; border-top: 1px solid rgba(148, 163, 184, 0.12); background: #070a11; color: var(--ll-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ll-footer-main { padding: 34px 0 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.ll-footer-main p { max-width: 430px; margin: 13px 0 0; color: #7e8da1; font-size: .86rem; }
.ll-footer-main nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ll-footer-main nav a { color: #9aa8bb !important; font-size: .86rem; font-weight: 600; text-decoration: none; }
.ll-footer-main nav a:hover { color: #fff !important; }
.ll-footer-bottom { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(148, 163, 184, 0.08); color: #627086; font-size: .75rem; }

/* Hide only old top-level site chrome after the safe shared chrome is inserted. */
body.ll-tool-chrome > header:not(.ll-site-header),
body.ll-tool-chrome > footer:not(.ll-site-footer) { display: none !important; }
body.ll-tool-chrome > .ll-site-header { position: sticky; }

.ll-hero { padding: 76px 0 62px; }
.ll-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: center; gap: 52px; }
.ll-hero-copy > p { max-width: 700px; margin-bottom: 28px; font-size: clamp(1rem, 1.5vw, 1.13rem); }
.ll-eyebrow { display: inline-block; margin-bottom: 14px; color: #b9a7ff; font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ll-button-row { display: flex; flex-wrap: wrap; gap: 11px; }
.ll-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 19px; border: 1px solid transparent; border-radius: 11px; font-size: .91rem; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.ll-button:hover { transform: translateY(-1px); }
.ll-button-primary { color: #fff !important; background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-2)); box-shadow: 0 14px 36px rgba(109, 93, 252, .22); }
.ll-button-secondary { color: #e7eaf0 !important; border-color: var(--ll-border); background: rgba(15, 23, 36, .8); }
.ll-button-secondary:hover { border-color: rgba(167, 139, 250, .42); background: var(--ll-surface-2); }

.ll-disclaimer-card { display: flex; gap: 15px; padding: 24px; border: 1px solid var(--ll-border); border-radius: var(--ll-radius); background: linear-gradient(145deg, rgba(20, 29, 45, .95), rgba(12, 18, 29, .95)); box-shadow: var(--ll-shadow); }
.ll-disclaimer-card strong { display: block; margin-bottom: 7px; font-size: .97rem; }
.ll-disclaimer-card p { margin: 0; font-size: .88rem; }
.ll-status-dot { width: 10px; height: 10px; margin-top: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--ll-success); box-shadow: 0 0 0 5px rgba(52, 211, 153, .11); }

.ll-tools-section { padding: 58px 0 78px; border-top: 1px solid rgba(148, 163, 184, .08); background: rgba(5, 9, 16, .32); }
.ll-tools-section-page { padding-top: 30px; min-height: 52vh; }
.ll-section-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.ll-section-heading h2 { margin-bottom: 0 !important; }
.ll-inline-link { color: #c4b5fd !important; font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ll-inline-link:hover { color: #fff !important; }
.ll-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ll-tool-card { min-width: 0; min-height: 146px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; align-items: start; gap: 15px; padding: 20px; border: 1px solid var(--ll-border); border-radius: 14px; background: rgba(16, 23, 36, .76); color: var(--ll-text) !important; text-decoration: none; box-shadow: inset 0 1px rgba(255,255,255,.025); transition: .2s ease; }
.ll-tool-card:hover { transform: translateY(-3px); border-color: var(--ll-border-strong); background: rgba(21, 30, 46, .95); box-shadow: 0 18px 42px rgba(0,0,0,.2); }
.ll-tool-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(167, 139, 250, .25); border-radius: 11px; background: rgba(139, 92, 246, .12); color: #c4b5fd; font-size: 1.08rem; font-weight: 800; }
.ll-tool-content { min-width: 0; display: block; }
.ll-tool-content strong { display: block; margin: 1px 0 7px; font-size: .98rem; }
.ll-tool-content small { display: block; color: var(--ll-muted); font-size: .81rem; line-height: 1.5; }
.ll-tool-content em { display: block; margin-top: 14px; color: #c4b5fd; font-size: .76rem; font-style: normal; font-weight: 750; }
.ll-card-arrow { justify-self: end; color: #6f7d91; transition: transform .2s ease, color .2s ease; }
.ll-tool-card:hover .ll-card-arrow { color: #c4b5fd; transform: translateX(3px); }

.ll-about-strip { padding: 64px 0; border-top: 1px solid rgba(148, 163, 184, .08); }
.ll-about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.ll-about-grid p { margin-bottom: 16px; }
.ll-page-intro { padding: 62px 0 35px; }
.ll-page-intro h1 { margin-bottom: 13px !important; font-size: clamp(2.15rem, 4vw, 3.45rem) !important; }
.ll-page-intro p { max-width: 680px; margin-bottom: 0; font-size: 1.02rem; }
.ll-help-banner { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 22px; border: 1px solid var(--ll-border); border-radius: 14px; background: var(--ll-surface); }
.ll-help-banner strong { display: block; margin-bottom: 3px; }
.ll-help-banner p { margin: 0; font-size: .85rem; }
.ll-simple-content { padding: 10px 0 80px; }
.ll-content-card { padding: clamp(24px, 5vw, 42px); border: 1px solid var(--ll-border); border-radius: var(--ll-radius); background: rgba(16, 23, 36, .82); box-shadow: var(--ll-shadow); }
.ll-content-card h2:not(:first-child) { margin-top: 31px; }
.ll-content-card .ll-button-row { margin-top: 28px; }

.ll-contact-section { padding: 8px 0 80px; }
.ll-contact-grid { display: grid; grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr); gap: 24px; align-items: start; }
.ll-contact-info,
.ll-contact-form { border: 1px solid var(--ll-border); border-radius: var(--ll-radius); background: rgba(16, 23, 36, .84); box-shadow: var(--ll-shadow); }
.ll-contact-info { padding: 26px; }
.ll-contact-info h2 { font-size: 1.35rem !important; }
.ll-contact-info ol { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.ll-contact-info li { display: grid; grid-template-columns: 31px 1fr; gap: 12px; align-items: start; }
.ll-contact-info li > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: rgba(139, 92, 246, .14); color: #c4b5fd; font-size: .75rem; font-weight: 800; }
.ll-contact-info li p { margin: 3px 0 0; font-size: .84rem; }
.ll-info-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--ll-border); }
.ll-info-note strong,
.ll-info-note span { display: block; }
.ll-info-note span { margin-top: 4px; color: var(--ll-muted); font-size: .78rem; }
.ll-contact-form { padding: 26px; }
.ll-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ll-field { display: grid; gap: 7px; margin-bottom: 15px; }
.ll-field > span { color: #dce3ed; font-size: .79rem; font-weight: 750; }
.ll-field input,
.ll-field select,
.ll-field textarea { width: 100%; border: 1px solid var(--ll-border); border-radius: 10px; outline: none; background: #0b111c; color: #f8fafc; transition: border-color .18s ease, box-shadow .18s ease; }
.ll-field input,
.ll-field select { min-height: 44px; padding: 0 13px; }
.ll-field textarea { min-height: 108px; padding: 11px 13px; resize: vertical; }
.ll-field input:focus,
.ll-field select:focus,
.ll-field textarea:focus { border-color: rgba(139, 92, 246, .72); box-shadow: 0 0 0 3px rgba(139, 92, 246, .12); }
.ll-message-preview { margin: 20px 0; border: 1px solid var(--ll-border); border-radius: 11px; overflow: hidden; background: #080d15; }
.ll-message-preview > div { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--ll-border); }
.ll-message-preview small { color: #718096; }
.ll-message-preview pre { max-height: 260px; margin: 0; padding: 14px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #b8c3d2; font: .76rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ll-form-status { min-height: 24px; margin: 0 0 10px; font-size: .82rem; color: #c4b5fd !important; }

@media (max-width: 900px) {
  .ll-hero-grid,
  .ll-about-grid,
  .ll-contact-grid { grid-template-columns: 1fr; }
  .ll-disclaimer-card { max-width: 680px; }
  .ll-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ll-about-grid { gap: 20px; }
}

@media (max-width: 680px) {
  .ll-container { width: min(var(--ll-container), calc(100% - 28px)); }
  .ll-header-inner { min-height: 62px; }
  .ll-menu-button { display: inline-flex; align-items: center; }
  .ll-site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 9px; border: 1px solid var(--ll-border); border-radius: 12px; background: #0d1420; box-shadow: var(--ll-shadow); }
  .ll-site-nav.is-open { display: flex; }
  .ll-site-nav a { width: 100%; }
  .ll-site-nav .ll-contact-link { margin-left: 0; }
  .ll-hero { padding: 52px 0 46px; }
  body.ll-public-page h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .ll-tools-section { padding: 48px 0 58px; }
  .ll-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .ll-tool-grid { grid-template-columns: 1fr; }
  .ll-tool-card { min-height: 126px; }
  .ll-about-strip { padding: 48px 0; }
  .ll-help-banner,
  .ll-footer-main,
  .ll-footer-bottom { align-items: flex-start; flex-direction: column; }
  .ll-footer-main nav { margin-top: 4px; }
  .ll-footer-bottom { justify-content: center; padding: 14px 0; }
  .ll-field-row { grid-template-columns: 1fr; gap: 0; }
  .ll-contact-form,
  .ll-contact-info { padding: 20px; }
}

@media (max-width: 430px) {
  .ll-button-row { flex-direction: column; }
  .ll-button-row .ll-button { width: 100%; }
  .ll-tool-card { grid-template-columns: 38px minmax(0, 1fr) 16px; padding: 17px; gap: 12px; }
  .ll-tool-icon { width: 38px; height: 38px; }
  .ll-help-banner { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ll-button,
  .ll-tool-card,
  .ll-site-nav a { transition: none !important; }
}
