body.template-harbor, body.template-index {
  --bg: #fafbfc;
  --ink: #242b36;
  --muted: #616b78;
  --line: #dce2e8;
  --cyan: #2763d9;
  --violet: #a15179;
  --lime: #25816b;
  --light-accent: #2763d9;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
}
.light-page { min-height: 100vh; letter-spacing: 0; }
.light-page * { letter-spacing: 0; }
.light-page a { color: inherit; text-decoration: none; }
.light-page a:focus-visible { outline: 3px solid var(--light-accent); outline-offset: 5px; }
.light-wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.light-brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 17px; font-weight: 800; }
.light-brand span { overflow-wrap: normal; }
.light-brand-mark {
  display: grid; place-items: center; width: 38px; min-height: 38px; flex: 0 0 38px;
  background: var(--light-accent); color: white; border-radius: 8px; font-size: 12px; padding: 5px;
}
.light-eyebrow { margin: 0 0 18px; color: var(--light-accent); font-size: 12px; font-weight: 700; }
.light-description { color: var(--muted); font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.light-page .theme-subtitle { color: var(--ink); font-size: 20px; margin-top: 20px; }
.light-page h1, .light-page h2, .light-page h3 { overflow-wrap: anywhere; }
.light-page h1 { font-weight: 800; }
.light-kicker { color: var(--muted); font: 11px/1.6 'DM Mono', monospace; overflow-wrap: anywhere; }
.light-entry { --entry-tint: #edf3ff; --entry-ink: #2763d9; }
.light-entry.color-violet { --entry-tint: #f9eef3; --entry-ink: #a15179; }
.light-entry.color-lime { --entry-tint: #eaf5ef; --entry-ink: #25816b; }
.light-entry p { color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.light-footer {
  display: flex; justify-content: space-between; gap: 18px; padding: 26px 0;
  border-top: 1px solid var(--line); color: var(--muted); font: 10px/1.8 'DM Mono', monospace;
  flex-wrap: wrap; overflow-wrap: anywhere;
}
.light-empty { padding-block: 35px; color: var(--muted); }
.template-harbor.accent-amber, .template-index.accent-amber { --light-accent: #986212; }
.template-harbor.accent-rose, .template-index.accent-rose { --light-accent: #aa3f69; }
.template-harbor.accent-lime, .template-index.accent-lime { --light-accent: #2b7450; }

.harbor-page { background: #fff; }
.harbor-header {
  min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.harbor-nav { font-size: 13px; display: flex; align-items: center; gap: 25px; flex-shrink: 0; }
.harbor-nav span { color: var(--light-accent); font-size: 23px; }
.harbor-main { max-width: none; margin: 0; padding: 0; }
.harbor-hero {
  min-height: 480px; padding: 58px 0 230px; text-align: center; background-color: #f2f6fa;
  background-image: url('images/light-harbor.png'); background-position: center bottom;
  background-repeat: no-repeat; background-size: 1440px 480px;
}
.harbor-intro h1 { font-size: 56px; line-height: 1.2; margin: 0; }
.harbor-intro .theme-subtitle { margin-inline: auto; }
.harbor-intro .light-description { margin: 19px auto 0; max-width: 660px; }
.harbor-applications { padding-block: 42px 70px; scroll-margin-top: 24px; }
.harbor-section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px;
}
.harbor-section-head .light-eyebrow { margin-bottom: 9px; }
.harbor-section-head h2 { font-size: 27px; margin: 0; }
.light-count { font: 36px/1 'DM Mono', monospace; color: #a5b2c1; }
.harbor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.harbor-card {
  display: flex; flex-direction: column; min-height: 254px; padding: 26px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.harbor-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px #25375910; border-color: var(--entry-ink); }
.harbor-card-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.harbor-icon {
  width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center;
  background: var(--entry-tint); color: var(--entry-ink); font-size: 26px; border-radius: 8px;
}
.harbor-card h3 { font-size: 22px; margin: 25px 0 0; }
.harbor-card p { margin: 12px 0 24px; }
.harbor-card-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--entry-ink); font-size: 12px;
}
.light-arrow { font-size: 21px; }

.index-page { background: #fafbfc; }
.index-header {
  min-height: 98px; border-bottom: 1px solid #cdd5de; display: flex;
  align-items: center; justify-content: space-between; gap: 28px;
}
.index-header .light-brand-mark { background: #242b36; border-radius: 0; }
.index-header-label { color: var(--muted); font: 10px/1.6 'DM Mono', monospace; }
.index-main {
  max-width: 1200px; padding: 65px 0 80px; display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: 70px; align-items: start;
}
.index-intro { position: sticky; top: 35px; }
.index-intro h1 { margin: 24px 0; max-width: 370px; font-size: 52px; line-height: 1.25; }
.index-intro .light-description { max-width: 330px; font-size: 14px; }
.index-art { display: block; width: 100%; max-width: 340px; height: auto; margin-top: 28px; }
.index-section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  border-bottom: 2px solid var(--ink); padding-bottom: 20px;
}
.index-section-head h2 { font-size: 18px; margin: 0; }
.index-section-head > span { color: var(--muted); font-size: 11px; }
.index-entry {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 76px; gap: 22px;
  padding: 32px 8px; border-bottom: 1px solid #cdd5de; align-items: start;
  transition: background .2s ease;
}
.index-entry:hover { background: var(--entry-tint); }
.index-number { font: 12px/1.6 'DM Mono', monospace; color: var(--muted); }
.index-entry h3 { font-size: 25px; margin: 13px 0 9px; }
.index-entry p { margin: 0 0 20px; }
.index-open { color: var(--entry-ink); font-size: 12px; display: flex; align-items: center; gap: 18px; }
.index-open span { font-size: 20px; transition: transform .2s ease; }
.index-entry:hover .index-open span { transform: translate(3px, -3px); }
.index-symbol {
  width: 76px; height: 88px; display: grid; place-items: center; font-size: 40px;
  background: var(--entry-tint); color: var(--entry-ink); border-radius: 38px 38px 5px 5px;
}
@media (min-width: 1600px) { .harbor-hero { background-size: 1600px auto; } }
@media (max-width: 1000px) {
  .light-wrap { width: calc(100% - 48px); }
  .harbor-card { padding: 20px; }
  .harbor-card-top { align-items: flex-start; flex-direction: column; }
  .index-main { gap: 32px; }
  .index-intro h1 { font-size: 42px; }
  .index-entry { grid-template-columns: 24px minmax(0, 1fr) 52px; gap: 12px; }
  .index-symbol { width: 52px; height: 68px; font-size: 30px; }
}
@media (max-width: 700px) {
  .light-wrap { width: calc(100% - 40px); }
  .light-brand { font-size: 13px; gap: 9px; }
  .harbor-header, .index-header { min-height: 76px; }
  .harbor-nav { gap: 8px; font-size: 12px; }
  .harbor-hero { min-height: 405px; padding: 42px 0 165px; background-size: 1080px 360px; }
  .harbor-intro h1 { font-size: 36px; }
  .light-page .theme-subtitle { font-size: 18px; }
  .harbor-intro .light-description { font-size: 14px; max-width: 340px; }
  .harbor-applications { padding-block: 30px 45px; }
  .harbor-section-head h2 { font-size: 23px; }
  .harbor-grid { grid-template-columns: 1fr; gap: 16px; }
  .harbor-card { min-height: 230px; padding: 24px; }
  .harbor-card-top { flex-direction: row; align-items: center; }
  .index-header-label { display: none; }
  .index-main { display: block; padding: 36px 0 48px; }
  .index-intro { position: static; }
  .index-intro h1 { font-size: 38px; max-width: none; margin-block: 16px; }
  .index-art { width: 180px; margin: 5px 0 15px auto; }
  .index-section-head { gap: 10px; }
  .index-entry { padding-block: 26px; }
  .index-entry h3 { font-size: 22px; }
  .light-footer { display: flex; flex-direction: column; gap: 8px; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .light-page *, .light-page *::before, .light-page *::after { transition: none !important; }
  .harbor-card:hover, .index-entry:hover .index-open span { transform: none; }
}
