:root {
  --sp-ink: #26343d;
  --sp-heading: #17242c;
  --sp-muted: #6c7b84;
  --sp-line: #dce5e9;
  --sp-soft: #f5f8f9;
  --sp-blue-soft: #eef8fa;
  --sp-white: #fff;
  --sp-primary: #1689a6;
  --sp-primary-dark: #0e6e87;
  --sp-warning: #f3bc37;
  --sp-shadow: 0 8px 24px rgba(28, 51, 62, .07);
}

.sp-site-shell,
.sp-directory,
.sp-form-page,
.sp-plans-page {
  color: var(--sp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}
.sp-site-shell *, .sp-directory *, .sp-form-page *, .sp-plans-page *,
.sp-offer-detail-meta *, .sp-offer-body *, .sp-offer-conditions *, .sp-offer-cta * { box-sizing: border-box; }
.sp-container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.sp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.sp-button--primary { color: #fff !important; border-color: var(--sp-primary-dark); background: var(--sp-primary-dark); }
.sp-button--primary:hover { border-color: #095c71; background: #095c71; }
.sp-button--light { color: var(--sp-heading) !important; border-color: var(--sp-line); background: #fff; }
.sp-button--white { color: var(--sp-primary-dark) !important; border-color: #fff; background: #fff; }
.sp-button--disabled { color: #89979e !important; border-color: #dce4e7; background: #f2f5f6; cursor: not-allowed; }
.sp-button--wide { width: 100%; }

/* Home hero */
.sp-home-hero { padding: 55px 0 51px; border-bottom: 1px solid var(--sp-line); background: #fff; }
.sp-home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) 390px; gap: 62px; align-items: center; }
.sp-home-label, .sp-page-label { margin: 0 0 10px; color: var(--sp-primary-dark); font-size: 12px; font-weight: 800; }
.sp-home-hero h1 { max-width: 720px; margin: 0; color: var(--sp-heading); font-size: clamp(37px, 4.5vw, 54px); line-height: 1.35; letter-spacing: -.035em; }
.sp-home-lead { max-width: 700px; margin: 20px 0 0; color: var(--sp-muted); font-size: 16px; line-height: 1.9; }
.sp-home-search { display: grid; grid-template-columns: 1fr 96px; max-width: 650px; margin-top: 26px; border: 2px solid var(--sp-primary-dark); }
.sp-home-search input { min-width: 0; height: 50px; padding: 0 16px; border: 0; outline: 0; color: var(--sp-heading); background: #fff; }
.sp-home-search button { border: 0; color: #fff; background: var(--sp-primary-dark); font-size: 13px; font-weight: 800; cursor: pointer; }
.sp-home-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 17px; color: #708089; font-size: 11px; }
.sp-home-facts span::before { content: "✓"; margin-right: 5px; color: var(--sp-primary); font-weight: 900; }
.sp-pickup { border: 1px solid var(--sp-line); background: #fff; box-shadow: var(--sp-shadow); }
.sp-pickup__heading { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-bottom: 3px solid var(--sp-primary); background: #f5fafb; }
.sp-pickup__heading p { margin: 0; color: var(--sp-heading); font-size: 14px; font-weight: 800; }
.sp-pickup__heading a { color: var(--sp-primary-dark); font-size: 10px; font-weight: 800; text-decoration: none; }
.sp-pickup__list { margin: 0; padding: 0; list-style: none; }
.sp-pickup__list li + li { border-top: 1px solid #edf1f3; }
.sp-pickup__list a { display: grid; grid-template-columns: 31px 1fr; gap: 11px; align-items: center; padding: 13px 15px; color: var(--sp-heading); text-decoration: none; }
.sp-pickup__list a:hover { background: #f8fbfc; }
.sp-pickup__number { color: var(--sp-primary); font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.sp-pickup__list small { display: block; margin-bottom: 2px; color: #7f8e96; font-size: 9px; }
.sp-pickup__list strong { display: block; font-size: 12px; line-height: 1.5; }
.sp-pickup__empty { padding: 25px; text-align: center; }
.sp-pickup__empty strong { color: var(--sp-heading); }
.sp-pickup__empty p { margin: 5px 0 12px; color: var(--sp-muted); font-size: 12px; }
.sp-pickup__empty a { font-size: 11px; font-weight: 800; }

/* Category strip */
.sp-category-nav { padding: 37px 0 42px; background: var(--sp-soft); }
.sp-section-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.sp-section-title > div > p { margin: 0 0 4px; color: var(--sp-primary-dark); font-size: 11px; font-weight: 800; }
.sp-section-title h2 { margin: 0; color: var(--sp-heading); font-size: 28px; line-height: 1.4; letter-spacing: -.02em; }
.sp-section-title > a { color: var(--sp-primary-dark); font-size: 11px; font-weight: 800; text-decoration: none; }
.sp-section-title--compact { margin-bottom: 17px; }
.sp-section-title--compact h2 { font-size: 24px; }
.sp-section-note { color: #7a5510; font-size: 10px; }
.sp-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sp-category-card { display: grid; grid-template-columns: 43px 1fr; gap: 12px; align-items: center; min-height: 75px; padding: 13px; border: 1px solid var(--sp-line); color: var(--sp-heading) !important; background: #fff; text-decoration: none !important; }
.sp-category-card:hover { border-color: #9fc8d1; box-shadow: 0 5px 14px rgba(28,51,62,.06); }
.sp-category-card__icon { display: grid; place-items: center; width: 43px; height: 43px; color: var(--sp-primary-dark); background: var(--sp-blue-soft); font-size: 13px; font-weight: 900; }
.sp-category-card strong { display: block; font-size: 13px; }
.sp-category-card small { display: block; margin-top: 3px; color: #87949b; font-size: 10px; }

/* Home editorial layout */
.sp-home-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 52px; align-items: start; padding-top: 54px; padding-bottom: 67px; }
.sp-home-main { min-width: 0; }
.sp-home-section + .sp-home-section { margin-top: 55px; padding-top: 49px; border-top: 1px solid var(--sp-line); }
.sp-home-sidebar { display: grid; gap: 22px; }
.sp-side-box { padding: 20px; border: 1px solid var(--sp-line); background: #fff; }
.sp-side-box > h2 { margin: 0 0 13px; padding-bottom: 9px; border-bottom: 3px solid var(--sp-primary); color: var(--sp-heading); font-size: 17px; }
.sp-side-box > p { margin: 0 0 14px; color: var(--sp-muted); font-size: 12px; line-height: 1.8; }
.sp-side-box--about { background: #f5fafb; }
.sp-side-box--about > a, .sp-side-text-link { font-size: 11px; font-weight: 800; text-decoration: none; }
.sp-side-box__label { margin: 0 0 5px !important; color: var(--sp-primary-dark) !important; font-size: 10px !important; font-weight: 800; }
.sp-side-box--company { border-top: 4px solid var(--sp-primary); box-shadow: var(--sp-shadow); }
.sp-side-text-link { display: block; margin-top: 12px; text-align: center; }
.sp-side-category-list { margin: 0; padding: 0; list-style: none; }
.sp-side-category-list li + li { border-top: 1px solid #edf1f3; }
.sp-side-category-list a { display: flex; justify-content: space-between; padding: 9px 2px; color: #384952; font-size: 12px; text-decoration: none; }
.sp-side-category-list small { color: #93a0a7; }

/* Offer cards */
.sp-offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sp-offer-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-offer-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-offer-card { overflow: hidden; border: 1px solid var(--sp-line); background: #fff; box-shadow: 0 3px 12px rgba(28, 51, 62, .035); }
.sp-offer-card:hover { border-color: #a8cbd3; box-shadow: var(--sp-shadow); }
.sp-offer-card--premium { border-top: 4px solid var(--sp-warning); }
.sp-offer-card__media { position: relative; display: block; height: 185px; overflow: hidden; background: #f3f8f9; text-decoration: none; }
.sp-offer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.sp-offer-card:hover .sp-offer-card__media img { transform: scale(1.025); }
.sp-offer-card__placeholder { display: grid; place-items: center; align-content: center; gap: 1px; width: 100%; height: 100%; color: #72acba; background: #eef7f9; font-family: Georgia, serif; font-size: 48px; font-weight: 700; }
.sp-offer-card__placeholder small { color: #8aaab2; font-family: sans-serif; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.sp-offer-card__premium, .sp-offer-card__featured { position: absolute; top: 10px; left: 10px; padding: 5px 8px; color: #5b430b; background: #ffe7a6; font-size: 9px; font-weight: 900; }
.sp-offer-card__featured { color: #fff; background: var(--sp-primary-dark); }
.sp-offer-card__body { padding: 17px; }
.sp-offer-card__meta { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.sp-offer-card__terms { display: flex; flex-wrap: wrap; gap: 5px; }
.sp-offer-card__terms span { padding: 3px 6px; color: var(--sp-primary-dark); background: var(--sp-blue-soft); font-size: 9px; font-weight: 800; }
.sp-offer-card__meta time { flex: 0 0 auto; color: #909da4; font-size: 8px; }
.sp-offer-card h3 { margin: 11px 0 7px; color: var(--sp-heading); font-size: 18px; line-height: 1.5; }
.sp-offer-card h3 a { color: var(--sp-heading) !important; text-decoration: none !important; }
.sp-offer-card__company { margin: 0 0 9px; color: #849198; font-size: 10px; }
.sp-offer-card__excerpt { min-height: 64px; margin: 0; color: var(--sp-muted); font-size: 12px; line-height: 1.75; }
.sp-offer-card__condition { margin-top: 14px; padding: 10px 11px; border-left: 3px solid var(--sp-primary); background: #f6fafb; }
.sp-offer-card__condition span { display: block; color: #829098; font-size: 9px; }
.sp-offer-card__condition strong { display: block; margin-top: 2px; color: var(--sp-heading); font-size: 12px; }
.sp-offer-card__link { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf1f3; color: var(--sp-primary-dark) !important; font-size: 11px; font-weight: 800; text-decoration: none !important; }
.sp-offer-card__link::after { content: " →"; }

/* Editorial articles on home */
.sp-editorial-list { display: grid; gap: 16px; }
.sp-editorial-card { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; border: 1px solid var(--sp-line); background: #fff; }
.sp-editorial-card__image { display: block; min-height: 145px; overflow: hidden; background: var(--sp-blue-soft); text-decoration: none; }
.sp-editorial-card__image img { width: 100%; height: 100%; object-fit: cover; }
.sp-editorial-card__image span { display: grid; place-items: center; width: 100%; height: 100%; min-height: 145px; color: #83b4bf; font-size: 12px; font-weight: 800; }
.sp-editorial-card > div { padding: 17px 19px; }
.sp-editorial-card time { color: #8b989f; font-size: 9px; }
.sp-editorial-card h3 { margin: 6px 0 7px; font-size: 18px; line-height: 1.5; }
.sp-editorial-card h3 a { color: var(--sp-heading); text-decoration: none; }
.sp-editorial-card p { margin: 0; color: var(--sp-muted); font-size: 12px; line-height: 1.7; }

.sp-guide { padding: 24px; border: 1px solid var(--sp-line); background: #f7fafb; }
.sp-guide .sp-section-title { margin-bottom: 13px; }
.sp-guide__lead { margin: 0 0 19px; color: var(--sp-muted); font-size: 13px; line-height: 1.8; }
.sp-guide__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sp-guide__links a { display: block; padding: 13px; border: 1px solid var(--sp-line); color: var(--sp-heading); background: #fff; text-decoration: none; }
.sp-guide__links strong { display: block; font-size: 12px; }
.sp-guide__links span { display: block; margin-top: 3px; color: var(--sp-muted); font-size: 9px; }

/* Company flow */
.sp-company-flow { padding: 55px 0 59px; color: #e6eef1; background: #263a44; }
.sp-section-title--light > div > p { color: #7fd0df; }
.sp-section-title--light h2 { color: #fff; }
.sp-flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; background: rgba(255,255,255,.17); list-style: none; }
.sp-flow-grid li { min-height: 165px; padding: 23px; background: #2d424d; }
.sp-flow-grid li > span { display: block; margin-bottom: 11px; color: #81cfde; font-family: Georgia, serif; font-size: 22px; }
.sp-flow-grid strong { display: block; color: #fff; font-size: 15px; }
.sp-flow-grid p { margin: 7px 0 0; color: #b9c8ce; font-size: 11px; line-height: 1.7; }
.sp-company-flow__actions { display: flex; align-items: center; gap: 18px; margin-top: 25px; }
.sp-company-flow__actions > a:not(.sp-button) { color: #fff; font-size: 12px; font-weight: 800; }

/* Directory / service pages */
.sp-directory, .sp-form-page, .sp-plans-page { padding-bottom: 85px; }
.sp-page-hero { max-width: 800px; padding: 0 0 31px; }
.sp-page-hero h1 { margin: 0; color: var(--sp-heading); font-size: clamp(34px, 4.5vw, 46px); line-height: 1.35; letter-spacing: -.025em; }
.sp-page-hero > p:last-child { margin: 14px 0 0; color: var(--sp-muted); font-size: 15px; line-height: 1.85; }
.sp-page-hero--center { max-width: 760px; margin-inline: auto; text-align: center; }
.sp-directory-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 52px; align-items: start; }
.sp-directory-main { min-width: 0; }
.sp-directory-sidebar { display: grid; gap: 22px; }
.sp-search-panel { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 10px; align-items: end; padding: 18px; border: 1px solid var(--sp-line); background: #f7fafb; }
.sp-search-field { display: grid; gap: 6px; }
.sp-search-field > span { color: #4b5c65; font-size: 10px; font-weight: 800; }
.sp-search-field input, .sp-search-field select { width: 100%; min-height: 47px; padding: 0 12px; border: 1px solid #c8d4d9; border-radius: 0; color: var(--sp-heading); background: #fff; outline: none; }
.sp-search-field input:focus, .sp-search-field select:focus { border-color: var(--sp-primary); box-shadow: 0 0 0 2px rgba(22,137,166,.11); }
.sp-directory__bar { display: flex; justify-content: space-between; align-items: center; margin: 27px 0 17px; padding-bottom: 10px; border-bottom: 3px solid var(--sp-primary); }
.sp-directory__bar p { margin: 0; color: var(--sp-muted); font-size: 12px; }
.sp-directory__bar strong { margin-right: 3px; color: var(--sp-heading); font-size: 21px; }
.sp-directory__bar a { font-size: 10px; font-weight: 800; }
.sp-directory-guide { margin-top: 42px; padding: 22px; border: 1px solid var(--sp-line); background: #f7fafb; }
.sp-directory-guide h2 { margin: 0 0 9px; color: var(--sp-heading); font-size: 20px; }
.sp-directory-guide p { margin: 8px 0 0; color: var(--sp-muted); font-size: 12px; line-height: 1.8; }
.sp-pagination { margin-top: 34px; }
.sp-pagination ul { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sp-pagination a, .sp-pagination span { display: grid; place-items: center; min-width: 39px; height: 39px; padding: 0 10px; border: 1px solid var(--sp-line); color: #42535c; background: #fff; font-size: 11px; text-decoration: none; }
.sp-pagination .current { color: #fff; border-color: var(--sp-primary-dark); background: var(--sp-primary-dark); }
.sp-empty { padding: 55px 22px; border: 1px solid var(--sp-line); background: #f8fafb; text-align: center; }
.sp-empty > span { display: none; }
.sp-empty h3 { margin: 0 0 7px; color: var(--sp-heading); font-size: 21px; }
.sp-empty p { margin: 0; color: var(--sp-muted); font-size: 13px; }

/* Application form */
.sp-notice { display: flex; gap: 9px; margin-bottom: 20px; padding: 15px 17px; border: 1px solid; font-size: 12px; }
.sp-notice--success { color: #17624f; border-color: #a9ddce; background: #eefaf6; }
.sp-notice--error { color: #8b302a; border-color: #e5b7b2; background: #fff4f3; }
.sp-application-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 52px; align-items: start; }
.sp-application-form { padding: 27px; border: 1px solid var(--sp-line); background: #fff; box-shadow: var(--sp-shadow); }
.sp-form-section + .sp-form-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--sp-line); }
.sp-form-section__heading { display: flex; gap: 13px; align-items: start; margin-bottom: 22px; }
.sp-form-section__heading > span { display: grid; place-items: center; flex: 0 0 38px; height: 38px; color: #fff; background: var(--sp-primary); font-size: 11px; font-weight: 900; }
.sp-form-section__heading h2 { margin: 0 0 3px; color: var(--sp-heading); font-size: 21px; }
.sp-form-section__heading p { margin: 0; color: var(--sp-muted); font-size: 11px; }
.sp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.sp-field { display: grid; gap: 6px; }
.sp-field--full { grid-column: 1 / -1; }
.sp-field > span { color: #45565f; font-size: 11px; font-weight: 800; }
.sp-field b { margin-left: 5px; color: #c83c33; font-size: 9px; }
.sp-field small { margin-left: 5px; color: #8b989f; font-size: 9px; }
.sp-field input, .sp-field select, .sp-field textarea { width: 100%; border: 1px solid #c8d4d9; border-radius: 0; color: var(--sp-heading); background: #fff; outline: none; }
.sp-field input, .sp-field select { min-height: 47px; padding: 0 12px; }
.sp-field textarea { padding: 12px; line-height: 1.7; resize: vertical; }
.sp-field input:focus, .sp-field select:focus, .sp-field textarea:focus { border-color: var(--sp-primary); box-shadow: 0 0 0 2px rgba(22,137,166,.11); }
.sp-field input[type="file"] { padding: 9px; }
.sp-field em { color: #8b989f; font-size: 10px; font-style: normal; }
.sp-consent { display: flex; gap: 9px; align-items: start; margin: 24px 0 16px; color: var(--sp-muted); font-size: 11px; line-height: 1.6; }
.sp-consent input { margin-top: 3px; }
.sp-form-footnote { margin: 10px 0 0; color: #8b989f; font-size: 10px; text-align: center; }
.sp-honeypot { position: absolute !important; left: -9999px !important; }
.sp-application-aside { display: grid; gap: 17px; position: sticky; top: 18px; }
.sp-aside-card { padding: 20px; border: 1px solid var(--sp-line); background: #fff; }
.sp-aside-card:first-child { border-top: 4px solid var(--sp-primary); background: #f5fafb; }
.sp-aside-card h2, .sp-aside-card h3 { margin: 0 0 9px; color: var(--sp-heading); font-size: 17px; }
.sp-aside-card p, .sp-aside-card li { color: var(--sp-muted); font-size: 11px; line-height: 1.75; }
.sp-aside-card p { margin: 0; }
.sp-aside-card ul { margin: 0; padding-left: 18px; }
.sp-aside-card a { font-size: 11px; font-weight: 800; }

/* Plans */
.sp-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; align-items: stretch; }
.sp-plan-card { position: relative; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--sp-line); background: #fff; }
.sp-plan-card--recommended { border-top: 5px solid var(--sp-primary); box-shadow: var(--sp-shadow); }
.sp-plan-card--premium { color: #e5eef1; border-color: #2d444f; background: #2a3d47; }
.sp-plan-card__label { color: var(--sp-primary-dark); font-size: 10px; font-weight: 900; }
.sp-plan-card--premium .sp-plan-card__label { color: #8bd1de; }
.sp-plan-card__ribbon { position: absolute; top: 14px; right: 14px; padding: 4px 7px; color: #fff; background: var(--sp-primary); font-size: 9px; font-weight: 900; }
.sp-plan-card h2 { margin: 6px 0 17px; color: var(--sp-heading); font-size: 23px; }
.sp-plan-card--premium h2 { color: #fff; }
.sp-price { min-height: 56px; color: var(--sp-heading); font-size: 25px; font-weight: 900; }
.sp-plan-card--premium .sp-price { color: #fff; }
.sp-price small { display: block; margin-top: 3px; color: #8b989f; font-size: 9px; font-weight: 600; }
.sp-plan-card > p { min-height: 67px; color: var(--sp-muted); font-size: 11px; line-height: 1.75; }
.sp-plan-card--premium > p, .sp-plan-card--premium li { color: #bdcbd1; }
.sp-plan-card ul { flex: 1; margin: 16px 0 23px; padding: 0; list-style: none; }
.sp-plan-card li { position: relative; padding: 7px 0 7px 21px; color: #53646d; font-size: 11px; }
.sp-plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sp-primary); font-weight: 900; }
.sp-plan-note { margin-top: 35px; padding: 22px 24px; border-left: 5px solid var(--sp-primary); background: #edf7f9; }
.sp-plan-note h2 { margin: 0 0 7px; color: var(--sp-heading); font-size: 20px; }
.sp-plan-note p { margin: 0; color: var(--sp-muted); font-size: 12px; line-height: 1.8; }

/* Offer details remain usable with non-ServicePick themes. */
.sp-offer-detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; margin: 0 0 28px; border: 1px solid var(--sp-line); }
.sp-offer-detail-meta > div { padding: 13px; border-bottom: 1px solid #e9eef0; background: #fff; }
.sp-offer-detail-meta span { display: block; margin-bottom: 3px; color: #849198; font-size: 9px; }
.sp-offer-detail-meta strong { color: var(--sp-heading); font-size: 12px; }
.sp-offer-body { line-height: 2; }
.sp-offer-conditions { margin-top: 28px; padding: 20px; border: 1px solid #e4c777; background: #fff9e8; }
.sp-offer-conditions h2 { margin: 0 0 8px; font-size: 19px; }
.sp-offer-conditions p { margin: 0; color: #66531f; font-size: 13px; }
.sp-offer-cta { margin-top: 28px; padding: 23px; border: 1px solid #c8dde3; background: #f0f8fa; text-align: center; }
.sp-offer-cta p { margin: 0 0 14px; color: var(--sp-muted); font-size: 11px; }

@media (max-width: 1020px) {
  .sp-home-hero__grid { grid-template-columns: 1fr 350px; gap: 35px; }
  .sp-home-layout, .sp-directory-layout, .sp-application-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; }
  .sp-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .sp-home-hero__grid { grid-template-columns: 1fr; }
  .sp-pickup { max-width: 680px; }
  .sp-home-layout, .sp-directory-layout, .sp-application-layout { grid-template-columns: 1fr; }
  .sp-home-sidebar, .sp-directory-sidebar, .sp-application-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-side-box--about, .sp-side-box--company, .sp-aside-card:first-child { grid-column: 1 / -1; }
  .sp-plan-grid { grid-template-columns: 1fr; }
  .sp-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .sp-container { width: calc(100% - 24px); }
  .sp-home-hero { padding: 38px 0 36px; }
  .sp-home-hero h1 { font-size: 34px; }
  .sp-home-lead { font-size: 14px; }
  .sp-home-search { grid-template-columns: 1fr 78px; }
  .sp-home-facts { display: grid; gap: 5px; }
  .sp-category-nav { padding: 30px 0 34px; }
  .sp-category-grid, .sp-offer-grid, .sp-offer-grid--two, .sp-offer-grid--three { grid-template-columns: 1fr; }
  .sp-section-title { align-items: start; flex-direction: column; gap: 7px; }
  .sp-section-title h2 { font-size: 24px; }
  .sp-home-layout { padding-top: 41px; padding-bottom: 52px; }
  .sp-home-section + .sp-home-section { margin-top: 41px; padding-top: 38px; }
  .sp-home-sidebar, .sp-directory-sidebar, .sp-application-aside { grid-template-columns: 1fr; }
  .sp-side-box--about, .sp-side-box--company, .sp-aside-card:first-child { grid-column: auto; }
  .sp-editorial-card { grid-template-columns: 120px 1fr; }
  .sp-editorial-card__image, .sp-editorial-card__image span { min-height: 125px; }
  .sp-editorial-card > div { padding: 13px; }
  .sp-editorial-card p { display: none; }
  .sp-guide { padding: 18px; }
  .sp-guide__links { grid-template-columns: 1fr; }
  .sp-flow-grid { grid-template-columns: 1fr; }
  .sp-company-flow__actions { align-items: stretch; flex-direction: column; }
  .sp-company-flow__actions .sp-button { width: 100%; }
  .sp-search-panel { grid-template-columns: 1fr; }
  .sp-page-hero h1 { font-size: 32px; }
  .sp-form-grid { grid-template-columns: 1fr; }
  .sp-field--full { grid-column: auto; }
  .sp-application-form { padding: 20px 16px; }
  .sp-offer-detail-meta { grid-template-columns: 1fr; }
}

/* Structured offer template (v2.1) */
.sp-offer-template *, .sp-offer-card__facts * { box-sizing: border-box; }
.sp-offer-template { display: grid; gap: 26px; }
.sp-offer-section { padding: 0; }
.sp-offer-section > h2 { margin: 0 0 16px; padding: 0 0 10px; border-bottom: 3px solid var(--sp-primary); color: var(--sp-heading); font-size: 22px; line-height: 1.45; }
.sp-offer-section > h2::before { content: ''; display: inline-block; width: 5px; height: 1em; margin-right: 9px; vertical-align: -.12em; background: var(--sp-primary); }
.sp-offer-prose p, .sp-offer-notes p, .sp-offer-condition-copy p { margin: 0; color: #465861; font-size: 14px; line-height: 2; }
.sp-offer-body--supplement { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--sp-line); }
.sp-offer-body--supplement > h3 { margin: 0 0 10px; color: var(--sp-heading); font-size: 17px; }
.sp-offer-template-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.sp-offer-section--compact { height: 100%; padding: 20px; border: 1px solid var(--sp-line); background: #fff; }
.sp-offer-section--compact > h2 { font-size: 19px; }
.sp-offer-check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sp-offer-check-list li { position: relative; margin: 0; padding: 11px 12px 11px 38px; color: #40525b; border: 1px solid #e3eaed; background: #f8fafb; font-size: 13px; line-height: 1.65; }
.sp-offer-check-list li::before { content: '✓'; position: absolute; top: 11px; left: 13px; display: grid; place-items: center; width: 17px; height: 17px; color: #fff; border-radius: 50%; background: var(--sp-primary); font-size: 10px; font-weight: 900; }
.sp-offer-check-list--person li::before { content: '●'; font-size: 7px; }
.sp-offer-flow { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sp-offer-flow li { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: stretch; overflow: hidden; margin: 0; border: 1px solid var(--sp-line); background: #fff; }
.sp-offer-flow li > span { display: grid; place-items: center; color: #fff; background: var(--sp-primary-dark); font-size: 13px; font-weight: 900; letter-spacing: .05em; }
.sp-offer-flow li > p { margin: 0; padding: 15px 17px; color: #40525b; font-size: 13px; line-height: 1.7; }
.sp-offer-reward { padding: 21px; border: 1px solid #cfe0e5; background: #f4f9fa; }
.sp-offer-reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.sp-offer-reward-grid > div { padding: 14px; border: 1px solid #dbe8eb; background: #fff; }
.sp-offer-reward-grid dt { margin: 0 0 5px; color: #7b8d95; font-size: 10px; font-weight: 800; }
.sp-offer-reward-grid dd { margin: 0; color: var(--sp-heading); font-size: 15px; font-weight: 800; line-height: 1.55; }
.sp-offer-condition-copy { margin-top: 14px; padding: 15px; border-left: 4px solid var(--sp-primary); background: #fff; }
.sp-offer-condition-copy h3 { margin: 0 0 7px; color: var(--sp-heading); font-size: 15px; }
.sp-offer-notes { padding: 19px 20px; border: 1px solid #e5d28c; background: #fffaf0; }
.sp-offer-notes > h2 { border-bottom-color: #d5a92f; }
.sp-offer-notes > h2::before { background: #d5a92f; }
.sp-offer-faq { overflow: hidden; border: 1px solid var(--sp-line); background: #fff; }
.sp-offer-faq details + details { border-top: 1px solid var(--sp-line); }
.sp-offer-faq summary { position: relative; padding: 16px 48px 16px 47px; color: var(--sp-heading); background: #fff; cursor: pointer; font-size: 14px; font-weight: 800; line-height: 1.65; list-style: none; }
.sp-offer-faq summary::-webkit-details-marker { display: none; }
.sp-offer-faq summary::before { content: 'Q'; position: absolute; top: 14px; left: 15px; color: var(--sp-primary); font-size: 18px; font-weight: 900; }
.sp-offer-faq summary::after { content: '+'; position: absolute; top: 16px; right: 17px; color: var(--sp-primary); font-size: 20px; line-height: 1; }
.sp-offer-faq details[open] summary::after { content: '−'; }
.sp-offer-faq details > div { padding: 0 18px 17px 47px; }
.sp-offer-faq details p { position: relative; margin: 0; color: #52646d; font-size: 13px; line-height: 1.85; }
.sp-offer-faq details p::before { content: 'A'; position: absolute; left: -31px; color: #d46a42; font-size: 17px; font-weight: 900; }
.sp-offer-card__facts { display: grid; gap: 6px; margin-top: 14px; }
.sp-offer-card__facts > div { display: grid; grid-template-columns: 74px minmax(0, 1fr); overflow: hidden; border: 1px solid #e0e8eb; background: #fff; }
.sp-offer-card__facts span { padding: 8px 9px; color: #6f8189; background: #f4f7f8; font-size: 9px; font-weight: 800; }
.sp-offer-card__facts strong { padding: 8px 9px; color: var(--sp-heading); font-size: 11px; line-height: 1.5; }

@media(max-width: 680px) {
  .sp-offer-template-columns, .sp-offer-reward-grid { grid-template-columns: 1fr; }
  .sp-offer-section > h2 { font-size: 20px; }
  .sp-offer-section--compact { padding: 16px; }
  .sp-offer-flow li { grid-template-columns: 46px minmax(0, 1fr); }
  .sp-offer-faq summary { padding-right: 42px; }
}

/* Advertising disclosure and offer-card labels (v2.3) */
.sp-offer-ad-disclosure { display:grid; grid-template-columns:auto 1fr; gap:13px; align-items:start; margin:0 0 20px; padding:15px 17px; border:1px solid #d7e2e6; border-left:5px solid #0e6e87; background:#f5f9fa; }
.sp-offer-ad-disclosure strong { display:inline-flex; align-items:center; min-height:25px; padding:3px 9px; color:#fff; background:#0e6e87; font-size:11px; letter-spacing:.04em; }
.sp-offer-ad-disclosure p { margin:1px 0 0; color:#475a63; font-size:12px; line-height:1.75; }
.sp-offer-card__admark { position:absolute; top:10px; left:10px; z-index:2; padding:4px 8px; border:1px solid rgba(255,255,255,.82); color:#fff; background:rgba(25,43,52,.84); font-size:10px; font-weight:800; line-height:1; }
@media(max-width:600px){.sp-offer-ad-disclosure{grid-template-columns:1fr;gap:8px}.sp-offer-ad-disclosure strong{justify-self:start}}
.sp-offer-card__premium,.sp-offer-card__featured { left:auto; right:10px; }
