/* ============================================================
   Alternative pages: /{lang}/discord-alternative, whatsapp-alternative,
   slack-alternative, teams-alternative and hyves-alternative
   (pages/alternatives/). fancy-v2-light: cream
   surface, glass tiles, forest green for mssgs, the competitor's
   own brand colour only in its logo tile and link accents.
   ============================================================ */

.alt-wrap{max-width:1100px;margin:0 auto;padding:0 24px}
.alt-narrow{max-width:860px;margin:0 auto}
.alt-section{padding:84px 0 0}
.alt-head{text-align:center;max-width:680px;margin:0 auto 40px}
.alt-head h2{font-size:clamp(32px,4.4vw,46px);line-height:1.08;margin:10px 0 14px;color:var(--w-ink)}
.alt-head p{font-size:18px;line-height:1.6;color:var(--w-mut);margin:0}
.alt-kicker{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--green-700)}
.alt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- Hero ---- */
.alt-hero{padding:150px 0 0;text-align:center}
.alt-logos{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 26px}
.alt-logo{width:64px;height:64px;border-radius:18px;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(31,35,33,.12)}
.alt-logo svg{width:36px;height:36px;display:block}
.alt-logo-them{opacity:.55;filter:saturate(.6);transform:scale(.86)}
.alt-logo-us{background:#fffdf7}
.alt-logo-us svg{fill:var(--green-600);width:30px;height:30px}
.alt-logo-discord{background:#5865f2}
.alt-logo-whatsapp{background:#25d366}
.alt-logo-whatsapp svg{width:32px;height:32px}
.alt-logo-slack{background:#fff}
.alt-logo-teams{background:#fff}
.alt-logo-hyves{background:#f7941d}
.alt-arrow{color:var(--w-mut2);font-size:18px}
.alt-hero h1{font-size:clamp(40px,6.6vw,74px)!important;line-height:1.02!important;margin:14px auto 20px;max-width:900px;color:var(--w-ink)}
.alt-hero h1 span{display:block;color:var(--brand)}
.alt-hero-sub{font-size:20px;line-height:1.6;color:var(--w-mut);max-width:640px;margin:0 auto 32px}
.alt-hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.alt-checked{margin:22px 0 0;font-size:13px;color:var(--w-mut2)}

/* ---- In short (the answer a search summary or assistant should quote) ---- */
.alt-recap{margin:64px auto 0;max-width:960px}
.alt-recap .glass-tile{padding:38px 40px}
.alt-recap-label{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:980px;background:rgba(51,117,77,.12);color:var(--green-700);font-size:13px;font-weight:700;letter-spacing:.02em;margin:0 0 16px}
.alt-recap h2{font-size:clamp(24px,3vw,30px)!important;line-height:1.2;margin:0 0 12px;color:var(--w-ink)}
.alt-recap-answer{font-size:18px;line-height:1.65;color:var(--w-ink2);margin:0 0 26px}
.alt-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;border-top:1px solid var(--w-line)}
.alt-fact{padding:16px 18px 16px 0;border-bottom:1px solid var(--w-line)}
.alt-fact dt{font-size:12.5px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--w-mut2);margin:0 0 4px}
.alt-fact dd{margin:0;font-size:15.5px;font-weight:600;color:var(--w-ink);line-height:1.45}

/* ---- Comparison table ---- */
.alt-table-wrap{position:relative;border-radius:22px;background:rgba(255,255,255,.55);box-shadow:0 10px 30px rgba(31,35,33,.07);border:1px solid var(--w-line)}
.alt-table{width:100%;border-collapse:separate;border-spacing:0;font-size:15px}
.alt-table-note{margin:0;padding:16px 24px 20px;font-size:13px;line-height:1.55;color:var(--w-mut2);border-top:1px solid var(--w-line)}
/* Sticky under the floating nav pill, so the column heads stay readable. */
.alt-table thead th{position:sticky;top:78px;z-index:2;background:#f6f1e4;padding:18px 24px;text-align:left;font-size:14px;font-weight:700;color:var(--w-ink);border-bottom:1px solid var(--w-line2)}
.alt-table thead th:first-child{border-top-left-radius:22px;width:36%}
.alt-table thead th:last-child{border-top-right-radius:22px}
.alt-th{display:inline-flex;align-items:center;gap:10px}
.alt-th-dot{width:10px;height:10px;border-radius:50%;flex:0 0 10px}
.alt-th-us .alt-th-dot{background:var(--green-500)}
.alt-th-discord .alt-th-dot{background:#5865f2}
.alt-th-whatsapp .alt-th-dot{background:#25d366}
.alt-th-slack .alt-th-dot{background:#4a154b}
.alt-th-teams .alt-th-dot{background:#5059c9}
.alt-th-hyves .alt-th-dot{background:#f7941d}
.alt-table thead th.alt-th-us{color:var(--green-700)}
.alt-group th{padding:22px 24px 10px;text-align:left;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green-700);border-bottom:1px solid var(--w-line)}
.alt-table tbody th[scope="row"]{padding:15px 24px;text-align:left;font-weight:600;color:var(--w-ink);border-bottom:1px solid var(--w-line);vertical-align:top}
.alt-table td{padding:15px 24px;color:var(--w-mut);border-bottom:1px solid var(--w-line);vertical-align:top;line-height:1.5}
.alt-table td.alt-us{background:rgba(51,117,77,.05)}
.alt-table td.alt-edge{color:var(--w-ink);font-weight:600}
.alt-table td.alt-us.alt-edge{color:var(--green-700)}
.alt-table tbody tr:last-child th,.alt-table tbody tr:last-child td{border-bottom:none}
.alt-mark{display:inline-flex;align-items:center;gap:9px}
.alt-yes,.alt-no{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:11px;flex:0 0 22px}
.alt-yes{background:rgba(51,117,77,.14);color:var(--green-600)}
.alt-no,.alt-yes.alt-muted{background:rgba(50,55,30,.08);color:var(--w-mut2)}

/* ---- Truly European: what runs where, each with a source ---- */
.alt-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.alt-proof-item.glass-tile{display:flex;flex-direction:column;padding:28px 30px}
.alt-proof-item h3{font-size:19px;font-weight:600;margin:0 0 10px;color:var(--w-ink)}
.alt-proof-item p{font-size:15px;line-height:1.55;color:var(--w-ink2);margin:0 0 18px;flex:1}
.alt-proof-src{align-self:flex-start;font-size:14px;font-weight:600;color:var(--green-700);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.alt-proof-src:hover{text-decoration-thickness:2px}
.alt-listing.glass-tile{margin:18px 0 0;padding:34px 38px}
.alt-listing h3{font-size:clamp(22px,2.6vw,26px);line-height:1.2;margin:0 0 10px;color:var(--w-ink)}
.alt-listing>p{font-size:16px;line-height:1.6;color:var(--w-ink2);margin:0 0 18px;max-width:760px}
.alt-listing .alt-facts{grid-template-columns:repeat(4,1fr);margin:0 0 22px}

/* ---- Why people look for an alternative ---- */
.alt-reasons{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.alt-reason.glass-tile{padding:28px 30px}
.alt-reason-icon{width:46px;height:46px;border-radius:13px;background:rgba(51,117,77,.12);color:var(--green-600);display:flex;align-items:center;justify-content:center;font-size:19px;margin:0 0 16px}
.alt-reason h3{font-size:20px;font-weight:600;letter-spacing:-.01em;margin:0 0 14px;color:var(--w-ink)}
.alt-reason-row{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:baseline;margin:0 0 10px;font-size:15px;line-height:1.55}
.alt-reason-row:last-child{margin:0}
.alt-reason-who{font-size:11.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:3px 8px;border-radius:6px;white-space:nowrap}
.alt-reason-them .alt-reason-who{background:rgba(50,55,30,.08);color:var(--w-mut)}
.alt-reason-them p{color:var(--w-mut);margin:0}
.alt-reason-us .alt-reason-who{background:rgba(51,117,77,.14);color:var(--green-700)}
.alt-reason-us p{color:var(--w-ink2);margin:0}

/* ---- Honest part: where the other app is stronger, who should pick which ---- */
.alt-strong{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 28px;list-style:none;padding:0;margin:0 0 34px}
.alt-strong li{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:start;font-size:15.5px;line-height:1.55;color:var(--w-ink2)}
.alt-strong li i{margin-top:3px;color:var(--w-mut2)}
.alt-strong li b{color:var(--w-ink)}
.alt-choose{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.alt-choose .glass-tile{padding:28px 30px}
.alt-choose h3{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:600;margin:0 0 14px;color:var(--w-ink)}
.alt-choose h3 .alt-logo{width:36px;height:36px;border-radius:10px;flex:0 0 36px;box-shadow:none}
.alt-choose h3 .alt-logo svg{width:20px;height:20px}
.alt-choose h3 .alt-logo-us svg{width:17px;height:17px}
.alt-choose ul{list-style:none;margin:0;padding:0}
.alt-choose li{position:relative;padding:9px 0 9px 26px;font-size:15px;line-height:1.5;color:var(--w-ink2);border-top:1px solid var(--w-line)}
.alt-choose li:first-child{border-top:none}
.alt-choose li::before{content:'';position:absolute;left:4px;top:17px;width:8px;height:8px;border-radius:50%;background:var(--w-faint)}
.alt-choose-us{background:rgba(51,117,77,.09)!important}
.alt-choose-us h3{color:var(--green-700)}
.alt-choose-us li::before{background:var(--green-400)}

/* ---- Switching ---- */
.alt-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:altstep}
.alt-step.glass-tile{padding:28px 28px 30px}
.alt-step-num{width:38px;height:38px;border-radius:50%;background:var(--brand);color:var(--brand-contrast);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;margin:0 0 16px}
.alt-step h3{font-size:18px;font-weight:600;margin:0 0 8px;color:var(--w-ink)}
.alt-step p{font-size:15px;line-height:1.55;color:var(--w-mut);margin:0}
.alt-note{text-align:center;font-size:15px;color:var(--w-mut);margin:26px auto 0;max-width:640px;line-height:1.6}

/* ---- FAQ ---- */
.alt-faq{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.alt-faq .glass-tile{padding:26px 28px}
.alt-faq h3{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 10px;color:var(--w-ink)}
.alt-faq p{font-size:15px;line-height:1.6;color:var(--w-mut);margin:0}

/* Links inside running copy */
.alt-recap a,.alt-reason a,.alt-strong a,.alt-choose a,.alt-step a,.alt-note a,.alt-faq a,.alt-table a{color:var(--green-700);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.alt-recap a:hover,.alt-reason a:hover,.alt-strong a:hover,.alt-choose a:hover,.alt-step a:hover,.alt-note a:hover,.alt-faq a:hover,.alt-table a:hover{text-decoration-thickness:2px}

/* ---- Other alternatives ---- */
.alt-more{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.alt-more-even{grid-template-columns:repeat(2,1fr)}
.alt-more a.glass-tile{display:flex;align-items:center;gap:18px;padding:22px 24px;text-decoration:none;color:var(--w-ink);transition:transform var(--dur-base) var(--ease-standard),box-shadow var(--dur-base) var(--ease-standard)}
.alt-more a.glass-tile:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(31,35,33,.1)}
.alt-more .alt-logo{width:48px;height:48px;border-radius:14px;flex:0 0 48px;box-shadow:none}
.alt-more .alt-logo svg{width:26px;height:26px}
.alt-more-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.alt-more-title{font-weight:600;font-size:16px}
.alt-more-sub{font-size:14px;color:var(--w-mut)}
.alt-more i{color:var(--w-mut2);transition:transform var(--dur-base) var(--ease-standard)}
.alt-more a.glass-tile:hover i{transform:translateX(3px);color:var(--w-ink)}

/* ---- Closing CTA ---- */
.alt-cta{padding:84px 0 90px}
.alt-cta .glass-tile{text-align:center;padding:70px 32px;overflow:hidden}
.alt-cta h2{font-size:clamp(34px,4.4vw,50px);line-height:1.08;margin:0 0 12px;color:var(--w-ink)}
.alt-cta p{font-size:18px;color:var(--w-mut);margin:0 auto 28px;max-width:560px;line-height:1.6}

/* ---- Responsive ---- */
@media (max-width:900px){
  .alt-facts{grid-template-columns:repeat(2,1fr)}
  .alt-more{grid-template-columns:1fr}
  .alt-steps{grid-template-columns:1fr}
  .alt-proof{grid-template-columns:1fr}
  .alt-listing .alt-facts{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .alt-section{padding:64px 0 0}
  .alt-hero{padding-top:120px}
  .alt-hero-sub{font-size:18px}
  .alt-recap .glass-tile{padding:28px 22px}
  .alt-recap-answer{font-size:17px}
  .alt-listing.glass-tile{padding:28px 22px}
  .alt-reasons,.alt-choose,.alt-faq,.alt-more,.alt-strong{grid-template-columns:1fr}

  /* The table becomes one card per feature: the feature on top, the two
     answers side by side under it. The column heads stay sticky. */
  .alt-table-wrap{border-radius:18px}
  .alt-table,.alt-table thead,.alt-table tbody{display:block}
  .alt-table thead{position:sticky;top:72px;z-index:2}
  .alt-table thead tr{display:grid;grid-template-columns:1fr 1fr}
  .alt-table thead th{position:static;padding:14px 16px;border-radius:0!important}
  .alt-table thead th:first-child{display:none}
  .alt-table thead th:nth-child(2){border-top-left-radius:18px!important}
  .alt-table thead th:last-child{border-top-right-radius:18px!important}
  .alt-table tbody tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--w-line)}
  .alt-table tbody tr:last-child{border-bottom:none}
  .alt-table tbody th[scope="row"]{grid-column:1 / -1;padding:14px 16px 4px;border-bottom:none;font-size:14.5px}
  .alt-table td{padding:6px 16px 14px;border-bottom:none;font-size:14px}
  .alt-table td.alt-us{background:transparent}
  .alt-group{display:block!important}
  .alt-group th{display:block;padding:18px 16px 8px}
  .alt-table-note{padding:14px 16px 18px}
}
@media (max-width:480px){
  .alt-wrap{padding:0 16px}
  .alt-facts{grid-template-columns:1fr}
  .alt-hero-cta .btn-f{width:100%}
  .alt-reason-row{grid-template-columns:1fr;gap:6px}
  .alt-reason-who{justify-self:start}
}
