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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  background: #fff;
  padding: 32px 32px 100px;
}

header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
}

.logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  text-decoration: none;
  color: #888;
  font-size: 16px;
  padding: 4px;
  transition: color 0.15s;
}

nav a:first-child {
  padding-left: 0;
}

nav a:hover {
  color: #111;
}

nav a.active {
  color: #111;
  font-weight: 500;
}

main {
  max-width: 380px;
}

h1 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: #111;
}

h2 {
  font-size: 20px;
  font-weight: 400;
  color: #111;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.intro {
  color: #111;
  margin-bottom: 20px;
}

.section-label {
  color: #888;
  font-size: 16px;
  margin-top: 48px;
  margin-bottom: 12px;
}

.step {
  margin-top: 56px;
}

.step-label {
  color: #888;
  font-size: 16px;
  margin-bottom: 16px;
}

.step p {
  color: #444;
  margin-bottom: 10px;
}

.step p:last-child {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: #eee;
  margin: 40px 0;
}

.cta {
  margin-top: 36px;
}

.cta a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 1px;
  font-size: 14px;
}

.cta a:hover {
  opacity: 0.6;
}

.about-item {
  margin-top: 32px;
}

.about-item a {
  font-size: 1.05rem;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 1px;
  transition: opacity 0.15s;
}

.about-item a:hover {
  opacity: 0.5;
}

.about-item .status {
  color: #bbb;
  font-size: 13px;
  margin-top: 5px;
}

.contact {
  margin-top: 48px;
  color: #bbb;
  font-size: 13px;
  line-height: 1.8;
}

.contact a {
  color: #888;
  text-decoration: none;
}

.contact a:hover {
  color: #1a1a1a;
}

/* Footer */
.site-footer {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: #bbb;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.site-footer a:hover {
  color: #1a1a1a;
}

/* 
  Removed page-wrapper and page-art layout 
*/


/* Knowledge Base / Health Max+ */
.kb-toggles {
  margin-top: 10px;
}

details {
  margin-bottom: 8px;
}

summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 20px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.15s;
}

summary:hover {
  opacity: 0.6;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  color: #bbb;
  transition: transform 0.2s ease;
}

details[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.details-content {
  padding-left: 20px;
  padding-top: 8px;
  padding-bottom: 16px;
  color: #444;
  font-size: 14px;
}

.page-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: 4px;
  transition: background 0.15s;
}

.page-link a:hover {
  background: #f5f5f5;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
}

.btn-primary {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #1a1a1a;
}

.btn-primary:hover {
  opacity: 0.8;
}

.btn-outline {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #ddd;
}

.btn-outline:hover {
  border-color: #1a1a1a;
}
