* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f8fbff;
  --text: #0d1b2a;
  --card: #ffffff;
  --primary: #1b4965;
    --accent: #5fa8d3;


}

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

body.dark-mode {
  --bg: #0d1b2a;
  --text: #e0f2ff;
  --card: #1b263b;
  --primary: #a8dadc;
    --accent: #457b9d;

}
.site-header {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  padding: 20px 48px;
  background-color: var(--card);
}

.brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 96px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand_logo {
  width: 100%;
  height: auto;
  display: block;
}

.brand h1 {
  margin: 0;
  font-size: 3.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 14px;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 14px;

  border-radius: 10px;
  white-space: nowrap;

  transition: all 0.2s ease;
}

nav a:hover {
  background-color: #e6f2fa;
  transform: translateY(-1px);
}

nav a.active {
  color: #ffffff;
  background-color: var(--accent);
}

nav a:active {
  transform: scale(0.97);
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -16px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.5);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 92px;
}

.hero-wave path {
  fill: var(--bg);
}

.hero-content h2 {
  font-size: 4rem;
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 26px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(223, 244, 255, 0.88);
}

.hero-note-symbol {
  display: inline-block;
  margin-right: 8px;
  color: #ffd166;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  text-align: center;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.hero-buttons .btn {
  min-width: 220px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #5fa8d3;
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #1b4965;
  border: 2px solid #1b4965;
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.overview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 20px 64px;
  text-align: center;
}

.overview h3 {
  font-size: 2.4rem;
  color: #1b4965;
  margin-bottom: 32px;
}

.overview-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.overview-item {
  background-color: #1b4965;
  color: #ffffff;
  border-radius: 28px;
  padding: 34px 24px;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview-item h4 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.overview-item p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.popover-btn {
  min-width: 128px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.popover-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.overview-popover {
  inset: auto;
  width: min(320px, calc(100vw - 32px));
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid #d7e6f2;
  border-radius: 22px;
  background-color: #ffffff;
  color: #0d1b2a;
  box-shadow: 0 18px 36px rgba(13, 27, 42, 0.16);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.overview-popover:popover-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .overview-popover:popover-open {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
}

.overview-popover-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background-color: #edf5fb;
  color: #5f7a8d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.overview-popover h4 {
  margin-bottom: 10px;
  color: #1b4965;
  font-size: 1.35rem;
}

.overview-popover ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #36556d;
  line-height: 1.55;
}

.accordion-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 20px 84px;
}

.faq-heading {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.faq-heading h3 {
  position: relative;
  width: fit-content;
  color: #1b4965;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.faq-heading h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 74%;
  height: 4px;
  border-radius: 999px;
  background-color: #5fa8d3;
  transform: translateX(-50%);
}

.accordion-layout {
  display: block;
}

.accordion-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid #d7e6f2;
  border-radius: 26px;
  background-color: #ffffff;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.08);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 72px 22px 24px;
  color: #1b4965;
  font-size: 1.15rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: #e7f2f9;
  color: #1b4965;
  font-size: 1.5rem;
  font-weight: 400;
  transition: background-color 0.24s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background-color: #d8edf8;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 24px 24px;
  color: #36556d;
  line-height: 1.7;
}

.checklist-dialog {
  position: fixed;
  inset: 0;
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.checklist-dialog[open] {
  display: block;
}

.checklist-dialog.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.checklist-dialog::backdrop {
  background: rgba(13, 27, 42, 0.58);
  backdrop-filter: blur(4px);
}

.checklist-dialog-card {
  position: relative;
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
  color: #0d1b2a;
  box-shadow: 0 22px 48px rgba(13, 27, 42, 0.18);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background-color: #e7f2f9;
  color: #1b4965;
  font-size: 1.6rem;
  cursor: pointer;
}

.dialog-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: #d8edf8;
  color: #1b4965;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checklist-dialog-card h3 {
  font-size: 2.3rem;
  color: #1b4965;
  margin-bottom: 12px;
}

.dialog-intro {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #36556d;
  margin-bottom: 24px;
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.dialog-section {
  background-color: #ffffff;
  border: 1px solid #d7e6f2;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(13, 27, 42, 0.08);
}

.dialog-section h4 {
  color: #1b4965;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.dialog-section ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #36556d;
  line-height: 1.55;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

body.dark-mode .popover-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

body.dark-mode .dark-toggle {
  background-color: #132033;
  border-color: #2d3f5a;
}

body.dark-mode .overview-popover,
body.dark-mode .checklist-dialog-card,
body.dark-mode .dialog-section {
  background: #1b263b;
  color: #e0f2ff;
  border-color: #2d3f5a;
}

body.dark-mode .overview-popover h4,
body.dark-mode .checklist-dialog-card h3,
body.dark-mode .dialog-section h4 {
  color: #a8dadc;
}

body.dark-mode .overview-popover ul,
body.dark-mode .dialog-intro,
body.dark-mode .dialog-section ul {
  color: #d4e9f6;
}

body.dark-mode .overview-popover-label,
body.dark-mode .dialog-eyebrow {
  background-color: rgba(95, 168, 211, 0.16);
  color: #a8dadc;
}

body.dark-mode .dialog-close {
  background-color: #22324a;
  color: #e0f2ff;
}

body.dark-mode .faq-answer-inner p {
  color: #d4e9f6;
}

body.dark-mode .overview h3,
body.dark-mode .faq-heading h3 {
  color: #a8dadc;
}

body.dark-mode .faq-heading h3::after {
  background-color: #457b9d;
}

body.dark-mode .faq-item {
  background-color: #1b263b;
  border-color: #2d3f5a;
}

body.dark-mode .faq-item summary {
  color: #a8dadc;
}

body.dark-mode .faq-item summary::after {
  background-color: #22324a;
  color: #e0f2ff;
}

body.dark-mode .faq-item[open] summary::after {
  background-color: rgba(95, 168, 211, 0.16);
  color: #a8dadc;
}

.warning-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.dark-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px 6px 6px;
  border: 1px solid #d7e6f2;
  border-radius: 999px;
  background-color: #f1f7fc;
}

/* hide default checkbox */
.dark-toggle input {
  display: none;
}

/* slider background */
.slider {
  width: 60px;
  height: 30px;
  background-color: #dbe8f2;
  border-radius: 999px;
  position: relative;
  transition: background-color 0.3s ease;
}

/* circle */
.slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* active state */
.dark-toggle input:checked ~ .slider {
  background-color: #1b4965;
}

.dark-toggle input:checked ~ .slider::before {
  transform: translateX(30px);
}

/* mode icons */
.mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  font-size: 1.1rem;
  line-height: 1;
}

.mode-sun {
  display: none;
}

.mode-moon {
  display: inline-flex;
}

body.dark-mode .mode-sun {
  display: inline-flex;
}

body.dark-mode .mode-moon {
  display: none;
}

.wave-top {
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-top: 0;
  margin-bottom: -36px;
  pointer-events: none;
}

.wave-top svg {
  display: block;
  width: 100%;
  height: 72px;
}

.wave-top path {
  fill: var(--card);
}
.wave-bottom svg {
  display: block;
  width: 100%;
  height: 80px;
}

.site-footer {
  background-color: #1b4965;
  color: #e0f2ff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 20px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 900px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(224, 242, 255, 0.16);
  color: #ffd166;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #e0f2ff;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  background-color: rgba(224, 242, 255, 0.12);
  transform: translateY(-1px);
}

.footer-links a.active {
  background-color: var(--accent);
  color: #ffffff;
}

.footer-links a:active {
  transform: scale(0.97);
}

body.dark-mode .site-footer {
  background-color: #091524;
}

body.dark-mode .footer-links a {
  color: #e0f2ff;
}

body.dark-mode .footer-links a:hover {
  background-color: rgba(168, 218, 220, 0.14);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding: 20px;
  }

  .brand {
    grid-column: auto;
    justify-self: center;
    justify-content: center;
    gap: 14px;
  }

  .brand-mark {
    width: 80px;
    height: 60px;
  }

  .brand h1 {
    font-size: 2.65rem;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions {
    grid-column: auto;
    justify-self: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content h2 {
    font-size: 2.6rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .overview-items {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .dialog-grid {
    grid-template-columns: 1fr;
  }

  .checklist-dialog-card {
    padding: 26px 20px;
  }

  .checklist-dialog-card h3 {
    font-size: 1.85rem;
    padding-right: 28px;
  }
}

@media (max-width: 640px) {
  .brand h1 {
    font-size: 2.2rem;
  }

  .brand-mark {
    width: 68px;
    height: 51px;
  }

  .dialog-actions {
    flex-direction: column;
  }

  .dialog-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-content {
    padding: 18px 10px 48px;
  }

  .hero-content h2 {
    font-size: 2.35rem;
    line-height: 1.03;
  }

  .faq-item summary {
    padding: 20px 64px 20px 20px;
    font-size: 1.02rem;
  }

  .faq-answer-inner p {
    padding: 0 20px 20px;
  }
}
