/* Cohesion portal audit proposal.
   Tokens from cohesionco.com (live homepage, 2026-11-23): navy #0f1b5e, orange #ff9322,
   ink #0a0a0a, DM Sans headings, Open Sans body. Logo is navy and orange on transparent,
   so the menu is white. No new colors. */

@font-face { font-family: "DM Sans"; src: url("dm-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("open-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0f1b5e;
  --navy-2: #1b2a78;
  --orange: #ff9322;
  --ink: #0a0a0a;
  --text: #313233;
  --muted: #55585c;
  --mist: #f1f2f6;
  --paper: #fbfbfc;
  --white: #ffffff;
  --line: #dfe1e8;
  --side: 272px;
  --r: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Open Sans", Arial, sans-serif; font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-color: var(--orange); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

.skip { position: absolute; left: 12px; top: -100px; z-index: 50; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* Left-hand menu */
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); background: var(--white); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 32px 16px 24px; overflow-y: auto; z-index: 20; }
.side__brand { display: block; padding: 0 8px 20px; }
.side__brand img { width: 180px; }
.side__for { margin: 0 8px 24px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu a { display: flex; align-items: center; min-height: 48px; padding: 8px 12px 8px 16px; border-left: 4px solid transparent; border-radius: 0 var(--r) var(--r) 0; color: var(--text); font-family: "DM Sans", Arial, sans-serif; font-weight: 500; font-size: 16px; line-height: 1.3; text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease); }
.menu a:hover { background: var(--mist); color: var(--navy); }
.menu a[aria-current="page"] { background: var(--navy); color: var(--white); border-left-color: var(--orange); font-weight: 700; }
.side__foot { margin: auto 8px 0; padding-top: 24px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.menubtn { display: none; }

/* Panels */
main { margin-left: var(--side); min-height: 100vh; }
.panel { padding: 64px clamp(24px, 5vw, 72px) 72px; max-width: 1080px; }
.js .panel[hidden] { display: none; }

h1, h2, h3 { font-family: "DM Sans", Arial, sans-serif; color: var(--navy); font-weight: 700; line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.2vw, 52px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 24px); margin-top: 40px; }
p { margin: 0 0 16px; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--muted); margin-bottom: 32px; }
.note { font-size: 15px; color: var(--muted); }
.kicker { font-family: "DM Sans", Arial, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 0 0 12px; }

.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }

/* Overview */
.top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-bottom: 40px; }
.fee { background: var(--navy); color: var(--white); border-radius: var(--r); padding: 28px 28px 12px; margin: 0 0 24px; container-type: inline-size; }
.fee__label { font-family: "DM Sans", Arial, sans-serif; font-size: 15px; font-weight: 700; color: #c9cde3; margin: 0 0 4px; }
.fee__fig { font-family: "DM Sans", Arial, sans-serif; font-weight: 700; font-size: clamp(44px, 24cqi, 76px); line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums lining-nums; margin: 0 0 16px; white-space: nowrap; }
.fee p { color: var(--white); }
.fee .fee__label { color: #c9cde3; }
.after { border: 2px solid var(--navy); border-radius: var(--r); background: var(--white); padding: 24px 28px 8px; }
.after__label { font-family: "DM Sans", Arial, sans-serif; font-size: 15px; font-weight: 700; color: var(--muted); margin: 0 0 4px; }
.after__fig { font-family: "DM Sans", Arial, sans-serif; font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--navy); margin: 0 0 12px; }

.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.why h3 { margin-top: 28px; }
blockquote { margin: 0 0 16px; padding: 16px 20px; background: var(--mist); border-left: 4px solid var(--orange); border-radius: 0 var(--r) var(--r) 0; font-style: italic; }
blockquote p { margin: 0; }
.close { font-family: "DM Sans", Arial, sans-serif; font-weight: 700; color: var(--navy); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; margin: 40px 0 24px; padding-left: 20px; border-left: 6px solid var(--orange); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 24px 24px 8px; }
.card h3 { margin-top: 0; }

/* Tables */
.tw { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
th { background: var(--navy); color: var(--white); text-align: left; font-family: "DM Sans", Arial, sans-serif; font-weight: 700; font-size: 14px; padding: 12px 16px; }
td { padding: 12px 16px; vertical-align: top; }
tbody tr:nth-child(even) td { background: var(--mist); }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
td.nm { font-weight: 700; min-width: 200px; color: var(--navy); }
tfoot td { background: var(--navy); color: var(--orange); font-family: "DM Sans", Arial, sans-serif; font-weight: 700; font-size: 18px; }
tfoot td.nm { color: var(--white); }

/* Timeline */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 16px; display: grid; gap: 16px; }
ol.steps li { counter-increment: step; position: relative; padding-left: 48px; min-height: 34px; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--orange); font-family: "DM Sans", Arial, sans-serif; font-weight: 700; font-size: 16px; }
ol.steps strong { color: inherit; }

.ask { background: var(--navy); color: var(--white); border-radius: var(--r); padding: 28px 28px 12px; margin: 24px 0 0; }
.ask h3 { margin-top: 0; color: var(--orange); }
.ask p, .ask li { color: var(--white); }
.plain { font-weight: 600; font-size: 18px; margin-top: 32px; padding: 20px 24px; background: var(--mist); border-left: 6px solid var(--navy); border-radius: 0 var(--r) var(--r) 0; }

/* Next tab button */
.next { display: inline-flex; align-items: center; min-height: 52px; margin-top: 40px; padding: 14px 24px; font-family: "DM Sans", Arial, sans-serif; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; color: var(--white); background: var(--navy); border-radius: var(--r); transition: background-color .15s var(--ease), transform .15s var(--ease); }
.next:hover { background: var(--navy-2); transform: translateY(-1px); }
.next:active { transform: translateY(1px); }

/* Pay button, the money action */
.paybtn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; width: 100%; margin: 8px 0 4px; padding: 16px 24px; font-family: "DM Sans", Arial, sans-serif; font-weight: 700; font-size: 18px; line-height: 1; text-decoration: none; color: var(--ink); background: var(--orange); border-radius: var(--r); transition: filter .15s var(--ease), transform .15s var(--ease); }
.paybtn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.paybtn:active { transform: translateY(1px); }
.note--fee { color: #c9cde3; }

footer { margin-left: var(--side); padding: 40px 24px 56px; text-align: center; font-size: 14px; color: var(--muted); }
footer p { margin: 0 0 4px; }

/* Phones and small tablets: the menu becomes a top bar with a menu button */
@media (max-width: 960px) {
  .side { position: sticky; top: 0; inset: auto; width: auto; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .side__brand { padding: 0; }
  .side__brand img { width: 120px; }
  .side__for, .side__foot { display: none; }
  .menubtn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 16px; background: var(--navy); color: var(--white); border: 0; border-radius: var(--r); font: 700 16px/1 "DM Sans", Arial, sans-serif; cursor: pointer; }
  .menubtn svg { width: 18px; height: 18px; }
  .js .menu { display: none; }
  .js .side.open .menu { display: grid; }
  .menu { flex-basis: 100%; padding: 8px 0; }
  main, footer { margin-left: 0; }
  .panel { padding: 40px 20px 56px; }
  .top, .why, .cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cards { gap: 16px; }
}
@media (max-width: 640px) {
  th, td { padding-left: 12px; padding-right: 12px; }
  td.nm { min-width: 0; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tfoot { display: block; }
  table.stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  table.stack td { display: block; }
  table.stack td.what { grid-column: 1 / -1; padding-top: 0; color: var(--muted); }
  table.stack td.nm { grid-row: 1; grid-column: 1; }
  table.stack td.nm ~ td.num { grid-row: 1; grid-column: 2; }
  table.stack tbody tr:nth-child(even) td { background: transparent; }
  table.stack tbody tr:nth-child(even) { background: var(--mist); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .side, .next, .menubtn, .skip { display: none !important; }
  main, footer { margin-left: 0; }
  .js .panel[hidden] { display: block; }
}
