@charset "UTF-8";
:root {
  --ink: #17202a;
  --muted: #647083;
  --line: #dbe2ea;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --soft: #eef4f7;
  --accent: #005bac;
  --accent-strong: #003f82;
  --warm: #b45309;
}

* {
  box-sizing: border-box;
}

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

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

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

.site-header {
  border-bottom: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.container {
  width: min(1160px, 100% - 32px);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 800;
}

.button-secondary {
  background: white;
  color: var(--accent);
}

.breadcrumbs {
  width: min(820px, 100% - 32px);
  margin: 0 auto;
  padding-top: 28px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li + li::before {
  content: "›";
  margin: 0 8px;
  color: var(--line);
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.breadcrumbs [aria-current=page] {
  color: var(--ink);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
  padding: 54px 0 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  margin: 0 0 24px;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-media {
  min-height: 390px;
  border-radius: 8px;
  background: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1400&q=82") center/cover;
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.18);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 8px 0 34px;
}

.metric {
  background: white;
  padding: 22px;
}

.metric strong {
  display: block;
  color: var(--accent-strong);
  font-size: 28px;
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.service-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

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

.service-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.service-item h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding: 42px 0 72px;
}

.section-title {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
}

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

.post-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.post-card:hover {
  border-color: rgba(0, 91, 172, 0.55);
}

.post-image {
  aspect-ratio: 16/9;
  background: #e8edf2;
  object-fit: cover;
  width: 100%;
}

.post-body {
  padding: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.badge {
  color: var(--accent-strong);
  font-weight: 900;
}

.post-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0;
}

.post-card p {
  margin: 0;
  color: var(--muted);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-panel {
  border-top: 3px solid var(--accent);
  padding-top: 16px;
}

.side-panel h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: white;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 12px 14px;
  font: inherit;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.error {
  color: #b91c1c;
  font-size: 13px;
  margin-top: 4px;
}

.notice {
  border: 1px solid rgba(0, 109, 119, 0.35);
  background: rgba(0, 109, 119, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  color: var(--accent-strong);
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 13px;
  background: white;
}

.tag-list-spaced {
  margin-top: 28px;
}

.related-posts {
  padding-bottom: 64px;
}

.side-panel-spaced {
  margin-top: 32px;
}

.editorjs-columns {
  display: grid;
  grid-template-columns: repeat(var(--editorjs-column-count, 2), minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  margin: 1.5em 0;
}

.editorjs-column {
  min-width: 0;
}

@media (max-width: 720px) {
  .editorjs-columns {
    grid-template-columns: 1fr;
  }
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.calendar-toolbar h2 {
  margin: 0;
  font-size: 26px;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}

.calendar-weekday,
.calendar-day {
  background: white;
  min-width: 0;
}

.calendar-weekday {
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  min-height: 138px;
  padding: 10px;
}

.calendar-day.is-muted {
  background: #f8fafc;
  color: var(--muted);
}

.calendar-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

.calendar-event {
  display: block;
  border-left: 3px solid var(--accent);
  background: rgba(0, 109, 119, 0.08);
  border-radius: 6px;
  padding: 7px 8px;
  margin-top: 6px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.event-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.event-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  padding: 54px 0 76px;
}

.reservation-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
}

.reservation-panel h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.capacity-note {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 18px;
}

.article {
  width: min(820px, 100% - 32px);
  margin: 0 auto;
  padding: 54px 0 76px;
}

.article h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: 8px;
  margin: 28px 0;
}

.article-content {
  font-size: 18px;
}

.article-content p {
  margin: 0 0 1.2em;
}

.article-content h2,
.article-content h3 {
  line-height: 1.2;
  margin: 1.6em 0 0.6em;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4em;
}

.article-content .post-grid {
  margin: 1.4em 0;
}

.article-content .post-card h2 {
  margin-top: 0;
}

.article-content .post-card p {
  font-size: 15px;
}

.consultation-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(820px, 100% - 32px);
  margin: 0 auto 24px;
  padding: 28px 30px;
  border: 1px solid rgba(0, 109, 119, 0.24);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 109, 119, 0.11), rgba(255, 255, 255, 0.96)), #ffffff;
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
}

.consultation-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.consultation-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.consultation-cta-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.consultation-cta-actions span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 280px;
}

.pagination {
  margin-top: 28px;
}

footer {
  border-top: 1px solid var(--line);
  background: white;
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cms-pagination {
  margin: 2rem 0;
}
.cms-pagination ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.cms-pagination li a,
.cms-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.cms-pagination li a:hover {
  background: #f3f4f6;
}
.cms-pagination li.active span {
  background: var(--color-primary, #1a5276);
  color: #fff;
  border-color: var(--color-primary, #1a5276);
}
.cms-pagination li.disabled span {
  color: #9ca3af;
  background: #f9fafb;
  cursor: default;
}

.cms-layout-header,
.cms-layout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem max(1.25rem, (100vw - 1120px) / 2);
}

.cms-layout-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.cms-layout-footer {
  align-items: flex-start;
  background: #111827;
  color: #fff;
}

.cms-layout-header .cms-layout-rich-text,
.cms-layout-header .cms-layout-page-component,
.cms-layout-footer .cms-layout-rich-text,
.cms-layout-footer .cms-layout-page-component {
  max-width: none;
  margin: 0;
  padding: 0;
}

.cms-layout-brand a,
.cms-layout-menu a {
  color: inherit;
  text-decoration: none;
}

.cms-layout-brand img {
  display: inline-block;
  max-height: 48px;
  max-width: 220px;
  vertical-align: middle;
}

.cms-layout-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cms-layout-hero__slide {
  display: grid;
  min-height: 420px;
  padding: 4rem max(1.25rem, (100vw - 1120px) / 2);
  place-content: center start;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.cms-layout-hero__slide + .cms-layout-hero__slide {
  display: none;
}

.cms-layout-hero__slide h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

.cms-layout-rich-text,
.cms-layout-latest-posts,
.cms-layout-link-cards,
.cms-layout-page-component,
.cms-layout-carousel,
.cms-layout-form {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.cms-layout-link-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cms-layout-link-card {
  display: grid;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.cms-layout-link-card > :not(.cms-layout-link-card__visual) {
  margin: 0.25rem 1rem;
}

.cms-layout-link-card__visual {
  min-height: 180px;
  background-position: center;
  background-size: cover;
}

.cms-layout-cta {
  padding: 4rem 1.25rem;
  color: #fff;
  text-align: center;
  background-position: center;
}

.cms-layout-cta a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.4rem;
  background: #fff;
  color: #1e3a8a;
  text-decoration: none;
}

.cms-layout-copyright {
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

.cms-layout-social-share {
  padding: 1.5rem 1.25rem;
}

.cms-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cms-share__heading {
  font-weight: 600;
  font-size: 0.95rem;
}

.cms-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cms-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.4rem;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.cms-share__btn:hover {
  opacity: 0.85;
}

.cms-share__btn--x {
  background: #000;
}

.cms-share__btn--facebook {
  background: #1877f2;
}

.cms-share__btn--line {
  background: #06c755;
}

@media (max-width: 767px) {
  .cms-layout-header,
  .cms-layout-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .cms-layout-menu ul {
    flex-direction: column;
  }
  .cms-layout-hero__slide {
    min-height: 320px;
  }
}
.cms-form-embed {
  --cms-form-border: #d1d5db;
  --cms-form-error: #b91c1c;
}
.cms-form-embed .cms-form-description,
.cms-form-embed .cms-form-alert,
.cms-form-embed .cms-form-component,
.cms-form-embed .cms-form-field {
  margin-bottom: 16px;
}
.cms-form-embed .cms-form-alert {
  padding: 14px 18px;
  border: 1px solid;
  border-radius: 8px;
}
.cms-form-embed .cms-form-alert--success {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.cms-form-embed .cms-form-alert--error {
  color: #991b1b;
  border-color: #fecaca;
  background: #fef2f2;
}
.cms-form-embed .cms-form-error-list {
  margin: 0;
  padding-left: 20px;
}
.cms-form-embed .cms-form-label,
.cms-form-embed .cms-form-legend {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9em;
  font-weight: 600;
}
.cms-form-embed .cms-form-choice-group {
  padding: 0;
  border: 0;
}
.cms-form-embed .cms-form-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  cursor: pointer;
}
.cms-form-embed .cms-form-required,
.cms-form-embed .cms-form-field-error {
  color: var(--cms-form-error);
}
.cms-form-embed .cms-form-control {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--cms-form-border);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 0.95em;
}
.cms-form-embed textarea.cms-form-control {
  resize: vertical;
}
.cms-form-embed .cms-form-control[aria-invalid=true] {
  border-color: var(--cms-form-error);
  box-shadow: 0 0 0 1px var(--cms-form-error);
}
.cms-form-embed .cms-form-field-error {
  margin-top: 6px;
  font-size: 0.85em;
  font-weight: 600;
}
.cms-form-embed .cms-form-actions {
  margin-top: 20px;
}
.cms-form-embed .cms-form-submit {
  padding: 10px 28px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #1e40af;
  font: inherit;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
}

.cms-carousel-wrap {
  position: relative;
}

.cms-carousel-wrap .splide__slide {
  position: relative;
}

.cms-carousel-wrap .splide__slide > a {
  display: block;
}

.cms-carousel-wrap .splide__slide img {
  display: block;
  width: 100%;
  height: auto;
}

.cms-carousel-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 20px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.cms-carousel-caption h3 {
  margin: 0 0 4px;
  font-size: 1.2em;
}

.cms-carousel-caption p {
  margin: 0 0 8px;
  font-size: 0.9em;
  opacity: 0.9;
}

.cms-carousel-caption .cms-carousel-btn {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  font-size: 0.85em;
  text-decoration: none;
}

.cms-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.cms-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1/1;
  border-radius: 6px;
  background: #f1f1f1;
}

.cms-gallery a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cms-gallery a:hover img {
  transform: scale(1.05);
}

.cms-video__media {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.cms-video__embed {
  position: relative;
  overflow: hidden;
  padding-top: var(--cms-video-padding, 56.25%);
  border-radius: 4px;
}

.cms-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cms-video__caption {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.875em;
  text-align: center;
}

.cms-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

.cms-table th {
  padding: 10px 14px;
  background: #f1f5f9;
  font-weight: 600;
  text-align: left;
}

.cms-table td {
  padding: 10px 14px;
}

.cms-table--bordered :is(th, td) {
  border: 1px solid #e2e8f0;
}

.cms-table--striped tbody tr:nth-child(even) {
  background: #f8fafc;
}

.cms-table__caption {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 0.85em;
  text-align: center;
}

@media (min-width: 768px) {
  .cms-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
.visually-hidden-field {
  position: absolute;
  top: -9999px;
  left: -9999px;
  overflow: hidden;
  width: 1px;
  height: 1px;
}

.display-inline {
  display: inline;
}

.margin-bottom-md {
  margin-bottom: 16px;
}

.white-space-pre-line {
  white-space: pre-line;
}

.font-weight-normal {
  font-weight: 400;
}

.component-preview {
  padding: 48px 0;
}

.component-preview__header {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #fff;
}

.component-preview__eyebrow {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 14px;
}

.component-preview__title {
  margin: 0 0 8px;
}

.component-preview__meta {
  margin: 0;
  color: #64748b;
}

.acms-container > .breadcrumbs {
  width: 100%;
  padding-top: 16px;
}

.hero {
  padding: 80px 0 64px;
  background: var(--panel);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero__lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__visual {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--soft);
}

.hero__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--soft) 0%, var(--line) 100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-strong);
}

.btn--ghost {
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--soft);
}

.btn--outline {
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

.stats-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.stats-band__grid {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.stats-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 40px;
  border-right: 1px solid var(--line);
}
.stats-band__item:last-child {
  border-right: none;
}

.stats-band__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stats-band__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 40px;
}

.section-more {
  text-align: center;
  margin-top: 40px;
}

.features-section {
  padding: 80px 0;
  background: var(--panel);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: box-shadow 0.15s;
}
.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.posts-section {
  padding: 80px 0;
  background: var(--paper);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.15s;
}
.post-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.post-card__img-link {
  display: block;
}

.post-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.post-card__body {
  padding: 20px;
}

.post-card__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 109, 119, 0.08);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.post-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}
.post-card__title a {
  color: var(--ink);
}
.post-card__title a:hover {
  color: var(--accent);
}

.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__date {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-cta {
  padding: 80px 0;
  background: var(--accent);
}

.contact-cta__inner {
  text-align: center;
}

.contact-cta__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.contact-cta__sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0 0 32px;
}

.contact-cta .btn--primary {
  background: #fff;
  color: var(--accent);
}
.contact-cta .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    display: none;
  }
  .stats-band__item {
    padding: 12px 24px;
  }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.brand-text strong {
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
}

.brand-mark {
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.brand-mark--sm {
  width: 36px;
  height: 36px;
  font-size: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.nav-contact-btn {
  display: none;
}

.site-footer {
  background: #14233a;
  color: #c8d6e8;
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}
.footer-brand small {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.7;
}

.footer-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 13px;
}
.footer-info dt {
  color: #7ea8cc;
  font-size: 11px;
  align-self: start;
  padding-top: 2px;
}
.footer-info dd {
  margin: 0;
}
.footer-info a {
  color: inherit;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a {
  font-size: 13px;
  color: #c8d6e8;
}
.footer-links a:hover {
  color: #7ec8f0;
}
.footer-links a::before {
  content: "› ";
  color: var(--accent);
}

.footer-copy {
  background: #0d1b2e;
  padding: 14px 0;
  text-align: center;
  font-size: 12px;
  color: #5a7899;
}

.site-hero {
  background: linear-gradient(140deg, #003a80 0%, #005bac 50%, #0082d4 100%);
  color: #fff;
  padding: 72px 0 64px;
  overflow: hidden;
  position: relative;
}

.site-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.site-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 16px;
}

.site-hero__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}

.site-hero__lead {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.9;
  margin: 0 0 32px;
}

.site-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn--white {
  background: #fff;
  color: var(--accent-strong);
  border: 2px solid #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, border-color 0.2s;
}
.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-hero__visual {
  position: relative;
  height: 320px;
}

.site-hero__circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  background: #fff;
}

.site-hero__circle--1 {
  width: 280px;
  height: 280px;
  top: 0;
  right: 0;
}

.site-hero__circle--2 {
  width: 180px;
  height: 180px;
  top: 60px;
  right: 80px;
  opacity: 0.25;
  background: #7ec8f0;
}

.site-hero__circle--3 {
  width: 100px;
  height: 100px;
  top: 160px;
  right: 200px;
  opacity: 0.2;
}

.site-section {
  padding: 64px 0;
}
.site-section--gray {
  background: var(--paper);
}

.site-section-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 8px;
  position: relative;
  padding-bottom: 16px;
}
.site-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.site-section-lead {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.site-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.site-section-header .site-section-title {
  margin: 0;
}

.site-more-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.site-more-link:hover {
  text-decoration: underline;
}

.works-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.works-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  transition: box-shadow 0.15s;
}
.works-grid li:hover {
  box-shadow: 0 2px 12px rgba(0, 91, 172, 0.1);
}
.works-grid li::before {
  content: none;
}

.page-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.page-nav-card {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, transform 0.15s;
}
.page-nav-card:hover {
  background: var(--accent-strong);
  transform: translateY(-3px);
}
.page-nav-card .page-nav-card__icon {
  font-size: 32px;
  line-height: 1;
}
.page-nav-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.page-nav-card p {
  font-size: 13px;
  opacity: 0.85;
  margin: 0;
}

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

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
  border-top: 3px solid var(--accent);
}
.blog-card:hover {
  box-shadow: 0 4px 20px rgba(0, 91, 172, 0.1);
  transform: translateY(-2px);
}

.blog-card__link {
  display: block;
  padding: 20px;
  color: inherit;
}

.blog-card__date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--ink);
}

.blog-card__excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-cta {
  background: var(--accent);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.site-cta h2 {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 12px;
}
.site-cta p {
  opacity: 0.9;
  font-size: 15px;
  margin: 0 0 20px;
}

.site-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.site-cta__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px !important;
}
.site-cta__tel a {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
}
.site-cta__tel span {
  font-size: 13px;
  opacity: 0.8;
}

.cta-block {
  border: 1px solid rgba(0, 91, 172, 0.2);
  border-radius: 8px;
  padding: 28px 24px;
  background: #f0f7ff;
  margin-top: 32px;
}
.cta-block h2 {
  color: var(--accent);
  margin-top: 0;
  font-size: 20px;
}
.cta-block .cta-tel strong {
  font-size: 20px;
}
.cta-block .cta-tel span {
  font-size: 13px;
  color: var(--muted);
  margin-left: 8px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.info-table th, .info-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.info-table th {
  width: 160px;
  color: var(--muted);
  font-weight: 600;
  background: var(--paper);
  white-space: nowrap;
}

.history-list dt {
  font-weight: 700;
  color: var(--accent);
  margin-top: 16px;
  font-size: 15px;
}
.history-list dd {
  margin: 4px 0 0 16px;
  color: var(--muted);
}

.works-list {
  padding-left: 20px;
}
.works-list li {
  margin-bottom: 8px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .site-hero__inner {
    grid-template-columns: 1fr;
  }
  .site-hero__visual {
    display: none;
  }
  .page-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .page-nav-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .info-table th {
    width: 100px;
  }
}
.simple-site {
  --s-accent: #2563eb;
  --accent: #2563eb;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.sp-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
}

.sp-header__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.sp-nav {
  display: flex;
  gap: 24px;
}
.sp-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.12s;
}
.sp-nav a:hover {
  color: var(--s-accent);
}

.sp-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.sp-section__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
}

.sp-section__more {
  margin-top: 32px;
  text-align: center;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  border: 2px solid transparent;
  cursor: pointer;
}

.sp-btn--primary {
  background: var(--s-accent);
  color: #fff;
}
.sp-btn--primary:hover {
  opacity: 0.88;
}

.sp-btn--outline {
  background: transparent;
  color: var(--s-accent);
  border-color: var(--s-accent);
}
.sp-btn--outline:hover {
  background: var(--s-accent);
  color: #fff;
}

.sp-btn--white {
  background: #fff;
  color: var(--s-accent);
}
.sp-btn--white:hover {
  opacity: 0.92;
}

.sp-hero {
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  padding: 96px 24px 80px;
  text-align: center;
}

.sp-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.sp-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 24px;
}

.sp-hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 40px;
}

.sp-posts {
  background: var(--paper);
}

.sp-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.sp-post-item {
  display: grid;
  grid-template-columns: 90px auto 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.sp-post-item__date {
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sp-post-item__cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--s-accent);
  background: color-mix(in srgb, var(--s-accent) 10%, transparent);
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.sp-post-item__title {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.12s;
}
.sp-post-item__title:hover {
  color: var(--s-accent);
}

.sp-cta {
  background: var(--s-accent);
  padding: 80px 24px;
  text-align: center;
}

.sp-cta__inner {
  padding-top: 0;
  padding-bottom: 0;
}

.sp-cta__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 32px;
}

.sp-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 28px 24px;
}

.sp-footer__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .sp-post-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .sp-footer__inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
.reference-site {
  --rf-accent: #6366f1;
  font-family: "Inter", -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #1f2433;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

.reference-site code,
.reference-site pre {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

.rf-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.rf-topbar__inner {
  max-width: 1072px;
  margin: 0 auto;
  height: 56px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rf-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1f2433;
}
.rf-brand__mark {
  color: #6366f1;
  font-size: 1rem;
}
.rf-brand__name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.rf-brand__ver {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: #6b7280;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  padding: 1px 6px;
  border-radius: 5px;
}

.rf-topbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.rf-topbar__nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.12s;
}
.rf-topbar__nav a:hover {
  color: #6366f1;
}

.rf-topbar__cta {
  color: #fff !important;
  background: #6366f1;
  padding: 6px 14px;
  border-radius: 7px;
}
.rf-topbar__cta:hover {
  background: #4f46e5;
}

.rf-shell {
  max-width: 1072px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.rf-sidebar {
  position: sticky;
  top: 56px;
  align-self: start;
  padding-top: 48px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.rf-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rf-toc__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 10px;
  padding-left: 12px;
}
.rf-toc a {
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.12s;
}
.rf-toc a:hover {
  color: #1f2433;
  background: #f7f8fa;
}

.rf-content {
  padding: 48px 0 96px;
  min-width: 0;
}

.rf-doc + .rf-doc {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid #e5e7eb;
}
.rf-doc {
  scroll-margin-top: 72px;
}
.rf-doc h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 4px 0 16px;
}
.rf-doc h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.rf-doc h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 28px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rf-doc p {
  color: #374151;
  margin: 0 0 14px;
}
.rf-doc code {
  font-size: 0.82em;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 1px 5px;
  color: #4338ca;
}
.rf-doc code.rf-muted {
  color: #6b7280;
}
.rf-doc strong {
  font-weight: 700;
  color: #1f2433;
}

.rf-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6366f1;
  margin: 0 0 8px !important;
}

.rf-ver-badge {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 2px 10px;
  border-radius: 7px;
  vertical-align: middle;
  margin-left: 8px;
}

.rf-lead {
  font-size: 1.05rem !important;
  color: #4b5563 !important;
  line-height: 1.75;
}

.rf-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: #e5e7eb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 24px;
}

.rf-meta {
  background: #ffffff;
  padding: 14px 18px;
}
.rf-meta dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 4px;
}
.rf-meta dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2433;
}
.rf-meta dd code {
  font-weight: 600;
}

.rf-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.rf-panel {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 20px;
  background: #f7f8fa;
}
.rf-panel h3 {
  margin: 0 0 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.rf-count {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 99px;
  padding: 1px 8px;
}

.rf-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rf-chips li {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: #1f2433;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 3px 9px;
}
.rf-chips--muted li {
  color: #6b7280;
}

.rf-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rf-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: #374151;
  font-size: 0.92rem;
  border-bottom: 1px solid #e5e7eb;
}
.rf-list li:last-child {
  border-bottom: 0;
}
.rf-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #6366f1;
}

.rf-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.rf-steps li {
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 40px;
  font-size: 0.92rem;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}
.rf-steps li:last-child {
  border-bottom: 0;
}
.rf-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: #6366f1;
  border-radius: 7px;
}

.rf-note {
  font-size: 0.88rem !important;
  color: #6b7280 !important;
  background: #f7f8fa;
  border-left: 3px solid #6366f1;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-top: 18px !important;
}

.rf-code {
  background: #0f1117;
  border-radius: 10px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0;
  line-height: 1.65;
}
.rf-code code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  color: #e6e8ee;
  white-space: pre;
}
.rf-code .rf-cmt {
  color: #6b7488;
}

.rf-table-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0 8px;
}

.rf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.rf-table thead th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  background: #f7f8fa;
  padding: 9px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.rf-table tbody td {
  padding: 9px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  vertical-align: middle;
}
.rf-table tbody tr:last-child td {
  border-bottom: 0;
}
.rf-table tbody tr:hover {
  background: #f7f8fa;
}
.rf-table code {
  font-size: 0.8rem;
  background: none;
  border: 0;
  padding: 0;
  color: #1f2433;
}
.rf-table code.rf-muted {
  color: #6b7280;
}

.rf-verb {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 5px;
  min-width: 44px;
  text-align: center;
}
.rf-verb--get {
  color: #047857;
  background: #d1fae5;
}
.rf-verb--post {
  color: #b45309;
  background: #fef3c7;
}
.rf-verb--put, .rf-verb--patch {
  color: #4338ca;
  background: #e0e7ff;
}
.rf-verb--delete {
  color: #b91c1c;
  background: #fee2e2;
}

.rf-tag {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 5px;
  padding: 2px 8px;
}

.rf-inline-cta {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #6366f1;
  text-decoration: none;
}
.rf-inline-cta:hover {
  text-decoration: underline;
}

.rf-footer {
  border-top: 1px solid #e5e7eb;
  background: #f7f8fa;
  padding: 28px 24px;
}

.rf-footer__inner {
  max-width: 1072px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.rf-footer__brand {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1f2433;
}
.rf-footer__brand span {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b7280;
  margin-left: 6px;
}

.rf-footer__copy {
  font-size: 0.82rem;
  color: #6b7280;
}

.rf-shell--docs {
  max-width: 1304px;
  grid-template-columns: 232px minmax(0, 1fr) 200px;
  gap: 40px;
}

.rf-docnav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rf-docnav__home {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f2433;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.rf-docnav__home:hover {
  background: #f7f8fa;
}
.rf-docnav__home.is-active {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
}
.rf-docnav__group {
  margin-bottom: 18px;
}
.rf-docnav__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 6px;
  padding-left: 12px;
}
.rf-docnav__item {
  display: block;
  font-size: 0.83rem;
  line-height: 1.4;
  color: #6b7280;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.12s;
}
.rf-docnav__item:hover {
  color: #1f2433;
  background: #f7f8fa;
}
.rf-docnav__item.is-active {
  color: #6366f1;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.08);
  border-left-color: #6366f1;
}

.rf-doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.rf-doc-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.05s;
}
.rf-doc-card:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
}
.rf-doc-card:active {
  transform: translateY(1px);
}
.rf-doc-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1f2433;
}
.rf-doc-card__slug {
  font-size: 0.76rem;
  color: #6366f1;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

.rf-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 24px;
}
.rf-crumbs a {
  color: #6b7280;
  text-decoration: none;
}
.rf-crumbs a:hover {
  color: #6366f1;
}
.rf-crumbs__current {
  color: #1f2433;
  font-weight: 600;
}

.rf-onthispage {
  position: sticky;
  top: 56px;
  align-self: start;
  padding-top: 48px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
.rf-onthispage__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 10px;
}
.rf-onthispage ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rf-onthispage li a {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #6b7280;
  text-decoration: none;
  padding: 4px 0 4px 10px;
  border-left: 2px solid #e5e7eb;
  transition: color 0.12s, border-color 0.12s;
}
.rf-onthispage li a:hover {
  color: #6366f1;
  border-left-color: #6366f1;
}
.rf-onthispage__l3 a {
  padding-left: 22px;
  font-size: 0.75rem;
}

.rf-prose {
  color: #2f3542;
  font-size: 0.95rem;
  line-height: 1.78;
  min-width: 0;
}
.rf-prose h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.25;
}
.rf-prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  scroll-margin-top: 72px;
}
.rf-prose h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 28px 0 10px;
  scroll-margin-top: 72px;
}
.rf-prose h4 {
  font-size: 0.96rem;
  font-weight: 700;
  margin: 22px 0 8px;
}
.rf-prose p {
  margin: 0 0 14px;
}
.rf-prose ul, .rf-prose ol {
  margin: 0 0 16px;
  padding-left: 1.4em;
}
.rf-prose li {
  margin: 4px 0;
}
.rf-prose li > ul, .rf-prose li > ol {
  margin: 4px 0;
}
.rf-prose a {
  color: #6366f1;
  text-decoration: none;
}
.rf-prose a:hover {
  text-decoration: underline;
}
.rf-prose strong {
  font-weight: 700;
  color: #1f2433;
}
.rf-prose hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 32px 0;
}
.rf-prose blockquote {
  margin: 0 0 16px;
  padding: 10px 16px;
  border-left: 3px solid #6366f1;
  background: #f7f8fa;
  border-radius: 0 8px 8px 0;
  color: #4b5563;
}
.rf-prose blockquote p:last-child {
  margin: 0;
}
.rf-prose code {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 1px 5px;
  color: #4338ca;
}
.rf-prose pre {
  background: #0f1117;
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  margin: 0 0 18px;
  line-height: 1.6;
}
.rf-prose pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  color: #e6e8ee;
  white-space: pre;
}
.rf-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin: 0 0 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.rf-prose thead th {
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  color: #6b7280;
  background: #f7f8fa;
  padding: 9px 13px;
  border-bottom: 1px solid #e5e7eb;
}
.rf-prose tbody td {
  padding: 9px 13px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}
.rf-prose tbody tr:last-child td {
  border-bottom: 0;
}
.rf-prose tbody tr:hover {
  background: #f7f8fa;
}
.rf-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.rf-prose .rf-anchor {
  color: #6b7280;
  opacity: 0;
  text-decoration: none;
  font-weight: 400;
  margin-left: 6px;
  transition: opacity 0.12s;
}
.rf-prose h2:hover .rf-anchor,
.rf-prose h3:hover .rf-anchor {
  opacity: 1;
}

.rf-doc-foot {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8rem;
  color: #6b7280;
}
.rf-doc-foot code {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.76rem;
  color: #6366f1;
}

@media (max-width: 1080px) {
  .rf-shell--docs {
    grid-template-columns: 232px minmax(0, 1fr);
  }
  .rf-onthispage {
    display: none;
  }
}
@media (max-width: 860px) {
  .rf-shell,
  .rf-shell--docs {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rf-sidebar {
    display: none;
  }
  .rf-cols {
    grid-template-columns: 1fr;
  }
  .rf-content {
    padding-top: 32px;
  }
}
@media (max-width: 560px) {
  .rf-topbar__nav {
    gap: 14px;
  }
  .rf-topbar__nav a:not(.rf-topbar__cta) {
    display: none;
  }
  .rf-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .hero,
  .main-grid,
  .service-grid,
  .event-detail {
    grid-template-columns: 1fr;
  }
  .hero-media {
    min-height: 250px;
  }
  .post-grid,
  .metrics {
    grid-template-columns: 1fr;
  }
  .site-header .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links {
    flex-wrap: wrap;
  }
  .calendar-grid {
    display: block;
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  .calendar-weekday {
    display: none;
  }
  .calendar-day {
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: auto;
    margin-bottom: 10px;
  }
  .calendar-day.is-empty-mobile {
    display: none;
  }
}
