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

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

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

a:hover {
  opacity: 0.7;
}

.container {
  display: grid;
  grid-template-columns: 1fr 320px;
  max-width: 1300px;
  margin: auto;
}

.main {
  border-right: 1px solid #eee;
  min-width: 0;
}

.cover {
  height: 180px;
  background: linear-gradient(135deg, #000, #222);
}

.profile { padding: 0 20px; }

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-top: -55px;
  border: 4px solid #fff;
  object-fit: cover;
}

.name {
  font-size: 22px;
  font-weight: 700;
}

.handle {
  color: #666;
  font-size: 14px;
}

.bio {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.site-nav a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a.active,
.button-link.primary {
  background: #111;
  border-color: #111;
  color: #fff;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-top: 15px;
  overflow-x: auto;
}

.tabs div {
  padding: 12px 15px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.tabs .active {
  border-bottom: 2px solid #000;
  font-weight: 600;
}

.section { display: none; }
.section.active { display: block; }

.post {
  padding: 20px;
  border-bottom: 1px solid #eee;
  transition: 0.2s ease;
}

.post:hover {
  background: #fafafa;
}

.post h2,
.post h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.post p {
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.post p + p,
.post ul + p,
.post p + ul {
  margin-top: 10px;
}

.post ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #444;
  font-size: 14px;
  line-height: 1.7;
}

.post li + li {
  margin-top: 6px;
}

.page-kicker {
  margin-top: 8px;
  color: #666;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-title {
  margin: 6px 0 4px;
}

.effective-date {
  color: #666;
  font-size: 13px;
  margin-top: 8px;
}

.price-card {
  display: grid;
  gap: 8px;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px;
  margin-top: 12px;
}

.price {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.fine-print {
  color: #666;
  font-size: 12px;
  line-height: 1.6;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.policy-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
}

.policy-card h3 {
  margin: 0 0 8px;
}

.policy-card p {
  margin: 0 0 12px;
}

.right { padding: 20px; }

.box {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
}

.box h3 {
  margin-top: 0;
}

.box p {
  line-height: 1.6;
}

.link-list {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.site-footer {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 20px 24px;
  border-top: 1px solid #eee;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-start;
  align-items: center;
  font-size: 13px;
}

.footer-links a {
  color: #333;
}

.footer-meta {
  margin-top: 8px;
  color: #666;
  font-size: 12px;
  line-height: 1.6;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin: 4px;
  font-size: 12px;
}

@media (max-width: 1000px) {
  .container { grid-template-columns: 1fr; }
  .main { border: none; }
  .right { border-top: 1px solid #eee; }
}

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

  .price {
    font-size: 30px;
  }
}
