/* Category landing pages (Strom-style). Measurements: reference/NOTES.md */

.landing { padding-top: 56px; }
.lp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.lp-head > div:first-child { flex: 1; min-width: 0; }

.red-badge {
  flex: none; width: 124px; height: 100px; margin-top: -8px; border-radius: 50%;
  background: var(--red); color: #fff; transform: rotate(-6deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; text-align: center;
}
.red-badge span { font-size: 17px; }
.red-badge b { font-size: 28px; font-weight: 700; margin: 1px 0; }
.red-badge b sup { font-size: .55em; }
.red-badge span:last-child { font-size: 13px; max-width: 100px; }

/* search pill on landing */
.lp-form { margin-top: 50px; }
.lp-form.over { background: #f2f7ff; border-color: var(--action); }
.lp-form .sp-field { flex: 1 1 0; }
.lp-form .sp-field.sp-file { flex: 1.35 1 0; }
.lp-form .sp-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lp-form .sp-mode { display: flex; gap: 10px; align-items: baseline; }
.lp-form .sp-toggle { border: 0; background: none; padding: 0; font-size: 13px; color: var(--action); }
.lp-form .sp-toggle:hover { text-decoration: underline; }
.lp-form .sp-value { display: block; }
.lp-form .sp-value select { appearance: none; cursor: pointer; padding-right: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181818' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 14px no-repeat; }
.lp-form .sp-pick { border: 0; background: none; padding: 0; font-size: 16px; color: var(--text); text-align: left; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-form .sp-pick:not(.has-file) { color: #6b6b6b; }
.lp-form .sp-filename { font-weight: 500; }
.lp-form .sp-text { border: 0; padding: 0; font-size: 16px; width: 100%; outline: none; background: transparent; }
.lp-form .btn .spinner { margin-left: 4px; }
.lp-error { color: var(--red); font-size: 15px; margin: 10px 0 0 24px; }
.lp-under { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 14px 24px 0; font-size: 14px; color: var(--muted); }
.lp-under span { display: inline-flex; align-items: center; gap: 6px; }
.lp-under a { display: inline-flex; align-items: center; gap: 2px; font-size: 15px; }

/* Salty card */
.salty-card { margin-top: 46px; padding: 16px 16px 18px; display: flex; justify-content: space-between; gap: 20px; }
.salty-card h2 { font-size: 24px; font-weight: 600; line-height: 1.25; }
.salty-card .gold { color: var(--gold); }
.salty-card p { margin: 16px 0 12px; }
.salty-card a { font-size: 16px; }
.salty-logo { width: 88px; height: auto; }

/* trust seals */
.seals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 66px; text-align: center; }
.seal { display: flex; flex-direction: column; align-items: center; }
.seal-art { height: 128px; display: flex; align-items: center; justify-content: center; }
.seal-art .seal-svg { height: 124px; width: auto; }
.seal-art .seal-svg.wide { height: 88px; width: auto; max-width: 210px; }
.seal h3 { font-size: 16px; font-weight: 600; margin-top: 22px; }
.seal p { margin-top: 18px; line-height: 1.6; }
.seal .seal-link { margin-top: 22px; }

.awards { margin-top: 78px; text-align: center; }
.awards h2 { font-size: 24px; font-weight: 600; }
.award-row { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; gap: 20px; }
.award-row .award { height: 216px; width: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .12)); }
.award-row .award-wide { height: 150px; }

.faq { margin-top: 72px; max-width: 900px; }
.faq h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .15s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; line-height: 1.6; }

@media (max-width: 1099px) {
  .lp-form .sp-label { font-size: 14px; }
  .lp-form .btn { min-width: 150px; }
}

@media (max-width: 767px) {
  .landing { padding-top: 22px; }
  .lp-head { gap: 8px; }
  .lp-head .page-title { font-size: 22px; font-weight: 400; line-height: 1.2; }
  .lp-head .page-sub { display: none; }
  .red-badge { width: 86px; height: 70px; margin: 0 -6px 0 0; }
  .red-badge span { font-size: 12px; }
  .red-badge b { font-size: 19px; }
  .red-badge span:last-child { font-size: 9.5px; max-width: 70px; }
  .lp-form { margin-top: 22px; }
  .lp-form .sp-field { padding: 14px 8px; }
  .lp-form .sp-label { font-size: 15px; }
  .lp-form .sp-value, .lp-form .sp-pick, .lp-form .sp-text, .lp-form .sp-value select { font-size: 18px; }
  .lp-form .btn { min-width: 0; height: 50px; }
  .lp-error { margin-left: 12px; }
  .lp-under { margin: 12px 4px 0; flex-direction: column; gap: 8px; }
  .salty-card { margin-top: 32px; padding: 16px; flex-direction: column-reverse; position: relative; }
  .salty-card h2 { font-size: 21px; padding-right: 96px; }
  .salty-logo-wrap { position: absolute; right: 16px; top: 16px; }
  .salty-logo { width: 82px; }
  .seals { grid-template-columns: 1fr 1fr; gap: 28px 12px; margin-top: 44px; }
  .seal-art { height: 110px; }
  .seal-art .seal-svg { height: 104px; }
  .seal-art .seal-svg.wide { height: 64px; max-width: 160px; }
  .seal h3 { margin-top: 12px; font-size: 15px; }
  .seal p { margin-top: 8px; font-size: 14px; line-height: 1.45; }
  .awards { margin-top: 48px; }
  .awards h2 { font-size: 20px; }
  .award-row { flex-wrap: wrap; justify-content: center; gap: 20px 18px; margin-top: 24px; }
  .award-row .award { height: 160px; }
  .award-row .award-wide { height: 120px; }
  .faq { margin-top: 48px; }
  .faq h2 { font-size: 21px; }
  .faq summary { font-size: 16px; }
}
.lp-len { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; background: var(--pill-blue); color: var(--blue); border-radius: 14px; padding: 4px 12px; font-weight: 600; }
@media (max-width: 767px) { .lp-form .sp-field.sp-file { border-bottom: 1px solid #d0d0d0; } }
