:root {
  --brand: #16a34a;
  --brand-dark: #15803d;
  --brand-soft: #e9f9ef;
  --accent: #f59e0b;
  --blue: #1d4ed8;
  --danger: #dc2626;
  --title: #111827;
  --text: #6b7280;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --card: #fff;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--title);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
button { font: inherit; }
.page {
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  padding-bottom: 90px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 60px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(22, 163, 74, .22);
  background:
    linear-gradient(100deg, rgba(22, 163, 74, .12) 0%, rgba(22, 163, 74, 0) 35%),
    linear-gradient(100deg, rgba(250, 204, 21, .1) 45%, rgba(37, 99, 235, .09) 100%),
    rgba(248, 250, 252, .97);
  backdrop-filter: blur(7px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.brand-meta { min-width: 0; }
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: 0 0 auto;
  background: linear-gradient(140deg, #1fad56, #0f7a36);
  border: 1px solid rgba(22, 163, 74, .36);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.brand-logo::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: #facc15;
  transform: rotate(45deg);
}
.brand-logo::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  z-index: 1;
}
.brand-band {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  transform: rotate(-13deg);
}
.brand-mark {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 3;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.brand-meta strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-meta span {
  display: block;
  margin-top: 2px;
  color: #166534;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-cta {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex: 0 0 auto;
}
.hero {
  padding: 12px 16px 0;
  display: grid;
  gap: 10px;
}
.trust-bar {
  padding: 8px;
  border: 1px solid rgba(22, 163, 74, .22);
  border-radius: 10px;
  background: var(--brand-soft);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.trust-chip {
  min-height: 32px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid rgba(22, 163, 74, .14);
  color: #14532d;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4px;
}
.hero-box {
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(140deg, #16a34a, #15803d);
  color: #fff;
}
.hero-tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 12px;
  font-weight: 700;
}
h1 {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.22;
}
.hero-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.48;
  color: rgba(255, 255, 255, .94);
}
.hero-actions {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.btn {
  min-height: 48px;
  border-radius: 10px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #1f2937; }
.btn-light {
  min-height: 44px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  font-size: 13px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.benefit {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 54px;
  padding: 8px 6px;
  text-align: center;
}
.benefit strong {
  display: block;
  color: var(--brand-dark);
  font-size: 14px;
}
.benefit span {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 12px;
}
.section { padding: 16px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
}
.section-head h2 { font-size: 18px; }
.section-head p {
  color: var(--text);
  font-size: 12px;
  text-align: right;
}
.tabs {
  position: sticky;
  top: 56px;
  z-index: 15;
  margin-top: 10px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(248, 250, 252, .96);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  min-height: 38px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.tab-btn.is-active {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}
.product-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
.card {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 10px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 102px;
}
.card-logo {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #fff;
}
.card-logo-fallback {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #dcfce7, #dbeafe);
  color: #14532d;
  font-size: 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.card-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.badge {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
}
.title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.title-row h3 {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.desc {
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-action {
  min-height: 40px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  color: var(--text);
  font-size: 13px;
  text-align: center;
}
.trust {
  padding: 8px 16px 20px;
  display: grid;
  gap: 8px;
}
.trust-item {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.trust-item span { color: var(--text); text-align: right; }
.risk { color: var(--danger); font-weight: 700; }
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(248, 250, 252, .97);
  backdrop-filter: blur(6px);
}
.float-wrap {
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.float-copy strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-copy span {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-btn {
  min-height: 44px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 390px) {
  .brand-logo { width: 36px; height: 36px; }
  .brand-meta strong { font-size: 14px; }
  .brand-meta span { font-size: 10px; }
  .top-cta { min-height: 34px; padding: 0 8px; font-size: 11px; }
  .card {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .card-logo, .card-logo-fallback {
    width: 56px;
    height: 56px;
  }
  .card-action { padding: 0 9px; }
}
@media (max-width: 360px) {
  .brand-meta span { display: none; }
  .benefit span { font-size: 11px; }
  .card {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .card-logo, .card-logo-fallback {
    width: 52px;
    height: 52px;
  }
  .card-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}
