/* legalspire.net — LegalSpire's own colours (legalspire-web/src/styles/tokens.css), light. Local fonts only. */
@font-face { font-family: Practice; src: url('fonts/noto-sans-hebrew-hebrew.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Practice; src: url('fonts/noto-sans-hebrew-latin.woff2') format('woff2'); unicode-range: U+0000-00FF; font-display: swap; }
@font-face { font-family: Editorial; src: url('fonts/david-libre-400-hebrew.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Editorial; src: url('fonts/david-libre-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF; font-display: swap; }

:root {
  --canvas: #f0f3f5; --paper: #fcfcfa; --wash: #eaf0f4; --soft: #e2e9ef;
  --ink: #2b3540; --muted: #5f6b76; --line: #d9e0e4; --edge: #c5d0d8;
  --primary: #465d75; --strong: #344b63; --on: #fcfcfa;
  --ok: #4f8a5e; --ok-bg: #e4efe6; --warm: #805d32; --warm-bg: #f4e9d6;
  --r: 10px; --h: Editorial, Georgia, serif; --sans: Practice, 'Segoe UI', Arial, sans-serif;
  --shadow: 0 14px 38px rgb(36 54 70 / .09);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-text-size-adjust: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--h); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.06; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; }
h3 { font-size: 27px; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: 40px; }
.skip { position: absolute; inset-inline-start: 12px; top: -48px; z-index: 50; padding: 8px 14px; border-radius: var(--r); background: var(--ink); color: var(--paper); }
.skip:focus { top: 10px; }
.eyebrow { margin-bottom: 12px; color: var(--muted); font-size: 12.5px; letter-spacing: .12em; }
.lead { color: var(--muted); font-size: 18px; max-width: 58ch; }
.note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); }
.sample { display: inline-block; padding: 1px 8px; border: 1px dashed var(--edge); border-radius: 6px; color: var(--muted); font-size: 11.5px; }

/* buttons: solid, rounded */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--primary); border-radius: var(--r);
  background: var(--primary); color: var(--on); font: 600 15px/1 var(--sans); text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { background: var(--strong); border-color: var(--strong); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--edge); }
.btn.ghost:hover { background: var(--wash); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.mark-icon { width: 26px; height: 31px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.mark b { display: block; font: 400 25px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.01em; }
.mark small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .26em; text-transform: uppercase; }
.site-header a[href="/"], .site-footer a[href="/"] { text-decoration: none; }
#site-nav { display: flex; gap: 24px; }
#site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; }
#site-nav a:hover, #site-nav a[aria-current] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.login { font-size: 15px; text-underline-offset: 5px; text-decoration-color: var(--edge); }
.menu-toggle { display: none; min-height: 42px; padding: 0 14px; border: 1px solid var(--edge); border-radius: var(--r); background: transparent; }

/* bands */
.band { padding-block: 84px; }
main > .band:nth-of-type(even) { background: var(--canvas); }
.hero { padding-block: 64px 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 16px; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
/* the side note sits on the far edge of the page, level with the heading's baseline */
.sec-head > p { justify-self: end; max-width: 46ch; color: var(--muted); }
.sec-head a { color: inherit; }
.sec-head.stacked { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sec-head.stacked > p { justify-self: start; }

/* product window */
.window { margin: 0; border: 1px solid var(--edge); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; font-size: 13.5px; transition: transform .4s ease; }
.window:hover { transform: translateY(-4px); }
.chrome { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: var(--wash); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--edge); }
.chrome .sample { margin-inline-start: auto; }
.win-body { display: grid; grid-template-columns: 124px minmax(0, 1fr); min-height: 260px; }
.win-side { display: grid; gap: 3px; align-content: start; padding: 12px 10px; border-inline-end: 1px solid var(--line); color: var(--muted); }
.win-side span { padding: 6px 9px; border-radius: 6px; }
.win-side .on { background: var(--wash); color: var(--ink); font-weight: 600; }
.scroll-x { overflow-x: auto; }
.window table { width: 100%; border-collapse: collapse; }
.window th, .window td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; }
.window th { color: var(--muted); font-weight: 500; font-size: 12px; }
.pill { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--soft); font-size: 12px; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warm { background: var(--warm-bg); color: var(--warm); }
.ask { margin: 12px; padding: 10px 14px; background: var(--wash); border-inline-start: 2px solid var(--primary); border-radius: 0 6px 6px 0; }

/* modules strip */
.strip { border-block: 1px solid var(--line); padding-block: 16px; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; }

/* chapters */
.chapters { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.chapters > li { display: grid; grid-template-columns: 60px 1fr 1.2fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.chapters > li:hover { background: color-mix(in srgb, var(--wash) 55%, transparent); }
.no { font: 400 30px/1 var(--h); color: var(--muted); font-variant-numeric: tabular-nums; }
.chapters h3 { margin-bottom: 6px; }
.chapters p { color: var(--muted); }
.ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15.5px; }
.ticks li { position: relative; padding-inline-start: 20px; }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: .78em; width: 9px; height: 1.5px; background: var(--primary); }
.split .ticks { margin-top: 20px; }

/* InspAIre + privacy */
.facts { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.facts svg { width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat { display: grid; gap: 14px; margin: 0; padding: 22px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); font-size: 15px; }
.chat .sample { justify-self: start; }
.chat .q { padding: 11px 16px; background: var(--wash); border-inline-start: 2px solid var(--primary); }
.chat .a { display: grid; gap: 8px; }
.over { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.cite { display: inline-block; padding: 0 7px; border: 1px solid var(--edge); border-radius: 5px; color: var(--muted); font-size: 12px; }
.masking { display: grid; gap: 12px; }
.box { padding: 16px 18px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--paper); }
.lbl { margin-bottom: 6px; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
mark { padding: 0 3px; border-radius: 4px; background: var(--warm-bg); color: var(--warm); }
code { padding: 1px 6px; border-radius: 4px; background: var(--soft); font: 13.5px Consolas, 'Courier New', monospace; white-space: nowrap; }
.masking-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* phone */
.phone { width: 240px; margin: 0 auto; padding: 12px; border: 1px solid var(--edge); border-radius: 32px; background: var(--paper); box-shadow: var(--shadow); }
.screen { overflow: hidden; border-radius: 22px; background: var(--canvas); font-size: 13px; }
.ph-head { padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--line); font-weight: 600; }
.card { margin: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.card small { display: block; color: var(--muted); }
.tabbar { display: flex; justify-content: space-around; padding: 9px 0; background: var(--paper); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

/* pricing: soon */
.soon { display: grid; justify-items: start; gap: 10px; padding: 32px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--paper); }
.soon-word { font: 400 clamp(40px, 5vw, 60px)/1 var(--h); color: var(--primary); }
.soon .ctas { margin-top: 14px; }
.page-head .soon-word { margin: 6px 0 14px; }
.included { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.included li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 400 21px/1.4 var(--h); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font: 300 26px/1 var(--sans); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 72ch; padding-bottom: 20px; color: var(--muted); }

/* call to action + footer */
.cta-band { padding-block: 72px; background: var(--primary); color: var(--on); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.cta-band p { margin-top: 10px; opacity: .88; }
.cta-band .ctas { margin: 0; }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn:hover { background: var(--wash); }
.cta-band .btn.ghost { background: transparent; color: var(--on); border-color: color-mix(in srgb, var(--on) 55%, transparent); }
.site-footer { padding-block: 32px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-inner nav a { color: var(--muted); text-decoration: none; }
.footer-inner nav a:hover { color: var(--ink); }
.base { flex-basis: 100%; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.base a { text-decoration: none; }

/* inner pages */
.page-head { padding-block: 64px 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 12px; }
.demo-facts .note { margin-top: 20px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-block: 44px 84px; }
.toc { position: sticky; top: 90px; align-self: start; display: grid; gap: 2px; font-size: 14px; }
.toc a { padding: 5px 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.legal { max-width: 72ch; }
.legal h2 { margin: 36px 0 12px; font-size: 26px; line-height: 1.3; }
.legal h2:first-child { margin-top: 0; }
.legal p + p { margin-top: 10px; }
.legal ul { display: grid; gap: 8px; padding-inline-start: 22px; }
.contact { margin: 12px 0; padding: 16px 20px; border-radius: var(--r); background: var(--wash); }
.contact p + p { margin-top: 2px; }

/* accessibility menu */
.a11y-btn { position: fixed; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--edge); border-radius: 50%; background: var(--paper); box-shadow: 0 6px 18px rgb(36 54 70 / .15); }
.a11y-btn svg { width: 25px; height: 25px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.a11y-menu { position: fixed; inset-inline-end: 18px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; gap: 4px; width: 240px; padding: 12px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.a11y-menu[hidden] { display: none; }
.a11y-menu p { margin-bottom: 4px; font-weight: 600; }
.a11y-menu button, .a11y-menu a { min-height: 40px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; background: none; text-align: start; font-size: 14.5px; text-decoration: none; }
.a11y-menu button[aria-pressed='true'] { background: var(--wash); border-color: var(--line); font-weight: 600; }
html.a11y-big { font-size: 112%; }
html.a11y-big body { font-size: 18.5px; }
html.a11y-contrast { --muted: var(--ink); --line: #8b97a1; --edge: var(--ink); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-readable { --h: var(--sans); }
html.a11y-readable body { letter-spacing: .01em; word-spacing: .06em; }

/* motion: content is visible at rest; the entrance only lifts it into place */
@keyframes rise { from { opacity: .35; transform: translateY(12px); } }
.reveal { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.reveal:nth-child(2) { animation-delay: .1s; }
.chapters > li:nth-child(2) { animation-delay: .06s; } .chapters > li:nth-child(3) { animation-delay: .12s; }
.chapters > li:nth-child(4) { animation-delay: .18s; } .chapters > li:nth-child(5) { animation-delay: .24s; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }
html.a11y-still { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* tablets and phones */
@media (max-width: 960px) {
  .wrap { padding-inline: 20px; }
  .hero-grid, .split, .sec-head, .doc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sec-head > p { justify-self: start; }
  .band { padding-block: 56px; }
  .hero { padding-block: 40px 52px; }
  #site-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; padding: 6px 20px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-actions .btn { display: none; }
  .header-inner { gap: 12px; min-height: 62px; }
  .chapters > li { grid-template-columns: 38px 1fr; gap: 8px 14px; }
  .chapters > li .ticks { grid-column: 2; }
  .toc { display: none; }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .win-side { display: none; }
  .strip ul { justify-content: flex-start; font-size: 13.5px; }
}
@media (max-width: 520px) {
  .mark small { display: none; }
  .mark b { font-size: 22px; }
  .login { font-size: 14px; }
  .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .soon { padding: 22px; }
  .cta-band .ctas { width: 100%; }
}

/* registration */
.reg-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.reg { display: grid; gap: 18px; max-width: 520px; }
.fld { display: grid; gap: 6px; }
.fld label { font-weight: 600; font-size: 15px; }
.fld input, .phone-wrap input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--paper); font: 16px var(--sans); color: var(--ink); }
.fld input:focus, .phone-wrap input:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
.phone-wrap .iti { width: 100%; }
.phone-wrap .iti__country-container { border-radius: var(--r) 0 0 var(--r); }
.phone-wrap .iti__selected-country { border-radius: var(--r) 0 0 var(--r); }
.iti__dropdown-content { border-radius: var(--r); border-color: var(--edge); }
.fld-note { color: var(--warm); font-size: 13.5px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; }
.check input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--primary); }
.google-slot { display: grid; gap: 14px; justify-items: start; }
.g-on { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: 14.5px; }
.linkish { background: none; border: 0; padding: 0; color: var(--primary); text-decoration: underline; cursor: pointer; font: inherit; }
.or { display: flex; align-items: center; gap: 12px; width: 100%; color: var(--muted); font-size: 13.5px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.err { padding: 10px 14px; border-radius: var(--r); background: #f5e1df; color: #8f3b35; font-size: 14.5px; }
.err[hidden] { display: none; }
.done { padding: 28px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--wash); max-width: 520px; }
.done h2 { margin-bottom: 8px; font-size: 32px; }
.reg-aside { padding: 28px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--paper); }
.reg-aside h2 { font-size: 26px; margin-bottom: 16px; }
.steps { display: grid; gap: 16px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 34px 1fr; counter-increment: s; }
.steps li::before { content: counter(s); grid-row: span 2; font: 400 24px/1.2 var(--h); color: var(--muted); }
.steps span { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .reg-grid { grid-template-columns: minmax(0, 1fr); } }
