:root {
  --blue: #007AFF;
  --accent-bg: #F5F5F7;
  --text: #000000;
  --secondary-text: #6E6E73;
  --border: #E5E5EA;
  --surface: #FFFFFF;
  --radius: 24px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.5;
}

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

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section {
  padding: 40px 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.card-upper {
  background: var(--accent-bg);
  padding: 24px;
}

.card-lower {
  padding: 24px;
}

.card-art {
  background: linear-gradient(135deg, #D1D1D6 0%, #8E8E93 100%);
  border-radius: var(--radius-sm);
  width: 120px;
  height: 80px;
  flex-shrink: 0;
}

.card-art-vertical {
  width: 100%;
  height: 140px;
  margin-bottom: 16px;
}

.featured-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.featured-info {
  flex: 1;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.card-fee {
  margin: 4px 0 0;
  color: var(--secondary-text);
  font-size: 0.95rem;
}

.icon-chevron {
  width: 20px;
  height: 20px;
  color: var(--secondary-text);
  flex-shrink: 0;
}

.icon-check {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.icon-expand {
  width: 16px;
  height: 16px;
}

.promo-ribbon {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 10px 18px;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  cursor: pointer;
}

.btn-outline {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-text {
  color: var(--blue);
  padding-left: 8px;
  padding-right: 8px;
}

.btn-text:hover {
  opacity: 0.7;
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel::-webkit-scrollbar-track {
  background: transparent;
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.card-vertical {
  min-width: 300px;
  max-width: 340px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.card-vertical .card-lower {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-vertical .card-actions {
  margin-top: auto;
  padding-top: 24px;
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.5rem;
  }

  .featured-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-art {
    width: 100%;
    height: 120px;
  }

  .card-vertical {
    min-width: 85%;
    max-width: 85%;
  }
}
