* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 40px 20px 64px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
}

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

a { color: #111111; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.7; }

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 36px;
}

.brand { font-weight: 700; font-size: 1.1rem; text-decoration: none; letter-spacing: -0.01em; }
nav { display: flex; gap: 18px; font-size: 0.92rem; }
nav a { color: #555555; text-decoration: none; }
nav a:hover { color: #111111; text-decoration: underline; }

h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 10px; }
h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin: 36px 0 12px; }
h3 { font-size: 1rem; margin: 0 0 4px; }
p { margin: 0 0 14px; color: #333333; }
.muted { color: #666666; font-size: 0.92rem; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; }

.btn {
  display: inline-block;
  padding: 9px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #111111;
  border-radius: 5px;
  cursor: pointer;
  background: #ffffff;
  color: #111111;
}
.btn:hover { opacity: 0.85; }
.btn-solid { background: #111111; color: #ffffff; }

.box {
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.tier {
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tier-pro { border-color: #111111; }

.price { font-size: 1.35rem; font-weight: 700; margin: 4px 0 10px; }
.price span { font-size: 0.8rem; font-weight: 400; color: #666666; }

ul { margin: 0 0 14px; padding-left: 18px; font-size: 0.9rem; color: #333333; }
li { margin-bottom: 4px; }

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}
code { background: #f4f4f4; padding: 1px 4px; border-radius: 3px; }
pre {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 12px 14px;
  overflow-x: auto;
  margin: 10px 0 0;
  line-height: 1.5;
}

.token {
  border: 1px solid #111111;
  background: #fafafa;
  padding: 10px 12px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  word-break: break-all;
  margin: 10px 0 12px;
}

.hidden { display: none !important; }

footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
  font-size: 0.85rem;
  color: #666666;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 700px) {
  .tier-grid { grid-template-columns: 1fr; }
}