:root {
  --navy: #071d37;
  --navy-2: #0d3157;
  --blue: #146fd1;
  --teal: #0a948f;
  --orange: #ed6a20;
  --ink: #102a43;
  --muted: #5b7085;
  --line: #d9e5ee;
  --soft: #f3f8fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(7, 29, 55, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  text-decoration: none;
}

.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand strong { display: block; font-size: 17px; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

.nav { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 700; }
.nav a { color: #39536b; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary { background: var(--navy); color: white; }
.button-secondary { border-color: var(--line); background: white; color: var(--navy); }

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #091f38;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 24, 45, 0.97) 0%, rgba(5, 24, 45, 0.82) 48%, rgba(5, 24, 45, 0.28) 100%), url("/sapp/images/marine-dusk-ship.jpg") center/cover no-repeat;
}

.hero-inner { position: relative; z-index: 1; padding: 74px 0 66px; color: white; }
.eyebrow { color: #80e1d7; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 14px 0 16px; font-size: 72px; line-height: 1.02; letter-spacing: 0; }
.hero p { max-width: 720px; margin: 0; color: #d5e3ef; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero .button-secondary { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: white; }

.intro-band { padding: 42px 0; border-bottom: 1px solid var(--line); background: var(--soft); }
.intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.intro-band h2, .section-heading h2 { margin: 0; color: var(--navy); font-size: 29px; line-height: 1.2; }
.intro-band p { margin: 12px 0 0; color: var(--muted); }
.principles { margin: 0; padding-left: 20px; color: #38546c; }
.principles li + li { margin-top: 8px; }

.section { padding: 70px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading p { margin: 10px 0 0; color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
  box-shadow: 0 20px 50px -42px rgba(7,29,55,.55);
  transition: transform .18s ease, border-color .18s ease;
}
.guide-card:hover { transform: translateY(-3px); border-color: #9bbbd4; }
.guide-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e5f4f3; color: var(--teal); font-size: 12px; font-weight: 900; }
.guide-card:nth-child(3n+2) .guide-number { background: #e9f1fd; color: var(--blue); }
.guide-card:nth-child(3n) .guide-number { background: #fff0e7; color: var(--orange); }
.guide-card h3 { margin: 22px 0 8px; color: var(--navy); font-size: 20px; line-height: 1.3; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14px; }
.guide-link { margin-top: auto; padding-top: 20px; color: var(--blue); font-size: 13px; font-weight: 900; }

.article-hero { padding: 64px 0 52px; color: white; background: var(--navy); }
.breadcrumbs { margin-bottom: 24px; color: #a9c4da; font-size: 12px; }
.breadcrumbs a { color: #a9c4da; text-decoration: none; }
.article-hero h1 { max-width: 840px; margin: 0; font-size: 58px; line-height: 1.06; letter-spacing: 0; }
.article-hero p { max-width: 760px; margin: 18px 0 0; color: #d3e0eb; font-size: 18px; }
.article-meta { margin-top: 22px; color: #91afc7; font-size: 12px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 64px; align-items: start; }
.article { font-size: 17px; }
.article h2 { margin: 48px 0 14px; color: var(--navy); font-size: 29px; line-height: 1.22; }
.article h3 { margin: 32px 0 10px; color: var(--navy-2); font-size: 21px; }
.article p { margin: 0 0 19px; }
.article ul, .article ol { padding-left: 24px; }
.article li + li { margin-top: 8px; }
.article table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14px; }
.article th, .article td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: #eaf3f8; color: var(--navy); }
.note { margin: 26px 0; padding: 18px 20px; border-left: 4px solid var(--teal); background: #edf8f7; color: #284c53; }
.warning { border-left-color: var(--orange); background: #fff5ee; color: #65402d; }

.article-aside { position: sticky; top: 96px; }
.aside-block { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.aside-block + .aside-block { margin-top: 16px; }
.aside-block strong { display: block; margin-bottom: 10px; color: var(--navy); }
.aside-block a { display: block; padding: 7px 0; color: #34546e; font-size: 13px; text-decoration: none; }
.aside-block a:hover { color: var(--blue); }

.cta-band { padding: 52px 0; color: white; background: #0b817d; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-row h2 { margin: 0; font-size: 29px; }
.cta-row p { margin: 8px 0 0; color: #d7f1ef; }

.footer { padding: 28px 0; color: #a9bed0; background: #06182d; font-size: 12px; }
.footer-row { display: flex; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a { color: #d8e5ef; text-decoration: none; }

@media (max-width: 900px) {
  .nav a:not(.keep-mobile) { display: none; }
  .intro-grid, .article-layout { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .article-aside { position: static; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1120px); }
  .header-row { min-height: 64px; }
  .brand small { display: none; }
  .nav { gap: 10px; }
  .nav .button { min-height: 38px; padding: 8px 11px; }
  .hero { min-height: 570px; }
  .hero::before { background: linear-gradient(180deg, rgba(5,24,45,.48), rgba(5,24,45,.98) 70%), url("/sapp/images/marine-dusk-ship.jpg") center/cover no-repeat; }
  .hero-inner { padding: 92px 0 46px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .intro-grid { gap: 24px; }
  .section { padding: 48px 0; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 220px; }
  .article-hero { padding: 44px 0 40px; }
  .article-hero h1 { font-size: 38px; }
  .article { font-size: 16px; }
  .article h2 { font-size: 25px; }
  .cta-row, .footer-row { align-items: flex-start; flex-direction: column; }
}
