:root {
  --ink-900: #0b1324;
  --ink-700: #22314d;
  --ink-500: #4a5d7d;
  --line: #d8e0ee;
  --surface: #ffffff;
  --canvas: #f3f6fb;
  --accent: #0f766e;
  --accent-strong: #0e5f58;
  --accent-soft: #dff5ef;
  --highlight: #f59e0b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.1), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.12), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(15, 118, 110, 0.08), transparent 36%),
    var(--canvas);
}

h1,
h2,
h3,
.display-font {
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.01em;
}

a {
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink-900);
  color: #ffffff;
  padding: 0.6rem 0.85rem;
  border-radius: 0.75rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid rgba(216, 224, 238, 0.8);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(11, 19, 36, 0.06);
}

.brand-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
}

.nav-link-active {
  color: var(--ink-900);
  font-weight: 700;
}

.page-shell {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.card-soft {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(11, 19, 36, 0.08);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #c9d8f2;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e40af;
  background: #eef4ff;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid #d0d9ea;
  min-height: clamp(440px, 62vw, 620px);
  isolation: isolate;
}

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

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(114deg, rgba(5, 15, 36, 0.82) 0%, rgba(8, 28, 66, 0.6) 48%, rgba(10, 33, 79, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.section-grid {
  display: grid;
  gap: 1.2rem;
}

.ornament-route {
  position: relative;
}

.ornament-route::after {
  content: "";
  position: absolute;
  inset: auto 1rem -0.5rem;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(34, 197, 94, 0) 0%, rgba(15, 118, 110, 0.45) 20%, rgba(15, 118, 110, 0.45) 80%, rgba(34, 197, 94, 0) 100%);
}

.media-tile {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #d3dced;
  background: #ffffff;
}

.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric {
  border-radius: 1rem;
  border: 1px solid #d4deef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1rem;
}

.metric strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  color: #0f172a;
}

.step-line {
  position: relative;
  padding-left: 1rem;
}

.step-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.faq-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  text-align: left;
}

.faq-icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #bfd0ec;
  color: #1d4ed8;
  font-weight: 700;
}

[data-accordion-panel][hidden] {
  display: none;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.notice {
  border-radius: 1rem;
  border: 1px solid #ffe2b6;
  background: #fff7e9;
  color: #8a5109;
  padding: 0.9rem 1rem;
}

.footer-shell {
  border-top: 1px solid #d8e0ee;
  background: rgba(255, 255, 255, 0.88);
}

.decor-float {
  animation: floaty 5.8s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 767px) {
  .page-shell {
    width: min(1200px, calc(100% - 1.25rem));
  }

  .hero-frame {
    min-height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
