/* Why Dassential: dark section with six reason cards and a three-way comparison. */

.why2 { background: #101015; color: #fff; overflow: hidden; isolation: isolate; --line: rgba(255,255,255,.09); }
.why2::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 30% at 85% 0%, rgba(108,99,255,.35), transparent 70%), radial-gradient(35% 30% at 0% 55%, rgba(59,130,246,.14), transparent 70%), radial-gradient(50% 30% at 70% 100%, rgba(91,79,240,.22), transparent 70%); }
.why2::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask: linear-gradient(180deg, #000, transparent 40%); mask: linear-gradient(180deg, #000, transparent 40%); }
.why2 h2, .why2 h3 { color: #fff; }
.why2 .pr-head h2 span { color: #8E8EA3; }
.why2 .pr-aside p { color: #A9A9BC; }
.sec-pill.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #C9C5FF; box-shadow: none; }
.sec-pill.dark i { background: #8B85FF; }

/* Reason cards */
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .why-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .why-cards { grid-template-columns: 1fr; } }
.wc { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.09);
  transition: border-color .4s, transform .5s var(--ease), opacity var(--t-slow) var(--ease); }
.wc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(70% 60% at 0% 0%, rgba(139,133,255,.18), transparent 70%); }
.js .wc.in:hover { transform: translateY(-4px); border-color: rgba(139,133,255,.4); }
.wc:hover::before { opacity: 1; }
.wc-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 22px;
  background: linear-gradient(140deg, #5B4FF0, #3730C8); box-shadow: 0 10px 24px -10px rgba(91,79,240,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.wc-ic svg { width: 22px; height: 22px; }
.wc h3 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 10px; }
.wc p { color: #A9A9BC; font-size: 15.5px; margin-bottom: 24px; }
.wc-vis { margin-top: auto; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.07); padding: 12px 14px; font-size: 13px; color: #E4E4EE; }
.wc-vis em { font-style: normal; font-size: 11.5px; font-weight: 600; }

.wv-test > div, .wv-own > div { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.wv-test > div + div, .wv-own > div + div, .wv-price > div + div { border-top: 1px solid rgba(255,255,255,.06); }
.wv-test i { width: 16px; height: 16px; border-radius: 50%; background: #1FA463 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 16px no-repeat; flex: none; }
.wv-test em, .wv-own em { margin-left: auto; color: #5BD69A; }

.wv-team { display: flex; align-items: center; gap: 14px; }
.avs { display: flex; }
.avs span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--c); border: 2px solid #17171E; margin-left: -8px; }
.avs span:first-child { margin-left: 0; }
.wv-team small { font-size: 13px; color: #C9C9D6; }

.wv-steps > div { display: grid; grid-template-columns: 70px 1fr 44px; align-items: center; gap: 10px; padding: 6px 0; }
.wv-steps span { font-size: 12.5px; color: #C9C9D6; }
.wv-steps i { display: block; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.wv-steps i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #5B4FF0, #8B85FF); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .4s; }
.wc.in .wv-steps i::after { transform: none; }
.wv-steps > div:nth-child(2) i::after { transition-delay: .6s; opacity: .7; } .wv-steps > div:nth-child(3) i::after { transition-delay: .8s; opacity: .45; }
.wv-steps em { color: #8E8EA3; text-align: right; }
.wv-steps em.live { color: #5BD69A; }

.wv-chips { display: flex; flex-wrap: wrap; gap: 6px; background: transparent; border: 0; padding: 0; }
.wv-chips span { padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-size: 12.5px; font-weight: 600; color: #E4E4EE; }
.wv-chips span:first-child { background: rgba(139,133,255,.2); border-color: rgba(139,133,255,.4); color: #DAD8FF; }

.wv-own .f { width: 14px; height: 17px; border-radius: 3px; border: 1.5px solid #8B85FF; position: relative; flex: none; }
.wv-own .f::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.5px; background: #8B85FF; box-shadow: 0 3px 0 #8B85FF; }

.wv-price > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; }
.wv-price span { color: #C9C9D6; }
.wv-price b { font-weight: 600; color: #fff; }
.wv-price b.ok { color: #5BD69A; }

/* Comparison */
.cmp-wrap { margin-top: 72px; }
.cmp-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.cmp-head h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.cmp-head p { margin: 0; color: #A9A9BC; font-size: 16px; }
.cmp { position: relative; border-radius: 22px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); }
.cmp-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.2fr; }
.cmp-row > span { padding: 18px 22px; font-size: 15px; line-height: 1.4; color: #A9A9BC; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.cmp-row > span:first-child { color: #fff; font-weight: 600; }
.cmp-top > span { border-top: 0; font-size: 14px; font-weight: 600; color: #8E8EA3; padding-top: 22px; padding-bottom: 18px; }
.cmp-row > .us { color: #fff; font-weight: 500; background: linear-gradient(90deg, rgba(91,79,240,.22), rgba(91,79,240,.12)); border-top-color: rgba(139,133,255,.18); }
.cmp-top > .us { color: #fff; font-size: 16px; background: linear-gradient(180deg, #4A40E0, rgba(91,79,240,.3)); border-radius: 18px 18px 0 0; }
.cmp-row:last-child > .us { border-radius: 0 0 18px 0; }
.cmp::after { content: ""; position: absolute; top: -1px; bottom: -1px; right: -1px; width: calc(100% * 1.2 / 4.35); border: 1.5px solid rgba(139,133,255,.55); border-radius: 20px 22px 22px 20px; pointer-events: none; box-shadow: 0 0 60px -10px rgba(91,79,240,.6); }
.cmp-top > .us .mk { width: 14px; height: 14px; background: #fff; border-radius: 3px; position: relative; flex: none; }
.cmp-top > .us .mk::after { content: ""; position: absolute; left: 4px; top: 4px; width: 6px; height: 6px; background: var(--brand); }

.cmp b { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-block; background-position: center; background-repeat: no-repeat; background-size: 20px; }
b.yes { background-color: #1FA463; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14.2 7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
b.part { background-color: rgba(245,158,11,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 10h7' fill='none' stroke='%23F5B547' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
b.no { background-color: rgba(229,72,77,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.2 7.2l5.6 5.6M12.8 7.2l-5.6 5.6' fill='none' stroke='%23F08A8E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cmp-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: #8E8EA3; }
.cmp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cmp-legend b { width: 16px; height: 16px; background-size: 16px; border-radius: 50%; display: inline-block; background-position: center; background-repeat: no-repeat; }

.js .cmp-wrap.in .cmp-row { animation: cmpIn .6s var(--ease) both; }
.js .cmp-wrap.in .cmp-row:nth-child(n) { animation-delay: calc(var(--r, 0) * 60ms); }
@keyframes cmpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Narrow screens: each row becomes a card with three labelled lines */
@media (max-width: 860px) {
  .cmp::after { display: none; }
  .cmp { background: transparent; border: 0; display: grid; gap: 12px; }
  .cmp-top { display: none; }
  .cmp-row { grid-template-columns: 1fr; border-radius: 18px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); overflow: hidden; }
  .cmp-row > span { padding: 12px 18px; font-size: 14px; }
  .cmp-row > span:first-child { border-top: 0; font-size: 16px; padding-top: 16px; }
  .cmp-row > span:nth-child(2)::before { content: "Software vendor"; }
  .cmp-row > span:nth-child(3)::before { content: "Typical agency"; }
  .cmp-row > span:nth-child(4)::before { content: "Dassential"; color: #C9C5FF; }
  .cmp-row > span:nth-child(n+2)::before { order: -1; width: 118px; flex: none; font-size: 12px; font-weight: 600; color: #8E8EA3; }
  .cmp-row > span:nth-child(4)::before { color: #C9C5FF; }
  .cmp-row > .us { border-radius: 0 !important; }
}
