/* Shared stylesheet for the three comparison pages. One file rather than three inline copies, so
   a change to the table or the verdict block lands on all of them at once. Tokens match
   scalelounge.com exactly. */
:root{
  --t1:var(--sl-forest);--t2:var(--sl-champagne);--bg:var(--background-primary);--text:var(--text-primary);--muted:var(--text-secondary);--dim:var(--text-tertiary);
  --panel:var(--surface-primary);--line:var(--border-subtle);
  --grad:linear-gradient(100deg,var(--sl-forest),var(--sl-forest));--good:var(--status-success);--warn:var(--status-warning);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);line-height:1.65;-webkit-font-smoothing:antialiased;
  font-family:var(--sl-font)}
a{color:inherit;text-decoration:none}
.wrap{width:100%;max-width:820px;margin:0 auto;padding:0 22px}
.grad-txt{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}

header{position:sticky;top:0;z-index:40;backdrop-filter:blur(12px);background:rgba(246,243,237,.86);border-bottom:1px solid var(--line)}
/* Inherits the content width rather than running wider. These are long-form reading pages, so the
   text keeps its measure and the logo lines up with it instead of floating out past the margin. */
/* Full width, so the lockup sits hard left and the CTA hard right, matching scalelounge.com.
   These pages otherwise hold their text to a reading measure, which used to indent the logo. */
header .wrap{display:flex;align-items:center;justify-content:space-between;height:78px;gap:14px;
  max-width:none;padding:0 30px}
/* Canonical lockup, same markup and metrics as every other page, so the mark sits on the
   baseline instead of being re-guessed per page. */
.sl-lockup{display:inline-flex;align-items:center;line-height:1;text-decoration:none}
/* Same scale as scalelounge.com: 53px, stepping down the way the main header does. */
.sl-lockup .sl-real{height:53px;width:auto;display:block;flex:0 0 auto}
@media(max-width:1100px){ .sl-lockup .sl-real{height:46px} }
@media(max-width:700px){ .sl-lockup .sl-real{height:38px} header .wrap{height:64px} }
@media(max-width:400px){ .sl-lockup .sl-real{height:32px} }
/* The longest header CTA in the set (before-you-hire) is 2px over at 320px. */
@media(max-width:360px){ .sl-lockup .sl-real{height:28px} .wrap,header .wrap{padding:0 16px} }

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;border-radius:999px;
  cursor:pointer;border:none;font-family:inherit;transition:filter .15s ease,transform .06s ease;white-space:nowrap}
.btn:hover{filter:brightness(1.07)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:2px solid var(--t2);outline-offset:3px}
.btn-primary{background:var(--grad);color:#fff;box-shadow:0 12px 34px -14px color-mix(in srgb, var(--sl-forest, #24332B) 55%, transparent);padding:13px 24px;font-size:1rem}
.btn-sm{padding:10px 18px;font-size:1rem}
.btn-ghost{border:1px solid var(--line);color:var(--text);background:transparent;padding:13px 24px;font-size:1rem}
.btn-ghost:hover{border-color:rgba(255,255,255,.35);filter:none}

main{padding:46px 0 90px}
.crumb{font-size:.875rem;color:var(--text-secondary,#5C625E);margin:0 0 18px}
.crumb a:hover{color:var(--muted)}
/* Lower floor than the section headings because these headlines are long ("ScaleLounge vs hiring a
   marketing manager"), and the site hero uses the same shape. */
h1{font-size:clamp(1.55rem,4.4vw,2.7rem);line-height:1.12;letter-spacing:-.03em;margin:0 0 16px;text-wrap:balance}
.stand{color:var(--muted);font-size:1.06rem;margin:0 0 12px;max-width:60ch}
.updated{color:var(--text-secondary,#5C625E);font-size:.875rem;margin:0 0 34px}
h2{font-size:clamp(1.35rem,3.2vw,1.72rem);line-height:1.2;letter-spacing:-.02em;margin:44px 0 14px;text-wrap:balance}
h3{font-size:1.06rem;margin:26px 0 8px;letter-spacing:-.01em}
p{margin:0 0 14px;max-width:68ch}
.lead-note{color:var(--muted)}

/* comparison table */
.tw{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel);margin:0 0 20px}
table{border-collapse:collapse;width:100%;min-width:620px;font-size:.94rem}
th,td{padding:14px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
thead th{font-size:.8125rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);
  border-bottom:1px solid rgba(255,255,255,.16);white-space:nowrap}
thead th:last-child{color:var(--text)}
tbody tr:last-child td{border-bottom:none}
td:first-child,th:first-child{font-weight:700;color:var(--muted);width:23%}
td:last-child{background:color-mix(in srgb, var(--sl-forest, #24332B) 6%, transparent)}

.callout{border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:24px;margin:0 0 20px}
.callout h3{margin:0 0 10px;font-size:1.08rem}
.callout ul{margin:0;padding-left:19px;display:flex;flex-direction:column;gap:9px;color:var(--muted)}
.callout.pick{position:relative;border-color:transparent}
.callout.pick::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:var(--grad);
  pointer-events:none;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}

/* The honest half. Given its own treatment because it is the part that earns the rest. */
.notfor{border-left:2px solid var(--warn);padding:4px 0 4px 18px;margin:0 0 20px}
.notfor h3{margin:0 0 10px}
.notfor ul{margin:0;padding-left:19px;display:flex;flex-direction:column;gap:9px;color:var(--muted)}

.faq details{border-bottom:1px solid var(--line);padding:16px 0}
.faq details:last-of-type{border-bottom:none}
.faq summary{cursor:pointer;font-weight:700;font-size:1rem;list-style:none;display:flex;gap:12px;align-items:flex-start}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"+";color:var(--t1);font-weight:800;flex:0 0 auto;line-height:1.55}
.faq details[open] summary::before{content:"\2212"}
.faq details p{margin:10px 0 0 24px;color:var(--muted)}

.cta{border:1px solid var(--line);border-radius:18px;background:var(--panel);padding:30px;margin:44px 0 0;text-align:center}
.cta h2{margin:0 0 10px}
.cta p{margin:0 auto 20px;color:var(--muted);max-width:48ch}
.cta .row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
footer{border-top:1px solid var(--line);padding:30px 0;color:var(--text-secondary,#5C625E);font-size:1rem}
footer .wrap{display:flex;gap:18px;flex-wrap:wrap;justify-content:space-between}
footer a:hover{color:var(--muted)}
.also{display:flex;gap:14px;flex-wrap:wrap;margin:14px 0 0}
.also a{font-size:.9rem;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:2px}
.also a:hover{color:var(--text);border-color:var(--t2)}

/* The header carries the lockup and a CTA button, which together need more room than a 320px
   phone has. Both shrink below 420. */
@media(max-width:420px){
  .sl-lockup .sl-real{height:32px}
  /* before-you-hire carries a longer header CTA than the other pages, and with the lockup at
     full size the pair overruns a 375px screen. .btn is nowrap by design; this one may wrap. */
  header .btn-sm{padding:9px 14px;font-size:.875rem;white-space:normal;text-align:center;line-height:1.25}
  /* Long CTA labels cannot hold one line on a narrow phone at any padding. */
  .btn{white-space:normal;text-align:center;line-height:1.3}
  .wrap{padding:0 16px}
}
@media(max-width:620px){
  main{padding:32px 0 64px}
  .cta{padding:24px 20px}
  td:first-child,th:first-child{width:auto}
}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms !important;transition-duration:.01ms !important}}
