/* Blog and printable sheets of boata.app. Look and feel of the blog prototype (Plus Jakarta Sans, navy and lime, soft cards).
   One language per page (no lang.js). Fonts are self-hosted; icons are the inline SVG symbols declared in each page. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/PlusJakartaSans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/PlusJakartaSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #123C69; --navy-2: #0E2F53; --lime: #9BE10B; --lime-2: #A3E635; --lime-tint: #EBFFC7;
  --charcoal: #111827; --bg-soft: #F1F5F9; --white: #FFFFFF; --text: #0F172A; --muted: #475569; --border: #E2E8F0;
  --radius-btn: 30px; --radius-card: 24px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); line-height: 1.65; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
footer :focus-visible, .tldr :focus-visible, .offer :focus-visible { outline-color: var(--lime); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--charcoal); padding: 8px 14px; border-radius: 8px; font-weight: 700; z-index: 60; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 32px; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.2em; }

/* Buttons */
.cta { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--lime); color: var(--charcoal) !important; font-weight: 800; padding: 14px 26px; border-radius: var(--radius-btn); font-size: 1rem; min-height: 48px; border: 0; cursor: pointer; font-family: inherit; }
.cta:hover { background: var(--lime-2); }
.cta.small { padding: 11px 22px; min-height: 0; font-size: 0.9rem; }
.topActions .cta { white-space: nowrap; }
.btnGhost { display: none; align-items: center; padding: 10px 20px; border: 1.5px solid rgba(18, 60, 105, 0.35); border-radius: var(--radius-btn); color: var(--navy); text-decoration: none; font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.btnGhost:hover { background: rgba(18, 60, 105, 0.06); border-color: var(--navy); }
.btn { font: inherit; font-weight: 800; border: 0; background: var(--navy); color: #fff; padding: 12px 22px; border-radius: var(--radius-btn); cursor: pointer; min-height: 46px; }
.btn:hover { filter: brightness(1.1); }

/* Nav: fixed, readable on the soft page head, with a light backdrop once the page scrolls */
.nav { --burger-color: var(--navy); position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: background 0.3s ease, box-shadow 0.3s ease; }
.nav.scrolled { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); box-shadow: 0 10px 30px -18px rgba(18, 60, 105, 0.45); }
.navIn { max-width: 1440px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 64px); min-height: 76px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; justify-self: start; }
.brand img { display: block; height: 27px; width: auto; align-self: flex-start; } /* the brand is a flex column: without this the image stretches to the full width */
.baseline { margin-top: 5px; font-size: 0.74rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.navLinks { display: none; gap: 30px; align-items: center; }
.navLinks a { position: relative; padding-block: 6px; color: var(--navy); text-decoration: none; font-size: 0.95rem; font-weight: 700; }
.navLinks a:hover { color: var(--navy-2); }
.navLinks a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--lime); }
.topActions { display: flex; align-items: center; gap: 10px; justify-self: end; }
@media (min-width: 900px) {
  .navIn { grid-template-columns: 1fr auto 1fr; }
  .navLinks { display: flex; }
  .btnGhost { display: inline-flex; }
}
@media (max-width: 899px) { .baseline { display: none; } }

/* Page heads */
.page-head { background: var(--bg-soft); padding: 150px 0 48px; }
.kicker { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; }
h1 { margin: 0 0 16px; font-size: clamp(2.2rem, 4.6vw, 3.75rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 62%, var(--lime-tint) 62%); }
.lead { margin: 0; font-size: 1.12rem; line-height: 1.6; color: var(--muted); max-width: 40em; }
.cat { display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); background: var(--lime-tint); padding: 5px 10px; border-radius: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.meta .sep { opacity: 0.5; }
.meta .date { color: #4D7C0F; font-weight: 700; }

/* Blog index */
.featured-wrap { background: linear-gradient(var(--bg-soft) 50%, var(--white) 50%); padding-bottom: 8px; }
.featured { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border: 1px solid var(--border); border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.featured:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -32px rgba(18, 60, 105, 0.4); }
.featured-img { position: relative; min-height: 380px; }
.featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge-new { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); color: var(--navy); padding: 7px 14px; border-radius: 30px; font-size: 0.75rem; font-weight: 800; }
.badge-new .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(155, 225, 11, 0.25); }
.featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured-body h2 { margin: 14px 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--text); text-wrap: balance; }
.featured-body p { margin: 0 0 22px; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.featured-body .meta { margin-bottom: 22px; }
.read { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 800; color: var(--navy); }
.read .ico { transition: transform 0.2s ease; }
.featured:hover .read .ico { transform: translateX(4px); }
.soon { margin: 56px 0 0; text-align: center; color: var(--muted); font-weight: 600; }

/* Article cards (blog index) */
.list { padding-top: 56px; }
.list-title { margin: 0 0 24px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; }
.list-title em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 62%, var(--lime-tint) 62%); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.post-link:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(18, 60, 105, 0.35); }
.post-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.post-link:hover .post-img img { transform: scale(1.04); }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.post-body h3 { margin: 2px 0 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; color: var(--text); }
.post-body p { margin: 0; font-size: 0.93rem; line-height: 1.6; color: var(--muted); flex: 1; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } .list { padding-top: 40px; } }

/* Article head and cover */
.a-head { background: var(--bg-soft); padding: 140px 0 0; }
.a-head .inner { max-width: 820px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--navy); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .ico { opacity: 0.6; }
.a-head h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -0.035em; line-height: 1.08; margin: 16px 0 18px; }
.standfirst { margin: 0 0 24px; font-size: 1.2rem; line-height: 1.6; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 40px; }
.byline .badge { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--navy); flex: none; }
.byline strong { display: block; font-size: 0.9rem; }
.cover { background: linear-gradient(var(--bg-soft) 50%, var(--white) 50%); }
.cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 28px; } /* height:auto: the height attribute would otherwise win over aspect-ratio */

/* Article layout: sticky contents list and the text column */
.a-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; padding-block: 56px 40px; align-items: start; }
.a-layout > * { min-width: 0; }
.a-toc { position: sticky; top: 100px; }
.a-toc p { margin: 0 0 12px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.a-toc ol { list-style: none; margin: 0 0 28px; padding: 0; border-left: 2px solid var(--border); }
.a-toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.85rem; font-weight: 600; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color 0.15s ease, border-color 0.2s ease; }
.a-toc a:hover { color: var(--navy); }
.a-toc a.active { color: var(--navy); border-left-color: var(--lime); }
.share { display: flex; gap: 8px; }
.share button, .share a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: border-color 0.15s ease, background 0.15s ease; padding: 0; }
.share button:hover, .share a:hover { border-color: var(--navy); }
.share .copied { background: var(--lime); border-color: var(--lime); }
@media (max-width: 1080px) { .a-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .a-toc { display: none; } }

/* Article body */
article p, article li { font-size: 1.06rem; line-height: 1.75; color: #334155; }
article > p:first-child::first-letter { float: left; font-size: 3.6rem; line-height: 0.9; font-weight: 800; color: var(--navy); margin: 6px 10px 0 0; }
article p { margin: 0 0 18px; }
article strong { color: var(--text); }
article h2 { margin: 48px 0 16px; font-size: clamp(1.45rem, 3.4vw, 1.75rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
article h3 { margin: 28px 0 10px; font-size: 1.2rem; line-height: 1.3; font-weight: 800; color: var(--text); }
article ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
article ul li { position: relative; padding-left: 24px; }
article ul li::before { content: ""; position: absolute; left: 4px; top: 0.75em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
article ol { padding-left: 1.3em; margin: 0 0 18px; }
article ol li { margin-bottom: 6px; }
article a { color: var(--navy); }

/* 30-second summary */
.tldr { background: var(--navy); color: #fff; border-radius: 22px; padding: 28px 30px; margin: 32px 0; }
.tldr h2 { margin: 0 0 16px; font-size: 1.4rem; color: #fff; display: flex; align-items: center; gap: 10px; }
.tldr h2 .ico { color: var(--lime); width: 1.3em; height: 1.3em; }
.tldr ul { margin: 0; gap: 12px; }
.tldr li { color: rgba(255, 255, 255, 0.9); font-size: 1rem; padding-left: 32px; line-height: 1.55; }
.tldr li::before { display: none; }
.tldr li strong { color: #fff; }
.tldr li .ck { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--charcoal); display: flex; align-items: center; justify-content: center; }
.tldr li .ck .ico { width: 13px; height: 13px; stroke-width: 3; }
.more-h { display: flex; align-items: center; gap: 12px; margin: 40px 0 6px; font-size: 1.4rem; color: var(--navy); }
.more-h .mi { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--navy); flex: none; }
.more-h .ico { width: 1.2em; height: 1.2em; }
.more-sub { margin: 0 0 24px; color: var(--muted); }
.more-h .pt { font-size: 0.9em; }
.more-h + .tldr { margin-top: 14px; }
.tldr .more { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }
.tldr .more strong { color: #fff; }

/* Notes, resource card */
.note { display: flex; gap: 14px; background: var(--lime-tint); border-radius: 16px; padding: 18px 20px; margin: 0 0 24px; }
.note > .ico { width: 1.4em; height: 1.4em; color: var(--navy); margin-top: 2px; }
.note p { margin: 0; font-size: 0.97rem; color: var(--text); }
.resource { display: flex; align-items: center; gap: 16px; border: 1.5px solid var(--border); border-radius: 18px; padding: 18px 20px; margin: 0 0 32px; text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.2s ease; }
.resource:hover { border-color: var(--navy); transform: translateY(-2px); }
.resource .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; flex: none; }
.resource .ic .ico { width: 24px; height: 24px; }
.resource strong { display: block; font-size: 1rem; margin-bottom: 2px; color: var(--text); }
.resource .txt { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.resource .go { margin-left: auto; width: 22px; height: 22px; color: var(--navy); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 8px 0 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; background: var(--white); }
th, td { text-align: left; padding: 14px 16px; vertical-align: top; line-height: 1.55; border-bottom: 1px solid var(--border); }
thead th { background: var(--bg-soft); color: var(--navy); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
td { color: #334155; }
tr:last-child td { border-bottom: 0; }

/* Boat-type tags and the timeline figure */
.kind { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 9px; border-radius: 99px; vertical-align: middle; margin-right: 4px; white-space: nowrap; }
.kind.v { background: #E3EEF9; color: var(--navy); }
.kind.m { background: #FDF0D5; color: #8A5A00; }
.timeline { margin: 22px 0; }
.timeline svg { width: 100%; height: auto; display: block; background: var(--white); border: 1px solid var(--border); border-radius: 18px; }
.timeline figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }
.tl-months text { font: 700 13px var(--font); fill: var(--muted); }
.tl-labels text { font: 700 14px var(--font); fill: var(--navy); }
.tl-grid line { stroke: var(--border); stroke-width: 1; }
.tl-a { fill: #123C69; } .tl-b { fill: #9BE10B; } .tl-c { fill: #3E7CB1; } .tl-d { fill: #F2B84B; }
.tl-list { margin-top: 6px; }

/* Closing banner (call to action) */
.offer { position: relative; overflow: hidden; margin: 44px 0; border-radius: 28px; padding: 44px; color: #fff; background: var(--navy) url('/brand/hero-boat.jpg') center 85% / cover no-repeat; display: grid; gap: 22px; align-items: center; }
.offer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 60, 105, 0.95) 0%, rgba(18, 60, 105, 0.82) 45%, rgba(18, 60, 105, 0.4) 100%); }
.offer > * { position: relative; }
.offer h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.offer p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.55; }
.offer .deal { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 30px; background: var(--lime); color: var(--navy); font-size: 0.85rem; font-weight: 800; line-height: 1.4; }
.offer .small-print { display: block; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 981px) { .offer { grid-template-columns: 1.3fr auto; } }
@media (max-width: 980px) { .offer::before { background: rgba(18, 60, 105, 0.86); } }
article .offer h2 { margin-top: 0; }
article .offer p { font-size: 1rem; color: rgba(255, 255, 255, 0.82); }

/* Printable sheets */
.sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 22px; }
.box { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--navy); border-radius: 4px; vertical-align: middle; }
td.fill { min-width: 90px; }
tr.blank td { height: 2.4em; }
.group td { background: #F8FBFF; color: var(--navy); font-weight: 800; }
.sheet-main { padding-block: 40px 8px; }
.sheet-main p, .sheet-main li { font-size: 1rem; }
.sheet-main h2 { margin: 26px 0 10px; font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.sheet-main .offer h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .featured { grid-template-columns: 1fr; }
  .featured-img { min-height: 260px; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .page-head { padding: 118px 0 36px; }
  .a-head { padding-top: 110px; }
  .standfirst { font-size: 1.05rem; }
  .cover img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .a-layout { padding-block: 36px 24px; }
  article p, article li { font-size: 1rem; }
  .tldr { padding: 22px; }
  .featured-body { padding: 26px; }
  .offer { padding: 28px; }
}
@media print {
  body { background: #fff; font-size: 11pt; line-height: 1.4; }
  .nav, footer, .no-print, .offer, .skip, .crumbs, .a-toc, .cover { display: none !important; }
  .page-head, .a-head { background: none; padding: 0 0 8px; }
  .page-head h1, .a-head h1 { font-size: 20pt; color: #000; }
  .page-head .lead, .page-head .kicker { color: #333; }
  .wrap { max-width: none; padding-inline: 0; }
  .sheet-main { padding-block: 8px 0; }
  table { font-size: 9.5pt; page-break-inside: auto; }
  tr { page-break-inside: avoid; }
  th { background: #eee !important; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .group td { background: #f3f3f3 !important; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  td, th { padding: 6px 8px; }
  a { color: #000; text-decoration: none; }
  .print-foot { display: block !important; margin-top: 14px; font-size: 9pt; color: #555; }
}
.print-foot { display: none; }
