:root {
  --ink: #102937;
  --muted: #607176;
  --line: rgba(13, 58, 70, 0.16);
  --paper: #fffdf7;
  --soft: #edf4f0;
  --navy: #0b3147;
  --teal: #117c70;
  --gold: #747934;
  --coral: #a46e35;
  --deep: #082236;
  --forest: #667738;
  --cream: #fffdf6;
  --shadow: 0 20px 55px rgba(5, 35, 50, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.72;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 225, 232, 0.8);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 52, 77, 0.14);
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.mobile-menu-toggle span + span {
  margin-top: 5px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav-menu {
  position: relative;
}

.page-view[hidden] {
  display: none !important;
}

.nav-feature {
  margin-right: 4px;
}

.nav-menu > button,
.nav-menu > .nav-trigger {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-menu > .nav-trigger {
  text-decoration: none;
}

.nav-feature > .nav-trigger {
  color: var(--muted);
  font-weight: 700;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  z-index: 20;
  display: none;
  min-width: 194px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(22, 26, 38, 0.92);
  box-shadow: 0 18px 42px rgba(5, 12, 22, 0.22);
}

.nav-feature .nav-submenu {
  min-width: 194px;
}

.nav-post-menu .nav-submenu {
  min-width: 168px;
}

.nav-submenu a {
  display: block;
  padding: 14px 14px;
  border-radius: 0;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
  white-space: nowrap;
}

.nav-feature .nav-submenu a {
  padding: 14px 14px;
}

.nav-submenu a:hover,
.nav-submenu a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-feature .nav-submenu a:hover,
.nav-feature .nav-submenu a:focus {
  color: #ffffff;
}

.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu {
  display: block;
}

.nav-cta {
  padding: 9px 14px;
  color: white;
  background: var(--teal);
  border-radius: 6px;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 16px;
    padding: 14px clamp(16px, 3vw, 32px);
  }

  nav {
    gap: 10px;
    font-size: 13px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  min-height: max(560px, calc(100vh - 152px));
  padding: clamp(4px, calc(7vw - 40px), 52px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: #0b3147;
}

.hero-copy {
  z-index: 2;
  max-width: 720px;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(5, 18, 28, 0.52);
  pointer-events: none;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroBgFade 15s ease-in-out infinite;
}

.hero-bg-slide-one {
  background-image: url("assets/hero-lawyer-distance-1.webp");
  background-position: center center;
  animation-delay: -1.5s;
}

.hero-bg-slide-two {
  background-image: url("assets/hero-lawyer-distance-2.webp");
  background-position: center center;
  animation-delay: 3.5s;
}

.hero-bg-slide-three {
  background-image: url("assets/hero-lawyer-distance-3.webp");
  background-position: center center;
  animation-delay: 8.5s;
}

.hero-copy-slider {
  min-height: 430px;
}

.hero-copy-slide {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  bottom: 58px;
  width: min(100%, 720px);
  max-width: calc(100% - clamp(36px, 10vw, 144px));
  z-index: 2;
  opacity: 0;
  transform: translateX(16px);
  animation: heroCopyFade 15s ease-in-out infinite;
}

.hero-copy-slide-one {
  animation-delay: -1.5s;
}

.hero-copy-slide-two {
  animation-delay: 3.5s;
}

.hero-copy-slide-three {
  animation-delay: 8.5s;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  animation: heroDotActive 15s ease-in-out infinite;
}

.hero-dot-one {
  animation-delay: -1.5s;
}

.hero-dot-two {
  animation-delay: 3.5s;
}

.hero-dot-three {
  animation-delay: 8.5s;
}

@keyframes heroBgFade {
  0% {
    opacity: 0;
    transform: scale(1.045);
  }
  10%,
  34% {
    opacity: 1;
    transform: scale(1);
  }
  46% {
    opacity: 0;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes heroCopyFade {
  0% {
    opacity: 0;
    transform: translateX(16px);
  }
  10%,
  34% {
    opacity: 1;
    transform: translateX(0);
  }
  46% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 0;
    transform: translateX(16px);
  }
}

@keyframes heroDotActive {
  0% {
    width: 9px;
    background: rgba(255, 255, 255, 0.42);
  }
  10%,
  34% {
    width: 24px;
    background: #ffffff;
  }
  46% {
    width: 9px;
    background: rgba(255, 255, 255, 0.42);
  }
  100% {
    width: 9px;
    background: rgba(255, 255, 255, 0.42);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

h1 {
  margin: 0;
  font-size: 60px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
}

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

.button.light {
  color: var(--navy);
  background: white;
}

.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(244, 247, 248, 0.98), rgba(255, 255, 255, 0.86)),
    linear-gradient(180deg, #ffffff, #eef5f4);
}

.page-hero .lead {
  max-width: 860px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.content-main {
  display: grid;
  gap: 18px;
}

.content-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.content-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.32;
}

.content-card h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.topic-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.topic-nav strong {
  color: var(--navy);
}

.topic-nav a {
  color: var(--muted);
  font-weight: 700;
}

.board-page {
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 72px) clamp(70px, 9vw, 112px);
  background: #ffffff;
}

.board-title {
  margin: 0 0 54px;
  color: #05080d;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.board-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  max-width: 1120px;
  margin: 0 auto 62px;
  background: #dfeaf4;
}

.board-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: #12344d;
  font-size: 14px;
  font-weight: 700;
}

.board-tabs a.is-active {
  color: #ffffff;
  background: #0d3859;
}

.board-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.board-admin {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 6px;
  color: #4c5663;
  font-size: 12px;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #aab4bf;
  color: #222a33;
  font-size: 15px;
}

.board-table th,
.board-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #dde3e8;
  text-align: center;
  vertical-align: middle;
}

.board-table th {
  color: #424a54;
  background: #f5f5f5;
  font-weight: 800;
}

.board-table td:nth-child(3) {
  text-align: left;
}

.board-table .board-empty {
  height: 88px;
  color: #7a8490;
  text-align: center;
  font-weight: 700;
}

.board-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: #12a36f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.board-reply {
  color: #e70000;
  font-weight: 800;
}

.board-title-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.board-lock-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  object-fit: contain;
}

.board-title-link {
  border: 0;
  padding: 0;
  color: #222a33;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.board-title-link:hover,
.board-title-link:focus {
  color: #0d3859;
  text-decoration: underline;
}

.board-view {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid #d8e0e8;
  background: #f8fafc;
}

.board-view-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8e0e8;
}

.board-view-head strong {
  color: #17212b;
  font-size: 17px;
}

.board-view-head span,
.board-view p {
  color: #5d6875;
}

.board-view p {
  margin: 0;
}

.board-view-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #d8e0e8;
}

.board-view-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 14px;
  border: 0;
  border-radius: 3px;
  color: #ffffff;
  background: #4d4d4d;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.board-view-actions button[data-board-delete] {
  color: #333b45;
  border: 1px solid #d4d4d4;
  background: #eeeeee;
}

.board-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}

.board-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #343d47;
  font-size: 14px;
}

.board-search input[type="text"] {
  width: 96px;
  height: 25px;
  border: 1px solid #cfd6dd;
}

.board-search button,
.board-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 12px;
  border: 0;
  border-radius: 2px;
  color: #ffffff;
  background: #8aa0b4;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.board-pages {
  color: #202936;
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
}

.board-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.board-actions a:first-child {
  background: #4d4d4d;
}

.board-actions a:last-child {
  color: #333b45;
  background: #eeeeee;
  border: 1px solid #d4d4d4;
}

.board-write {
  width: min(100%, 920px);
  max-width: 920px;
}

.board-form {
  display: block;
  padding: 0 0 6px;
  border-top: 2px solid #2e3b4a;
  background: #ffffff;
}

.editor-write {
  width: min(100%, 920px);
  max-width: 920px;
}

.editor-form {
  color: #111827;
  font-size: 13px;
  line-height: 1.4;
}

.editor-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 10px;
  border-bottom: 1px solid #d7dce2;
  background: #f7f9fb;
}

.editor-notice,
.board-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  color: #293442;
  font-weight: 800;
}

.editor-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #d7dce2;
}

.editor-row > label {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #243244;
  background: #f2f5f8;
  font-weight: 900;
}

.editor-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  background: #ffffff;
}

.editor-title-row input {
  width: 100%;
  height: 32px;
  border: 1px solid #c8d1dc;
  padding: 5px 9px;
  background: #ffffff;
  font: inherit;
}

.editor-save-draft {
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid #2d4055;
  border-radius: 2px;
  color: #ffffff;
  background: #1c3046;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.editor-meta-row {
  display: grid;
  grid-template-columns: 170px minmax(150px, 1fr) minmax(150px, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
}

.editor-meta-row select,
.editor-meta-row input {
  width: 100%;
  height: 32px;
  border: 1px solid #c8d1dc;
  padding: 5px 8px;
  font: inherit;
}

.editor-box {
  margin-top: 14px;
  border: 1px solid #b8c2cc;
  background: #ffffff;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 5px 6px;
  border-bottom: 1px solid #c9d1d8;
  background: #eef2f6;
}

.editor-toolbar select,
.editor-toolbar button {
  height: 24px;
  border: 1px solid #b9c4cf;
  border-radius: 2px;
  background: #ffffff;
  font: inherit;
}

.editor-toolbar button {
  min-width: 28px;
  padding: 0 6px;
  cursor: pointer;
}

.editor-toolbar span {
  margin-left: auto;
  padding: 0 4px;
  color: #333333;
}

.editor-toolbar.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.editor-color-wrap {
  position: relative;
  display: inline-flex;
}

.editor-color-swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 3px 0 0;
  border: 1px solid #6b7280;
  background: #2563eb;
  vertical-align: middle;
}

.editor-color-palette {
  position: absolute;
  z-index: 30;
  top: 28px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 58px);
  gap: 4px;
  padding: 8px;
  border: 1px solid #b9c4cf;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  background: #ffffff;
}

.editor-color-palette[hidden] {
  display: none;
}

.editor-color-palette button {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  text-align: left;
}

.editor-color-palette button::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid #8792a0;
  background: var(--swatch);
  transform: translateY(-50%);
}

.editor-color-palette label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.editor-box textarea {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 0;
  padding: 14px;
  resize: vertical;
  font: inherit;
}

.editor-footer {
  display: flex;
  justify-content: space-between;
  min-height: 20px;
  border-top: 1px solid #c9d1d8;
  color: #555555;
  background: #f9f9f9;
  font-size: 11px;
  line-height: 1.2;
}

.editor-footer span {
  padding: 4px 7px;
}

.editor-link-row,
.editor-file-row,
.editor-general-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid #d7dce2;
}

.editor-link-row span,
.editor-file-row span,
.editor-general-row > label {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #243244;
  background: #f2f5f8;
  font-weight: 900;
}

.editor-link-row input,
.editor-file-row input,
.editor-extra-grid input {
  width: calc(100% - 16px);
  height: 30px;
  margin: 4px 8px;
  border: 1px solid #c8d1dc;
  padding: 4px 8px;
  font: inherit;
}

.editor-extra-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.board-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 14px;
}

.board-form-actions button,
.board-form-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 16px;
  border: 0;
  border-radius: 2px;
  color: #ffffff;
  background: #1d72f3;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.board-form-actions a {
  color: #ffffff;
  background: #8a8a8a;
}

.board-message {
  min-height: 20px;
  margin: 2px 0 0;
  color: #0d3859;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.board-message.is-error {
  color: #c02222;
}

.blog-board-shell > .board-message {
  padding: 0 clamp(18px, 3vw, 34px) 12px;
}

.blog-board-page .page-hero {
  min-height: 320px;
}

.blog-division-section {
  padding-top: 54px;
  padding-bottom: 34px;
}

.blog-division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.division-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(13, 58, 70, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 18px 44px rgba(8, 34, 54, 0.08);
}

.division-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% 42%;
  height: 180px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17, 124, 112, 0.16), rgba(164, 110, 53, 0.14));
}

.division-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-size: 13px;
  font-weight: 900;
}

.division-card h2 {
  position: relative;
  z-index: 1;
  margin: 18px 0 4px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
}

.division-card small {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
}

.division-card p {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: var(--muted);
}

.classification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.classification-grid article {
  padding: 22px;
  border: 1px solid rgba(13, 58, 70, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 14px 34px rgba(8, 34, 54, 0.07);
}

.classification-grid span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.classification-grid h3 {
  margin: 6px 0 8px;
  color: var(--deep);
  font-size: 22px;
}

.classification-grid p {
  margin: 0 0 14px;
  color: var(--muted);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.keyword-cloud em {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid rgba(17, 124, 112, 0.16);
  border-radius: 999px;
  color: #244a4e;
  background: rgba(17, 124, 112, 0.07);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.blog-board-shell {
  border: 1px solid rgba(13, 58, 70, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 18px 44px rgba(8, 34, 54, 0.08);
}

.blog-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(13, 58, 70, 0.12);
}

.blog-board-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
}

.blog-board-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  overflow: visible;
  max-width: min(100%, 720px);
  border: 1px solid rgba(13, 58, 70, 0.16);
  border-radius: 6px;
  background: rgba(237, 244, 240, 0.72);
}

.blog-board-filters button {
  min-width: 86px;
  min-height: 38px;
  border: 0;
  border-right: 1px solid rgba(13, 58, 70, 0.1);
  border-bottom: 1px solid rgba(13, 58, 70, 0.08);
  color: var(--deep);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.blog-board-filters button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal) 68%, var(--forest));
}

.blog-write-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(13, 58, 70, 0.12);
}

.blog-write-form[hidden] {
  display: none;
}

.blog-form-head {
  display: grid;
  gap: 6px;
}

.blog-form-head h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(22px, 2.2vw, 30px);
}

.blog-write-toggle {
  display: flex;
  justify-content: flex-end;
  padding: 0 clamp(18px, 3vw, 34px) clamp(18px, 3vw, 28px);
}

.blog-write-toggle button {
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal) 66%, var(--forest));
  box-shadow: 0 12px 26px rgba(8, 62, 73, 0.16);
  font-weight: 900;
  cursor: pointer;
}

.blog-write-toggle button:hover,
.blog-write-toggle button:focus {
  filter: brightness(1.04);
}

.blog-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.blog-write-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-weight: 900;
}

.blog-write-form label span {
  font-size: 13px;
}

.blog-write-form input,
.blog-write-form select,
.blog-write-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 58, 70, 0.2);
  border-radius: 4px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.blog-write-form input,
.blog-write-form select {
  min-height: 42px;
  padding: 0 12px;
}

.blog-write-form textarea {
  min-height: 220px;
  padding: 12px;
  resize: vertical;
}

.blog-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.blog-form-actions button {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(13, 58, 70, 0.18);
  border-radius: 4px;
  color: var(--deep);
  background: var(--cream);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.blog-form-actions button[type="submit"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal) 66%, var(--forest));
  box-shadow: 0 12px 26px rgba(8, 62, 73, 0.16);
}

.is-compose-open {
  overflow: hidden;
}

.blog-compose-window {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 16, 22, 0.42);
}

.blog-compose-window[hidden] {
  display: none;
}

.blog-compose-panel {
  width: min(1180px, 100%);
  height: min(760px, calc(100vh - 36px));
  border: 1px solid rgba(13, 58, 70, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 26px 72px rgba(5, 12, 22, 0.28);
}

.blog-compose-form {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr;
  height: 100%;
  color: var(--deep);
}

.compose-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(13, 58, 70, 0.14);
  background: #f9faf8;
}

.compose-titlebar strong {
  font-size: 18px;
}

.compose-titlebar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compose-titlebar-actions button,
.compose-toolbar button,
.compose-toolbar select,
.compose-file-button {
  min-height: 32px;
  border: 1px solid rgba(13, 58, 70, 0.16);
  border-radius: 4px;
  color: var(--deep);
  background: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.compose-titlebar-actions button {
  padding: 6px 12px;
}

.compose-titlebar-actions button[type="submit"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal) 70%);
}

.compose-titlebar-actions button[data-blog-compose-close] {
  width: 34px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.compose-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(13, 58, 70, 0.08);
}

.compose-fields label,
.compose-subject,
.compose-editor {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.compose-fields span,
.compose-subject span,
.compose-editor span {
  font-size: 13px;
}

.compose-fields input,
.compose-fields select,
.compose-subject input {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(13, 58, 70, 0.2);
  border-radius: 4px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.compose-subject {
  padding: 10px 18px 14px;
  border-bottom: 1px solid rgba(13, 58, 70, 0.12);
}

.compose-attach {
  padding: 10px 18px;
  border-bottom: 1px solid rgba(13, 58, 70, 0.12);
  background: #fbfcfb;
}

.compose-attach-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
}

.compose-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.compose-file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.compose-attach-head span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 58, 70, 0.13);
  border-radius: 6px;
  color: var(--muted);
  background: #ffffff;
  font-weight: 800;
}

.compose-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(13, 58, 70, 0.16);
  background: #f4f5f6;
}

.compose-toolbar button,
.compose-toolbar select {
  min-width: 38px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.compose-toolbar select {
  min-width: 96px;
  padding: 0 10px;
}

.compose-editor {
  min-height: 0;
}

.compose-editor span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.compose-editor textarea {
  width: 100%;
  height: 100%;
  min-height: 260px;
  padding: 22px;
  border: 0;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  line-height: 1.8;
  resize: none;
  outline: none;
}

.compose-page {
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
}

.compose-page .blog-compose-page-panel {
  width: 100%;
  height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.recovery-compose-write {
  padding: 0;
}

.recovery-compose-form {
  min-height: 680px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.recovery-compose-form .compose-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recovery-compose-form .compose-editor textarea {
  min-height: 360px;
}

.recovery-compose-actions {
  padding: 14px 18px;
  border-top: 1px solid rgba(13, 58, 70, 0.12);
  background: #fbfcfb;
}

.compose-message {
  min-height: 28px;
  margin: 0;
  padding: 4px 18px;
  border-top: 1px solid rgba(13, 58, 70, 0.12);
  background: #fbfcfb;
}

.blog-post-list {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 34px);
}

.blog-post-card {
  display: grid;
  position: relative;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(13, 58, 70, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 253, 247, 0.98), rgba(237, 244, 240, 0.8));
  cursor: pointer;
}

.blog-post-card:hover,
.blog-post-card:focus-within {
  border-color: rgba(13, 58, 70, 0.32);
  box-shadow: 0 12px 28px rgba(8, 62, 73, 0.12);
}

.blog-post-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.blog-post-link:focus-visible .blog-post-body h3 {
  outline: 2px solid rgba(0, 106, 96, 0.42);
  outline-offset: 4px;
  border-radius: 4px;
}

.blog-post-thumb {
  margin: 0;
}

.blog-post-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(13, 58, 70, 0.12);
  box-shadow: 0 10px 22px rgba(8, 62, 73, 0.12);
}

.blog-post-body {
  min-width: 0;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.blog-group-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal);
}

.blog-group-badge.is-corporate {
  background: var(--navy);
}

.blog-post-card h3 {
  margin: 12px 0 8px;
  color: var(--deep);
  font-size: clamp(22px, 2.4vw, 30px);
}

.blog-post-card p {
  margin: 0;
  color: #40555b;
}

.blog-post-card small {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 900;
}

.blog-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  z-index: 2;
  cursor: default;
}

.blog-post-actions button {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(13, 58, 70, 0.16);
  border-radius: 8px;
  color: var(--deep);
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.blog-post-actions button:last-child {
  color: #9b2f22;
}

.blog-post-actions button:hover,
.blog-post-actions button:focus {
  border-color: rgba(13, 58, 70, 0.36);
  background: #f7fbf9;
}

@media (min-width: 921px) {
  .blog-post-card {
    grid-template-columns: minmax(260px, 355px) minmax(0, 1fr);
    align-items: stretch;
    min-height: 198px;
  }

  .blog-post-thumb {
    height: 100%;
  }

  .blog-post-thumb img {
    display: block;
    height: 100%;
    min-height: 198px;
    aspect-ratio: auto;
  }

  .blog-post-body {
    padding-right: 118px;
  }

  .blog-post-actions {
    position: absolute;
    top: 22px;
    right: 22px;
    margin-top: 0;
  }
}

.blog-empty {
  margin: 0;
  padding: 34px;
  border: 1px dashed rgba(13, 58, 70, 0.24);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.blog-post-detail {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(18px, 3vw, 34px);
  border-top: 1px solid rgba(13, 58, 70, 0.1);
  background:
    linear-gradient(120deg, rgba(255, 253, 247, 0.98), rgba(237, 244, 240, 0.8));
}

.blog-post-detail-thumb {
  margin: 0;
}

.blog-post-detail-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(13, 58, 70, 0.12);
  box-shadow: 0 12px 26px rgba(8, 62, 73, 0.14);
}

.blog-post-detail-head h2 {
  margin: 14px 0 10px;
  color: var(--deep);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.22;
}

.blog-post-detail-head small {
  display: block;
  color: var(--teal);
  font-weight: 900;
}

.blog-post-detail-content {
  color: #263d44;
  font-size: 18px;
  line-height: 1.85;
}

.blog-post-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px solid rgba(13, 58, 70, 0.12);
  padding-top: 18px;
}

.blog-post-detail-actions a,
.blog-post-back {
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid rgba(13, 58, 70, 0.18);
  border-radius: 8px;
  color: var(--deep);
  background: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.blog-post-detail-actions a:hover,
.blog-post-detail-actions a:focus,
.blog-post-back:hover,
.blog-post-back:focus {
  border-color: rgba(13, 58, 70, 0.38);
  background: #f7fbf9;
}

.video-list {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
}

.video-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(13, 58, 70, 0.14);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(255, 253, 247, 0.98), rgba(237, 244, 240, 0.8));
}

.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #071923;
  box-shadow: 0 10px 22px rgba(8, 62, 73, 0.12);
}

.video-card-body h3 {
  margin: 12px 0 8px;
  color: var(--deep);
  font-size: clamp(22px, 2.4vw, 30px);
}

.video-card-body p {
  margin: 0;
  color: #40555b;
}

.video-delete {
  min-height: 36px;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(13, 58, 70, 0.16);
  border-radius: 8px;
  color: #9b2f22;
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.video-delete:hover,
.video-delete:focus {
  border-color: rgba(13, 58, 70, 0.36);
  background: #f7fbf9;
}

@media (min-width: 921px) {
  .video-card {
    grid-template-columns: minmax(320px, 46%) minmax(0, 1fr);
    align-items: start;
  }
}

.hero-image {
  margin: 0;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}


.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip article {
  padding: 26px clamp(18px, 4vw, 42px);
  background: white;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(66px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.muted {
  background: var(--soft);
}

.split,
.two-column,
.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.split p,
.two-column p,
.video-section p,
.notice p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  background: #eef8f6;
  border-radius: 6px;
  font-weight: 700;
}

.timeline,
.feature-grid,
.benefit-list,
.link-grid,
.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline article,
.feature-grid article,
.benefit-list article,
.link-grid a,
.branch-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.timeline p,
.feature-grid p,
.benefit-list p {
  margin: 0;
  color: var(--muted);
}

.notice {
  max-width: 980px;
  padding: 28px;
  border-left: 5px solid var(--coral);
  background: white;
  border-radius: 8px;
}

.video-placeholder {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(18, 52, 77, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.video-placeholder img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
}

.video-placeholder span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 48px);
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  z-index: 2;
}

.link-grid a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.link-grid span {
  color: var(--muted);
  font-weight: 500;
}

.branch-grid article {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.branch-grid span {
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--teal);
  background: #e6f4f2;
  font-size: 13px;
  font-weight: 800;
}

.branch-grid p {
  flex: 1;
  margin: 0;
  color: var(--muted);
}

.branch-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  color: white;
  background: var(--navy);
  font-weight: 800;
}

.faq {
  max-width: 1120px;
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 0 24px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(52px, 8vw, 88px) clamp(18px, 5vw, 72px);
  color: white;
  background: linear-gradient(135deg, var(--navy), #0f766e 72%, #87631e);
}

.final-cta .eyebrow,
.final-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.final-cta p {
  max-width: 880px;
  margin: 18px 0 0;
}

footer {
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #0d1821;
}

footer strong {
  display: block;
  color: white;
}

footer p {
  margin: 8px 0 0;
}

/* Reference banner palette refresh */
body {
  background:
    linear-gradient(180deg, #f8fbf7 0%, #fffdf7 42%, #edf4f0 100%);
}

.site-header {
  border-bottom: 1px solid rgba(12, 61, 73, 0.13);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 30px rgba(8, 34, 54, 0.06);
}

.brand {
  color: var(--deep);
}

nav {
  color: #425960;
}

nav > a:not(.nav-cta),
.nav-menu > button,
.nav-menu > .nav-trigger {
  position: relative;
  min-height: 38px;
  padding: 0 4px;
  border-bottom: 3px solid transparent;
  color: inherit;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-board-link,
.nav-post-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-board-link {
  min-height: auto;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--deep);
  background: transparent;
  font-weight: 700;
}

.nav-post-link {
  color: var(--deep);
}

.nav-post-menu > .nav-post-link {
  color: var(--deep);
  font-weight: 700;
}

.nav-post-menu > .nav-post-link[aria-current="page"],
.nav-post-menu.is-current > .nav-post-link {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 900;
}

nav > a:not(.nav-cta):hover,
.nav-menu > button:hover,
.nav-menu > .nav-trigger:hover,
.nav-feature > .nav-trigger:hover {
  color: var(--teal);
}

nav > a[aria-current="page"]:not(.nav-cta),
.nav-menu.is-current > button,
.nav-menu.is-current > .nav-trigger {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 900;
}

nav > a.nav-board-link[aria-current="page"]:not(.nav-cta),
nav > a.nav-board-link.is-current:not(.nav-cta) {
  min-height: auto;
  padding: 0;
  border-color: transparent;
  border-bottom-color: var(--teal);
  border-radius: 0;
  color: var(--teal);
  background: transparent;
  box-shadow: none;
  font-weight: 900;
}

nav > a.nav-post-link[aria-current="page"]:not(.nav-cta),
nav > a.nav-post-link.is-current:not(.nav-cta) {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 900;
}

.nav-submenu a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 253, 247, 0.18);
  box-shadow: inset 4px 0 0 var(--teal);
}

.mobile-menu-toggle {
  border-color: rgba(12, 61, 73, 0.18);
  background: var(--cream);
}

.mobile-menu-toggle span {
  background: var(--deep);
}

.nav-submenu {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(8, 34, 54, 0.96), rgba(14, 91, 93, 0.94));
  box-shadow: 0 18px 44px rgba(7, 32, 46, 0.28);
}

.nav-submenu a:hover,
.nav-submenu a:focus {
  background: rgba(255, 253, 247, 0.14);
}

.nav-cta,
.button.primary,
.branch-grid a,
.board-tabs a.is-active,
.board-search button,
.board-actions a:first-child,
.board-view-actions button:first-child,
.editor-save-draft,
.board-form-actions button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal) 66%, var(--forest));
  box-shadow: 0 12px 26px rgba(8, 62, 73, 0.18);
}

.nav-cta:hover,
.button.primary:hover,
.branch-grid a:hover,
.board-search button:hover,
.board-actions a:first-child:hover,
.board-view-actions button:hover,
.editor-save-draft:hover,
.board-form-actions button:hover {
  filter: brightness(1.05);
}

.nav-cta {
  border: 1px solid rgba(255, 253, 247, 0.55);
  background: linear-gradient(135deg, #0b3147 0%, #117c70 46%, #a46e35 100%);
  box-shadow: 0 16px 34px rgba(8, 34, 54, 0.24);
  font-weight: 950;
}

.page-hero,
.final-cta {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(8, 34, 54, 0.36), transparent 42%, rgba(102, 119, 56, 0.36)),
    linear-gradient(112deg, #0b3147 0%, #115f65 55%, #667738 100%);
}

.hero h1,
.page-hero h1,
.final-cta h2 {
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.26), 0 12px 28px rgba(0, 0, 0, 0.2);
}

.hero .eyebrow,
.page-hero .eyebrow,
.final-cta .eyebrow {
  color: rgba(255, 253, 247, 0.96);
}

.hero .lead,
.page-hero .lead,
.final-cta p {
  color: rgba(255, 255, 255, 0.9);
}

.button.secondary,
.button.light,
.final-cta .button.light {
  color: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: var(--cream);
  box-shadow: 0 14px 34px rgba(8, 34, 54, 0.14);
}

.hero-image img,
.video-placeholder {
  border: 1px solid rgba(255, 253, 247, 0.24);
  box-shadow: 0 24px 60px rgba(8, 34, 54, 0.28);
}

.section {
  background: var(--paper);
}

.section.muted,
.muted {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.92), rgba(237, 244, 240, 0.96)),
    linear-gradient(90deg, rgba(8, 34, 54, 0.06), transparent 42%, rgba(17, 124, 112, 0.1));
}

.content-card,
.topic-nav,
.timeline article,
.feature-grid article,
.benefit-list article,
.link-grid a,
.branch-grid article,
.notice,
.trust-strip article {
  border-color: rgba(13, 58, 70, 0.14);
  background: rgba(255, 253, 247, 0.95);
  box-shadow: 0 14px 36px rgba(8, 34, 54, 0.08);
}

.content-card h2,
.content-card h3,
.topic-nav strong,
.trust-strip strong,
summary,
.link-grid a {
  color: var(--deep);
}

.timeline span,
.branch-grid span {
  color: var(--teal);
  background: rgba(17, 124, 112, 0.1);
}

.check-list li {
  border-left-color: var(--teal);
  background: rgba(17, 124, 112, 0.1);
}

.notice {
  border-left-color: var(--forest);
}

.board-page {
  background:
    linear-gradient(180deg, #fffdf7 0%, #f6faf6 44%, #edf4f0 100%);
}

.board-title {
  color: var(--deep);
  text-shadow: 0 2px 0 rgba(17, 124, 112, 0.12);
}

.board-tabs {
  background: rgba(17, 124, 112, 0.12);
}

.board-tabs a {
  color: var(--deep);
}

.board-wrap {
  color: var(--ink);
}

.board-table {
  border-top-color: var(--deep);
  color: var(--ink);
}

.board-table th {
  color: var(--deep);
  background: rgba(13, 58, 70, 0.08);
}

.board-table th,
.board-table td {
  border-bottom-color: rgba(13, 58, 70, 0.14);
}

.board-category {
  background: var(--teal);
}

.board-title-link:hover,
.board-title-link:focus,
.board-message {
  color: var(--teal);
}

.board-view,
.board-form {
  border-color: rgba(13, 58, 70, 0.16);
  background: rgba(255, 253, 247, 0.96);
}

.board-form {
  border-top-color: var(--deep);
}

.editor-option-row,
.editor-row > label,
.editor-link-row span,
.editor-file-row span,
.editor-general-row > label,
.editor-toolbar,
.editor-footer {
  background: rgba(13, 58, 70, 0.07);
}

.editor-option-row,
.editor-row,
.editor-link-row,
.editor-file-row,
.editor-general-row,
.editor-toolbar,
.editor-footer {
  border-color: rgba(13, 58, 70, 0.15);
}

.editor-title-row input,
.editor-meta-row select,
.editor-meta-row input,
.editor-box,
.editor-link-row input,
.editor-file-row input,
.editor-extra-grid input,
.board-search input[type="text"] {
  border-color: rgba(13, 58, 70, 0.22);
  background: #ffffff;
}

.editor-box textarea.editor-source {
  display: none;
}

.editor-surface {
  display: block;
  width: 100%;
  min-height: 260px;
  max-height: 520px;
  overflow: auto;
  padding: 17px 12px;
  border: 0;
  outline: 0;
  color: #111827;
  font: 14px/1.7 "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  background: #ffffff;
}

.editor-surface.is-tall {
  min-height: 420px;
}

.editor-surface:empty::before {
  content: attr(data-placeholder);
  color: #97a1ad;
}

.editor-surface blockquote {
  margin: 10px 0;
  padding: 10px 14px;
  border-left: 4px solid var(--teal);
  color: #44515f;
  background: rgba(17, 124, 112, 0.08);
}

.editor-table {
  width: 100%;
  margin: 10px 0;
  border-collapse: collapse;
}

.editor-table td,
.editor-table th {
  min-width: 80px;
  padding: 8px;
  border: 1px solid #cbd5df;
}

.editor-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}

.editor-photo {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-left: auto;
  padding: 0 4px;
  color: #111827;
  cursor: pointer;
}

.editor-footer button {
  border: 0;
  padding: 0 4px;
  color: inherit;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

.board-actions a:last-child,
.board-view-actions button[data-board-delete],
.board-form-actions a {
  color: var(--deep);
  border: 1px solid rgba(13, 58, 70, 0.18);
  background: var(--cream);
}

main > .section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(13, 58, 70, 0.08);
  border-bottom: 1px solid rgba(13, 58, 70, 0.06);
  background:
    linear-gradient(110deg, rgba(255, 253, 247, 0.98) 0%, rgba(246, 250, 246, 0.96) 50%, rgba(237, 244, 240, 0.98) 100%);
}

main > .section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 34, 54, 0.06), transparent 28%, transparent 72%, rgba(102, 119, 56, 0.11)),
    repeating-linear-gradient(135deg, rgba(17, 124, 112, 0.035) 0 1px, transparent 1px 34px);
}

main > .section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  position: relative;
  padding-left: 20px;
  border-left: 5px solid var(--teal);
}

.section-heading::after {
  content: "";
  display: block;
  width: min(320px, 100%);
  height: 3px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--navy), var(--teal), transparent);
}

.intro {
  background:
    linear-gradient(128deg, #fffdf7 0%, #eef7f3 58%, #dfe9dd 100%);
}

.intro .split,
#fee .feature-grid,
#difference .benefit-list,
.link-grid,
.branch-grid {
  align-items: stretch;
}

.intro .check-list li {
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(13, 58, 70, 0.1);
  background: linear-gradient(90deg, rgba(8, 49, 71, 0.12), rgba(17, 124, 112, 0.12), rgba(102, 119, 56, 0.13));
  color: var(--deep);
}

.feature-grid article,
.timeline article,
.benefit-list article,
.link-grid a,
.branch-grid article,
.content-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(13, 58, 70, 0.16);
  border-top: 4px solid var(--teal);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(244, 249, 245, 0.98));
}

.feature-grid article::before,
.timeline article::before,
.benefit-list article::before,
.link-grid a::before,
.branch-grid article::before,
.content-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 42px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 49, 71, 0.08), rgba(17, 124, 112, 0.06), transparent);
}

.feature-grid article > *,
.timeline article > *,
.benefit-list article > *,
.link-grid a > *,
.branch-grid article > *,
.content-card > * {
  position: relative;
  z-index: 1;
}

#process,
#injunction {
  color: #ffffff;
  background:
    linear-gradient(112deg, #082236 0%, #0d5961 58%, #667738 100%);
}

#process::before,
#injunction::before {
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.08), transparent 30%, rgba(255, 253, 247, 0.1)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 38px);
}

#process .section-heading,
#injunction .section-heading {
  border-left-color: rgba(255, 253, 247, 0.9);
}

#process .eyebrow,
#process h2,
#injunction .eyebrow,
#injunction h2,
#injunction p {
  color: #ffffff;
}

#process .timeline article {
  color: var(--ink);
  border-top-color: var(--forest);
  background: rgba(255, 253, 247, 0.96);
}

#process .timeline span {
  min-width: 40px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

#fee {
  background:
    linear-gradient(120deg, #fffdf7 0%, #f5faf6 42%, #e6efe2 100%);
}

#correction {
  background:
    linear-gradient(120deg, #edf6f1 0%, #fffdf7 55%, #edf4f0 100%);
}

#difference {
  background:
    linear-gradient(125deg, #fffdf7 0%, #eef6f2 48%, #dce8db 100%);
}

.faq {
  max-width: none;
  margin: 0;
}

.faq .section-heading,
.faq details {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.faq details {
  border-color: rgba(13, 58, 70, 0.16);
  background: rgba(255, 253, 247, 0.72);
}

.faq details[open] {
  padding-inline: 18px;
  border-left: 4px solid var(--teal);
  background: linear-gradient(90deg, rgba(17, 124, 112, 0.08), rgba(255, 253, 247, 0.9));
}

.branch-section {
  background:
    linear-gradient(130deg, #edf4f0 0%, #fffdf7 48%, #e3ecd9 100%);
}

footer {
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, #061b2b, #0b3147 58%, #163f3f);
}

@media (max-width: 920px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px;
  }

  .editor-extra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    margin-left: auto;
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 8px;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
    white-space: normal;
  }

  .site-header.is-menu-open nav {
    display: flex;
  }

  .nav-menu {
    width: 100%;
    border-bottom: 1px solid rgba(217, 225, 232, 0.85);
  }

  nav > a:not(.nav-cta),
  .nav-menu > button,
  .nav-menu > .nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 12px 2px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
  }

  .nav-board-link {
    min-width: 0;
    justify-content: space-between;
  }

  nav > a.nav-board-link[aria-current="page"]:not(.nav-cta),
  nav > a.nav-board-link.is-current:not(.nav-cta) {
    color: var(--teal);
    background: transparent;
    box-shadow: none;
  }

  .nav-menu > button::after,
  .nav-menu > .nav-trigger::after {
    content: "+";
    color: var(--muted);
    font-size: 18px;
    font-weight: 700;
  }

  .nav-menu.is-open > button::after,
  .nav-menu.is-open > .nav-trigger::after {
    content: "-";
  }

  nav > a[aria-current="page"]:not(.nav-cta),
  .nav-menu.is-current > button,
  .nav-menu.is-current > .nav-trigger {
    padding-left: 12px;
    border-left: 3px solid var(--teal);
    border-bottom-color: transparent;
    background: rgba(17, 124, 112, 0.08);
  }

  .nav-submenu {
    position: static;
    display: none;
    width: 100%;
    margin: 0 0 10px;
    padding: 6px 0;
    border-radius: 2px;
    background: rgba(22, 26, 38, 0.92);
    box-shadow: none;
  }

  .nav-menu:hover .nav-submenu,
  .nav-menu:focus-within .nav-submenu {
    display: none;
  }

  .nav-menu.is-open .nav-submenu {
    display: block;
  }

  .nav-submenu a {
    padding: 12px 14px;
    font-size: 14px;
  }

  .nav-cta {
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    margin-top: 10px;
    padding: 8px 14px;
  }

  .hero,
  .split,
  .two-column,
  .video-section,
  .content-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .board-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 34px;
  }

  .board-table {
    min-width: 760px;
  }

  .board-wrap {
    overflow-x: auto;
  }

  .board-bottom {
    grid-template-columns: 1fr;
  }

  .board-search,
  .board-actions {
    justify-content: center;
  }

  .board-view-head,
  .board-form {
    grid-template-columns: 1fr;
  }

  .board-view-head {
    display: grid;
  }

  .blog-division-grid,
  .classification-grid,
  .blog-form-grid {
    grid-template-columns: 1fr;
  }

  .blog-board-head {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-board-filters {
    width: 100%;
  }

  .blog-board-filters button {
    flex: 1;
    min-width: 0;
  }

  .blog-compose-window {
    padding: 8px;
  }

  .blog-compose-panel {
    height: calc(100vh - 16px);
  }

  .blog-compose-form {
    grid-template-rows: auto auto auto auto auto 1fr;
  }

  .compose-titlebar,
  .compose-fields,
  .compose-subject,
  .compose-attach {
    padding-left: 12px;
    padding-right: 12px;
  }

  .compose-titlebar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .compose-titlebar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .compose-fields,
  .compose-attach-head {
    grid-template-columns: 1fr;
  }

  .compose-attach-head span {
    min-height: 38px;
  }

  .blog-form-actions {
    flex-direction: column;
  }

  .blog-form-actions button {
    width: 100%;
  }

  .hero {
    min-height: 620px;
    padding: 54px 18px 86px;
  }

  .hero-copy-slider {
    min-height: 480px;
  }

  .hero-copy-slide {
    left: 18px;
    bottom: 56px;
    max-width: calc(100% - 36px);
  }

  .hero-bg-slides::after {
    background: rgba(5, 18, 28, 0.64);
  }

  .trust-strip,
  .timeline,
  .feature-grid,
  .benefit-list,
  .link-grid,
  .branch-grid {
    grid-template-columns: 1fr;
  }

  .final-cta .button {
    width: fit-content;
  }

  .topic-nav {
    position: static;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  .editor-row {
    grid-template-columns: 1fr;
  }

  .editor-row > label {
    min-height: 34px;
  }

  .editor-meta-row {
    grid-template-columns: 1fr;
  }

  .editor-general-row {
    grid-template-columns: 1fr;
  }

  .editor-general-row > label {
    min-height: 34px;
  }

  .editor-extra-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  nav {
    width: 100%;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-image img {
    aspect-ratio: 1 / 1;
  }

  .timeline article,
  .feature-grid article,
  .benefit-list article,
  .link-grid a,
  .branch-grid article,
  .notice {
    padding: 20px;
  }
}
/* Footer legal information */
.site-footer {
  padding: 30px clamp(18px, 5vw, 72px) 24px;
}

.site-footer .footer-main {
  max-width: 1180px;
}

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  max-width: 1180px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer .footer-legal b {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 640px) {
  .site-footer .footer-legal {
    display: grid;
    gap: 6px;
  }
}
