:root { --space: #02040a; --hull: #0a1120; --line: rgba(160,190,255,.09); --line2: rgba(160,190,255,.16);
  --white: #f4f7fc; --mist: #a7b3c7; --fog: #6c7a92; --cyan: #4fd6ff; --cyan-rgb: 79,214,255; --amber: #ffb547; --amber-rgb: 255,181,71;
  --f: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --m: "JetBrains Mono", ui-monospace, Menlo, monospace; --ease: cubic-bezier(.2,.7,.2,1); color-scheme: dark; }
:root[data-theme="light"] { --space: #f3f6fa; --hull: #ffffff; --line: rgba(11,26,48,.08); --line2: rgba(11,26,48,.14);
  --white: #0b1a30; --mist: #3a4860; --fog: #5b6880; --cyan: #0a7393; --cyan-rgb: 10,115,147; --amber: #9a5b00; --amber-rgb: 154,91,0; color-scheme: light; }
* { box-sizing: border-box; }
html { background: var(--space); scroll-padding-top: 84px; }
body { margin: 0; background: var(--space); color: var(--mist); font: 16px/1.7 var(--f); -webkit-font-smoothing: antialiased; }
a { color: var(--cyan); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--white); margin: 0; letter-spacing: -.025em; font-weight: 600; }
code { font: 13.5px/1.5 var(--m); color: var(--white); background: rgba(127,150,190,.1); padding: 2px 6px; border-radius: 5px; }

header.top { position: fixed; z-index: 40; inset: 0 0 auto; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 22px; background: rgba(2,4,10,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
:root[data-theme="light"] header.top { background: rgba(243,246,250,.85); }
header.top img { height: 32px; display: block; }
.lg-l { display: none !important; } [data-theme="light"] .lg-d { display: none !important; } [data-theme="light"] .lg-l { display: block !important; }
header.top .r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.thm { all: unset; cursor: pointer; flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--mist); box-shadow: inset 0 0 0 1px var(--line2); transition: color .3s var(--ease), background .3s var(--ease); }
.thm:hover { color: var(--white); background: rgba(127,150,190,.08); } .thm:focus-visible { box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 3px rgba(var(--cyan-rgb),.25); }
.thm svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s, transform .45s var(--ease); }
.thm .moon { opacity: 0; transform: rotate(-50deg) scale(.6); }
[data-theme="light"] .thm .sun { opacity: 0; transform: rotate(50deg) scale(.6); } [data-theme="light"] .thm .moon { opacity: 1; transform: none; }
.b { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; font: 600 14px/1 var(--f); color: var(--white); background: rgba(127,150,190,.06); box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s var(--ease); }
.b:hover { text-decoration: none; background: rgba(127,150,190,.12); }

.shell { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; padding: 112px 22px 96px; }
aside.nav { position: sticky; top: 96px; align-self: start; }
aside.nav h5 { margin: 0 0 10px 10px; font: 600 11px/1 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--fog); }
aside.nav a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--mist); font-size: 14.5px; transition: color .3s var(--ease), background .3s var(--ease); }
aside.nav a:hover { text-decoration: none; color: var(--white); background: rgba(127,150,190,.06); }
aside.nav a.on { color: var(--white); background: rgba(var(--cyan-rgb),.08); box-shadow: inset 2px 0 0 var(--cyan); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.draft { font: 600 10.5px/1 var(--m); letter-spacing: .12em; color: var(--amber); padding: 5px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(var(--amber-rgb),.45); }
article h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 16px 0 10px; }
.date { color: var(--fog); font: 13px/1.5 var(--m); margin-bottom: 30px; }
.short { background: var(--hull); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line2); padding: 20px 24px; margin-bottom: 18px; color: var(--white); }
.short strong { display: block; font: 600 11px/1 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--fog); margin-bottom: 10px; }
.short ul { margin: 0; padding-left: 20px; } .short li { margin: 6px 0; }
article h2 { font-size: 19px; margin: 40px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
article p { margin: 0 0 14px; }
article ul, article ol { padding-left: 22px; margin: 0 0 14px; } article li { margin: 6px 0; }
article strong { color: var(--white); font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--fog); font: 600 11px/1.3 var(--m); letter-spacing: .1em; text-transform: uppercase; }
td:first-child { color: var(--white); white-space: nowrap; }
.ph { color: var(--amber); background: rgba(var(--amber-rgb),.12); padding: 1px 6px; border-radius: 5px; font-weight: 600; }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fog); display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 96px 16px 72px; }
  aside.nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 28px; }
  aside.nav h5 { display: none; }
  header.top { padding: 0 16px; } header.top .b { display: none; }
  td:first-child { white-space: normal; }
  table { display: block; overflow-x: auto; }
}

/* endorsement: by Motto Marine International, beside the logo */
.brand { display: flex; align-items: center; gap: 14px; flex: none; min-width: 0; }
.brand > a:first-child { display: block; flex: none; }
.by { display: block; padding-left: 14px; border-left: 1px solid var(--line2); font: 500 9.5px/1.5 var(--m); letter-spacing: .15em; text-transform: uppercase; color: var(--fog); white-space: nowrap; transition: color .3s var(--ease); }
.by span { display: block; }
.by:hover { color: var(--mist); text-decoration: none; }
.by:focus-visible { outline: 1px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
@media (max-width: 600px) {
  .brand { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
  .by { padding-left: 0; border-left: 0; font: 500 9.5px/1.2 var(--f); letter-spacing: .02em; text-transform: none; }
  .by span { display: inline; }
}

.mmt { flex-basis: 100%; }
