/* Sarvyam site — multi-page additions on top of v2.css */

/* Mega menu */
.nav ul { align-items: center; }
.nav li { position: relative; }
.nav .has-menu > a::after { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; opacity: .6; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-lg); padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 4px; width: 600px; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex !important; gap: 14px; align-items: flex-start; padding: 12px !important; border-radius: 14px !important; color: var(--fg) !important; }
.mega a:hover { background: var(--cream) !important; }
.mega .mi { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blush); color: var(--brand-strong); }
.mega .mi svg { width: 20px; height: 20px; }
.mega b { display: block; font-size: 15px; }
.mega small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.mega .foot-link { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; justify-content: space-between; color: var(--brand-strong) !important; font-weight: 600; font-size: 14px; }
.nav ul a[aria-current=page] { color: var(--fg); background: rgb(28 25 23 / .05); }
@media (max-width: 920px) { .mega { display: none; } }

/* Rotating word */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .5s, transform .5s; color: var(--brand-strong); font-weight: 600; white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; }

/* Share strip */
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; color: var(--muted); font-size: 15px; }
.share .it { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; color: var(--fg); }
.share .it svg { width: 22px; height: 22px; }
.share .lbl { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; }

/* Playground */
.play { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--sh); }
@media (max-width: 960px) { .play { grid-template-columns: 1fr; } }
.play .ctrl { padding: 36px; display: grid; gap: 24px; align-content: start; }
.pkgs { display: flex; flex-wrap: wrap; gap: 8px; }
.pkgs button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 9px 15px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.pkgs button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.play .res { padding: 36px; background: linear-gradient(160deg, #fbe6dc, #f7efe6 55%, #e8eee3); display: grid; gap: 22px; align-content: start; }
.recipe { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--sh); font-size: 14.5px; }
.recipe .rl { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.recipe .rl:last-child { border-bottom: 0; }
.recipe .rl span:nth-child(2) { color: var(--faint); font-variant-numeric: tabular-nums; }
.recipe .rl b { font-variant-numeric: tabular-nums; }
.kinds { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin: 12px 0 8px; }
.kinds i { display: block; }
.k-mat { background: #a9482a; } .k-lab { background: #2f6484; } .k-equ { background: #d9b48f; } .k-fee { background: #8fa38a; }
.legend2 { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.legend2 i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.verdict > div { border-radius: 18px; padding: 18px; }
.verdict .gut { background: rgb(255 255 255 / .6); border: 1px dashed var(--line-2); }
.verdict .sv { background: var(--ink); color: var(--ink-fg); }
.verdict small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; font-weight: 600; }
.verdict .p { font: 500 34px/1.1 var(--display); margin: 8px 0 4px; }
.verdict .k { font-size: 14px; }
.verdict .sv .k b { color: var(--accent); }
@media (max-width: 480px) { .verdict { grid-template-columns: 1fr; } }

/* Setup steps */
.setup { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.setup::before { content: ''; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); }
.setup > div { position: relative; padding: 0 18px; }
.setup .t { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); display: grid; place-items: center; font: 600 13px var(--mono); color: var(--brand-strong); margin-bottom: 18px; }
.setup b { display: block; font-size: 18px; margin-bottom: 6px; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr 1fr; gap: 32px 0; } .setup::before { display: none; } }

/* Sub-page hero */
.phero { background: radial-gradient(900px 420px at 90% -20%, #f7d9cb, transparent 60%), var(--cream); padding: 96px 0 80px; position: relative; overflow: hidden; }
.phero .h-sub { font-size: clamp(42px, 5.6vw, 78px); }
.phero .lede { margin-top: 24px; }
.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 22px; }
.crumbs a:hover { color: var(--fg); }
.phero .art-r { position: absolute; right: -60px; top: 30px; width: min(40vw, 560px); z-index: 0; }
.phero .wrap { position: relative; z-index: 1; }
@media (max-width: 1000px) { .phero .art-r { width: 260px; right: -110px; top: -20px; opacity: .6; } }

/* Sticky in-page nav */
.subnav { position: sticky; top: 72px; z-index: 40; background: rgb(246 245 243 / .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; height: 58px; align-items: center; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.subnav a:hover, .subnav a.on { background: #fff; color: var(--fg); box-shadow: var(--sh); }

/* Feature blocks */
.fblock { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; padding: 104px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.fblock.flip > :first-child { order: 2; }
@media (max-width: 960px) { .fblock, .fblock.flip { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; } .fblock.flip > :first-child { order: 0; } }
.num-tag { font: 600 13px var(--mono); color: var(--brand-strong); background: var(--blush); padding: 5px 10px; border-radius: 8px; display: inline-block; }
.fblock h2 { font: 500 clamp(32px, 3.6vw, 50px)/1.06 var(--display); letter-spacing: -.015em; margin: 18px 0 16px; }
.fblock h2 em { color: var(--brand-strong); }
.fblock ul, .checks2 { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.fblock li, .checks2 li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.fblock li::before, .checks2 li::before { content: ''; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b7657' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.fblock li b { display: block; }
.shotwrap { position: relative; border-radius: 24px; padding: 28px; background: linear-gradient(150deg, #f7d9cb, #efe3d6 50%, #e3e9df); }
.shotwrap.alt { background: linear-gradient(150deg, #e3e9df, #efe3d6 55%, #f7d9cb); }
.shotwrap.ink2 { background: linear-gradient(150deg, #2a2522, #1c1917); }
.shotwrap .frame { border-radius: 14px; overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); background: #fff; }
.shotwrap .phone { position: absolute; width: 196px; right: -18px; bottom: -44px; }
.shotwrap .badge { position: absolute; left: -16px; top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--sh); font-size: 13.5px; max-width: 230px; }
.shotwrap .badge b { display: block; font-size: 15px; }
@media (max-width: 600px) { .shotwrap { padding: 14px; } .shotwrap .phone { width: 130px; right: -6px; bottom: -24px; } .shotwrap .badge { position: static; margin-top: 12px; max-width: none; } }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
@media (max-width: 860px) { .mini-grid { grid-template-columns: 1fr; } }
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.mini .mi { width: 42px; height: 42px; border-radius: 12px; background: var(--blush); color: var(--brand-strong); display: grid; place-items: center; margin-bottom: 14px; }
.mini .mi svg { width: 21px; height: 21px; }
.mini b { display: block; font-size: 17px; margin-bottom: 6px; }

/* Pricing page */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; }
.toggle button { border: 0; background: none; border-radius: 999px; padding: 9px 18px; font-weight: 600; color: var(--muted); font-size: 15px; }
.toggle button.on { background: var(--ink); color: #fff; }
.save { display: inline-block; margin-left: 6px; font-size: 11.5px; background: var(--ok-bg); color: var(--ok); padding: 2px 8px; border-radius: 999px; }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans.four { grid-template-columns: 1fr; } }
.plan .best { background: var(--cream); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.plan.pop .best { background: var(--ink-2); }
.plan.soon { background: repeating-linear-gradient(135deg, var(--paper), var(--paper) 12px, #f8f3ee 12px, #f8f3ee 24px); }
.quiz { max-width: 880px; margin: 48px auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: grid; gap: 26px; }
.quiz .q b { display: block; font: 500 22px var(--display); margin-bottom: 12px; }
.quiz .answer { border-radius: 20px; padding: 24px; background: linear-gradient(120deg, #fbe6dc, #f7efe6); }
.fulltable .grp td { background: var(--cream); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.stat-card .v { font: 500 54px/1 var(--display); letter-spacing: -.02em; margin: 12px 0 10px; }

/* Industry pages */
.ind-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .ind-hero { grid-template-columns: 1fr; gap: 32px; } }
.ind-art { border-radius: 36px; aspect-ratio: 5/4; display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--sh); }
.ind-art > svg, .ind-art > img { width: 56%; height: auto; }
.ind-art .tagp { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--sh); font-size: 13.5px; }
.ind-art .tagp b { display: block; font-size: 16px; }
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }
.pain { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px; font: 400 21px/1.35 var(--display); }
.pain .q { display: block; font-size: 56px; line-height: .5; color: var(--accent); margin-bottom: 12px; }
.leaks { display: grid; gap: 14px; margin-top: 40px; }
.leakrow { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--ink-2); border: 1px solid #3a3431; border-radius: 18px; padding: 18px 22px; }
.leakrow .i { width: 52px; height: 52px; border-radius: 14px; background: rgb(168 16 47 / .2); color: #f3a7a7; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.leakrow .fix { color: #8fd3ad; font-size: 14px; font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .leakrow { grid-template-columns: 40px minmax(0, 1fr); } .leakrow .i { width: 40px; height: 40px; } .leakrow .fix { grid-column: 2; white-space: normal; } }
.recipes { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .recipes { grid-template-columns: 1fr; } }
.rlist { display: grid; gap: 8px; }
.rlist button { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.rlist button b { font-weight: 600; }
.rlist button span { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.rlist button[aria-pressed=true] { border-color: var(--brand); background: #fff; box-shadow: var(--sh); }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--sh); }
.rcard .head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.rcard h3 { font: 500 30px/1.1 var(--display); }
.rtable { margin-top: 18px; display: grid; }
.rtable .r { display: grid; grid-template-columns: minmax(0, 1fr) 120px 90px; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rtable .r span:nth-child(2) { color: var(--faint); }
.rtable .r b { text-align: right; font-variant-numeric: tabular-nums; }
.rtable .r small { display: block; color: var(--faint); font-size: 12px; text-transform: capitalize; }
@media (max-width: 520px) { .rtable .r { grid-template-columns: minmax(0, 1fr) 70px 70px; font-size: 14px; } }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; text-align: center; }
.tri > div { background: var(--cream); border-radius: 16px; padding: 14px 8px; }
.tri b { display: block; font: 500 28px/1.1 var(--display); }
.tri span { font-size: 13px; color: var(--muted); }
.tl { margin-top: 40px; position: relative; }
.tl .s { display: grid; grid-template-columns: 140px 28px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 26px; position: relative; }
.tl .s::after { content: ''; position: absolute; left: 169px; top: 22px; bottom: 0; width: 2px; background: var(--line-2); }
.tl .s:last-child::after { display: none; }
.tl .d { font: 600 13px var(--mono); color: var(--brand-strong); text-align: right; padding-top: 3px; }
.tl .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); margin: 4px auto 0; box-shadow: 0 0 0 5px var(--blush); }
.tl .s.ev .dot { background: var(--brand-fill); width: 18px; height: 18px; margin-top: 2px; }
@media (max-width: 560px) { .tl .s { grid-template-columns: 96px 22px minmax(0, 1fr); gap: 10px; } .tl .s::after { left: 116px; } }
.other-trades { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.other-trades a { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-weight: 500; background: #fff; }
.other-trades a:hover { border-color: var(--brand); color: var(--brand-strong); }

/* About */
.manifesto { font: 400 clamp(28px, 3.4vw, 46px)/1.28 var(--display); letter-spacing: -.01em; max-width: 1000px; }
.manifesto em { color: var(--brand-strong); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line-2); }
.principles > div { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line-2); }
.principles > div:nth-child(odd) { border-right: 1px solid var(--line-2); }
.principles > div:nth-child(even) { padding-left: 32px; }
.principles .n { font: 500 15px var(--mono); color: var(--brand-strong); }
.principles b { display: block; font: 500 26px/1.15 var(--display); margin: 10px 0 8px; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } .principles > div { border-right: 0 !important; padding-left: 0 !important; } }

/* Footer v2 */
.foot .cols { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .cols > div:first-child { grid-column: 1 / -1; } }
.newsletter { display: flex; gap: 8px; margin-top: 18px; max-width: 380px; }
.newsletter input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid #4a4440; background: transparent; color: #fff; padding: 0 18px; font: inherit; }
.newsletter button { height: 46px; border-radius: 999px; border: 0; background: var(--brand-fill); color: #fff; padding: 0 20px; font-weight: 600; }
.big-word { display: block; width: 100%; height: auto; aspect-ratio: 7.44; color: #2b2623; margin-top: 56px; user-select: none; }
.ind-art > img { height: auto !important; width: 50% !important; }
.ind-art .tag2 { left: auto; bottom: auto; right: 20px; top: 20px; }
@media (min-width: 901px) { .ind-art { min-height: 360px; } }
.kicker .rotator > span { color: var(--brand-strong); font-weight: 700; }
.plans.four .plan .price { font-size: 46px; }
.plan .price small { white-space: nowrap; }
