:root {
  --bg: #f6fbff;
  --card: #ffffff;
  --text: #15324a;
  --muted: #61788d;
  --line: rgba(21,50,74,0.12);
  --brand: #14b8a6;
  --brand-2: #4f46e5;
  --shadow: 0 20px 60px rgba(56, 92, 129, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fdff 0%, var(--bg) 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

.site-header {
      position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px);
      background: rgba(249,253,255,0.88); border-bottom: 1px solid rgba(21,50,74,0.06);
    }
.nav { display:flex; align-items:center; justify-content:space-between; gap:20px; padding: 10px 0; }
.brand { display:flex; align-items:center; gap: 8px; font-weight:900; letter-spacing:-0.03em; line-height:0; padding: 0; margin: 0; }
.header-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 112px !important;
  max-width: 320px !important;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

footer .header-logo,
.footer-logo img {
  max-height: 92px !important;
  max-width: 360px !important;
}
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 600; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.menu-toggle { display: none; }

.cta-link-strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: #ffffff;
  color: var(--brand-2) !important;
  border: 2px solid rgba(255,255,255,0.92);
  box-shadow: 0 14px 30px rgba(21,50,74,0.18);
}

.cta-link-strong:hover {
  opacity: 1;
  box-shadow: 0 18px 36px rgba(21,50,74,0.24);
}

.btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer;
      border-radius: 999px; padding: 15px 22px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: white; box-shadow: 0 18px 40px rgba(79,70,229,0.24); }
.btn-secondary { background: rgba(255,255,255,0.88); color: var(--text); border: 1px solid rgba(21,50,74,0.08); }

.section { padding: 72px 0; }
.hero { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 9px 14px; background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.75); color: var(--brand-2); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(79,70,229,0.08);
}
h1 { margin: 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 14px; }
.section h2 { font-size: clamp(1.9rem, 3vw, 3.1rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 14px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }
p, li { color: var(--muted); line-height: 1.8; }
.lead { font-size: 1.06rem; max-width: 760px; }

.card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(21,50,74,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.content-card { padding: 28px; }
.grid { display: grid; gap: 24px; }
.two-col { display:grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.toc { position: sticky; top: 92px; padding: 24px; }
.toc a { display: block; padding: 9px 0; color: var(--brand-2); font-weight: 700; }
.list-clean { padding-left: 18px; }
.note { padding: 16px 18px; border-radius: 16px; background: rgba(79,70,229,0.08); color: var(--brand-2); font-weight: 700; }
.tip-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tip-card { padding: 24px; }
.tip-card ul { padding-left: 18px; margin: 0; }
.tip-card li + li { margin-top: 10px; }
.cta-box {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #4f46e5, #14b8a6);
  color: white;
  box-shadow: 0 26px 60px rgba(55, 76, 152, 0.24);
}
.cta-box p, .cta-box a { color: rgba(255,255,255,0.94); }

.meta-list { display:grid; gap: 14px; }
.meta-row { display:flex; justify-content:space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.meta-row:last-child { border-bottom: 0; }

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 18px;
  border: 1px solid rgba(21,50,74,0.08);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow);
}
.care-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.care-table th,
.care-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(21,50,74,0.08);
  color: var(--muted);
  line-height: 1.65;
}
.care-table th {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  background: rgba(79,70,229,0.06);
}
.care-table td strong { color: var(--text); }
.care-table tbody tr:last-child td { border-bottom: 0; }

.footer { padding: 24px 0 50px; }
.footer-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-top: 18px; border-top: 1px solid rgba(21,50,74,0.08); }
.footer-links { display:flex; flex-wrap:wrap; gap:12px 18px; margin-top:10px; }
.small { font-size: .94rem; color: var(--muted); }

@media (max-width: 980px) {
  .two-col, .tip-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display:none; position:absolute; left: 16px; right:16px; top: calc(100% + 8px); background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); padding: 18px;
    border-radius: 22px; box-shadow: var(--shadow); border: 1px solid rgba(21,50,74,0.08); flex-direction: column; align-items: stretch;
  }
  .nav-links.show { display:flex; }
  .nav-actions .btn { display:none; }
}

@media (max-width: 900px) {
  .header-logo {
    max-height: 92px !important;
    max-width: 260px !important;
  }
}

@media (max-width: 640px) {
  .nav {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 78px;
  }

  .brand {
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    max-width: calc(100vw - 104px);
    z-index: 1;
  }

  .menu-toggle {
    grid-column: 2;
    justify-self: end;
    margin-left: auto;
    position: relative;
    z-index: 2;
  }

  .header-logo {
    max-height: 76px !important;
    max-width: min(64vw, 228px) !important;
  }
}

@media (max-width: 760px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .care-table,
  .care-table thead,
  .care-table tbody,
  .care-table tr,
  .care-table th,
  .care-table td {
    display: block;
    width: 100%;
  }
  .care-table { min-width: 0; }
  .care-table thead { display: none; }
  .care-table tr {
    margin-bottom: 16px;
    border: 1px solid rgba(21,50,74,0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .care-table td {
    border-bottom: 1px solid rgba(21,50,74,0.08);
    padding: 12px 14px;
  }
  .care-table tr td:last-child { border-bottom: 0; }
  .care-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 800;
  }
}


.mobile-scroll-hint {
  display: none;
  margin: 0 0 14px;
  font-weight: 700;
}

.blog-scroll-track {
  display: grid;
  gap: 24px;
}

.blog-scroll-track > * {
  min-width: 0;
}

@media (max-width: 760px) {
  .mobile-scroll-hint {
    display: block;
  }

  .blog-scroll-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 82vw);
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 4px 20px 16px 2px;
    margin: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: start;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }

  .blog-scroll-track::after {
    content: '';
    display: block;
    width: 4px;
  }

  .blog-scroll-track > * {
    min-width: 0;
    width: 100%;
    height: auto;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .blog-scroll-track::-webkit-scrollbar {
    display: none;
  }
}


@media (min-width: 761px) {
  .menu-toggle { display: none !important; }
}
