/* SwiftJapan landing redesign — layout, components and breakpoints.
 * Loaded after sj-landing-base.css (hover / focus / entrance animations from the
 * design handoff, ported as is). Everything here is scoped under .sj so it can't
 * leak into the rest of the site.
 *
 * Breakpoints: <768 mobile (4 col) | 768 tablet (8 col) | 1200 desktop (12 col) | 1680 large
 */

.sj {
  --ac: #C8102E;
  --ac-h: #A50D26;
  --ink: #111827;
  --body: #4B5563;
  --muted: #6B7280;
  --line: #E5E7EB;
  --alt: #F7F8FA;
  --tint: #FCEEF0;
  --ok: #15803D;
  --star: #F5A524;
  --pad: 20px;
  --cols: 4;
  --gut: 16px;
  --sec: 64px;
  --h1: 36px;
  --h2: 28px;
  --lead: 16px;
  --fs: 16px;
  font-family: 'Inter', 'Inter Fallback', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  font-size: var(--fs);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) {
  .sj { --pad: 32px; --cols: 8; --gut: 24px; --sec: 88px; --h1: 48px; --h2: 32px; --lead: 18px; }
}
@media (min-width: 1200px) {
  .sj { --pad: 40px; --cols: 12; --sec: 112px; --h1: 60px; --h2: 40px; }
}
@media (min-width: 1680px) {
  .sj { --pad: 64px; --gut: 32px; --sec: 128px; --h1: 72px; --h2: 48px; --lead: 20px; --fs: 18px; }
}

.sj *, .sj *::before, .sj *::after { box-sizing: border-box; }
:where(.sj) :where(h1, h2, h3, h4, p, ul, figure, blockquote) { margin: 0; }
:where(.sj) ul { list-style: none; padding: 0; }
:where(.sj) :where(img, svg) { display: block; }
:where(.sj) a { text-decoration: none; }
.sj .sj-h1, .sj .sj-h2, .sj h3 { text-wrap: balance; }
.sj [hidden] { display: none !important; }
@media (max-width: 1199px) { .sj .sj-only-desk { display: none !important; } }
@media (min-width: 1200px) { .sj .sj-only-compact { display: none !important; } }

/* ---------- layout primitives ---------- */
.sj-wrap { width: 100%; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
@media (min-width: 1200px) { .sj-wrap { max-width: 1200px; } }
@media (min-width: 1680px) { .sj-wrap { max-width: 1440px; } }
.sj-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); }
.sj-sec { border-top: 1px solid var(--line); background: #fff; scroll-margin-top: 72px; }
.sj-sec--alt { background: var(--alt); }
/* Landing: grey / white alternate by position among the sections actually shown (Netprint, reviews, referral come and
   go by locale and settings). Browsers without :nth-child(… of …) ignore these and keep the classes above. */
.sj-flow > .sj-sec:nth-child(odd of .sj-sec) { background: var(--alt); }
.sj-flow > .sj-sec:nth-child(even of .sj-sec) { background: #fff; }
.sj-sec > .sj-wrap { padding-top: var(--sec); padding-bottom: var(--sec); display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1200px) { .sj-sec > .sj-wrap { gap: 48px; } }

.sj-head { max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.sj-head--c { margin-left: auto; margin-right: auto; text-align: center; }
.sj-head--c .sj-eyebrow { justify-content: center; }
/* From 1680px titles grow to 48px: centred headers get more room so they don't wrap more than below (the lead keeps its width) */
@media (min-width: 1680px) { .sj-head--c { max-width: 860px; } .sj-head--c .sj-lead { max-width: 680px; margin-left: auto; margin-right: auto; } }
.sj-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--body); line-height: 1.2; }
.sj-eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.sj-h1 { font-size: var(--h1); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.sj-h2 { font-size: var(--h2); line-height: 1.14; font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.sj-h1 span, .sj-h2 span, .sj-h2 em { color: var(--ac); font-style: normal; }
.sj-lead { font-size: var(--lead); line-height: 1.6; color: var(--body); }
.sj-lead strong, .sj-p strong { font-weight: 600; }
.sj-p { font-size: var(--fs); line-height: 1.65; color: var(--body); }
.sj-p strong { color: var(--ink); }
.sj-lead b, .sj-p b { color: var(--ac); font-weight: 600; }
.sj-em { color: var(--ac); font-weight: 600; }

/* ---------- buttons / chips ---------- */
.sj-btn {
  height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent;
}
.sj-btn.btn-p { background: var(--ac); color: #fff; border-color: var(--ac); }
.sj-btn.btn-s { background: #fff; color: var(--ink); border-color: #D1D5DB; }
.sj-btn--block { width: 100%; }
.sj-btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; border-width: 1px; }
.sj-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.sj-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ac); }
.sj-link:hover { color: var(--ac-h); }
.sj-chip { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: #374151; }
.sj-store { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 700; }
.sj-store--lg { height: 44px; padding: 0 16px; font-size: 14px; }
.sj-store--sm { height: 22px; padding: 0 8px; font-size: 10px; border-radius: 4px; color: #374151; }
.sj-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #F9FAFB; border: 1px solid var(--line); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.sj-ico--sm { width: 40px; height: 40px; }
.sj-checks { display: flex; flex-direction: column; gap: 12px; }
.sj-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: #374151; }
.sj-checks li > span:first-child { flex: none; margin-top: 2px; display: flex; }

/* ---------- header ---------- */
.sj-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.sj-header__in { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 768px) { .sj-header__in { height: 72px; } }
@media (min-width: 1200px) { .sj-header__in { gap: 24px; } }
.sj-logo { display: block; flex: none; }
.sj-logo img { height: 28px; width: auto; }
@media (min-width: 1200px) { .sj-logo img { height: 32px; } }
.sj-nav { display: none; gap: 32px; font-size: 14px; font-weight: 500; }
@media (min-width: 1200px) { .sj-nav { display: flex; } }
.sj-header__actions { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1200px) { .sj-header__actions { gap: 12px; } }
.sj-header__track { display: none; }
@media (min-width: 768px) { .sj-header__track { display: inline-flex; } }
.sj-header__order-label-short { display: inline; }
.sj-header__order-label-long { display: none; }
@media (min-width: 768px) { .sj-header__order-label-short { display: none; } .sj-header__order-label-long { display: inline; } }
.sj-select { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: 500 14px 'Inter', 'Inter Fallback', system-ui, sans-serif; color: var(--ink); display: none; }
@media (min-width: 1200px) { .sj-select { display: block; } }
.sj-burger { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
@media (min-width: 1200px) { .sj-burger { display: none; } }
.sj-burger .sj-x { display: none; }
.sj-burger[aria-expanded="true"] .sj-x { display: block; }
.sj-burger[aria-expanded="true"] .sj-bars { display: none; }
.sj-user { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.sj-user:hover { background: var(--ac); color: #fff; }

/* ---------- mobile menu (full screen) ---------- */
.sj-menu { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.sj-menu[hidden] { display: none; }
.sj-menu__top { flex: none; height: 60px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .sj-menu__top { height: 72px; } }
.sj-menu__body { flex: 1; padding: 0 var(--pad) 24px; display: flex; flex-direction: column; gap: 20px; }
.sj-menu__links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--ink); }
.sj-menu__links a svg { color: #9CA3AF; }
.sj-menu__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sj-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: #F3F4F6; border-radius: 12px; }
.sj-seg a { height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sj-seg a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17,24,39,.12); }
.sj-help { background: var(--alt); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sj-help strong { font-size: 16px; font-weight: 600; }
.sj-help div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sj-wa { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #0B3D20; border-radius: 10px; font-size: 14px; font-weight: 700; }
.sj-wa:hover { color: #0B3D20; filter: brightness(.96); }
.sj-menu .sj-btn.btn-s { height: 44px; font-size: 14px; }
body.sj-lock { overflow: hidden; }

/* ---------- hero ---------- */
.sj-hero { position: relative; overflow: hidden; background: #fff; }
.sj-hero__bg { position: absolute; top: 0; left: 0; right: 0; height: 520px; background: #E9DFDD; }
.sj-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sj-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 35%, #fff 100%); }
@media (min-width: 768px) { .sj-hero__bg { height: 590px; } }
.sj-hero__in { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 48px; padding-bottom: 32px; }
@media (min-width: 768px) { .sj-hero__in { padding-top: 56px; padding-bottom: 40px; } }

.sj-hero__main { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; width: 100%; }
.sj-hero__label { display: inline-block; padding: 6px 12px; background: #fff; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
@media (min-width: 768px) { .sj-hero__label { font-size: 12px; } }
.sj-hl { background: #fff; padding: 2px 10px; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sj-hero__main .sj-h1 { line-height: 1.3; letter-spacing: -.03em; }
.sj-hero__sub { display: inline-block; padding: 8px 14px; background: #fff; border-radius: 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.sj-hero__sub span { color: var(--ac); }
@media (min-width: 768px) { .sj-hero__sub { font-size: 18px; } }

.sj-hero__aside { width: 100%; margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 768px) { .sj-hero__aside { max-width: 560px; margin-top: 32px; } }
.sj-pcard { width: 100%; background: #fff; border-radius: 20px; border: 1px solid transparent; box-shadow: 0 1px 2px rgba(17,24,39,.06), 0 20px 48px rgba(17,24,39,.12); padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; }
@media (min-width: 768px) { .sj-pcard { padding: 32px; } }
.sj-pcard__intro { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--body); }
.sj-pcard__intro b, .sj-pcard__intro span.fw { font-weight: 700; color: var(--ac); }
.sj-pcard__intro small { font-size: 14px; color: var(--muted); }
.sj-pcard__intro small strong { color: var(--ink); font-weight: 600; }
.sj-pcard__rule { width: 48px; height: 1px; background: var(--line); }
.sj-pcard__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); }
.sj-pcard__name { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.sj-pcard__timing { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ac); }
.sj-pcard__top { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sj-pcard__top > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sj-pcard__tag { display: none; height: 26px; padding: 0 12px; align-items: center; border-radius: 999px; background: #F3F4F6; color: #374151; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sj-price { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sj-price__badge { display: inline-flex; height: 24px; padding: 0 10px; align-items: center; border-radius: 999px; background: #FFEDD5; color: #C2410C; font-size: 12px; font-weight: 700; }
.sj-price__badge--ref { background: #DCFCE7; color: var(--ok); }
.sj-price__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sj-price__now { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.sj-price__now--sale { color: #EA580C; }
.sj-price__now--ref { color: var(--ok); }
.sj-price__was { font-size: 16px; color: #9CA3AF; text-decoration: line-through; }
.sj-price__until { font-size: 13px; font-weight: 600; color: #EA580C; }
.sj-price__fee { font-size: 20px; font-weight: 700; color: var(--ac); }
.sj-price__note { font-size: 14px; line-height: 1.5; color: var(--body); }
.sj-price__note strong { color: var(--ac); font-weight: 700; }
.sj-pcard__desc { font-size: 16px; line-height: 1.55; color: var(--body); }
.sj-stores { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sj-pcard .sj-checks { align-items: flex-start; text-align: left; border-top: 0; padding: 0; align-self: stretch; }
.sj-paylogos { display: flex; justify-content: center; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-top: 4px; }
.sj-paylogos img { height: 18px; width: auto; }
.sj-paylogos img.sj-visa { height: 14px; }
.sj-paylogos img.sj-mc { height: 20px; }
.sj-hero__intl { font-size: 14px; color: var(--muted); text-align: center; }
.sj-hero__intl a { color: var(--ac); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.sj-trust { width: 100%; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
@media (min-width: 768px) { .sj-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; } }
.sj-trust li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #374151; line-height: 1.3; }
.sj-trust li > span { flex: none; display: flex; color: var(--ink); }

/* desktop hero: text left / price card right over a faded photo */
@media (min-width: 1200px) {
  .sj-hero__bg { left: auto; width: 58%; height: auto; bottom: 0; }
  .sj-hero__bg::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.7) 30%, rgba(255,255,255,0) 70%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 30%); }
  .sj-hero__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: center; padding-top: 80px; padding-bottom: 96px; }
  .sj-hero__main { grid-column: 1 / span 6; align-items: flex-start; text-align: left; gap: 24px; }
  .sj-hero__label { padding: 0; background: none; border-radius: 0; display: flex; align-items: center; gap: 8px; color: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
  .sj-hero__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
  .sj-hl { background: none; padding: 0; border-radius: 0; }
  .sj-hero__main .sj-h1 { line-height: 1.05; letter-spacing: -.035em; }
  .sj-hero__sub { display: block; padding: 0; background: none; border-radius: 0; font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--body); max-width: 560px; }
  .sj-hero__sub strong { color: var(--ink); font-weight: 600; }
  .sj-hero__sub span { color: inherit; }
  .sj-hero__aside { grid-column: 8 / span 5; max-width: none; margin-top: 0; align-items: stretch; }
  .sj-pcard { padding: 32px; gap: 20px; align-items: stretch; text-align: left; }
  .sj-pcard__top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .sj-pcard__top > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
  .sj-pcard__tag { display: inline-flex; }
  .sj-pcard__timing { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
  .sj-price { align-items: flex-start; }
  .sj-price__row { justify-content: flex-start; }
  .sj-stores { justify-content: flex-start; }
  .sj-pcard .sj-checks { border-top: 1px solid var(--line); padding-top: 16px; }
}
.sj-hero__elig { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sj-hero__elig > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.sj-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sj-hero__desk-trust { width: 100%; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.sj-hero__desk-trust li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #374151; }
.sj-hero__desk-trust li > span { flex: none; display: flex; color: var(--ink); }
.sj-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sj-hero__cta p { width: 100%; font-size: 14px; color: var(--muted); }
.sj-hero__cta p a { color: var(--ac); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- how it works ---------- */
/* link card to the "How it works" guide page (guides/show) */
.sj-guide-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: var(--ink); border-radius: 14px; text-decoration: none; }
.sj-guide-card__txt { display: flex; flex-direction: column; gap: 2px; }
.sj-guide-card__txt b { font-size: 15px; font-weight: 700; color: #fff; }
.sj-guide-card__txt span { font-size: 13px; line-height: 1.4; color: #D1D5DB; }
.sj-guide-card__go { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ac); color: #fff; display: flex; align-items: center; justify-content: center; }

.sj-how__head { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1200px) { .sj-how__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; } .sj-how__head > :first-child { grid-column: 1 / span 6; } .sj-how__head > p { grid-column: 8 / span 5; } }
.sj-steps { position: relative; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1200px) { .sj-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.sj-step { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.sj-step + .sj-step { padding-top: 16px; border-top: 1px solid var(--line); }
.sj-step__art { height: 112px; border-radius: 12px; background: var(--alt); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sj-step__art > div { flex: none; transform: scale(.45); }
.sj-step__txt { display: flex; flex-direction: column; gap: 6px; }
.sj-step__txt h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.sj-step__txt p { font-size: 16px; line-height: 1.5; color: var(--body); }
.sj-step__n { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sj-step__n b { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: 0; }
.sj-arrow { display: none; }
@media (min-width: 768px) {
  .sj-step + .sj-step { padding-top: 0; border-top: 0; }
  .sj-step { grid-template-columns: 222px 1fr; gap: 24px; }
  .sj-step__art { height: 170px; border-radius: 16px; }
  .sj-step__art > div { transform: scale(.6); }
}
@media (min-width: 1200px) {
  .sj-step { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .sj-step__art { height: 240px; }
  .sj-step__art > div { transform: scale(.78); }
  .sj-step__txt { align-items: center; text-align: center; gap: 8px; }
  .sj-step__txt p { max-width: 320px; line-height: 1.55; }
  .sj-arrow { position: absolute; top: 120px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(17,24,39,.08); transform: translate(-50%, -50%); }
  .sj-arrow--1 { left: calc(33.333% - 8px); }
  .sj-arrow--2 { left: calc(66.666% + 8px); }
}
.sj-how__foot { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .sj-how__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px 24px; } }
.sj-how__foot b { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.sj-how__foot b svg { flex: none; margin-top: 3px; }
.sj-how__foot span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.sj-how__foot .sj-btn { width: 100%; }
@media (min-width: 768px) { .sj-how__foot .sj-btn { width: auto; } }
/* illustrations */
.sj-ill-license { width: 250px; aspect-ratio: 1.586; background: linear-gradient(135deg, #fff, #F3F4F6); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; gap: 12px; box-shadow: 0 16px 40px -14px rgba(17,24,39,.25); transform: rotate(-3deg); }
.sj-ill-license > i { width: 25%; aspect-ratio: .8; border-radius: 6px; background: #D1D5DB; }
.sj-ill-license > div { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.sj-bar { display: block; height: 6px; border-radius: 4px; background: #D1D5DB; }
.sj-bar--d { height: 8px; background: #9CA3AF; }
.sj-ill-doc { position: relative; width: 210px; aspect-ratio: 1 / 1.414; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 2px rgba(17,24,39,.06), 0 20px 48px -12px rgba(17,24,39,.25); padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; transform: translateY(46px); }
.sj-ill-doc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sj-ill-doc__top > div { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sj-ill-doc__top i { flex: none; width: 27px; height: 27px; border-radius: 50%; border: 2px solid #FCA5A5; }
.sj-ill-doc__title { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--ink); text-align: center; padding: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sj-ill-doc__row { display: grid; grid-template-columns: 34% 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid #F1F2F4; }
.sj-ill-doc__row .sj-bar:last-child { background: var(--line); }
.sj-ill-doc__mark { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-28deg); font-size: 33px; font-weight: 800; letter-spacing: .12em; color: rgba(200,16,46,.12); white-space: nowrap; }
.sj-ill-code { width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 40px -14px rgba(17,24,39,.25); transform: rotate(2deg); }
.sj-ill-code > span:first-child { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.sj-ill-code b { font-size: 24px; font-weight: 800; letter-spacing: .08em; }
.sj-ill-code small { font-size: 12px; color: var(--muted); }
.sj-ill-code div { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 4px; }

/* ---------- netprint ---------- */
.sj-np { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1200px) { .sj-np { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 48px; align-items: start; } .sj-np > :first-child { grid-column: 1 / span 5; } .sj-np > :last-child { grid-column: 7 / span 6; } }
.sj-np__txt { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.sj-np__txt .sj-btn { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 767px) { .sj-np__txt .sj-btn { width: 100%; } }
.sj-panel { background: var(--alt); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .sj-panel { padding: 32px; } }
.sj-panel__head { display: flex; align-items: center; gap: 12px; }
.sj-panel__head b { display: block; font-size: 16px; font-weight: 600; }
.sj-panel__head span span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.sj-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sj-stats > div { padding: 16px 8px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.sj-stats > div + div { border-left: 1px solid var(--line); }
.sj-stats b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.sj-stats span { font-size: 12px; line-height: 1.3; color: var(--muted); }
@media (min-width: 768px) { .sj-stats > div { padding: 24px 12px; } .sj-stats b { font-size: 32px; } .sj-stats span { font-size: 14px; } }

/* ---------- why ---------- */
.sj-why { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .sj-why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1200px) { .sj-why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sj-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.sj-card h3 { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.sj-card p { font-size: 16px; line-height: 1.6; color: var(--body); }
.sj-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; background: #F3F4F6; border-radius: 16px; }
.sj-tabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 0; border-radius: 12px; background: transparent; color: #4B5563; font: 600 14px 'Inter', 'Inter Fallback', system-ui, sans-serif; cursor: pointer; }
.sj-tabs button svg { color: #9CA3AF; }
.sj-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17,24,39,.12); }
.sj-tabs button[aria-selected="true"] svg { color: var(--ac); }
.sj-tabpanel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.sj-tabpanel > div { display: flex; gap: 14px; padding: 18px 0; align-items: flex-start; }
.sj-tabpanel > div + div { border-top: 1px solid var(--line); }
.sj-tabpanel h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sj-tabpanel p { font-size: 14px; line-height: 1.5; color: var(--body); margin-top: 4px; }
/* Why choose (plan-ahead): highlighted cards (light red icon tile + border), "Only at SwiftJapan" badge, renewal link */
.sj-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sj-card--hl { border-color: #F3C4CC; }
.sj-card--hl .sj-ico, .sj-tabpanel__hl .sj-ico { background: #FDECEE; border-color: #F8D4DA; color: var(--ac); }
.sj-only-pill--sm { height: 24px; padding: 0 10px; font-size: 11px; }
.sj-tabpanel .sj-only-pill--sm { margin-bottom: 6px; }
.sj .sj-why__renew { align-self: flex-start; display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
.sj-card .sj-why__renew { margin-top: -4px; }
.sj-why-desk { display: none; }
/* Plan-ahead "Why us" (design "Option 1 quater"): phones = heading, swipeable illustrated cards, article card;
   768px+ = the cards as a 2 x 2 grid; 1200px+ = heading + article card on the left, grid on the right, same bottom */
.sj-why1b { display: flex; flex-direction: column; gap: 20px; }
.sj-why1b__grid { display: none; }
.sj-icard { display: flex; flex-direction: column; padding: 10px; background: #fff; border: 1px solid #E9EAEB; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px -8px rgba(16, 24, 40, .10); }
.sj-ill { height: 128px; border-radius: 10px; background: #F7F7F8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sj-ill__tile { position: relative; width: 76px; height: 76px; border-radius: 20px; background: #fff; border: 1px solid #E9EAEB; box-shadow: 0 10px 24px rgba(10, 13, 18, .08); display: grid; place-items: center; color: #181d27; }
.sj-ill__badge { position: absolute; right: -10px; bottom: -10px; width: 32px; height: 32px; border-radius: 50%; background: #181d27; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #F7F7F8; }
.sj-ill__badge--ok { background: #17803D; }
/* phones: a smaller illustration */
@media (max-width: 767px) {
  .sj-ill { height: 100px; }
  .sj-ill__tile { width: 60px; height: 60px; border-radius: 16px; }
  .sj-ill__tile > svg { width: 26px; height: 26px; }
  .sj-ill__badge { width: 26px; height: 26px; right: -8px; bottom: -8px; box-shadow: 0 0 0 3px #F7F7F8; }
  .sj-ill__badge svg { width: 13px; height: 13px; }
}
.sj-icard__txt { display: flex; flex-direction: column; gap: 6px; padding: 14px 10px 10px; }
.sj-icard h3 { font-size: 16px; font-weight: 700; line-height: 1.3; color: #181d27; text-wrap: wrap; }
/* plain wrapping: "pretty"/"balance" broke the lines early and left the cards half empty on the right */
.sj-icard p { font-size: 14px; line-height: 1.55; color: #414651; text-wrap: wrap; }
/* tablet and desktop: a slightly smaller illustration than the design's, so the section stays compact */
@media (min-width: 768px) {
  .sj-ill { height: 104px; }
  .sj-ill__tile { width: 64px; height: 64px; border-radius: 17px; }
  .sj-ill__tile > svg { width: 28px; height: 28px; }
  .sj-ill__badge { width: 28px; height: 28px; right: -9px; bottom: -9px; }
  .sj-ill__badge svg { width: 14px; height: 14px; }
  .sj-icard__txt { padding: 12px 10px 8px; }
}
@media (min-width: 768px) {
  .sj-why1b { gap: 28px; }
  .sj-why1b__swipe { display: none; }
  .sj-why1b__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
/* article card side by side between tablet and 1200px (scoped to .sj-why1b: the card's base rules come later in this file) */
@media (min-width: 768px) and (max-width: 1199px) {
  .sj-why1b .sj-artcard2 { display: flex; }
  .sj-why1b .sj-artcard2__img { flex: 0 0 38%; }
  .sj-why1b .sj-artcard2__img img { height: 100%; min-height: 168px; }
  .sj-why1b .sj-artcard2__txt { justify-content: center; padding: 16px 18px; }
}
/* two columns from 1200px: heading then the article card on the left, its photo grows so it ends level with the grid */
@media (min-width: 1200px) {
  .sj-why1b { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; grid-template-areas: "head grid" "card grid"; column-gap: 56px; row-gap: 24px; }
  .sj-why1b__head { grid-area: head; }
  .sj-why1b__grid { grid-area: grid; }
  .sj-why1b .sj-artcard2 { grid-area: card; display: flex; flex-direction: column; }
  /* the photo only fills the height the grid leaves (absolute: it never makes the column taller than the grid) */
  .sj-why1b .sj-artcard2__img { flex: 1; display: block; position: relative; min-height: 140px; }
  .sj-why1b .sj-artcard2__img img { position: absolute; inset: 0; height: 100%; }
  .sj-why1b__grid { align-self: start; }
}

/* Swipeable cards on phones; tap a card or a dot to move */
/* a slice of the previous card stays visible on the left (scroll-padding) and of the next one on the right */
.sj-swipe__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: calc(var(--pad) + 28px); margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad); scrollbar-width: none; align-items: stretch; }
.sj-swipe__track::-webkit-scrollbar { display: none; }
.sj-swipe__card { flex: none; width: min(300px, calc(100vw - 2 * var(--pad) - 64px)); scroll-snap-align: start; cursor: pointer; }
.sj-swipe__dots { display: flex; justify-content: center; margin-top: 6px; }
/* each dot is a 32px tap target around the small visible pill */
.sj-swipe__dots button { width: 32px; height: 32px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.sj-swipe__dots button::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #D5D7DA; transition: width .2s, background .2s; }
.sj-swipe__dots button.is-on::before { width: 18px; background: #181d27; }
.sj-swipe__dots button:focus-visible { outline: 2px solid var(--ac); outline-offset: -4px; border-radius: 8px; }

/* Article card (why_swiftjapan): photo on top, red label, title, one line, text link */
.sj-artcard2 { display: block; overflow: hidden; background: #fff; border: 1px solid #E9EAEB; border-radius: 16px; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px -8px rgba(16, 24, 40, .10); transition: box-shadow .2s; }
.sj-artcard2:hover { box-shadow: 0 2px 4px rgba(16, 24, 40, .05), 0 12px 24px -10px rgba(16, 24, 40, .16); }
/* the crop keeps the road and the red car (right of centre, lower third) in view at every height */
.sj-artcard2__img img { display: block; width: 100%; height: 128px; object-fit: cover; object-position: 75% 80%; }
.sj-artcard2__txt { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.sj-artcard2__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #A6292E; }
.sj-artcard2__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #A6292E; }
.sj-artcard2__title { font-size: 17px; line-height: 1.3; font-weight: 700; color: #181d27; }
.sj-artcard2__text { font-size: 14px; line-height: 1.5; color: #535862; }
.sj-artcard2__cta { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #181d27; }
.sj-artcard2:hover .sj-artcard2__cta { color: var(--ac); }
.sj-artcard2:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
@media (min-width: 768px) { .sj-artcard2__img img { height: 150px; } }

/* Small "read more" links under the pricing cards and in the FAQ */
.sj-more-link { margin: 0; display: flex; justify-content: center; }
.sj-more-link--start { justify-content: flex-start; }
.sj-why-mob { display: block; }
@media (min-width: 768px) { .sj-why-desk { display: grid; } .sj-why-mob { display: none; } }

/* How it works: the printing guide link under step 3 (en/fr/de) */
.sj-timeline .sj-timeline__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14px; font-weight: 600; }

/* ---------- pricing ---------- */
/* Cards C3 bis (design handoff 21, PRICING_C3.md): floating pill, name + timing / price, divider, text, checks,
   button at the bottom. Mobile first: stacked, price under the name; side by side from 768px, price on the right from 1024px. */
.pr-grid { width: 100%; max-width: 1120px; margin: 16px auto 0; display: flex; flex-direction: column; gap: 28px; }
.pr-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 34px 20px 22px; background: #fff; border: 1px solid #E9EAEB; border-radius: 22px; }
.pr-card--featured { box-shadow: 0 24px 48px rgba(10,13,18,.10), 0 2px 6px rgba(10,13,18,.04); }
.pr-card--off { opacity: .6; }
.pr-card__pill { position: absolute; top: -15px; left: 20px; height: 30px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; white-space: nowrap; background: #fff; color: #181D27; border: 1px solid #E9EAEB; }
.pr-card--featured .pr-card__pill { background: var(--ac); color: #fff; border-color: var(--ac); }
.pr-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid #E9EAEB; }
.pr-card__name { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pr-card__name h3 { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 800; color: #181D27; }
.pr-card__name span { font-size: 15px; color: #535862; }
.pr-card__title { display: flex; flex-direction: column; gap: 4px; }
.pr-card__name .sj-pcard__eyebrow { font-size: 12px; color: var(--ac); }
.pr-card__price { display: flex; flex-direction: column; gap: 2px; }
.pr-card__price strong { font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: #181D27; white-space: nowrap; }
.pr-card--featured .pr-card__price strong { font-size: 36px; }
.pr-card__price strong.is-offer { color: var(--ac); }
.pr-card__price span { font-size: 14px; color: #535862; white-space: nowrap; }
.pr-card__price s { color: #717680; }
.pr-card__until { font-size: 13px !important; color: var(--ac) !important; }
.pr-card__desc { margin: 0; font-size: 16px; line-height: 1.55; color: #414651; }
.pr-card__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pr-card__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #414651; }
.pr-card__points svg { flex: none; margin-top: 2px; color: #17803D; }
.pr-card__cta { margin-top: auto; width: 100%; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
/* The 24h guarantee, one line under the cards */
.pr-express { display: flex; width: 100%; max-width: 100%; margin: 20px auto 0; align-items: center; gap: 10px; min-height: 40px; padding: 10px 16px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #414651; text-decoration: none; font-size: 14px; line-height: 1.4; text-align: left; }
.pr-express:hover { border-color: #D1D5DB; }
.pr-express svg { flex: none; color: var(--ac); }
.pr-express b { color: #181D27; font-weight: 600; }
@media (min-width: 768px) {
  .pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  /* The two cards share their rows (head, text, list, button): the dividers under the heads and the buttons line up
     whatever each card holds. The pill is absolutely positioned, so it takes no row. */
  .pr-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 18px; align-content: start; }
  .pr-card__cta { align-self: end; }
  .pr-card { padding: 40px 28px 28px; }
  .pr-card__pill { left: 28px; }
  .pr-express { width: fit-content; margin-top: 16px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
}
@media (min-width: 1024px) {
  .pr-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .pr-card { padding: 44px 36px 36px; }
  .pr-card__pill { left: 36px; }
  /* Price centred on the label + name, the timing underneath */
  .pr-card__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: start; align-content: start; min-height: 70px; }
  .pr-card__name { display: contents; }
  .pr-card__title { grid-column: 1; grid-row: 1; }
  .pr-card__name > span { grid-column: 1; grid-row: 2; }
  .pr-card__price { grid-column: 2; grid-row: 1; align-self: center; }
  .pr-card__name h3 { white-space: nowrap; }
  .pr-card__price { align-items: flex-end; flex: none; }
  .pr-card__price strong { font-size: 40px; }
  .pr-card--featured .pr-card__price strong { font-size: 48px; }
}
.sj-pill { height: 24px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--tint); color: var(--ac); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sj-pill--hot { background: var(--ac); color: #fff; }
.sj-notice { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 auto; padding: 8px 16px; border-radius: 999px; background: var(--tint); color: var(--ac); font-size: 14px; font-weight: 600; }
.sj-refund { display: flex; flex-direction: column; gap: 16px; background: var(--alt); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; }
@media (min-width: 768px) { .sj-refund { flex-direction: row; align-items: center; gap: 24px; padding: 32px; } }
.sj-refund > div { flex: 1; }
.sj-refund h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.sj-refund p { font-size: 16px; line-height: 1.6; color: var(--body); }
.sj-refund p strong { color: var(--ac); font-weight: 600; }
.sj-refund .sj-ico { background: #fff; color: var(--ok); width: 54px; height: 54px; border-radius: 12px; }
.sj-pay { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 16px; font-size: 14px; font-weight: 600; color: #374151; }
.sj-pay > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sj-pay > span:not(:first-child) { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sj-pay img { height: 16px; width: auto; }

/* ---------- reviews ---------- */
.sj-rate { align-self: center; display: flex; align-items: center; gap: 16px; padding: 16px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.sj-rate b { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.sj-rate span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.sj-stars { display: flex; gap: 2px; color: var(--star); }
.sj-stars .off { color: #E5E7EB; }
.sj-rev { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 4px var(--pad) 8px; scroll-padding: 0 var(--pad); scrollbar-width: none; }
.sj-rev::-webkit-scrollbar { display: none; }
.sj-rev > figure { flex: none; width: min(320px, 82vw); scroll-snap-align: start; }
@media (min-width: 768px) { .sj-rev > figure { width: 340px; } }
@media (min-width: 1200px) { .sj-rev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 0; padding: 0; } .sj-rev > figure { width: auto; } }
.sj-quote { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
@media (min-width: 1200px) { .sj-quote { padding: 32px; } }
.sj-quote blockquote { font-size: 16px; line-height: 1.65; color: #1F2937; white-space: pre-line; }
.sj-quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.sj-quote__tr { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.sj-quote__tr button { border: 0; background: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.sj-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.sj-tags span { height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 6px; background: #F3F4F6; color: #374151; font-size: 12px; font-weight: 600; }
.sj-verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok); }
.sj-dots { display: flex; justify-content: center; gap: 8px; }
.sj-dots i { width: 8px; height: 8px; border-radius: 50%; background: #D1D5DB; transition: background-color .2s, width .2s; }
.sj-dots i.on { background: var(--ink); width: 20px; border-radius: 4px; }
@media (min-width: 1200px) { .sj-dots { display: none; } }
.sj-rev-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sj-tp-note { max-width: 560px; margin: -26px auto 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted, #6B7280); }
@media (min-width: 768px) { .sj-rev-actions { flex-direction: row; justify-content: center; gap: 24px; } }
.sj-leave > summary { display: inline-block; font-size: 14px; font-weight: 600; color: #374151; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sj-leave[open] > summary { margin-bottom: 24px; }
.sj-leave > div { width: 100%; }
.sj-notice-admin { align-self: flex-start; padding: 8px 16px; border-radius: 8px; background: #FFFBEB; border: 1px solid #FDE68A; font-size: 12px; color: #92400E; }

/* ---------- referral ---------- */
.sj-ref { background: var(--alt); border: 1px solid var(--line); border-radius: 24px; padding: 24px 20px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .sj-ref { padding: 40px; } }
@media (min-width: 1200px) { .sj-ref { flex-direction: row; align-items: center; gap: 40px; padding: 48px; } .sj-ref > * { flex: 1 1 0; } }
.sj-ref__txt { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sj-ref__txt h2 { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
@media (min-width: 768px) { .sj-ref__txt h2 { font-size: 32px; } }
.sj-ref__txt h2 span { color: var(--ac); }
.sj-ref__txt p { font-size: 16px; line-height: 1.6; color: var(--body); }
.sj-ref__vals { display: flex; gap: 16px; }
.sj-val { flex: 1 1 0; min-width: 0; background: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .sj-val { flex-direction: row; align-items: center; gap: 16px; padding: 20px; } }
.sj-val small { display: block; font-size: 12px; color: var(--muted); }
.sj-val b { display: block; font-size: 28px; line-height: 1; font-weight: 800; color: var(--ac); margin: 2px 0; }
.sj-val span span { display: block; font-size: 14px; line-height: 1.4; color: var(--body); }
.sj-ref__tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: #DCFCE7; color: var(--ok); font-size: 12px; font-weight: 700; }

/* ---------- trust / privacy ---------- */
.sj-trustgrid { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1200px) { .sj-trustgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 48px; align-items: start; } .sj-trustgrid > :first-child { grid-column: 1 / span 5; } .sj-trustgrid > :last-child { grid-column: 7 / span 6; } }
.sj-trustgrid > :first-child { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sj-feats { display: flex; flex-direction: column; gap: 24px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
@media (min-width: 768px) { .sj-feats { padding: 32px; } }
.sj-feats > div { display: flex; gap: 16px; align-items: flex-start; }
.sj-feats h3 { font-size: 16px; font-weight: 600; }
.sj-feats p { font-size: 14px; line-height: 1.6; color: var(--body); margin-top: 4px; }
.sj-who { display: flex; flex-direction: column; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
@media (min-width: 768px) { .sj-who { padding: 32px; } }
@media (min-width: 1200px) { .sj-who { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; align-items: start; } }
.sj-who__intro small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sj-who__intro h3 { font-size: 20px; font-weight: 700; margin: 6px 0 8px; }
.sj-who__intro h3 span { color: var(--ac); }
.sj-who__intro p { font-size: 14px; line-height: 1.6; color: var(--body); }
.sj-who__item { display: flex; gap: 16px; align-items: flex-start; }
.sj-who__item b { display: block; font-size: 16px; font-weight: 600; }
.sj-who__item span span { display: block; font-size: 14px; line-height: 1.6; color: var(--body); margin-top: 4px; word-break: break-word; }

/* ---------- FAQ ---------- */
.sj-faq { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1200px) { .sj-faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: start; } .sj-faq > :first-child { grid-column: 1 / span 4; } .sj-faq > :last-child { grid-column: 6 / span 7; } }
.sj-faq__side { display: flex; flex-direction: column; gap: 32px; }
.sj-ask { padding: 24px; background: var(--alt); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sj-ask b { font-size: 16px; font-weight: 600; }
.sj-ask span { font-size: 14px; line-height: 1.6; color: var(--body); }
.sj-ask .sj-wa { height: 48px; }
.sj-acc { border-top: 1px solid var(--line); }
.sj-acc details { border-bottom: 1px solid var(--line); }
.sj-acc summary { min-height: 60px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.sj-acc .faq-plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #F3F4F6; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 400; line-height: 1; color: var(--ink); }
.sj-acc details > p { padding: 0 44px 20px 0; font-size: 16px; line-height: 1.65; color: var(--body); }

/* ---------- guides ---------- */
.sj-guides__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
@media (min-width: 768px) { .sj-guides__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.sj-guides { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .sj-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1200px) { .sj-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .sj-guides.sj-guides--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } } /* en/fr/de: 4 cards in one row */
.guide.sj-guide { display: flex; flex-direction: row; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--ink); }
.sj-guide__img { flex: none; width: 112px; background: #E4DCD6; overflow: hidden; }
.sj-guide__img img { width: 100%; height: 100%; object-fit: cover; }
.sj-guide__txt { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0; }
.sj-guide__txt small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sj-guide__txt b { font-size: 16px; line-height: 1.4; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) {
  .guide.sj-guide { flex-direction: column; }
  .sj-guide__img { width: auto; aspect-ratio: 16 / 9; }
  .sj-guide__txt { padding: 20px; justify-content: flex-start; gap: 8px; }
}

/* ---------- footer ---------- */
.sj-footer { background: #fff; border-top: 1px solid var(--line); }
.sj-footer > .sj-wrap { padding-top: 48px; padding-bottom: 32px; }
@media (min-width: 1200px) { .sj-footer > .sj-wrap { padding-top: 64px; padding-bottom: 40px; } }
.sj-footer__top { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1200px) { .sj-footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); } .sj-footer__brand { grid-column: 1 / span 4; } .sj-footer__cols { grid-column: 5 / span 8; } }
.sj-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.sj-footer__brand img { height: 32px; width: auto; align-self: flex-start; }
.sj-footer__brand p { font-size: 14px; line-height: 1.6; color: var(--body); max-width: 280px; }
.sj-footer__brand a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body); }
.sj-footer__brand div { display: flex; flex-direction: column; gap: 8px; }
.sj-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 768px) { .sj-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sj-footer nav { display: flex; flex-direction: column; gap: 12px; }
.sj-footer nav > span { font-size: 14px; font-weight: 700; color: var(--ink); }
.sj-footer nav a, .sj-footer nav button { font-size: 14px; line-height: 1.4; color: var(--body); text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.sj-footer nav a:hover, .sj-footer nav button:hover { color: var(--ink); }
.sj-footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.sj-footer__legal { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 768px) { .sj-footer__bottom { flex-direction: row; justify-content: space-between; gap: 24px; } .sj-footer__legal { text-align: right; } }
.sj-footer-pad { height: 96px; }
@media (min-width: 768px) { .sj-footer-pad { display: none; } }

/* ---------- sticky bottom bar (mobile) ---------- */
.sj-bar-fix { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sj-bar-fix > span { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); line-height: 1.3; }
.sj-bar-fix > span b { font-size: 20px; font-weight: 700; color: var(--ink); }
.sj-bar-fix .sj-btn { height: 46px; }
@media (min-width: 768px) { .sj-bar-fix { display: none; } }
.sj-menu .sj-bar-fix { position: sticky; flex-direction: column; align-items: stretch; gap: 8px; margin-top: auto; }
.sj-menu .sj-bar-fix__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.sj-menu .sj-bar-fix__row b { font-size: 20px; font-weight: 700; color: var(--ink); }
.sj-menu .sj-bar-fix small { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }

.sj-menu .sj-bar-fix { display: flex; }
html:has(.sj-hero) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.sj-hero) { scroll-behavior: auto; } }

/* signed-in user dropdown (header) */
.sj-userdd { position: relative; }
.sj-userdd > summary { list-style: none; cursor: pointer; }
.sj-userdd > div { position: absolute; right: 0; top: calc(100% + 8px); width: 224px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 32px -12px rgba(17,24,39,.2); padding: 6px; z-index: 70; display: flex; flex-direction: column; }
.sj-userdd p { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 14px; }
.sj-userdd p span { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.sj-userdd a, .sj-userdd button { text-align: left; padding: 8px 10px; border: 0; background: none; border-radius: 8px; font: 500 14px 'Inter', 'Inter Fallback', system-ui, sans-serif; color: #374151; cursor: pointer; width: 100%; }
.sj-userdd a:hover, .sj-userdd button:hover { background: #F3F4F6; color: var(--ink); }


/* Konbini logos inside the store chips */
.sj-store--logo { padding: 0 10px 0 6px; gap: 6px; background: #fff; }
.sj-store--logo img { height: 20px; width: auto; max-width: 28px; object-fit: contain; border-radius: 3px; }
.sj-store--lg.sj-store--logo { padding: 0 16px 0 10px; gap: 8px; }
.sj-store--lg.sj-store--logo img { height: 28px; max-width: 36px; }
.sj-store--sm.sj-store--logo { padding: 0 6px 0 4px; gap: 4px; color: #374151 !important; }
.sj-store--sm.sj-store--logo img { height: 14px; max-width: 18px; }

/* ---------- how it works v2.1: text + tabbed timeline ---------- */
.sj-hiw { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1200px) { .sj-hiw { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 48px; align-items: start; } .sj-hiw__txt { grid-column: 1 / span 5; } .sj-hiw__tabs { grid-column: 7 / span 6; } }
.sj-hiw__txt { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.sj-hiw__tabs { display: flex; flex-direction: column; gap: 16px; }
.sj-hiw__p1 strong { color: var(--ink); font-weight: 600; }
.sj-hiw__p1 strong + strong, .sj-hiw__p1 strong ~ strong { color: var(--ac); }
.sj-hiw__p2 strong { color: var(--ac); font-weight: 600; }
.sj-tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.55; color: var(--body); }
.sj-tip svg { flex: none; margin-top: 2px; color: var(--ink); }
.sj-tip strong { color: var(--ink); font-weight: 600; }
@media (max-width: 767px) { .sj-tip--no-mobile { display: none; } }
.sj-seg2 { display: flex; gap: 4px; padding: 4px; background: #EEF0F3; border-radius: 14px; }
.sj-seg2 button { flex: 1; min-height: 52px; padding: 8px 4px; border: 0; border-radius: 10px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; font-family: inherit; }
/* inactive tab text: #4B5563 keeps >= 4.5:1 on the #EEF0F3 track (muted/#9CA3AF did not) */
.sj-seg2 b { font-size: 14px; font-weight: 600; color: #374151; }
.sj-seg2 span { font-size: 12px; color: #4B5563; }
.sj-seg2 button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(17,24,39,.1); }
.sj-seg2 button[aria-selected="true"] b { color: var(--ink); }
.sj-seg2 button[aria-selected="true"] span { color: var(--ac); }
.sj-timeline { list-style: none; padding: 24px 20px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .sj-timeline { padding: 32px; } }
.sj-timeline li { position: relative; display: flex; gap: 16px; padding-bottom: 24px; }
.sj-timeline li:last-child { padding-bottom: 0; }
.sj-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: -4px; width: 2px; background: var(--line); }
.sj-timeline__n { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.sj-timeline li > div { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.sj-timeline b { font-size: 16px; font-weight: 600; color: var(--ink); }
.sj-timeline li > div > span { font-size: 14px; line-height: 1.55; color: var(--body); }

/* ---------- hero: store logos top-right (v2.1) ---------- */
.sj-pcard__stores { display: none; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 210px; }
.sj-pcard__stores .sj-store { height: 26px; padding: 0 8px 0 5px; font-size: 11px; }
.sj-pcard__stores .sj-store img { height: 16px; }
@media (min-width: 1200px) { .sj-pcard__stores { display: flex; } }

/* no scroll-reveal animation */
.sj .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }

/* Hero card: store logos on an even 2x2 grid */
.sj-pcard__stores { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 200px; max-width: none; }
.sj-pcard__stores .sj-store { width: 100%; justify-content: flex-start; }
@media (min-width: 1200px) { .sj-pcard__stores { display: grid; } }
.sj-pcard .sj-stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 360px; }
.sj-pcard .sj-stores .sj-store { width: 100%; justify-content: center; }

/* Floating WhatsApp button: white icon + label on green, also on hover (the handoff's global a:hover colour must not leak in) */
#wa-float-btn, #wa-float-btn:hover, #wa-float-btn:focus-visible { color: #fff; }
#wa-float-btn svg { fill: #fff; color: #fff; }

/* No entrance/appear animation anywhere on the landing */
.sj .rise, .sj .rise-2, .sj .rise-3 { animation: none !important; opacity: 1 !important; transform: none !important; }

/* Reviews: "leave a review" opens below the actions, centered, instead of squeezing the button row */
.sj-rev-actions { flex-wrap: wrap; justify-content: center; }
.sj-leave[open] { flex: 1 0 100%; order: 3; display: flex; flex-direction: column; align-items: center; }
.sj-leave[open] > summary { margin-bottom: 24px; }
.sj-leave[open] > div { width: 100%; max-width: 760px; text-align: left; }
.sj-leave > div > div { border-radius: 16px; border-color: var(--line); box-shadow: none; }
.sj-leave form label, .sj-leave form span { font-family: inherit; }
.sj-leave form input, .sj-leave form textarea { border-radius: 10px; font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif; }
.sj-leave form button[type="submit"] { background: var(--ac); border-radius: 10px; height: 50px; font-weight: 600; font-size: 16px; }
.sj-leave form button[type="submit"]:hover:not(:disabled) { background: var(--ac); filter: brightness(.94); }
.sj-leave form p, .sj-leave form small { line-height: 1.5; }
.sj-leave form p + div, .sj-leave form p + label { margin-top: 14px; }
/* "Leave a review" link goes below the "Read all reviews" button at every width */
.sj-rev-actions { flex-direction: column; align-items: center; gap: 16px; }
.sj-leave[open] { flex: 0 0 auto; width: 100%; }
/* Netprint stats: keep "56,000+" inside its cell on narrow phones */
.sj-stats > div { min-width: 0; padding-left: 4px; padding-right: 4px; }
.sj-stats b { font-size: clamp(17px, 5.2vw, 24px); white-space: nowrap; }
@media (min-width: 768px) { .sj-stats > div { padding-left: 12px; padding-right: 12px; } .sj-stats b { font-size: 32px; } }
/* Let single-column grids shrink below their content's min width (no sideways scroll on small phones) */
.sj-why { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .sj-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .sj-why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Guides (en/fr/de): the other articles as plain links under the 4 cards */
.sj-guides__more { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.sj-guides__more b { font-size: 15px; font-weight: 600; color: #181D27; }
.sj-guides__more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px 32px; }
@media (min-width: 768px) { .sj-guides__more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sj-guides__more a { font-size: 15px; line-height: 1.45; color: #414651; text-decoration: underline; text-decoration-color: #D0D5DD; text-underline-offset: 3px; }
.sj-guides__more a:hover { color: var(--ac); text-decoration-color: currentColor; }
/* Plan-ahead Why: 4 cards in one row on desktop (2 × 2 on tablet) */
@media (min-width: 1200px) { .sj-why.sj-why--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Rating line under the hero price cards */
.sj-hero-rate { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 6px; margin-top: 4px; font-size: 13px; color: #535862; text-decoration: none; }
.sj-hero-rate b { color: #181D27; }
/* Too narrow for one line: the text drops whole under the stars instead of wrapping beside them */
.sj-hero-rate > span { flex-shrink: 0; white-space: nowrap; }
.sj-hero-rate .sj-stars svg { width: 14px; height: 14px; }

/* Header nav: never wrap a label onto two lines (long German/French labels); tighten the gaps instead */
.sj-nav { gap: clamp(14px, 1.9vw, 32px); }
.sj-nav a { white-space: nowrap; }
.sj-header__in { min-width: 0; }
@media (min-width: 1200px) and (max-width: 1399px) { .sj-header__actions .sj-btn--sm { padding: 0 12px; } .sj-header__in { gap: 16px; } }

/* ---------- Hero: "Why not order from JAF directly?" (plan-ahead, home/sj/_jaf_compare) ---------- */
.sj-only-pill { align-self: flex-start; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #FDECEE; color: var(--ac); font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
/* mobile: on a light grey band (like the previous scenario cards) so the next card's edge shows you can scroll */
.sj-jaf { width: auto; align-self: stretch; margin: 32px calc(-1 * var(--pad)) 0; padding: 24px 0 4px; background: var(--alt); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; text-align: left; }
.sj-jaf__head { padding: 0 var(--pad); display: flex; flex-direction: column; gap: 10px; }
.sj-jaf__titlerow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sj-jaf__title { font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.sj-jaf__title span { color: var(--ac); }
.sj-jaf__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); padding: 4px var(--pad) 16px; scrollbar-width: none; }
.sj-jaf__row::-webkit-scrollbar { display: none; }
.sj-jaf__card { flex: none; width: 236px; scroll-snap-align: start; background: #fff; border-radius: 16px; padding: 16px;
  box-shadow: 0 1px 2px rgba(17,24,39,.05), 0 8px 24px rgba(17,24,39,.07); display: flex; flex-direction: column; gap: 12px; }
.sj-jaf__line { display: flex; gap: 10px; align-items: flex-start; }
.sj-jaf__line > div { display: flex; flex-direction: column; gap: 2px; }
.sj-jaf__ico { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #F3F4F6; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.sj-jaf__ico--ok { background: #DCFCE7; color: var(--ok); }
.sj-jaf__no { font-size: 15px; line-height: 1.35; font-weight: 500; color: #374151; }
.sj-jaf__yes { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.sj-jaf__sub { font-size: 13px; line-height: 1.4; color: var(--muted); }
.sj-jaf__rule { height: 1px; background: var(--line); margin-left: 32px; }
@media (max-width: 767px) { .sj-jaf__card { cursor: pointer; -webkit-tap-highlight-color: transparent; } .sj-jaf__card:not(:first-child) { scroll-snap-align: center; } .sj-jaf__card:last-child { scroll-snap-align: end; } }
/* from 768px: the three cards side by side, no swipe */
@media (min-width: 768px) {
  .sj-jaf { margin: 40px 0 0; padding: 0; background: none; border-top: 0; }
  .sj-jaf__head { padding: 0; flex-direction: row; align-items: center; gap: 14px; flex-wrap: wrap; }
  .sj-jaf__title { font-size: 22px; }
  .sj-jaf__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; padding: 4px 0 0; }
  .sj-jaf__card { width: auto; padding: 16px 18px; box-shadow: 0 1px 2px rgba(17,24,39,.05), 0 8px 24px rgba(17,24,39,.08); }
}
@media (min-width: 1200px) { .sj-jaf { grid-column: 1 / -1; margin-top: 48px; } }
/* mobile: the grey band closes the hero, flush with the next section */
@media (max-width: 767px) { .sj-hero__in:has(> .sj-jaf) { padding-bottom: 0; } }
/* mobile: no trust icon list in the hero (the JAF cards follow the price card directly) */
@media (max-width: 767px) { .sj-hero .sj-trust { display: none; } }
/* hero lead (plan-ahead): bold opening line, body, then a bold closing line with "no expired code" in red */
.sj-hero__lead > strong:first-child, .sj-pcard__intro p:not(.sj-pcard__strong) > strong:first-child { display: block; margin-bottom: 8px; color: var(--ink); text-wrap: balance; }
.sj-hero__lead, .sj-pcard__intro p { text-wrap: pretty; }

/* Reviews: the two buttons on one row from tablet up. The note sits 14px under them (the section spaces its children 48px apart) */
@media (min-width: 640px) { #reviews .sj-rev-actions { flex-direction: row; } .sj-tp-note { margin-top: -34px; } }

/* Mobile hero option B (home/sj/_hero_mobile, design handoff 15). MOBILE ONLY: under 768px it replaces the
   current hero's photo, text and price card (.sj-hero--mh); the JAF comparison below stays. Above 768px it's hidden. */
.mh { display: none; }
@media (max-width: 767px) {
  .mh { display: block; position: relative; background: #fff; color: #181d27; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
  .mh-bg { position: absolute; top: 0; left: 0; right: 0; height: 520px; background: #E9DFDD; }
  .mh-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
  .mh-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 35%, #fff 100%); }
  .sj-hero--mh > .sj-hero__bg, .sj-hero--mh .sj-hero__main, .sj-hero--mh .sj-hero__aside, .sj-hero--mh .sj-trust { display: none; }
  .sj-hero--mh { padding-top: 0; }
  .sj-hero--mh .sj-hero__in { padding-top: 0; }
  .sj-hero--mh .sj-jaf { margin-top: 0; }
  .mh-photo { position: relative; padding: 28px 16px 72px; text-align: center; }
  .mh-photo__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .mh-eyebrow { background: #fff; padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ac); }
  .mh-title { margin: 0; color: #181d27; font-size: 30px; line-height: 1.5; font-weight: 800; letter-spacing: -.03em; }
  .mh-title__chunk { background: #fff; padding: 2px 10px; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .mh-title em, .mh-tagline em { font-style: normal; color: var(--ac); }
  .mh-tagline { background: #fff; padding: 8px 12px; border-radius: 8px; font-size: 16px; font-weight: 600; }
  .mh-card-wrap { position: relative; margin-top: -48px; padding: 0 16px 24px; }
  .mh-card { background: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; box-shadow: 0 12px 32px rgba(24,29,39,.12); }
  .mh-card__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ac); }
  .mh-promo--ref { background: #E0F2FE; color: #0369A1; }
  .mh-promo { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: #FDEAD7; color: #C2410C; font-size: 13px; font-weight: 700; }
  .mh-price { display: flex; align-items: baseline; gap: 10px; }
  .mh-price__now { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
  .mh-price__now--promo { color: #C2410C; }
  .mh-price__was { font-size: 18px; color: #A4A7AE; }
  .mh-promo-end { font-size: 14px; font-weight: 600; color: #C2410C; }
  /* Colours and hover from the desktop button (.btn-p.sj-btn); only the size is the design's */
  .mh-cta { align-self: stretch; height: 54px; gap: 10px; border-radius: 12px; font-size: 17px; font-weight: 700; }
  .mh-reassure { font-size: 14px; color: #535862; }
  .mh-points { padding: 8px 16px 28px; display: flex; flex-direction: column; gap: 18px; }
  .mh-h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
  .mh-point { display: flex; gap: 12px; align-items: flex-start; }
  .mh-point__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #F7F7F8; display: flex; align-items: center; justify-content: center; }
  .mh-point__text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.45; color: #535862; }
  .mh-point__text strong { font-size: 16px; color: #181d27; }
  .mh-licences { margin: 0; font-size: 14px; line-height: 1.5; color: #535862; }
  .mh-licences strong { color: #181d27; }
  .mh-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .mh-card .sj-paylogos { justify-content: center; }
  .mh-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
  .mh-checks svg { flex: none; color: #17803D; margin-top: 2px; }
  .mh-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mh-stores span { height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #E9EAEB; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 700; }
  .mh-stores img { width: 20px; height: 20px; object-fit: contain; }
  .mh-accs { align-self: stretch; text-align: left; }
  .mh-acc { border-top: 1px solid #E9EAEB; }
  .mh-acc summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 700; color: #181d27; cursor: pointer; list-style: none; }
  .mh-acc summary::-webkit-details-marker { display: none; }
  .mh-acc summary svg { flex: none; color: #535862; transition: transform .2s; }
  .mh-acc[open] summary svg { transform: rotate(180deg); }
  .mh-acc > :not(summary) { margin: 0 0 16px; }
  .mh-acc__text { font-size: 15px; line-height: 1.5; color: #414651; }
  .mh-intl { margin: 0; background: #F7F7F8; padding: 20px 16px 24px; text-align: center; font-size: 15px; line-height: 1.5; color: #535862; }
  .mh-intl a { color: var(--ac); font-weight: 600; }
}

/* Price option 2 (design canvas "Prix 2"): a card with an offer opens on a dark band; the price stays
   black with the old one under it. The band bleeds to the card's edges, over its padding. */
.sj-offer-band { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: #181d27; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; text-align: center; border-radius: 19px 19px 0 0; }
.sj-offer-band svg { flex: none; }
.sj-offer-band strong { color: #FFD9A8; font-weight: 800; }
.sj-pcard > .sj-offer-band { margin: -24px -20px 0; }
.mh-card > .sj-offer-band { margin: -20px -20px 0; border-radius: 20px 20px 0 0; }
@media (min-width: 768px) { .sj-pcard > .sj-offer-band { margin: -32px -32px 0; } }
.sj-price__instead { font-size: 15px; color: #535862; }
.sj-price__instead s { color: #535862; }

/* Handoff 17 (OFFER_DISPLAY.md): ink price sizes, and the pricing cards' layout: name with its pill on the right,
   the price centred between two rules, green checks */
.sj-pcard .sj-price__now { font-size: 58px; letter-spacing: -.035em; color: #181d27; }
.mh-price__now { font-size: 52px; letter-spacing: -.035em; color: #181d27; }
.sj-offer-band--ghost { visibility: hidden; }
@media (max-width: 1199px) { .sj-offer-band--ghost { display: none; } }
/* The hero card has a 1px (transparent) border: the band covers it too, so no white line shows above it */
.sj-pcard > .sj-offer-band { margin: -25px -21px 0; border-radius: 20px 20px 0 0; }
@media (min-width: 768px) { .sj-pcard > .sj-offer-band { margin: -33px -33px 0; } }
/* Desktop hero as in the design: the text takes the empty column next to the card, and the red part of the
   title gets its own line ("Obtenez votre / traduction de permis / pour le Japon"). German's long word
   breaks at its hyphen when the column is too narrow for it. */
@media (min-width: 1200px) {
  .sj-hero__main { grid-column: 1 / span 7; }
  .sj-hero__main .sj-h1 .sj-hl span { display: block; }
}

/* Hero for visitors already in Japan (SjHelper#sj_japan_hero, design canvas page "Déjà au Japon : 24 h") */
.sj-jp-steps { list-style: none; margin: 14px 0 0; padding: 0; max-width: 540px; display: flex; flex-direction: column; gap: 8px; }
.sj-jp-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: #414651; }
.sj-jp-steps li > span:first-child { flex: none; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #D5D7DA; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #181d27; }
.mh .sj-jp-steps { margin-top: 4px; }
.mh .sj-jp-steps li { font-size: 15px; }
.sj-jp-line { margin: 16px 0 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #414651; }
.sj-jp-line > svg { flex: none; margin-top: 1px; color: #C8102E; }
.sj-jp-line strong { color: #181d27; }
.sj-jp-line strong, .sj-jp-line span span { white-space: nowrap; }
.sj-jp-line--center { display: block; text-align: center; margin: 14px 0 0; text-wrap: balance; }
.sj-jp-line--center > svg { display: inline-block; vertical-align: -3px; margin: 0 6px 0 0; }
.sj-jp-line--center > span { display: inline; }
.sj-jp-alt { margin-top: 14px; align-self: stretch; width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #E9EAEB; border-radius: 12px; font-size: 14px; color: #414651; text-decoration: none; transition: border-color .15s, background-color .15s; }
.sj-jp-alt:hover { border-color: #D5D7DA; background: #F9FAFB; }
.sj-jp-alt strong { color: #181d27; white-space: nowrap; }
.sj-jp-alt-mob { display: block; margin-top: 6px; text-align: center; font-size: 14px; line-height: 1.5; color: #535862; text-decoration: none; }
.sj-jp-alt-mob b { color: #181d27; }
/* Its short lead stays on one line on wide screens (wraps normally below) */
@media (min-width: 1200px) { .sj-hero__sub--jp { max-width: none; } .sj-hero__sub--jp .sj-hero__lead > strong:first-child { white-space: nowrap; } }
/* Japan pricing on weekends: the 24-72 h card alone, centred */
@media (min-width: 768px) { .pr-grid.pr-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.sj-seg2[hidden] { display: none; } /* one tab only (visitors in Japan): no tab bar */
/* The 24 h guarantee card in Japan on weekends: greyed out, its note in place of the button */
.pr-card--na { background: #FAFAFA; box-shadow: none; }
.pr-card--na .pr-card__price strong, .pr-card--na h3 { color: #9CA3AF; }
.pr-card--na .pr-card__points svg { color: #C4C8CE; }
.pr-card--na .pr-card__pill { background: #fff; color: #4B5563; border: 1px solid #D1D5DB; }
.pr-card__na { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 10px; background: #F3F4F6; font-size: 15px; font-weight: 600; color: #4B5563; }
@media (max-width: 767px) { .pr-card--na { order: 1; } } /* phones: the card that can be bought first */
/* Japan hero, JAF open days: the 24 h / 24-72 h switch in the price card (board "Hero 24 h · jour ouvré") */
.sj-speed { display: flex; gap: 4px; margin-top: 16px; padding: 4px; border-radius: 12px; background: #F2F3F5; }
.sj-speed button { flex: 1; height: 38px; border: 0; border-radius: 9px; background: transparent; color: #535862; font: inherit; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.sj-speed button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(10,13,18,.12); }
.sj-speed button.is-on[data-sj-speed-pick="g"] { color: #C8102E; }
.sj-speed button:focus-visible { outline: 2px solid #C8102E; outline-offset: 2px; }
.mh .sj-speed { margin: 14px 0 4px; }
.sj-jp-line--after { display: block; margin: 10px 0 0; }
.mh .sj-speed { align-self: stretch; width: 100%; box-sizing: border-box; }
.sj-jp-line--after > span, .sj-jp-line--center > span { white-space: nowrap; } /* "5 € remboursés" in one piece */
.sj-jp-line--bold { font-weight: 600; color: var(--ink); } /* the switch line, all bold (one piece: no Safari gap before the comma) */

/* ---------- JAF closure banner (home/sj/_jaf_closure_band) ---------- */
.sj-jafband { background: #FFFFFF; border-bottom: 1px solid #E9EAEB; box-shadow: inset 4px 0 0 var(--ac); color: #414651; }
.sj-jafband__in { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px 12px 20px; font-size: 13.5px; line-height: 1.45; }
.sj-jafband__tag { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; background: #FCEEF0; color: var(--ac); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.sj-jafband__text { margin: 0; }
.sj-jafband__text strong { font-weight: 700; color: #181d27; }
.sj-jafband__soft { color: #535862; }
.sj-jafband__link { flex: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--ac); text-decoration: none; }
.sj-jafband__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .sj-jafband { box-shadow: inset 0 3px 0 var(--ac); }
  .sj-jafband__in { flex-direction: row; align-items: center; gap: 14px; padding: 13px var(--pad) 11px; font-size: 14px; }
  .sj-jafband__text { flex: 1; }
}
