/* sawan888 — light sky / white / soft gold */
:root { --sw-sky: 47, 155, 217; --sw-navy: 18, 48, 74; --sw-sun: 232, 196, 106; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: #f4faff; }
::selection { background: #f6e7b8; color: #12304a; }

.sw-kicker { display: inline-block; border-radius: 999px; background: #fff; border: 1px solid rgba(var(--sw-sun), .7); padding: .25rem .9rem; font-size: .8rem; font-weight: 600; color: #8f6a12; }

.sw-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .85rem 1.7rem; font-weight: 700; color: #12304a;
  background: linear-gradient(180deg, #f6e7b8 0%, #e8c46a 100%); box-shadow: 0 10px 22px -12px rgba(185, 138, 34, .85), inset 0 1px 0 #fff; transition: transform .18s ease, box-shadow .18s ease; }
.sw-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -12px rgba(185, 138, 34, .95), inset 0 1px 0 #fff; }
.sw-btn:focus-visible, .sw-ghost:focus-visible, .sw-link:focus-visible { outline: 3px solid #2f9bd9; outline-offset: 2px; }
.sw-ghost { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .8rem 1.6rem; font-weight: 600; background: #fff; color: #1f7fbb; border: 1px solid #bfe3fb; transition: background .18s ease; }
.sw-ghost:hover { background: #eef8ff; }

.sw-pill { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid #d3ebfb; border-radius: 1.75rem; box-shadow: 0 14px 34px -22px rgba(var(--sw-sky), .75); }
.sw-card { background: #fff; border: 1px solid #d9eefc; border-radius: 1.75rem; box-shadow: 0 18px 40px -26px rgba(var(--sw-sky), .6); }
.sw-card-sun { background: linear-gradient(160deg, #fffaf0, #fff); border: 1px solid rgba(var(--sw-sun), .7); border-radius: 1.75rem; box-shadow: 0 18px 40px -26px rgba(185, 138, 34, .5); }

.sw-link { transition: background .18s ease, color .18s ease; }
.sw-link:hover { background: #eef8ff; color: #12304a; }
.sw-link[aria-current="page"] { background: #dff1ff; color: #12304a; }
#sw-bar.is-scrolled .sw-pill { box-shadow: 0 18px 34px -18px rgba(var(--sw-navy), .35); }

.sw-sky { background: radial-gradient(48rem 24rem at 90% -10%, rgba(143, 208, 245, .55), transparent 65%), radial-gradient(34rem 20rem at -5% 100%, rgba(246, 231, 184, .6), transparent 65%), linear-gradient(180deg, #e8f5ff, #f4faff); }

/* hero category grid */
.sw-cat { position: relative; display: block; overflow: hidden; border-radius: 1.5rem; background: #fff; border: 1px solid #d3ebfb; box-shadow: 0 16px 30px -22px rgba(var(--sw-sky), .8); transition: transform .22s ease, box-shadow .22s ease; }
.sw-cat:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 22px 34px -20px rgba(var(--sw-sky), .9); }
.sw-cat:nth-child(even) { margin-top: 1.25rem; }
.sw-cat img { display: block; width: 100%; height: auto; background: #bfe3fb; }
.sw-cat span { display: block; padding: .7rem 1rem .85rem; font-family: "Mitr", sans-serif; color: #12304a; }
.sw-cat small { display: block; font-family: "Sarabun", sans-serif; font-size: .8rem; color: #6e8ca6; }
@media (max-width: 420px) { .sw-cat:nth-child(even) { margin-top: 0; } }

/* provider slider: single row, white tiles */
.sw-prov { background: #fff; border-block: 1px solid #d9eefc; }
.sw-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sw-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 6px 0; list-style: none; animation: sw-scroll 60s linear infinite; animation-play-state: paused; }
.sw-marquee.is-active .sw-track { animation-play-state: running; }
.sw-marquee.is-active:hover .sw-track { animation-play-state: paused; }
.sw-track li { flex: none; padding: 5px; border-radius: 20px; background: #f4faff; border: 1px solid #cfe8f9; transition: transform .2s ease, box-shadow .2s ease; }
.sw-track li:hover { transform: translateY(-3px); box-shadow: 0 12px 22px -12px rgba(var(--sw-sky), .8); }
.sw-track img { width: 168px; height: 107px; object-fit: cover; display: block; border-radius: 15px; background: #dff1ff; }
@keyframes sw-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .sw-track { animation: none; } .sw-marquee { overflow-x: auto; } }

/* reveal */
.no-js .sw-reveal, .sw-reveal.is-in { opacity: 1; transform: none; }
.sw-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .sw-reveal { opacity: 1; transform: none; transition: none; } }

.sw-num { display: inline-flex; height: 2.6rem; width: 2.6rem; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(180deg, #f6e7b8, #e8c46a); font-family: "Mitr", sans-serif; color: #12304a; box-shadow: 0 8px 16px -10px rgba(185, 138, 34, .9); }
.sw-body p + p { margin-top: 1rem; }
.sw-body a { color: #1f7fbb; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--sw-sun), .9); text-underline-offset: 4px; }
.sw-body a:hover { color: #8f6a12; }
.sw-body strong { color: #12304a; }

/* FAQ */
.sw-faq summary { list-style: none; cursor: pointer; }
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq .sw-plus { transition: transform .25s ease; }
.sw-faq details[open] .sw-plus { transform: rotate(45deg); }

/* flow steps */
.sw-flow > li { position: relative; padding-left: 3.4rem; }
.sw-flow > li > b { position: absolute; left: 0; top: 0; height: 2.4rem; width: 2.4rem; border-radius: .9rem; display: flex; align-items: center; justify-content: center; background: #dff1ff; color: #1f7fbb; font-family: "Mitr", sans-serif; font-weight: 500; }
.sw-flow > li:not(:last-child)::after { content: ""; position: absolute; left: 1.15rem; top: 2.7rem; bottom: -1.2rem; width: 2px; background: repeating-linear-gradient(#bfe3fb 0 6px, transparent 6px 12px); }

/* article typography */
.sw-prose { font-size: 1.06rem; line-height: 1.95; color: #1d4263; }
.sw-prose > * + * { margin-top: 1.1rem; }
.sw-prose h2 { margin-top: 2.5rem; font-family: "Mitr", sans-serif; font-weight: 500; font-size: 1.6rem; line-height: 1.4; color: #12304a; }
.sw-prose h3 { margin-top: 1.7rem; font-family: "Mitr", sans-serif; font-weight: 500; font-size: 1.2rem; color: #1f7fbb; }
.sw-prose a { color: #1f7fbb; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--sw-sun), .9); text-underline-offset: 4px; word-break: break-word; }
.sw-prose a:hover { color: #8f6a12; }
.sw-prose ul { list-style: none; padding: 0; }
.sw-prose ul li { position: relative; padding-left: 1.7rem; }
.sw-prose ul li::before { content: ""; position: absolute; left: .15rem; top: .75rem; width: .6rem; height: .6rem; border-radius: 50%; background: #e8c46a; box-shadow: 0 0 0 3px #fbf1d3; }
.sw-prose ol { list-style: decimal; padding-left: 1.5rem; }
.sw-prose ol li::marker { color: #1f7fbb; font-weight: 700; }
.sw-prose li + li { margin-top: .45rem; }
.sw-prose blockquote { border-radius: 1.25rem; background: #fff; border: 1px solid rgba(var(--sw-sun), .7); padding: 1.1rem 1.4rem; font-family: "Mitr", sans-serif; font-size: 1.1rem; color: #12304a; }

#sw-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #5bb8ec, #e8c46a); z-index: 70; }

/* pbn: provider slider always auto-scrolls */
.sw-marquee { overflow: hidden !important; }
.sw-marquee .sw-track { animation-name: sw-scroll !important; animation-duration: 60s !important; animation-timing-function: linear !important; animation-iteration-count: infinite !important; animation-play-state: running !important; }
@media (hover: hover) { .sw-marquee:hover .sw-marquee .sw-track { animation-play-state: paused !important; } }

/* conversion pass */
.sw-login { align-items: center; border-radius: 999px; padding: .4rem 1rem; font-size: .875rem; font-weight: 600; color: #1f7fbb; border: 1px solid #bfe3fb; background: #fff; }
.sw-login:hover { background: #eef8ff; }
.sw-btn-lg { padding: 1rem 2.1rem; font-size: 1.1rem; box-shadow: 0 14px 28px -12px rgba(185, 138, 34, .95), 0 0 0 4px rgba(246, 231, 184, .7), inset 0 1px 0 #fff; }
.sw-hint { max-width: 32rem; border-left: 3px solid #e8c46a; padding-left: .8rem; font-weight: 600; color: #1f7fbb; }
.sw-band-in { display: grid; gap: 1.5rem; align-items: center; border-radius: 2rem; padding: 2rem 1.5rem; background: radial-gradient(30rem 14rem at 100% 0, rgba(246, 231, 184, .9), transparent 65%), linear-gradient(135deg, #dff1ff, #fff); border: 1px solid rgba(232, 196, 106, .75); box-shadow: 0 24px 46px -30px rgba(var(--sw-sky), .8); }
@media (min-width: 768px) { .sw-band-in { grid-template-columns: 1fr auto; padding: 2.5rem 3rem; } }
.sw-mind { border-radius: 1.5rem; padding: 1rem 1.4rem; background: #fffaf0; border: 1px dashed rgba(185, 138, 34, .6); }
.sw-age { display: inline-flex; height: 2.8rem; width: 2.8rem; align-items: center; justify-content: center; border-radius: 50%; background: #12304a; color: #f6e7b8; font-family: "Mitr", sans-serif; font-size: .9rem; }
.sw-float { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(244, 250, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid #d3ebfb; }
@media (max-width: 1023px) { body { padding-bottom: 4.5rem; } }

/* pbn: search-topic section */
.pbn-kw { max-width: 48rem; margin: 2.5rem auto 0; padding: 1.5rem 1.25rem; border: 1px solid rgba(128,128,128,.35); border-radius: 14px; line-height: 1.9; }
.pbn-kw h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.4; margin: 0 0 .75rem; }
.pbn-kw h3 { font-size: 1.05rem; font-weight: 700; margin: 1.1rem 0 .25rem; }
.pbn-kw p { margin: .35rem 0; }
.pbn-kw a { text-decoration: underline; font-weight: 600; }

/* pbn: liquid-metal buttons */
body .sw-btn {
  position: relative !important; isolation: isolate; overflow: hidden !important;
  border: 2px solid transparent !important; border-radius: 999px !important; clip-path: none !important;
  color: #eaf6ff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .65) !important;
  background: linear-gradient(180deg, #1d4263 0%, #0b2033 100%) padding-box, linear-gradient(125deg, #3b5f7d 0%, #f2faff 6%, #8ec9ee 12%, #ffffff 18%, #8ec9ee 24%, #cfe9fa 30%, #3b5f7d 38%, #cfe9fa 44%, #3b5f7d 50%, #f2faff 56%, #8ec9ee 62%, #ffffff 68%, #8ec9ee 74%, #cfe9fa 80%, #3b5f7d 88%, #cfe9fa 94%, #3b5f7d 100%) border-box !important;
  background-size: 100% 100%, 200% 100% !important; background-position: 0 0, 0% 50% !important;
  animation: sw-liq 10s linear infinite !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 20px 12px -12px rgba(0, 0, 0, .25), 0 9px 9px -6px rgba(0, 0, 0, .2), 0 2px 5px rgba(0, 0, 0, .2) !important;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease !important;
}
body .sw-btn::before, body .sw-btn::after { display: none !important; }
body .sw-btn:hover { transform: translateY(-1px) !important; animation-duration: 5s !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 12px 6px -6px rgba(0, 0, 0, .08), 0 8px 5px -4px rgba(0, 0, 0, .14), 0 4px 4px rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .22) !important; }
body .sw-btn:active { transform: translateY(1px) scale(.98) !important; animation-duration: 1.6s !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .3), inset 0 2px 4px rgba(0, 0, 0, .4) !important; }
@keyframes sw-liq { to { background-position: 0 0, 100% 50%; } }
.sw-rip { position: absolute; width: 20px; height: 20px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 70%); animation: sw-rip .6s ease-out forwards; }
@keyframes sw-rip { from { transform: translate(-50%, -50%) scale(0); opacity: .6; } to { transform: translate(-50%, -50%) scale(4); opacity: 0; } }

/* pbn:mobile-nav */
.sw-mnav{display:none}
@media (max-width:767px){
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .sw-mnav{display:grid;grid-template-columns:repeat(4,1fr) 1.25fr;align-items:center;gap:2px;position:fixed;left:0;right:0;bottom:0;z-index:60;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(12,12,16,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border-top:1px solid rgba(255,255,255,.14)}
  .sw-mnav a.sw-mi{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;padding:4px 2px;border-radius:10px;
    color:rgba(255,255,255,.72);font-size:11px;line-height:1.2;text-decoration:none;-webkit-tap-highlight-color:transparent}
  .sw-mnav a.sw-mi[aria-current="page"]{color:#fff;background:rgba(255,255,255,.12)}
  .sw-mnav a.sw-btn{display:flex;align-items:center;justify-content:center;min-height:44px;margin-left:4px;padding:0 6px!important;font-size:14px!important;white-space:nowrap}
}
