/* Bebetter — service landing pages (built by tools/build.js). Loaded after styles.css.
   The price panel and the FAQ reuse the home page's .pane and .faq styles. */
.sv { overflow-x: clip; }

/* hero */
.sv-hero { position: relative; max-width: 1320px; margin: 0 auto; padding: clamp(140px, 20vh, 200px) var(--gutter) clamp(50px, 8vh, 90px); }
.sv-hero .blob { position: absolute; right: 2%; top: 16%; width: clamp(200px, 26vw, 380px); color: var(--lime); z-index: -1; }
.sv-crumbs { font-size: 14px; font-weight: 600; color: var(--grey-50); margin-bottom: 18px; }
.sv-crumbs a { border-bottom: 1.5px solid currentColor; }
.sv-hero .pill { display: inline-block; font-size: 17px; padding: 4px 10px 6px; border-radius: 9px; background: var(--black); color: var(--paper); }
.sv-hero h1 { position: relative; max-width: 980px; margin: 22px 0 0; font-size: clamp(44px, 6.4vw, 96px); }
.sv-hero h1 .spark { position: relative; display: inline-block; width: .5em; height: .5em; margin-left: .15em; vertical-align: top; }
.sv-hero h1 .spark svg { fill: var(--orange); }
.sv-lead { max-width: 640px; margin: 26px 0 0; font-size: 20px; line-height: 1.55; color: var(--grey-30); }
.sv-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sv-book, .sv-line { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 99px; font-weight: 700; font-size: 17px; transition: background .35s var(--ease), color .35s var(--ease); }
.sv-book { background: var(--black); color: var(--paper); }
.sv-book:hover { background: var(--lime); color: var(--black); }
.sv-book i { font-style: normal; }
.sv-line { padding-left: 10px; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }
.sv-line svg { width: 34px; height: 34px; color: #06c755; --line-ink: #fff; }
.sv-line:hover { background: var(--black); color: var(--paper); }

/* sections */
.sv h2 { margin: 0 0 clamp(28px, 4vh, 44px); font-size: clamp(36px, 4.4vw, 64px); }
.sv-prices, .sv-who, .sv-how { max-width: 1320px; margin: 0 auto; padding: clamp(50px, 8vh, 90px) var(--gutter); }
.sv-prices .stack { margin-top: 0; }
.sv-prices .pane { position: relative !important; top: auto !important; } /* one panel: no sticky stack here */
.sv .pane-more { display: none; } /* it points at this page */

.sv-who ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sv-who li { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); font-size: 18px; font-weight: 600; line-height: 1.4; }
.sv-who li .stk { position: relative; flex: none; width: 46px; height: 46px; }

.sv-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.sv-how li { padding: 24px; border-radius: 20px; border: 2px solid var(--black); }
.sv-how b { display: inline-block; font-size: 14px; padding: 3px 8px 5px; border-radius: 7px; background: var(--lime); }
.sv-how h3 { margin: 16px 0 0; font-size: 21px; font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.sv-how p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--grey-30); }

.sv .faq { padding-top: clamp(50px, 8vh, 90px); }

/* closing call to action */
.sv-cta { margin: clamp(40px, 6vh, 80px) 12px 12px; padding: clamp(60px, 10vh, 110px) var(--gutter); border-radius: 22px; background: var(--black); color: var(--paper); text-align: center; }
.sv-cta h2 { margin-bottom: 18px; }
.sv-cta p { max-width: 560px; margin: 0 auto; font-size: 19px; line-height: 1.5; color: var(--grey-70); }
.sv-cta .sv-ctas { justify-content: center; }
.sv-cta .sv-book { background: var(--lime); color: var(--black); }
.sv-cta .sv-book:hover { background: var(--paper); }
.sv-others { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 36px; font-size: 15px; color: var(--grey-70); }
.sv-others a { padding: 8px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(242,242,242,.3); color: var(--paper); font-weight: 700; transition: background .3s, color .3s; }
.sv-others a:hover { background: var(--paper); color: var(--black); }

:lang(th) .sv-how h3, :lang(th) .sv-hero h1 { letter-spacing: 0; }

@media (max-width: 1023px) { .sv-how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sv-who ul, .sv-how ol { grid-template-columns: 1fr; }
  .sv-hero h1 { font-size: 11vw; }
  .sv-lead { font-size: 17px; }
  .sv-book, .sv-line { width: 100%; justify-content: center; }
}

.sv .faq { overflow: clip; } /* keep the FAQ blob out of the closing call to action */
