/* ILP Group LLC · site styles. Self-hosted fonts, no external requests. */
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans_400Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans_500Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans_600SemiBold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/Newsreader_500Medium.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/Newsreader_400Regular_Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* ILP Group (parent) */
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --card: #ffffff;
  --ink: #1b2433;
  --ink-2: #545d6b;
  --line: #e0ddd3;
  --accent: #2c4a7a;
  --accent-2: #b8875c;
  --callout: #fbf4ea;
  /* InSession brand */
  --is-navy: #141b4d;
  --is-royal: #3e63dd;
  --is-lav: #9d8cf2;
  --is-lav-soft: #ece9fd;
  --is-bg: #f7f8fc;
  --is-tint: #eef1fb;
  --is-muted: #6b7194;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20, 27, 50, .05), 0 8px 24px rgba(20, 27, 50, .06);
  --shadow-lg: 0 30px 60px rgba(20, 27, 77, .16), 0 4px 12px rgba(20, 27, 77, .08);
}
.theme-is {
  --paper: #f7f8fc;
  --paper-2: #eef1fb;
  --line: #dfe3f0;
  --ink: #141b4d;
  --ink-2: #4f5680;
  --accent: #3e63dd;
  --callout: #fff6e0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--is-royal); outline-offset: 2px; border-radius: 4px; }

/* Header */
.top { background: rgba(247, 246, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 6; }
.theme-is .top { background: rgba(255, 255, 255, .92); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-word { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; display: inline-flex; align-items: baseline; gap: 6px; }
.brand-word small { font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--ink-2); }
.mark { width: 32px; height: 32px; color: #1b2433; flex: none; }
.top nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.top nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.top nav a:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.top nav a[aria-current="page"] { color: var(--ink); }
.top nav .nav-cta { margin-left: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }

/* InSession sub-bar */
.is-bar { background: var(--is-navy); color: #fff; }
.is-bar-in { display: flex; align-items: center; gap: 14px; min-height: 54px; flex-wrap: wrap; }
.is-home { text-decoration: none; }
.is-bar .is-lockup .is-name { color: #fff; }
.is-bar .is-lockup .is-sub { color: #b9c0ec; }
.is-by { font-size: .82rem; color: #b9c0ec; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .2); }
.is-bar nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; }
.is-bar nav a { color: #d6dbf6; text-decoration: none; font-size: .9rem; padding: 6px 10px; border-radius: 8px; }
.is-bar nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.is-bar nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }

/* InSession lockup */
.is-lockup { display: inline-flex; align-items: center; gap: 10px; vertical-align: middle; }
.is-mark { width: 34px; height: 34px; flex: none; }
.is-word { display: inline-flex; flex-direction: column; line-height: 1; }
.is-name { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--is-navy); letter-spacing: -0.01em; }
.is-sub { font-family: var(--sans); font-weight: 600; font-size: .58rem; letter-spacing: .32em; color: var(--is-muted); margin-top: 3px; }
.is-lockup.xs .is-mark { width: 22px; height: 22px; }
.is-lockup.xs .is-name { font-size: 1.02rem; }
.is-lockup.xs .is-sub { display: none; }
.is-lockup.sm .is-mark { width: 28px; height: 28px; }
.is-lockup.sm .is-name { font-size: 1.15rem; }
.is-lockup.lg .is-mark { width: 48px; height: 48px; }
.is-lockup.lg .is-name { font-size: 2rem; }
.is-lockup.lg .is-sub { font-size: .66rem; }
.is-lockup.xl { margin-bottom: 26px; }
.is-lockup.xl .is-mark { width: 56px; height: 56px; }
.is-lockup.xl .is-name { font-size: 2.3rem; }
.is-lockup.xl .is-sub { font-size: .7rem; }

/* Sections */
main section { padding: 80px 0; }
main section.pad-0 { padding-top: 0; }
.hero { padding: 96px 0 80px; }
.hero h1 { max-width: 860px; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 680px; }
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: var(--accent); margin-bottom: 1em; }
.kicker { color: var(--ink-2); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .97rem; border: 1px solid var(--ink); }
.btn:hover { opacity: .92; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.is-btn { background: var(--is-navy); border-color: var(--is-navy); }
.btn.disabled { opacity: .55; cursor: default; }
.small { font-size: .9rem; color: var(--ink-2); }
.note { margin-top: 32px; color: var(--ink-2); font-size: .95rem; max-width: 760px; }
.arrow { font-weight: 600; text-decoration: none; color: var(--accent); }
.arrow::after { content: " \2192"; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.link-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.link-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.link-card p { flex: 1; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }

.principles > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.principles p { color: var(--ink-2); }
.num { display: block; font-family: var(--serif); font-style: italic; color: var(--accent-2); font-size: 1.1rem; margin-bottom: 8px; }

/* InSession feature on home */
.is-feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center; text-decoration: none; color: var(--is-navy); border-radius: 28px; padding: 56px 56px 0; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, #dcd5fb 0%, rgba(220, 213, 251, 0) 60%), radial-gradient(90% 80% at 0% 100%, #d7e1fb 0%, rgba(215, 225, 251, 0) 60%), var(--is-bg); border: 1px solid #dfe3f0; box-shadow: var(--shadow); }
.is-feature-copy { padding-bottom: 56px; }
.is-feature-copy p { color: #3b4266; }
.is-tag { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; color: var(--is-navy) !important; margin: 22px 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { background: #fff; border: 1px solid #dfe3f0; color: var(--is-navy); border-radius: 999px; padding: 5px 12px; font-size: .86rem; font-weight: 500; }
.is-dev { font-size: .85rem; color: var(--is-muted) !important; margin: 18px 0 0; }
.is-feature:hover .is-btn { opacity: .92; }

/* Phones */
.phones { position: relative; height: 470px; align-self: end; }
.phone { position: absolute; margin: 0; width: 210px; aspect-ratio: 357 / 777; border-radius: 34px; padding: 7px; background: #0f1433; box-shadow: var(--shadow-lg); bottom: -40px; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.phone.p2 { left: 50%; transform: translateX(-50%); z-index: 2; width: 228px; bottom: -20px; }
.phone.p1 { left: 2%; transform: rotate(-6deg); bottom: -70px; }
.phone.p3 { right: 2%; transform: rotate(6deg); bottom: -70px; }

/* InSession page */
.is-hero { padding: 72px 0 0 !important; background: radial-gradient(70% 90% at 90% 10%, #e1dafc 0%, rgba(225, 218, 252, 0) 65%), radial-gradient(60% 70% at 10% 90%, #dbe4fc 0%, rgba(219, 228, 252, 0) 60%), var(--is-bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.is-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: end; }
.is-hero-grid > div:first-child { padding-bottom: 72px; }
.is-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.is-band { background: var(--is-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features .card { box-shadow: none; }
.ficon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--is-lav-soft); margin-bottom: 16px; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: var(--is-royal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.features p { color: var(--ink-2); }
.is-mini { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-top: 18px; padding: 18px 20px; border: 1px solid #dfe3f0; border-radius: 16px; background: var(--is-bg); color: #3b4266; text-decoration: none; font-size: .93rem; }
.is-mini:hover { border-color: var(--is-royal); }

/* Facts */
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px 26px; box-shadow: var(--shadow); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-2); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Documents */
.doc { padding: 64px 24px 80px; }
.dochead { max-width: 820px; margin-bottom: 48px; }
.meta { color: var(--ink-2); font-size: .9rem; }
.docmeta { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 32px; margin: 28px 0 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); justify-content: start; }
.docmeta dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.docmeta dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.docgrid { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 140px; font-size: .9rem; }
.toc p { font-weight: 600; margin-bottom: .6em; }
.toc ol { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.toc li { margin: 5px 0; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.prose { max-width: 740px; }
.prose section { padding: 0 0 32px; scroll-margin-top: 140px; }
.prose h2 { font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.callout { background: var(--callout); border: 1px solid var(--line); border-left: 4px solid var(--accent-2); border-radius: 12px; padding: 20px 22px; }

/* Support */
.support-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-card { position: sticky; top: 140px; }
.sos { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fdecef; border-left: 4px solid #c8476a; }
.sos p { margin: 0 0 .4em; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq details[open] { border-color: #c9d1ee; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style-position: inside; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

/* Crisis strip and footer */
.crisis { background: #fdecef; border-top: 1px solid #f4cdd6; padding: 16px 0; font-size: .95rem; color: #5a2333; }
.crisis p { margin: 0; }
.foot { padding: 56px 0 28px; background: #1b2433; color: #c9cfd9; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot h2 { font-family: var(--sans); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: #8f98a8; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.foot h2 .is-mark { width: 18px; height: 18px; }
.foot .cols a:not(.brand) { display: block; color: #e7eaf0; text-decoration: none; padding: 3px 0; font-size: .95rem; }
.foot .cols a:not(.brand):hover { color: #fff; text-decoration: underline; }
.foot .small { color: #a7afbd; }
.foot .small a { display: inline !important; color: #e7eaf0 !important; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot .brand-word small { color: #8f98a8; }
.foot .mark { color: #ffffff; }
.legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid #2f3a4c; }
.legal p { margin: 0; color: #8f98a8; }

@media (max-width: 920px) {
  .grid3, .split, .docgrid, .support-grid, .is-hero-grid { grid-template-columns: 1fr; }
  .is-feature { grid-template-columns: 1fr; padding: 36px 28px 0; }
  .is-feature-copy { padding-bottom: 8px; }
  .is-hero-grid > div:first-child { padding-bottom: 8px; }
  .phones { height: 380px; }
  .phone { width: 170px; }
  .phone.p2 { width: 186px; }
  .toc, .contact-card { position: static; }
  .toc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
  .docmeta { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  main section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .is-bar nav { margin-left: 0; width: 100%; padding-bottom: 8px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .doc { padding: 44px 16px 60px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .facts { padding: 6px 18px; }
  .docmeta { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr; }
  .is-feature { padding: 28px 20px 0; border-radius: 22px; }
  .is-tag { font-size: 1.4rem; }
  .phones { height: 300px; }
  .phone { width: 128px; border-radius: 24px; padding: 5px; }
  .phone img { border-radius: 20px; }
  .phone.p2 { width: 146px; }
  .phone.p1 { left: -2%; }
  .phone.p3 { right: -2%; }
  .top nav a { padding: 6px 8px; font-size: .9rem; }
  .top nav .nav-cta { display: none; }
  .top { position: static; }
  .bar { min-height: 0; padding: 12px 0 6px; gap: 6px; }
  .top .wrap { padding: 0 16px; }
  .top nav { margin-left: -6px; }
  .is-bar-in { padding-top: 10px; gap: 6px; }
  .is-bar nav { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 10px; width: calc(100% + 32px); scrollbar-width: none; }
  .is-bar nav a { white-space: nowrap; }
  .is-by { display: none; }
  .is-mini { grid-template-columns: 1fr; }
}
@media print {
  .top, .is-bar, .foot, .toc, .crisis { display: none; }
  .docgrid { grid-template-columns: 1fr; }
  body { background: #fff; }
}
