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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: linear-gradient(180deg, #f0fdf4 0%, #f7f8fa 240px, #f7f8fa 100%);
  padding: 32px 20px 64px;
}

.page {
  max-width: 760px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 12px;
}

.brand-area {
  display: inline-grid;
  grid-template-columns: 48px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  text-align: left;
  margin-bottom: 20px;
}

.brand-icon {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  background: #0f1923;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  grid-column: 2;
  font-size: 22px;
  font-weight: 700;
  color: #0f1923;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.brand-tag {
  grid-column: 2;
  font-size: 13px;
  color: #4b5563;
  font-weight: 400;
  line-height: 1.35;
}

.version-badge {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
  background: transparent;
  border: none;
  line-height: 1.3;
}

.version-badge-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  animation: dot-glow 2.4s ease-in-out infinite;
}

@keyframes dot-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(52, 199, 89, 0);
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .version-badge-dot { animation: none; }
}

h1 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  color: #0f1923;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.lead {
  font-size: 18px;
  color: #374151;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: #34c759;
  color: #0a1a0f;
  border: none;
}

.btn-primary:hover { filter: brightness(1.06); }

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

.btn-secondary:hover { background: #f9fafb; }

.cta-note {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

.pin-tip {
  max-width: 520px;
  margin: 20px auto 0;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  text-align: left;
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pin-tip strong {
  color: #0f1923;
}

.whats-new {
  background: #fffbeb;
  border-color: #fde68a;
}

.whats-new ul {
  margin-bottom: 0;
}

.shortcut-group {
  margin-bottom: 16px;
}

.shortcut-group:last-child {
  margin-bottom: 0;
}

.shortcut-group h3 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.shortcut-group ul {
  margin-bottom: 0;
}

.card {
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f1923;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

ul {
  padding-left: 1.25rem;
  color: #374151;
}

li { margin-bottom: 8px; }

li:last-child { margin-bottom: 0; }

li strong { color: #111827; }

.support-callout {
  text-align: center;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.support-callout p {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid #f3f4f6;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  user-select: none;
}

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

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item summary:hover {
  color: #0b57d0;
}

.faq-item p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 15px;
  line-height: 1.55;
}

footer {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

footer a {
  color: #15803d;
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 4px;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.shortcuts-note {
  margin-bottom: 16px;
  color: #4b5563;
  font-size: 15px;
}

.footer-links {
  margin-top: 8px;
}
