/* Loi67.com: extends the MDose AI identity (tokens, type and layouts from mdose.ai). */
@font-face { font-family: Bricolage; src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Roboto; src: url("/assets/fonts/roboto-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Roboto; src: url("/assets/fonts/roboto-medium.ttf") format("truetype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: Roboto; src: url("/assets/fonts/roboto-bold.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }

:root {
  --navy: #001449; --blue: #084a91; --sky: #2291d1; --pale: #eef6fa; --soft: #f7fafc;
  --line: #dae4ed; --muted: #536579; --ok: #0b6e4f; --warn: #8a5a00; --stop: #a02c2c;
  font-family: Roboto, Arial, sans-serif; color: var(--navy); background: #fff;
  font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: Bricolage, Arial, sans-serif; font-weight: 550; letter-spacing: -0.03em; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
::selection { background: #b5d1d8; color: var(--navy); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; background: var(--navy); color: #fff; padding: 12px 20px; z-index: 200; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #ffffffed; border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-name { font-family: Bricolage, Arial, sans-serif; font-weight: 600; font-size: 25px; letter-spacing: -0.03em; white-space: nowrap; }
.brand-name span { background: linear-gradient(100deg, var(--blue), var(--sky)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-by { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--line); font-size: 10px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.brand-by img { width: 72px; height: 27px; object-fit: contain; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.desktop-nav a:hover, .footer a:hover { color: var(--sky); }
.desktop-nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
.page-menu { display: none; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 18px 25px; min-height: 54px; background: var(--navy); color: #fff; border: 1px solid var(--navy); border-radius: 6px; font-size: 14px; font-weight: 500; line-height: 1.25; transition: background .2s, transform .2s, box-shadow .2s; }
.button:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px #00144915; }
.button-small { padding: 12px 19px; min-height: 44px; gap: 17px; font-size: 13px; white-space: nowrap; }
.button-light { background: #fff; border-color: #fff; color: var(--navy); }
.button-light:hover { background: #e5f3fc; border-color: #e5f3fc; }
.button-quiet { background: transparent; color: var(--navy); border-color: #b9c9d6; }
.button-quiet:hover { background: var(--pale); border-color: var(--sky); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.text-link:hover { color: var(--sky); }
.inline-link, .prose a, .source a, .note a, .faq a, .legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .13em; line-height: 1.6; color: var(--blue); text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 1.18fr 1fr; gap: 56px; align-items: center; padding-block: 76px 72px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 27px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px #2291d115; flex-shrink: 0; }
h1 { font-size: clamp(46px, 5.2vw, 74px); line-height: 1.03; letter-spacing: -0.04em; }
h1 > span { display: block; background: linear-gradient(100deg, var(--blue), var(--sky)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.hero-intro { font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 540px; margin-top: 27px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.hero-note { display: flex; align-items: center; gap: 12px; color: #5d6c80; font-size: 12px; line-height: 1.7; margin-top: 40px; max-width: 540px; }
.hero-note > span { height: 1px; width: 23px; background: #9bb3c5; flex-shrink: 0; }

.page-hero { padding-block: 44px 64px; grid-template-columns: 1.3fr 1fr; }
.page-hero h1 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.06; }
.page-hero.solo { grid-template-columns: 1fr; }
.page-hero.solo h1, .page-hero.solo .hero-intro { max-width: 860px; }
.breadcrumb { font-size: 12px; color: var(--muted); padding-top: 26px; line-height: 1.7; }
.breadcrumb a:hover { text-decoration: underline; }

/* Countdown / timeline panel */
.panel { padding: 38px; border: 1px solid #d8e7f1; border-radius: 12px; background: radial-gradient(ellipse at top right, #cbe7f8, transparent 80%), #f3f8fb; }
.panel-top { display: flex; justify-content: space-between; gap: 14px; font-size: 10px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.count { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; font-family: Bricolage, Arial, sans-serif; font-weight: 550; letter-spacing: -.04em; }
.count strong { font-size: clamp(64px, 7vw, 96px); font-weight: 550; line-height: 1; }
.count span { font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.panel ol, .panel ul { list-style: none; padding: 0; margin: 24px 0 0; }
.panel li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid #cbdce8; font-size: 14px; line-height: 1.5; }
.panel li b { font-weight: 500; color: var(--blue); }
.panel .panel-foot { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* Band */
.band { background: linear-gradient(100deg, #001449, #084a91 70%, #1d6fb0); color: #fff; }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 34px; padding-block: 30px; font-family: Bricolage, Arial, sans-serif; font-size: clamp(18px, 2vw, 25px); letter-spacing: -.02em; }
.band-inner span { opacity: .55; }

/* Sections */
.section { padding-block: 96px; }
.section-tight { padding-block: 64px; }
.section-soft { background: var(--pale); }
.section-line { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 65px; margin-bottom: 45px; }
.section-heading .eyebrow { margin-bottom: 17px; }
h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; }
.section-intro { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 430px; justify-self: end; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: start; }
.split > div > .eyebrow { margin-bottom: 18px; }

/* Card grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: block; padding: 31px 29px 30px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transition: background .2s; background: #fff; }
a.card:hover { background: var(--soft); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; font-size: 10px; letter-spacing: .1em; color: #6f8092; }
.card-top i { font-style: normal; font-size: 16px; color: var(--blue); }
.card h3 { font-size: 23px; line-height: 1.18; }
.card p { margin-top: 15px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.card .more { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 500; color: var(--navy); }
.tag { display: inline-block; padding: 4px 9px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; color: var(--muted); background: #fff; }
.tag-live { color: var(--ok); border-color: #b7dccf; background: #f0f9f5; }
.tag-soon { color: var(--warn); border-color: #ecd9ae; background: #fdf8ec; }

/* Activity detail */
.activity { display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding-block: 46px; border-top: 1px solid var(--line); }
.activity h2 { font-size: clamp(25px, 2.5vw, 33px); line-height: 1.14; }
.activity .num { display: block; margin-bottom: 14px; font-size: 10px; letter-spacing: .13em; color: var(--blue); }
.activity-body { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.activity-body h3 { font-size: 13px; font-family: Roboto, Arial, sans-serif; font-weight: 500; letter-spacing: 0; color: var(--blue); margin-bottom: 10px; }
.activity-body ul, .prose ul, .check-list { margin: 0; padding-left: 18px; }
.activity-body li, .prose li, .check-list li { font-size: 15px; line-height: 1.7; color: #33465c; margin-top: 8px; }
.source { grid-column: 1 / -1; font-size: 12px; line-height: 1.7; color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--line); }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(25px, 2.6vw, 34px); margin-top: 52px; line-height: 1.14; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: 30px; }
.prose p { font-size: 16px; line-height: 1.8; color: #33465c; margin-top: 16px; }
.note { padding: 22px 26px; background: var(--pale); border-left: 3px solid var(--sky); font-size: 14px; line-height: 1.75; color: #33465c; }
.note strong { color: var(--navy); font-weight: 500; }
.note + .note { margin-top: 14px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 24px 22px 0; font-weight: 500; font-size: 16px; line-height: 1.5; }
.faq p { padding-bottom: 24px; font-size: 15px; line-height: 1.8; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(115deg, #001449, #084a91); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; padding-block: 76px; }
.cta .eyebrow { color: #9fd0ee; margin-bottom: 18px; }
.cta p.lead { font-size: 15px; line-height: 1.8; color: #cfe0ee; margin-bottom: 26px; }

/* Forms */
.form { display: grid; gap: 18px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.field { display: grid; gap: 7px; }
.field > label:not(.consent), .field legend { font-size: 13px; font-weight: 500; }
.field input:not([type="checkbox"]), .field select { min-height: 48px; padding: 11px 13px; font: inherit; font-size: 15px; color: var(--navy); background: #fff; border: 1px solid #b9c9d6; border-radius: 5px; }
.field small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13px; line-height: 1.65; color: #33465c; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.field-group { padding: 0; margin: 0; border: 0; gap: 10px; }
.field-group legend { margin-bottom: 10px; padding: 0; }
.form-hint { font-size: 12px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Diagnostic */
.diag[hidden] { display: none; }
.diag { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.diag-side { position: sticky; top: 112px; padding: 28px; border: 1px solid #d8e7f1; border-radius: 10px; background: #f3f8fb; }
.diag-side h2 { font-size: 22px; }
.diag-progress { height: 6px; margin-top: 16px; background: #d8e7f1; border-radius: 3px; overflow: hidden; }
.diag-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--sky)); transition: width .2s; }
.diag-side p { margin-top: 12px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.diag-side .button { width: 100%; margin-top: 18px; }
.diag-group { padding: 0; margin: 0 0 42px; border: 0; }
.diag-group > legend { padding: 0; font-family: Bricolage, Arial, sans-serif; font-size: 27px; font-weight: 550; letter-spacing: -.03em; }
.diag-group > p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.q { padding: 20px 0; border-bottom: 1px solid var(--line); }
.q > p { font-size: 15px; line-height: 1.65; font-weight: 500; }
.q-source { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.opts label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 13px; border: 1px solid #b9c9d6; border-radius: 5px; font-size: 13px; cursor: pointer; background: #fff; }
.opts input { accent-color: var(--blue); margin: 0; }
.opts label:has(input:checked) { border-color: var(--blue); background: var(--pale); font-weight: 500; }
.opts label:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.results { margin-top: 28px; }
.results[hidden] { display: none; }
.result-summary { padding: 32px; color: #fff; border-radius: 10px; background: linear-gradient(115deg, #001449, #084a91); }
.result-summary h2 { font-size: clamp(26px, 3vw, 38px); }
.result-summary p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: #cfe0ee; }
.domain { display: grid; grid-template-columns: 1fr 74px; gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.domain h3 { font-size: 19px; }
.domain .pct { text-align: right; font-weight: 500; }
.domain .bar { grid-column: 1 / -1; height: 6px; background: #e4edf3; border-radius: 3px; overflow: hidden; }
.domain .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.domain ul { grid-column: 1 / -1; margin: 6px 0 0; padding-left: 18px; }
.domain li { font-size: 14px; line-height: 1.7; color: #33465c; margin-top: 5px; }
.domain .ok { grid-column: 1 / -1; margin-top: 4px; font-size: 14px; color: var(--ok); }
.plan-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.plan-table th, .plan-table td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.plan-table th { font-weight: 500; color: var(--blue); font-size: 12px; }
.result-h2 { font-size: 28px; margin-top: 40px; }
.eyebrow-light { color: #9fd0ee; }
.note-gap { margin-top: 28px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.table-wrap { overflow-x: auto; }

/* Footer */
.footer { background: #fff; }
.footer-main { padding-block: 48px 38px; display: flex; justify-content: space-between; gap: 40px; }
.footer-main > div { max-width: 460px; }
.footer-main p { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.footer nav { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 12px 26px; font-size: 13px; max-width: 560px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; color: #5f6e80; font-size: 11px; line-height: 1.6; }

@media (max-width: 1140px) {
  .desktop-nav { gap: 18px; font-size: 13px; }
  .brand-by { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity { grid-template-columns: 240px 1fr; gap: 34px; }
  .split { gap: 44px; }
}
@media (max-width: 960px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { height: 74px; }
  html { scroll-padding-top: 88px; }
  .desktop-nav { display: none; }
  .header-cta { display: none; }
  .page-menu { display: block; margin-left: auto; }
  .page-menu summary { list-style: none; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 24px; cursor: pointer; }
  .page-menu summary::-webkit-details-marker { display: none; }
  .page-menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px #00144914; padding: 8px 24px 18px; }
  .page-menu nav a { display: block; padding: 13px 0; font-size: 15px; border-bottom: 1px solid #edf2f6; }
  .hero, .page-hero, .section-heading, .split, .cta-inner, .diag { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-block: 48px; }
  .section { padding-block: 64px; }
  .section-intro { justify-self: start; }
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .activity, .activity-body { grid-template-columns: 1fr; gap: 20px; }
  .diag-side { position: static; order: -1; }
  .footer-main { flex-direction: column; }
  .footer nav { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  h1 { font-size: clamp(36px, 10vw, 48px); }
  .page-hero h1 { font-size: clamp(32px, 8.6vw, 44px); }
  .hero-actions .button { width: 100%; }
  .grid-4 { grid-template-columns: 1fr; }
  .panel, .form { padding: 24px; }
  .panel li { grid-template-columns: 92px 1fr; }
}
@media print {
  .site-header, .footer, .diag-side, .diag-group, .cta, .breadcrumb, .page-hero .hero-actions, .result-actions, .band, .skip-link { display: none !important; }
  body { color: #000; }
  .result-summary { background: none; color: #000; padding: 0; }
  .result-summary p { color: #000; }
  .page-hero { padding: 0 0 16px; }
  .diag { display: block; }
  .domain { break-inside: avoid; }
  .section-tight { padding: 0; }
}
