/* The AI Lawby v4 — v2 monochrome palette, with the v4 layout and supplied logos. */
:root {
  --black: #0A0A0A; --off-black: #111111; --dark: #1A1A1A;
  --mid: #3A3A3A; --muted: #6A6A6A; --border: #CCCCCC; --border-lt: #E8E8E8;
  --light: #F4F4F2; --off-white: #FAFAF8; --white: #FFFFFF;
  --ink: var(--black); --paper: var(--white); --accent: var(--black);
  --surface: var(--light); --line: var(--border);
  --serif: Georgia, 'Times New Roman', serif; --sans: 'Arial', 'Helvetica Neue', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.7 var(--sans); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
p, h1, h2, h3, figure { margin: 0; }
p + p { margin-top: 18px; }
h1, h2, h3 { overflow-wrap: anywhere; font-family: var(--serif); font-weight: 400; line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 4.3vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.3vw, 3.4rem); }
h3 { font-size: 1.65rem; letter-spacing: -.025em; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 5px; box-shadow: 0 0 0 5px var(--white); }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section { padding: 100px 0; }
.tinted { background: var(--surface); }
.eyebrow { font: 600 .7rem/1.6 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin-bottom: 22px; }
.lead { font-size: 1.08rem; line-height: 1.8; color: var(--mid); }
.section-intro { max-width: 820px; margin-bottom: 44px; }
.section-intro > p:last-child:not(.eyebrow) { margin-top: 25px; max-width: 760px; color: var(--mid); }
.intro-follow { max-width: 760px; margin: -20px 0 44px; color: var(--mid); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 300; background: var(--paper); padding: 14px; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1536px; margin: auto; min-height: 92px; padding: 18px 40px; display: flex; align-items: center; gap: 28px; }
.brand-logo { display: inline-block; flex-shrink: 0; background: var(--white); line-height: 0; padding: 5px; }
.brand-logo img { width: 96px; height: auto; }
.footer-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-logos .brand-logo { padding: 10px; }
.footer-logos .brand-logo img { width: 112px; }
.ila-brand-link { display: inline-block; background: var(--white); line-height: 0; }
.ila-brand-link img { width: 102px; height: auto; }
.flagship-logo { display: inline-block; background: var(--white); margin-bottom: 28px; }
.flagship-logo img { width: 170px; height: auto; }
/* Reset legacy global nav rules on the retained legal/library pages. */
nav.site-nav { position: static; height: auto; padding: 0; border: 0; background: transparent; display: block; margin-left: auto; }
.site-nav ul { padding: 0; margin: 0; list-style: none; display: flex; align-items: center; gap: 25px; }
.site-nav a { font-size: .8rem; text-decoration: none; display: block; padding: 10px 0; white-space: nowrap; }
.site-nav li:first-child a { color: var(--accent); font-weight: 700; }
.site-nav a[aria-current='page'] { box-shadow: 0 2px 0 var(--accent); }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
.header-cta { background: var(--ink); color: var(--paper); padding: 14px 18px; font-size: .72rem; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 20px; }
.header-cta:hover { background: var(--mid); }
.menu-toggle { background: none; border: 1px solid var(--line); padding: 10px 13px; color: var(--ink); min-height: 44px; }
.home-hero { padding: 68px 0 74px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 65px; }
.hero-grid > * { min-width: 0; }
.hero-copy h1 { max-width: 690px; }
.hero-grid .lead { margin-top: 28px; }
.hero-grid .lead + p { margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: flex-start; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 22px; min-height: 52px; border: 1px solid var(--accent); background: var(--accent); color: var(--paper); font-size: .81rem; font-weight: 600; text-decoration: none; line-height: 1.5; text-align: left; border-radius: 0; }
.button > span { flex-shrink: 0; font-size: 1.1rem; }
.button:hover { background: var(--mid); border-color: var(--mid); color: var(--paper); }
.button.secondary { color: var(--ink); border-color: var(--line); background: transparent; }
.button.secondary:hover { background: var(--surface); border-color: var(--accent); }
.founder-visual { background: var(--light); padding: 24px 24px 30px; }
/* Both portraits share the same frame and crop, without a staggered offset. */
.portrait-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.portrait-pair img { width: 100%; height: 330px; object-fit: cover; object-position: center top; filter: saturate(.65); }
.founder-visual figcaption { margin-top: 22px; font-size: .72rem; line-height: 1.7; }
.founder-visual figcaption span { display: block; }
.founder-visual figcaption span:first-child { font-weight: 600; }
.visual-note { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 22px; font: 400 clamp(1.6rem, 2.3vw, 2.2rem)/1.25 var(--serif); }
.visual-note em { color: var(--accent); }
.credibility { background: var(--ink); color: var(--paper); }
.credibility .container { display: grid; grid-template-columns: 1fr 1.4fr 1fr; padding-block: 25px; }
.credibility p { font-size: .76rem; line-height: 1.6; padding: 0 28px; border-right: 1px solid var(--mid); margin: 0; text-align: center; }
.credibility p:first-child { padding-left: 0; }
.credibility p:last-child { border: 0; padding-right: 0; }
.cards { display: grid; gap: 20px; }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.card-index { color: var(--accent); font: .75rem var(--sans); margin-bottom: 38px; }
.card h3 { margin-bottom: 18px; }
.card p { color: var(--mid); font-size: .92rem; }
.card .text-link { margin-top: auto; padding-top: 28px; font-size: .8rem; font-weight: 600; }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.profile { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-content: start; border-top: 1px solid var(--border); padding-top: 28px; }
.profile > img { width: 150px; height: 200px; object-fit: cover; object-position: top; }
.profile h3 { font-size: 1.9rem; }
.profile-role { font-size: .72rem; color: var(--accent); margin-top: 12px; line-height: 1.7; }
.profile-copy > p:not(.profile-role) { font-size: .88rem; margin-top: 18px; }
.flagship { background: var(--ink); color: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.flagship .eyebrow { color: var(--border); }
.flagship h2 { font-size: clamp(2.6rem, 4.7vw, 4.6rem); }
.flagship-tagline { font: italic 1.65rem/1.45 var(--serif); margin-top: 26px; color: var(--border-lt); }
.fine-print { font-size: .8rem; line-height: 1.75; color: var(--muted); margin-top: 22px; }
.flagship .fine-print { color: var(--border); }
.flagship .button { margin-top: 30px; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.flagship .button:hover { background: var(--surface); }
.process .card { border: 0; border-top: 1px solid var(--border); padding: 26px 16px 0 0; }
.step-number { font: 400 2.8rem/1 var(--serif); color: var(--accent); margin-bottom: 32px; display: block; }
.process-close { max-width: 700px; border-top: 1px solid var(--border); padding-top: 26px; margin-top: 46px; font-size: .95rem; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { padding: 24px 32px 24px 0; cursor: pointer; position: relative; font-size: 1rem; list-style: none; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; font-size: 1.4rem; line-height: 1; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > p { padding: 0 26px 26px 0; font-size: .94rem; color: var(--mid); }
.closing { background: var(--light); padding: 86px 0; text-align: center; border-top: 1px solid var(--line); }
.closing h2 { max-width: 850px; margin-inline: auto; }
.closing .container > p:not(.eyebrow) { max-width: 700px; margin: 26px auto 0; color: var(--mid); }
.closing .actions { justify-content: center; }
.site-footer { background: var(--ink); color: var(--paper); padding: 70px 0 0; font-size: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.15fr 1fr; gap: 40px; }
.footer-intro p { margin-top: 22px; color: var(--border); }
.site-footer h2 { font: 600 .7rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--border); margin-bottom: 20px; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-small { font-size: .74rem; color: var(--border); margin-top: 18px; }
.footer-bottom { margin-top: 60px; padding: 25px 0; border-top: 1px solid var(--mid); display: flex; justify-content: space-between; gap: 24px; font-size: .72rem; color: var(--border); }
.footer-bottom > div { display: flex; gap: 24px; }
.page-hero { padding: 86px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; }
.page-hero .lead { max-width: 760px; margin-top: 28px; }
.page-hero .hero-grid h1 { font-size: clamp(2.8rem, 4.5vw, 4.6rem); }
.mark-identity { border: 1px solid var(--border); padding: 30px; background: var(--white); box-shadow: 14px 14px 0 var(--border-lt); text-align: center; }
.mark-identity > img { width: min(100%, 320px); height: auto; margin-inline: auto; }
.mark-identity figcaption { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 8px; }
.mark-identity .eyebrow { margin-bottom: 14px; }
.identity-title { font: 400 clamp(1.5rem, 2.3vw, 2.1rem)/1.3 var(--serif); letter-spacing: -.025em; }
.process-notice { padding: 20px 24px; border-left: 2px solid var(--accent); background: var(--off-white); font-size: .88rem; margin-bottom: 38px; max-width: 900px; }
.timeline { list-style: none; padding: 0; margin: 0; max-width: 900px; }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; border-top: 1px solid var(--border); padding: 28px 0; }
.timeline li p { margin-top: 12px; }
.timeline .step-number { margin: 0; }
.service-detail h2 + p { margin: 25px 0 30px; }
.deliverables { padding: 32px; border: 1px solid var(--line); }
.deliverables h3 { font: 600 .9rem/1.6 var(--sans); letter-spacing: 0; }
.deliverables ul { list-style: none; padding: 0; margin: 22px 0 0; }
.deliverables li { padding: 14px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.full-profiles .profile { grid-template-columns: 1fr; }
.full-profiles .profile > img { width: 100%; height: 390px; object-fit: cover; background: var(--light); }
.full-profiles .text-list { padding-left: 18px; font-size: .88rem; margin-top: 20px; }
.full-profiles .text-list li { margin-bottom: 10px; }
.full-profiles .text-link { font-size: .85rem; }
.section > .container > .lead { max-width: 800px; margin-bottom: 65px; }
.pathway h2 { font-size: 2.2rem; }
.pathway > p:not(.eyebrow) { margin: 20px 0 28px; }
.pathway .button { margin-top: auto; }
.form-section { background: var(--light); }
.form-layout { display: grid; grid-template-columns: .8fr 1.3fr; gap: 80px; }
.form-layout h2 { margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.form-field { min-width: 0; }
.form-field label { display: block; font-size: .8rem; margin-bottom: 8px; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid var(--border); border-radius: 0; background: var(--paper); color: var(--ink); padding: 13px; min-height: 50px; font-size: 1rem; }
.form-field textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .78rem; line-height: 1.7; }
.consent input { width: 20px; height: 20px; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--accent); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:not(:empty) { margin-top: 22px; padding: 18px; border: 1px solid var(--line); background: var(--paper); font-size: .9rem; }
.form-availability { font-size: .8rem; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.topic-list { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.topic-list li { border: 1px solid var(--line); padding: 10px 18px; font-size: .8rem; }
.library-callout { margin-top: 54px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.library-callout h2 { font-size: 2.2rem; margin-bottom: 14px; }
.article-state { font-size: .75rem !important; margin-top: 6px; }
/* Retained v2 legal documents and article tools. */
.wrap { width: min(1240px, 100%); }
.legal-sidebar { top: 120px; max-height: calc(100dvh - 144px); }
.legal-section { scroll-margin-top: 125px; }
.legal-meta p { margin: 0; }
.legal-hero, .library-hero { background: var(--surface); }
.legal-hero h1, .library-hero h1 { margin-bottom: 22px; }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-outline { border-color: var(--line); }
@media (max-width: 1180px) {
  .header-inner { gap: 20px; padding-inline: 24px; flex-wrap: wrap; }
  .site-nav ul { gap: 18px; }
  .header-cta { font-size: .7rem; max-width: 210px; }
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 38px; }
  .four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile { grid-template-columns: 115px 1fr; gap: 20px; }
  .profile > img { width: 115px; height: 160px; }
  .split { gap: 50px; }
  .form-layout { gap: 40px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 180px; }
  .header-inner { padding: 15px 24px; gap: 14px; }
  .menu-toggle:not([hidden]) { display: block; margin-left: auto; }
  nav.site-nav { width: 100%; order: 4; margin: 0; }
  .site-nav ul { flex-wrap: wrap; }
  .header-cta { max-width: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy h1 { max-width: 780px; }
  .founder-visual { max-width: 620px; width: 100%; }
  .portrait-pair img { height: 370px; }
  .section { padding: 72px 0; }
  .founder-grid { gap: 28px; }
  .profile { grid-template-columns: 1fr; }
  .profile > img { width: 100%; height: 280px; object-fit: cover; background: var(--light); }
  .split, .faq-layout, .form-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-layout .section-intro { margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .three { grid-template-columns: 1fr; }
  .process .card { padding-bottom: 20px; }
  .page-hero { padding: 65px 0; }
  .mark-identity { max-width: 600px; }
  .legal-sidebar { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header-inner { padding: 14px 20px; }
  .header-cta { width: 100%; justify-content: center; order: 3; padding: 10px 14px; min-height: 44px; }
  .site-header .brand-logo img { width: 78px; }
  .site-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
  .site-nav li:first-child { grid-column: 1 / -1; }
  .site-nav a { white-space: normal; }
  .home-hero { padding: 46px 0; }
  h1 { font-size: 2.65rem; }
  .eyebrow { font-size: .65rem; }
  .lead { font-size: 1rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; font-size: .8rem; padding-inline: 18px; }
  .founder-visual { padding: 16px 16px 22px; }
  .portrait-pair img { height: 245px; }
  .visual-note { font-size: 1.8rem; }
  .credibility .container { grid-template-columns: 1fr; padding-block: 8px; }
  .credibility p, .credibility p:first-child, .credibility p:last-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--mid); text-align: left; }
  .credibility p:last-child { border: 0; }
  .section { padding: 56px 0; }
  .four, .two, .founder-grid, .form-grid { grid-template-columns: 1fr; }
  .section-intro { margin-bottom: 32px; }
  .card { padding: 26px; }
  .card-index { margin-bottom: 24px; }
  .profile > img { height: 320px; }
  .closing { padding: 58px 0; text-align: left; }
  .closing .actions { align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .site-footer { padding-top: 48px; }
  .footer-bottom { flex-direction: column; margin-top: 40px; }
  .page-hero { padding: 48px 0; }
  .page-hero .hero-grid h1 { font-size: 2.65rem; }
  .mark-identity { padding: 22px; margin-right: 10px; box-shadow: 10px 10px 0 var(--border-lt); }
  .flagship-logo img { width: 150px; }
  .timeline li { grid-template-columns: 48px 1fr; gap: 14px; }
  .timeline .step-number { font-size: 2.3rem; }
  .deliverables { padding: 24px; }
  .full-profiles .profile > img { height: 330px; }
  .library-callout { flex-direction: column; align-items: stretch; }
  .wrap { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .skip-link { display: none !important; } body { background: white; } }
